Bugs item #3015645, was opened at 2010-06-14 02:36 Message generated for change (Comment added) made by lusum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3015645...
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: copyright Group: None Status: Open Resolution: Accepted Priority: 5 Private: No Submitted By: lusum (lusum) Assigned to: Nobody/Anonymous (nobody) Summary: Script copyright.py and copyright_clean.py don't work
Initial Comment: python copyright.py -new
Getting 40 pages from wikipedia:it... Sleeping for 3.9 seconds, 2010-06-14 02:34:28 2063 Traceback (most recent call last): File "copyright.py", line 1204, in <module> main() File "copyright.py", line 1196, in main bot.run() File "copyright.py", line 1054, in run text = skip_section(original_text) File "copyright.py", line 284, in skip_section sect_titles = '|'.join(l) UnicodeDecodeError: 'ascii' codec can't decode byte 0xd9 in position 0: ordinal not in range(128)
Search engine | number of queries --------------------------------- Google | 0 Yahoo! | 0 Live Search | 0 python copyright_clean.py File "copyright_clean.py", line 123 query_results_revids.append(query_api({'revids': ,})) ^ SyntaxError: invalid syntax
for copyright_clean a simply patch is to change: query_results_revids.append(query_api({'revids': ,})) with query_results_revids.append(query_api({'revids': s,}))
python version.py
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] config-settings: use_api = True use_api_login = True
----------------------------------------------------------------------
Comment By: lusum (lusum) Date: 2010-06-14 12:35
Message: Every page, i tested about 20 pages and the result is always the same...
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2010-06-14 11:36
Message: 2nd part (copyright_clean.py) fixed in r8289.
Could you give me a hint on which page the 1st part occured?
----------------------------------------------------------------------
Comment By: lusum (lusum) Date: 2010-06-14 02:36
Message: PS: cosoleto seem not more working on this topic...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3015645...