Bugs item #3016653, was opened at 2010-06-15 20:19
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: chanueting (chanueting)
>Assigned to: xqt (xqt)
Summary: upload.py "Invalid input filename given. Try again."
Initial Comment:
Could not check the address correctly if the filename is previously wrongly input.
I think the proper command on line 100 of function urlOK should be:
return self.url != len(url) and ('://' in self.url or os.path.exists(self.url))
instead of '' since '' is always False.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-06-16 12:41
Message:
url != len(url) is always True
What is your command line or what is the filename you typed in?
Try to input the file as follows if you are dealing wiht windows os:
"C:\\My Documents\\My Pictures\\My Picture.jpg"
----------------------------------------------------------------------
Comment By: chanueting (chanueting)
Date: 2010-06-15 20:21
Message:
python version.py missed: http://pywiki.pastey.net/137714
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&group_…
Bugs item #3016653, was opened at 2010-06-15 20:19
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: chanueting (chanueting)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py "Invalid input filename given. Try again."
Initial Comment:
Could not check the address correctly if the filename is previously wrongly input.
I think the proper command on line 100 of function urlOK should be:
return self.url != len(url) and ('://' in self.url or os.path.exists(self.url))
instead of '' since '' is always False.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-06-16 12:41
Message:
url != len(url) is always True
What is your command line or what is the filename you typed in?
Try to input the file as follows if you are dealing wiht windows os:
"C:\\My Documents\\My Pictures\\My Picture.jpg"
----------------------------------------------------------------------
Comment By: chanueting (chanueting)
Date: 2010-06-15 20:21
Message:
python version.py missed: http://pywiki.pastey.net/137714
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&group_…
Bugs item #3016658, was opened at 2010-06-16 02:33
Message generated for change (Comment added) made by chanueting
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016658&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
Resolution: None
Priority: 5
Private: No
Submitted By: chanueting (chanueting)
Assigned to: Nobody/Anonymous (nobody)
Summary: Token warning and unable to upload the file
Initial Comment:
I keep getting "WARNING: Token not found on commons:commons. You will not be able to edit any page." message even with "login.py -lang:commons -family:commons" used and the file cannot be uploaded with "Upload of xxx.svg probably failed. Above you see the HTML page which was returned by MediaWiki. Try again? "
----------------------------------------------------------------------
>Comment By: chanueting (chanueting)
Date: 2010-06-16 02:38
Message:
python version.py missed again: http://pywiki.pastey.net/137714.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016658&group_…
Bugs item #3016658, was opened at 2010-06-16 02:33
Message generated for change (Tracker Item Submitted) made by chanueting
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016658&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
Resolution: None
Priority: 5
Private: No
Submitted By: chanueting (chanueting)
Assigned to: Nobody/Anonymous (nobody)
Summary: Token warning and unable to upload the file
Initial Comment:
I keep getting "WARNING: Token not found on commons:commons. You will not be able to edit any page." message even with "login.py -lang:commons -family:commons" used and the file cannot be uploaded with "Upload of xxx.svg probably failed. Above you see the HTML page which was returned by MediaWiki. Try again? "
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016658&group_…
Bugs item #3016653, was opened at 2010-06-16 02:19
Message generated for change (Comment added) made by chanueting
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&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
Resolution: None
Priority: 5
Private: No
Submitted By: chanueting (chanueting)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py "Invalid input filename given. Try again."
Initial Comment:
Could not check the address correctly if the filename is previously wrongly input.
I think the proper command on line 100 of function urlOK should be:
return self.url != len(url) and ('://' in self.url or os.path.exists(self.url))
instead of '' since '' is always False.
----------------------------------------------------------------------
>Comment By: chanueting (chanueting)
Date: 2010-06-16 02:21
Message:
python version.py missed: http://pywiki.pastey.net/137714
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&group_…
Bugs item #3016653, was opened at 2010-06-16 02:19
Message generated for change (Tracker Item Submitted) made by chanueting
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&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
Resolution: None
Priority: 5
Private: No
Submitted By: chanueting (chanueting)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py "Invalid input filename given. Try again."
Initial Comment:
Could not check the address correctly if the filename is previously wrongly input.
I think the proper command on line 100 of function urlOK should be:
return self.url != len(url) and ('://' in self.url or os.path.exists(self.url))
instead of '' since '' is always False.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653&group_…
Bugs item #3015645, was opened at 2010-06-14 02:36
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3015645&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: copyright
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: lusum (lusum)
>Assigned to: xqt (xqt)
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: xqt (xqt)
Date: 2010-06-14 15:49
Message:
done in r8292
----------------------------------------------------------------------
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&group_…
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&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: 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&group_…
Bugs item #3015645, was opened at 2010-06-14 02:36
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3015645&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: 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: 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&group_…
Bugs item #3015627, was opened at 2010-06-14 01:21
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3015627&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: https://www.google.com/accounts ()
>Assigned to: xqt (xqt)
Summary: template.py doesn't recognize russian namespaces
Initial Comment:
'Шаблон' is russian name for Template namespace
==> {{Шаблон:Y}} equals {{Template:Y}}
I've created the following test-page
* {{Y}}
* {{y}}
* {{Шаблон:Y}}
* {{Шаблон:y}}
* {{шаблон:Y}}
* {{шаблон:y}}
* {{Template:Y}}
* {{Template:y}}
* {{template:Y}}
* {{template:y}}
and run
python template.py "Y" "N"
the result is here:
http://ru.wikipedia.org/w/index.php?title=User:Dnikitin/test&action=history…
As you can see the Russian name for template-namespace (Шаблон) is not recognized.
-------------------------
Pywikipedia (r8277 (wikipedia.py), 2010/06/11, 09:56:33)
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-06-14 10:58
Message:
done in r8285
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3015627&group_…