Last modified: 2013-11-28 12:20:57 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 T56709, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54709 - Cannot init
Cannot init
Status: RESOLVED WORKSFORME
Product: Pywikibot
Classification: Unclassified
login.py (Other open bugs)
unspecified
Macintosh Mac OS X 10.8
: Unprioritized blocker
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-27 15:53 UTC by Robert Murphy
Modified: 2013-11-28 12:20 UTC (History)
2 users (show)

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


Attachments

Description Robert Murphy 2013-09-27 15:53:48 UTC
Traceback (most recent call last):
  File "login.py", line 58, in <module>
    import re, os, query
  File "/Users/...../pywikipedia/query.py", line 29, in <module>
    import wikipedia as pywikibot
  File "/Users/...../pywikipedia/wikipedia.py", line 150, in <module>
    externals.check_setup('BeautifulSoup.py')
  File "/Users/...../pywikipedia/externals/__init__.py", line 377, in check_setup
    if globals()[dist[0] + '_install'](modules_needed[m][0]):
KeyError: u'darwin_install'

Out of the box, won't run on Mac OS 10.8.5.  Python 2.7.2
Comment 1 Kunal Mehta (Legoktm) 2013-09-27 17:03:30 UTC
Where did you get this copy of pywikibot from? Can you run version.py?

This bug was fixed quite a long time ago, make sure you're getting the latest version from Gerrit ([[mw:Manual:Pywikibot/Gerrit]]).
Comment 2 Alison Cassidy 2013-11-28 10:34:45 UTC
I'm seeing this consistently, too, and I checked out cleanly from TOT. I'm running on MacOS 10.9 / 13A603 with Python v2.7.5
Comment 3 Andre Klapper 2013-11-28 11:50:55 UTC
(In reply to comment #2)
> I'm seeing this consistently, too, and I checked out cleanly from TOT.

What is TOT?
Comment 4 Alison Cassidy 2013-11-28 12:18:19 UTC
Top Of Trunk - an SCM term referring to the fact that I didn't build from a branch.

What I *have* done since, however, is switched from the old svn repository to git. The version I'm checking out of GitHub seems to work just fine now, and I'm up and running again :)

    http://ga.wikipedia.org/wiki/Speisialta:Contributions/AllieBot

Thanks for the help,

-- Allie (ga.wikipedia bureaucrat)
Comment 5 Andre Klapper 2013-11-28 12:19:54 UTC
SVN was killed months ago, so if you still use (svn) trunk you're running old software. git master is where to check out. :)
Comment 6 Alison Cassidy 2013-11-28 12:20:57 UTC
Looks like I'm late to the party! :) 

Thanks again - working from git now and all is well ...

-- Allie

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


Navigation
Links