Last modified: 2014-11-03 08:41:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70606, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68606 - flickrripper doesnt compile as it depends on config.flickr which is not defined
flickrripper doesnt compile as it depends on config.flickr which is not defined
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
: easy
Depends on:
Blocks: pwb_script_tests
  Show dependency treegraph
 
Reported: 2014-07-26 06:17 UTC by John Mark Vandenberg
Modified: 2014-11-03 08:41 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-07-26 06:17:59 UTC
flickrripper.py fails to compile

Traceback (most recent call last):
  File "pwb.py", line 157, in <module>
    run_python_file(fn, argv, argvu)
  File "pwb.py", line 67, in run_python_file
    exec(compile(source, filename, "exec"), main_mod.__dict__)
  File "scripts/flickrripper.py", line 631, in <module>
    main()
  File "scripts/flickrripper.py", line 511, in main
    if not config.flickr['api_key']:
AttributeError: 'module' object has no attribute 'flickr'
Comment 1 Gerrit Notification Bot 2014-08-06 04:38:20 UTC
Change 151998 had a related patch set uploaded by Audiodude:
flickrripper.py: Protect the import of flickrapi with a try block.

https://gerrit.wikimedia.org/r/151998
Comment 2 Gerrit Notification Bot 2014-08-18 17:54:27 UTC
Change 151998 merged by jenkins-bot:
flickrripper.py: Protect the import of flickrapi with a try block.

https://gerrit.wikimedia.org/r/151998
Comment 3 John Mark Vandenberg 2014-08-26 00:32:04 UTC
That changeset didn't fix this bug; but it did clean up an import error, and improve code comment syntax.
Comment 4 Gerrit Notification Bot 2014-11-03 00:46:53 UTC
Change 170646 had a related patch set uploaded by John Vandenberg:
Add default config for flickrripper

https://gerrit.wikimedia.org/r/170646
Comment 5 Gerrit Notification Bot 2014-11-03 08:41:16 UTC
Change 170646 merged by jenkins-bot:
Add default config for flickrripper

https://gerrit.wikimedia.org/r/170646

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links