Bugs item #3605891, was opened at 2013-02-24 22:35
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605891&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: login
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Login-data raising EOFError
Initial Comment:
The script is being run from a cronjob with saved login data. When retrieving a password I get the following error:
Password for user RileyBot on wiktionary:en:
/usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Traceback (most recent call last):
File "globalfunc1.py", line 250, in <module>
main()
File "globalfunc1.py", line 244, in main
bot.run()
File "globalfunc1.py", line 197, in run
sandboxPage.put(translatedContent, translatedMsg)
File "/home/riley/pywikipedia/wikipedia.py", line 1990, in put
sysop=sysop)
File "/home/riley/pywikipedia/wikipedia.py", line 1863, in _getActionUser
self.site().forceLogin(sysop = sysop)
File "/home/riley/pywikipedia/wikipedia.py", line 5861, in forceLogin
if loginMan.login(retry = True):
File "/home/riley/pywikipedia/login.py", line 307, in login
password = True)
File "/home/riley/pywikipedia/wikipedia.py", line 8927, in input
data = ui.input(question, password)
File "/home/riley/pywikipedia/userinterfaces/terminal_interface_base.py", line 129, in input
text = getpass.getpass('')
File "/usr/lib/python2.7/getpass.py", line 83, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/lib/python2.7/getpass.py", line 118, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/lib/python2.7/getpass.py", line 135, in _raw_input
raise EOFError
EOFError
Python people told me "your problem is in the pywikipedia code"
----------------------------------------------------------------------
Comment By: Riley ()
Date: 2013-02-24 22:36
Message:
Forgot to login; I posted this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605891&group_…
Bugs item #3605891, was opened at 2013-02-24 22:35
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605891&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: login
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Login-data raising EOFError
Initial Comment:
The script is being run from a cronjob with saved login data. When retrieving a password I get the following error:
Password for user RileyBot on wiktionary:en:
/usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Traceback (most recent call last):
File "globalfunc1.py", line 250, in <module>
main()
File "globalfunc1.py", line 244, in main
bot.run()
File "globalfunc1.py", line 197, in run
sandboxPage.put(translatedContent, translatedMsg)
File "/home/riley/pywikipedia/wikipedia.py", line 1990, in put
sysop=sysop)
File "/home/riley/pywikipedia/wikipedia.py", line 1863, in _getActionUser
self.site().forceLogin(sysop = sysop)
File "/home/riley/pywikipedia/wikipedia.py", line 5861, in forceLogin
if loginMan.login(retry = True):
File "/home/riley/pywikipedia/login.py", line 307, in login
password = True)
File "/home/riley/pywikipedia/wikipedia.py", line 8927, in input
data = ui.input(question, password)
File "/home/riley/pywikipedia/userinterfaces/terminal_interface_base.py", line 129, in input
text = getpass.getpass('')
File "/usr/lib/python2.7/getpass.py", line 83, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/lib/python2.7/getpass.py", line 118, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/lib/python2.7/getpass.py", line 135, in _raw_input
raise EOFError
EOFError
Python people told me "your problem is in the pywikipedia code"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605891&group_…
Bugs item #3605830, was opened at 2013-02-24 11:21
Message generated for change (Comment added) made by amird
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605830&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: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: setitem for wikidata doesn't work!
Initial Comment:
I used this code
#!/usr/bin/python
# -*- coding: utf-8 -*-
import wikipedia,login
summary=u'آبشار لاتون,آبشار لاتون'
site=wikipedia.getSite('fa',fam='wikipedia')
fapage=wikipedia.Page(site,u'آبشار_لاتون')
data=wikipedia.DataPage(fapage)
list=data.get()
id=list['entity'].replace('q','')
data = wikipedia.DataPage(site.data_repository(), "Q"+id)
data.setitem(summary,items={'type': u'item', 'label': 'glk', 'value':u'آبشار_لاتون'})
data.setitem(summary,items={'type': u'sitelink', 'site': 'glk', 'title':u'آبشار_لاتون_(بارزاو)'})
it shows
Updating page [[wikidata:Q5058182]] via API
Updating page [[wikidata:Q5058182]] via API
but it doesn't update the page!
also please add
def getIdFromPage(data)
id=data.get() ['entity'].replace('q','')
return id
and add
data = DataPage(site.data_repository(), "Q"+id)
to first line of setitem()
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2013-02-24 21:58
Message:
fixed in r11114
http://www.wikidata.org/w/index.php?title=Q5058182&diff=prev&oldid=7673026http://www.wikidata.org/w/index.php?title=Q5058182&diff=prev&oldid=7673011
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605830&group_…
Bugs item #3605830, was opened at 2013-02-24 11:21
Message generated for change (Settings changed) made by reza1615
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605830&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: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
>Summary: setitem for wikidata doesn't work!
Initial Comment:
I used this code
#!/usr/bin/python
# -*- coding: utf-8 -*-
import wikipedia,login
summary=u'آبشار لاتون,آبشار لاتون'
site=wikipedia.getSite('fa',fam='wikipedia')
fapage=wikipedia.Page(site,u'آبشار_لاتون')
data=wikipedia.DataPage(fapage)
list=data.get()
id=list['entity'].replace('q','')
data = wikipedia.DataPage(site.data_repository(), "Q"+id)
data.setitem(summary,items={'type': u'item', 'label': 'glk', 'value':u'آبشار_لاتون'})
data.setitem(summary,items={'type': u'sitelink', 'site': 'glk', 'title':u'آبشار_لاتون_(بارزاو)'})
it shows
Updating page [[wikidata:Q5058182]] via API
Updating page [[wikidata:Q5058182]] via API
but it doesn't update the page!
also please add
def getIdFromPage(data)
id=data.get() ['entity'].replace('q','')
return id
and add
data = DataPage(site.data_repository(), "Q"+id)
to first line of setitem()
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605830&group_…
Bugs item #3605830, was opened at 2013-02-24 11:21
Message generated for change (Tracker Item Submitted) made by reza1615
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605830&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: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: settime for wikidata doesn't work!
Initial Comment:
I used this code
#!/usr/bin/python
# -*- coding: utf-8 -*-
import wikipedia,login
summary=u'آبشار لاتون,آبشار لاتون'
site=wikipedia.getSite('fa',fam='wikipedia')
fapage=wikipedia.Page(site,u'آبشار_لاتون')
data=wikipedia.DataPage(fapage)
list=data.get()
id=list['entity'].replace('q','')
data = wikipedia.DataPage(site.data_repository(), "Q"+id)
data.setitem(summary,items={'type': u'item', 'label': 'glk', 'value':u'آبشار_لاتون'})
data.setitem(summary,items={'type': u'sitelink', 'site': 'glk', 'title':u'آبشار_لاتون_(بارزاو)'})
it shows
Updating page [[wikidata:Q5058182]] via API
Updating page [[wikidata:Q5058182]] via API
but it doesn't update the page!
also please add
def getIdFromPage(data)
id=data.get() ['entity'].replace('q','')
return id
and add
data = DataPage(site.data_repository(), "Q"+id)
to first line of setitem()
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605830&group_…
Patches item #3563805, was opened at 2012-08-31 12:05
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3563805&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: WGH ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't replace LF with CR LF in xmlreader
Initial Comment:
Fixes a bug that I'll submit shortly.
----------------------------------------------------------------------
Comment By: WGH ()
Date: 2013-02-24 05:52
Message:
http://sourceforge.net/tracker/index.php?func=detail&aid=3563812&group_id=9…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-02-24 05:50
Message:
Could you tell us the reason for this patch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3563805&group_…
Patches item #3563805, was opened at 2012-08-31 12:05
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3563805&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: WGH ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't replace LF with CR LF in xmlreader
Initial Comment:
Fixes a bug that I'll submit shortly.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-02-24 05:50
Message:
Could you tell us the reason for this patch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3563805&group_…
Patches item #3605718, was opened at 2013-02-22 16:57
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3605718&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: Accepted
Priority: 5
Private: No
Submitted By: Jesse Plamondon-Willard (pathoschild)
>Assigned to: xqt (xqt)
Summary: Inupiaq Wiktionary not marked obsolete
Initial Comment:
The Inupiaq Wiktionary was closed (see [1][2][3]), but is not marked obsolete in pywikipediabot. The attached patch fixes this.
[1]: http://ik.wiktionary.org/
[2]: http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_In…
[3]: https://bugzilla.wikimedia.org/show_bug.cgi?id=43769
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-02-24 05:15
Message:
done in r11110
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3605718&group_…
Patches item #3605769, was opened at 2013-02-23 13:52
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3605769&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: rewrite
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Legoktm (legoktm)
>Assigned to: Merlijn S. van Deen (valhallasw)
Summary: Use www.wikidata.org
Initial Comment:
Because of various issues, (https://bugzilla.wikimedia.org/show_bug.cgi?id=45005) using wikidata.org may cause random problems. Using www.wikidata.org will fix these.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-02-24 05:07
Message:
done in r111057r11106
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3605769&group_…