https://bugzilla.wikimedia.org/show_bug.cgi?id=66687

--- Comment #5 from John Mark Vandenberg <[email protected]> ---
Interesting.

(In reply to msh210 from comment #3)
> Does anyone have a workaround for me, please, so I can run scripts now and
> until this is fixed?

Sure!  This change should fix the problem:

https://gerrit.wikimedia.org/r/#/c/140069/1/pywikibot/version.py,cm

If that doesnt work, in wikipedia.py, line 6021, replace

setUserAgent(USER_AGENT_FORMAT % dict(
    script=('-'.join(version.get_executing_script())),
    versionrev=(version.getversiondict()["rev"])
))

with

setUserAgent('Pywikibot 1.0/compat bug 66687')

(In reply to msh210 from comment #4)
> ..
> If that was addressed to me and was assuming my state of affairs as it was I
> reported the bug (no change in software) -- neither of which I know to be
> the case -- then it prints out nothing.

Yes it was.  I wasnt able to reproduce this problem on Linux, so I will need
your help (or that of anyone else who can reproduce this bug) to find the
problem.

Thanks for doing that.  That helps me find the problem.  I'll come back soon
with another debugging request.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to