Did you change the frameworks path with your update?
xqt
----- Ursprüngliche Nachricht ----- Von: Bináris Gesendet: 05.04.2014 08:52 An: Pywikipedia discussion list Betreff: Re: [Pywikipedia-l] versionHistories
What kind of configuration this mess wants me?
As far as I know trunk never needed any configuration except user files. Tell me only one reason not to be angry.
2014-04-05 8:39 GMT+02:00 Bináris wikiposta@gmail.com:
Next stage. It becomes more and more horroristic.
I downloaded the latest "compat" from nightlies and unpacked. It is one third in size than that of 11 January. After unpacking version.py says: c:\Pywikipedia>version.py syntax error: line 1, column 0 Serious import error; pywikibot not available - was it configured? Traceback (most recent call last): File "C:\Pywikipedia\version.py", line 20, in <module> pywikibot.output('Pywikibot: %s' % getversion()) AttributeError: 'module' object has no attribute 'output'
version.py may have perhaps misunderstood something, I didn't want to configure anything, i just wanted to update my WORKING copy. Then I tried to restore the previous version but the result is the same, my Pywikibot does not work any more. I had a working version and tried to update it in a normal way before somebody cleverly asks me to do so, and I only have broken ruins.
I am totally fed up with this whole mess! Give us back Pywikibot!
2014-04-05 10:49 GMT+02:00 info@gno.de:
Did you change the frameworks path with your update?
No, I just unpacked it to the same directorí with Total Commander. Should I have changed the path, I would still have a working copy...
The monkey-patch for importing "pywikibot" directly instead of "wikipedia" was done in November 2012. It should run as expected.
Do you have any Setting für PYWIKIBOT_DIR? The error sound like you have a wrong path to the Framework or a absolute path at your command line.
Could you tell me your framework path and the whole command line invoking the script?
Greetings xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 05.04.2014 11:22 Betreff: Re: [Pywikipedia-l] versionHistories
2014-04-05 10:49 GMT+02:00 info@gno.de:
Did you change the frameworks path with your update?
No, I just unpacked it to the same directorí with Total Commander. Should I have changed the path, I would still have a working copy...
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
this problem happens when you don't install git and almost everybody hasn't installed it yet
On Sat, Apr 5, 2014 at 5:46 PM, info@gno.de wrote:
The monkey-patch for importing "pywikibot" directly instead of "wikipedia" was done in November 2012. It should run as expected.
Do you have any Setting für PYWIKIBOT_DIR? The error sound like you have a wrong path to the Framework or a absolute path at your command line.
Could you tell me your framework path and the whole command line invoking the script?
Greetings xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 05.04.2014 11:22 Betreff: Re: [Pywikipedia-l] versionHistories
2014-04-05 10:49 GMT+02:00 info@gno.de:
Did you change the frameworks path with your update?
No, I just unpacked it to the same directorí with Total Commander. Should I have changed the path, I would still have a working copy...
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I disagree: I haven't installed git at my Windows Server where the bot tasks are running and I haven't such a problem there.
This import error does not have anything to do with the git installation but with the path to find the frameworks wikipedia.py file which is requested to be imported by pywikibot.__init__.py script. Please have a look at he traceback of that bug.
Greetings xqt
----- Original Nachricht ---- Von: Amir Ladsgroup ladsgroup@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 05.04.2014 15:37 Betreff: Re: [Pywikipedia-l] versionHistories
this problem happens when you don't install git and almost everybody hasn't installed it yet
On Sat, Apr 5, 2014 at 5:46 PM, info@gno.de wrote:
The monkey-patch for importing "pywikibot" directly instead of
"wikipedia"
was done in November 2012. It should run as expected.
Do you have any Setting für PYWIKIBOT_DIR? The error sound like you have a wrong path to the Framework or a absolute path at your command line.
Could you tell me your framework path and the whole command line invoking the script?
Greetings xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 05.04.2014 11:22 Betreff: Re: [Pywikipedia-l] versionHistories
2014-04-05 10:49 GMT+02:00 info@gno.de:
Did you change the frameworks path with your update?
No, I just unpacked it to the same directorí with Total Commander. Should I have changed the path, I would still have a working copy...
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- Amir
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
2014-04-05 15:16 GMT+02:00 info@gno.de:
The monkey-patch for importing "pywikibot" directly instead of "wikipedia" was done in November 2012. It should run as expected.
Do you have any Setting für PYWIKIBOT_DIR?
I don't know about it. Should I have? I didn't have als for the prevoius version which worked.
The error sound like you have a wrong path to the Framework or a absolute path at your command line.
Could you tell me your framework path and the whole command line invoking the script?
c:\Pywikipedia, since 2006 December. I open this directory in Total Commander, then start a command line directly from this dir, then I type the script name.
Its not a path issue, compat doesnt use it, odds are someone fucked up the code, especially with the changes in the last two years or so where we moved away from what pywiki's origin. At the point where we require either git, or svn to be installed just begs for something to break. Instead of depending on the repo lets get back to our roots.
On Sat, Apr 5, 2014 at 11:35 AM, Bináris wikiposta@gmail.com wrote:
2014-04-05 15:16 GMT+02:00 info@gno.de:
The monkey-patch for importing "pywikibot" directly instead of "wikipedia"
was done in November 2012. It should run as expected.
Do you have any Setting für PYWIKIBOT_DIR?
I don't know about it. Should I have? I didn't have als for the prevoius version which worked.
The error sound like you have a wrong path to the Framework or a absolute path at your command line.
Could you tell me your framework path and the whole command line invoking the script?
c:\Pywikipedia, since 2006 December. I open this directory in Total Commander, then start a command line directly from this dir, then I type the script name.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org