Support Requests item #3513968, was opened at 2012-04-01 11:10
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3513968&group_…
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
Priority: 5
Private: No
Submitted By: YFdyh000 (yfdyh000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Since the 10047, cannot run all scripts in Windows XP
Initial Comment:
version 10046 and a lower version are operating normally, the 10047 and later (until latest 10075) were unable to operate normally (except version.py outside), no echo, and enter an infinite loop, CPU occupancy rate of 100%.
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-04-01 11:18
Message:
Please post your user_config.py.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3513968&group_…
Support Requests item #3513968, was opened at 2012-04-01 11:10
Message generated for change (Tracker Item Submitted) made by yfdyh000
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3513968&group_…
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
Priority: 5
Private: No
Submitted By: YFdyh000 (yfdyh000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Since the 10047, cannot run all scripts in Windows XP
Initial Comment:
version 10046 and a lower version are operating normally, the 10047 and later (until latest 10075) were unable to operate normally (except version.py outside), no echo, and enter an infinite loop, CPU occupancy rate of 100%.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3513968&group_…
Bugs item #3507957, was opened at 2012-03-18 10:47
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3507957&group_…
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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py error with Wikia.com
Initial Comment:
P:\pywikipedia>python version.py
Pywikipedia [http] trunk/pywikipedia (r10023, 2012/03/17, 18:03:32)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
P:\pywikipedia>python upload.py wikih.jpg
WARNING: Your account on sxerks:en does not have a bot flag. Its edits will be v
isible in the recent changes and it may get blocked.
Reading file wikih.jpg
The filename on the target wiki will default to: wikih.jpg
Enter a better name, or press enter to accept:
The suggested description is:
Do you want to change this description? ([y]es, [N]o) n
Uploading file to sxerks:en via API....
'ascii' codec can't decode byte 0xff in position 622: ordinal not in range(128)
WARNING: Could not open 'http://sxerks.wikia.com/api.php'. Maybe the server or
your connection is down. Retrying in 1 minutes...
Traceback (most recent call last):
File "upload.py", line 472, in <module>
main()
File "upload.py", line 468, in main
bot.run()
File "upload.py", line 440, in run
return self.upload_image()
File "upload.py", line 282, in upload_image
data = query.GetData(params, self.targetSite)
File "P:\pywikipedia\query.py", line 137, in GetData
site.cookies(sysop=sysop)
File "P:\pywikipedia\upload.py", line 46, in post_multipart
cookies=cookies)
File "P:\pywikipedia\wikipedia.py", line 5497, in postData
time.sleep(retry_idle_time * 60)
KeyboardInterrupt
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-04-01 06:46
Message:
Possibly related to
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3160376&group_…
----------------------------------------------------------------------
Comment By: https://www.google.com/accounts ()
Date: 2012-03-28 18:10
Message:
I talk to Wikia and another user tested an upload and it work just fine.
The difference being they were using python 2.6.5. I then found an older
2.6.5 windows installer and tried myself and it worked.
So apparently there is something wrong with the interaction with 2.7.2 and
upload.py that is causing this error.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-03-18 11:20
Message:
The other bug you refer to is unrelated; that one cast a new exception
within the exception handler that prints the "WARNING..." string.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-03-18 11:18
Message:
Even in that case, we should not display that message. And a network error
message that's 622 characters long? Really?
The "WARNING: Could not open 'http://sxerks.wikia.com/api.php'. Maybe the
server or your connection is down" displays on *any* error in the
connection, which could still very well be on our part.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-03-18 11:16
Message:
This is not a Pywikipedia error, this is a connection error, try again
later.
It clearly states: "Could not open 'http://sxerks.wikia.com/api.php'. Maybe
the server or your connection is down."
The line before it may be an encoding error of the network error message
itself, see bug#3153555 at
https://sourceforge.net/tracker/?func=detail&aid=3153555&group_id=93107&ati….
I suppose you have a non-English environment on your computer.
We have nothing to do with wikia server or your network connection.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3507957&group_…
Bugs item #3513338, was opened at 2012-03-30 11:49
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3513338&group_…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: YFdyh000 (yfdyh000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Link identify errors
Initial Comment:
Script mistakenly identify interwiki link, see:
http://en.wikipedia.org/wiki/User_talk:YFdyh-bothttp://en.wikipedia.org/w/index.php?title=Template%3ANon-free_video_sample&…
At the time I run the command:
2012-03-24 04:32:09 r10024 (wikipedia.py) Python 2.7.2 interwiki.py "-warnfile:logs\warning-wikipedia-en.log" "-lang:en" "-cleanup" "-autonomous" "-async"
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-04-01 06:45
Message:
The problem here is that someone used [[en:blah]] to link somewhere instead
of [[:en:blah]]. This one could have been spotted because
[[en:blah|fdafdsa]] never is an interwiki link.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3513338&group_…
Bugs item #3413798, was opened at 2011-09-25 10:25
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3413798&group_…
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: featured.py: Not decrease memory usage.
Initial Comment:
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8574
Contains all data that is processed into a variable.
If you destroy the processed data, will decrease memory usage.
The name of the variable is "arts".
--------
arts = featuredArticles(fromsite, pType)
while 0 < len(arts):
if query < len(arts):
featuredbot(arts[:query], cc, tosite, template_on_top, pType,
quiet, dry)
arts = arts[query:]
else:
featuredbot(arts, cc, tosite, template_on_top, pType, quiet, dry)
break
--------
Otherwise, the generator may be better.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-04-01 04:52
Message:
fix done in r10074 using a generator, clone the pages and preloading them
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3413798&group_…