I can reproduce the error given by traceback if I use a wrong path to start a script. But
I cannot reproduce the syntax error. This means the source might be corrupt and the object
file cannot be created. This may cause the import error. Because version.py and
pywikibot.__init__ gives a rigth traceback message I bet on the wikipedia.py. Seems it has
illegal characters on the first line or something like this.
Binariz: where did you downloaded the framework? I'll try to investigate into that
matter.
You may use the path setting for compat or core release but it may also be omitted.
You also my use git or svn repository. I use it both: git for development, svn for the
bot.
The nightly dump is also available which works without these version control Systems but
it is hard to use with local changes at the framework's scripts because you have to
merge new code yourself.
What does it mean "back to the roots?"
Greetings
xqt
----- Original Nachricht ----
Von: John <phoenixoverride(a)gmail.com>
An: Pywikipedia discussion list <pywikipedia-l(a)lists.wikimedia.org>
Datum: 05.04.2014 17:50
Betreff: Re: [Pywikipedia-l] versionHistories
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(a)gmail.com> wrote:
2014-04-05 15:16 GMT+02:00 <info(a)gno.de>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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
--------------------------------
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l