Page MenuHomePhabricator

Cannot init
Closed, DeclinedPublic

Description

Author: mrandmrsmurphy

Description:
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


Version: unspecified
Severity: blocker
OS: Mac OS X 10.8
Platform: Macintosh

Details

Reference
bz54709

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:21 AM
bzimport set Reference to bz54709.
bzimport added a subscriber: Unknown Object (????).

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]]).

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

(In reply to comment #2)

I'm seeing this consistently, too, and I checked out cleanly from TOT.

What is TOT?

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)

SVN was killed months ago, so if you still use (svn) trunk you're running old software. git master is where to check out. :)

Looks like I'm late to the party! :)

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

  • Allie