Bugs item #2846488, was opened at 2009-08-28 22:22 Message generated for change (Comment added) made by siebrand You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Vincent Vinet (vvinet) Assigned to: Nobody/Anonymous (nobody) Summary: Import/Path errors
Initial Comment: Pywikipedia (r-1 (unknown), 0 (unknown)) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3]
When modifying the path for performing imports, the config userData path should not be used, since the files are laid out in a static fashion. Instead, the __file__ path allows for the path to always contain the required files.
The included patch fixes the various import errors I found while trying to develop a bot that acted from outside de pywikipedia source folder.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 21:02
Message: Required output of version.py is not included in report.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488...