Bugs item #1682734, was opened at 2007-03-17 14:13
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=168273…
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: solve_disambiguation
Group: None
Status: Closed
Resolution: None
Priority: 3
Private: No
Submitted By: Robin Green (greenrd)
Assigned to: Merlijn S. van Deen (valhallasw)
Summary: X error trying to edit page
Initial Comment:
I had to ssh into another machine to run solve_disambiguation.py, because login.py does
not respect the HTTP_PROXY environment variable. This worked - however, when I try to
choose the "e" option to edit a page, I always get the same error, shown below:
Option (#, r#, s=skip link, e=edit page, n=next page, u=unlink, q=quit
m=more context, d=show disambiguation page, l=list, a=add new): e
X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 18 (X_ChangeProperty)
Atom id in failed request: 0x1f1
Serial number of failed request: 12
Current serial number in output stream: 15
OpenSSH's X forwarding feature is enabled.
----------------------------------------------------------------------
Comment By: SourceForge Robot (sf-robot)
Date:
2009-10-23 02:21
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-08 09:38
Message:
please give us additional information requested by valhallasw
----------------------------------------------------------------------
Comment By: Robin Green (greenrd)
Date: 2007-08-06 23:00
Message:
Logged In: YES
user_id=2202
Originator: YES
Yes, urllib does respect HTTP_PROXY - however, urllib is not used for all
HTTP requests, and that's the problem.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-08-06 22:50
Message:
Logged In: YES
user_id=687283
Originator: NO
As far as I know urllib reads the HTTP_PROXY environment variable and uses
it, and as far as I know, that's what pywikipediabot uses. Could you give
us some details about your proxy (i.e. does it require authentication) and
about the python version you are using?
Could you start the python interpreter and try the following:
>> import urllib
>> k = urllib.urlopen('http://www.google.com')
>> k.readline()
'<html><head><meta
http-equiv="content-type" content="text/html;
charset=ISO-8859-1"><title>Google</title><style><!--\n'
or you could see an "IOError: [Errno socket error] (-2, 'Name or service
not known')" or sth.
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2007-08-06 21:38
Message:
Logged In: YES
user_id=880694
Originator: NO
I don't know why the X error occurs, but I suggest to add this line to
your user-config.py:
editor = 'kate'
Or, instead of kate, enter gedit, vim, nano, emacs or whatever your
favorite editor is. These editors are better than our small default editor
anyway.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=168273…