Support Requests item #2920435, was opened at 2009-12-24 01:42
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2920435&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: Install Problem
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cant login
Initial Comment:
I am running a private wiki that requires login to view pages and uses pretty urls.
When I run login.py and enter the correct password I am told "timed out
WARNING: Could not open 'http://sitename.com/wiki/index.php?title=Special:Userlogin&useskin=monobook…'. Maybe the server or
your connection is down. Retrying in 1 minutes..." . I checked the Apache access log and it says "POST /wiki/index.php?title=Special:Userlogin&useskin=monobook&action=submit HTTP/1.1" 302 -
Any help is greatly apppreciated.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-01-19 02:20
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: 2010-01-04 09:24
Message:
could you give me your user-config.py and the family file of your privat
wiki. And what is the right URL to get your main page?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-12-31 10:16
Message:
Thanks xqt, I tried that but it didn't make a difference.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-12-30 17:13
Message:
from config-py I found this hint:
# Some sites will require password identication to access the HTML pages
at
# the site. If you have any such site, add lines to your user-config.py
of
# the following form:
#
# authenticate['en.wikipedia.org'] = ('John','XXXXX')
#
# where John is your login name, and XXXXX your password.
# Note:
# 1. This is only for sites that use authentication in the form that
gives
# you a popup for name and password when you try to access any data,
NOT
# for, for example, wiki usernames
# 2. You must use the hostname of the site, not its family/language pair
If you need this request, you should put the authenticate line to your
user-config.py
----------------------------------------------------------------------
Comment By: Keyril (keyril)
Date: 2009-12-29 19:56
Message:
Hi! I've got the same error.
* I disabled the firewall, checked the status of wiki, mysql, apache
before, then tried it and got the same error message (url was another, of
course).
* I tried the url in Firefox and it worked (opened the Special:Userlogin
page).
* I tried it on two different PCs - one time xampp, one time manually set
up apache, php and mysql, but same error.
* I tried it with sysop account, too, but same error.
Any help is greatly appreciated, too!
Thanks in advance!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2920435&group_…
Bugs item #2928239, was opened at 2010-01-08 13:39
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2928239&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: Pending
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: unwarranted SectionError
Initial Comment:
> python version.py
Pywikipedia [http] trunk/pywikipedia (r7865, 2010/01/08, 07:29:30)
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2]
On en.wikisource.org, this link:
[[Energy Independence and Security Act of 2007/Title XII#Sec. 1201.]]
generates a SectionError, making page.exists() return False, despite the section being good (try pasting the link into the search line an press "Go"). Possibly pywikipedia is confused by the long and short section IDs (the generated HTML code contains both
<span class="mw-headline" id="Sec._1201._Express_Loans_for_Renewable_Energy_and_Energy_Efficiency.">
and
<span id="Sec._1201.">
where the second span element is a subelement of the first one, so the CSS attribute class="mw-headline" still applies).
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-01-18 17:28
Message:
We do not get this section neither via wikitext nor via api parse action. I
would not do some screen scrapping to get this stuff.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-01-18 11:37
Message:
It seems wikipedia.py uses the wikitext to search for sections instead of
the rendered HTML. This makes this bug difficult to fix for pages in which
sections are generated by remplates or anchors are defined manually.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2928239&group_…
Bugs item #2928239, was opened at 2010-01-08 12:39
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2928239&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: unwarranted SectionError
Initial Comment:
> python version.py
Pywikipedia [http] trunk/pywikipedia (r7865, 2010/01/08, 07:29:30)
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2]
On en.wikisource.org, this link:
[[Energy Independence and Security Act of 2007/Title XII#Sec. 1201.]]
generates a SectionError, making page.exists() return False, despite the section being good (try pasting the link into the search line an press "Go"). Possibly pywikipedia is confused by the long and short section IDs (the generated HTML code contains both
<span class="mw-headline" id="Sec._1201._Express_Loans_for_Renewable_Energy_and_Energy_Efficiency.">
and
<span id="Sec._1201.">
where the second span element is a subelement of the first one, so the CSS attribute class="mw-headline" still applies).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-01-18 10:37
Message:
It seems wikipedia.py uses the wikitext to search for sections instead of
the rendered HTML. This makes this bug difficult to fix for pages in which
sections are generated by remplates or anchors are defined manually.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2928239&group_…
Bugs item #2823378, was opened at 2009-07-18 00:47
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2823378&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: Closed
>Resolution: Fixed
Priority: 8
Private: No
Submitted By: siebrand (siebrand)
>Assigned to: xqt (xqt)
Summary: replace.py crashes against latest MediaWiki (r53425)
Initial Comment:
Replace.py crashes against MediaWiki r53425 with the following error after the first edit. I tried r7000, r7060 and 7075. Neither works. My guess is MediaWiki pages changed and now screen scraping is broken. Tried against -family:i18n -lang:i18n
Changing page [[MediaWiki:Optin-improvements/tr]]
Traceback (most recent call last):
File "replace.py", line 705, in <module>
main()
File "replace.py", line 701, in main
bot.run()
File "replace.py", line 429, in run
page.put(new_text, self.editSummary)
File "/home/siebrand/i18n/wikipedia.py", line 1424, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "/home/siebrand/i18n/wikipedia.py", line 1560, in _putPage
if self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/siebrand/i18n/wikipedia.py", line 5053, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/siebrand/i18n/wikipedia.py", line 5021, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: syntax error: line 1, column 0
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-01-18 08:30
Message:
xml and php are no longer supported for mediawiki_messages.
fix was done in release r7354
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=7354
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-07-18 00:47
Message:
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7075, 2009/07/17, 20:29:14)
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2823378&group_…
Bugs item #2933088, was opened at 2010-01-15 22:01
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2933088&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: template.py -subst problem
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7883, 2010/01/15, 13:13:04)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Hello,
I have noticed that template.py, with subst option, is substing templates even in ref tags. The problem is that the templates can't be substed in a ref tag, then the content is no more display, and reader see {{subst:TemplateName}}
An exception should be added for the template use between ref tags.
Here is an exemple ; http://fr.wikipedia.org/w/index.php?title=Ruwen_Ogien&diff=prev&oldid=48806…
Regards
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-01-18 07:02
Message:
done in r7884
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2933088&group_…
Bugs item #2933088, was opened at 2010-01-15 21:01
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2933088&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: template.py -subst problem
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7883, 2010/01/15, 13:13:04)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Hello,
I have noticed that template.py, with subst option, is substing templates even in ref tags. The problem is that the templates can't be substed in a ref tag, then the content is no more display, and reader see {{subst:TemplateName}}
An exception should be added for the template use between ref tags.
Here is an exemple ; http://fr.wikipedia.org/w/index.php?title=Ruwen_Ogien&diff=prev&oldid=48806…
Regards
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2933088&group_…
Bugs item #2086421, was opened at 2008-09-01 08:39
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2086421&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: Out of Date
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: unknown reason to remove interwiki link in dewiki
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r5869, Aug 31 2008, 22:46:50)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
parameters use -new:120 , -autonomous and -force.
user contributions in http://de.wikipedia.org/wiki/Spezial:Beitr%C3%A4ge/alexbot
some pages in the auto-works could remove some exists page link. Sometime is disambiguation pages, but some pages I checked later, it's not disambiguation page. (see de:Thomas Wolsey http://de.wikipedia.org/w/index.php?title=Thomas_Wolsey&diff=prev&oldid=502… ) And I've no idea why current code could remove this page.
this bug let my de account blocked.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-01-13 02:22
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-12-29 11:35
Message:
No idea for this, but the reason is always given in the logfile.
This option works for me and there is a long time since this bug was
registered, I'd like to close this request. Or do you have a new hint for
this.
----------------------------------------------------------------------
Comment By: Andr Malafaya Baptista (malafaya)
Date: 2008-09-09 13:01
Message:
I have no clue. I tried:
interwiki.py -lang:de -force -autonomous Thomas Wolsey
I didn't use -new:120 cause it wouldn't work anymore.
No interwiki was removed (including ru:).
Maybe you got a temporary buggy version?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2086421&group_…
Patches item #2930365, was opened at 2010-01-12 05:02
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2930365&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: Translations
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Tran Vinh Tan (vinhtantran)
>Assigned to: xqt (xqt)
Summary: + vi for category_redirect.py
Initial Comment:
Adding vi messages for category_redirect.py
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-01-12 17:02
Message:
done in r7871
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2930365&group_…
Patches item #2930365, was opened at 2010-01-12 11:02
Message generated for change (Tracker Item Submitted) made by vinhtantran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2930365&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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tran Vinh Tan (vinhtantran)
Assigned to: Nobody/Anonymous (nobody)
Summary: + vi for category_redirect.py
Initial Comment:
Adding vi messages for category_redirect.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2930365&group_…
Bugs item #1981755, was opened at 2008-06-02 07:00
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1981755&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: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py issues
Initial Comment:
When running "login.py -all" the following error is shown sporadically:
Logging in to wikipedia:??
Login failed. Wrong password or CAPTCHA answer?
Bot does -not- stop then, but does not login either. Also with API_login, by the way (seems to happen more often with API).
2. With API_login enabled, it isn't shown that you have new messages on a certain wiki.
3. If bot is blocked on a certain wiki, no warning message seems to be shown anymore.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2010-01-12 02:22
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-12-28 11:23
Message:
Since there are a lot of changes at the related scripts. Is this bug still
valid? Otherwise it could be closed due to out of date.
----------------------------------------------------------------------
Comment By: Carsrac (carsrac)
Date: 2008-06-26 17:34
Message:
Logged In: YES
user_id=2066902
Originator: NO
The bug is still there. the pywikipedia scripts allows edits under IP
name. So please fix it or a lot of bots will be blocked because of bad
written python scripts.
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-06-03 07:56
Message:
Logged In: YES
user_id=2089773
Originator: YES
Important: With API_login enabled, a bot does not stay properly logged
in!
Thus, my bot sometimes also edits as IP when using API_login (with block
of IP that's not funny ;-)
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-06-02 07:02
Message:
Logged In: YES
user_id=2089773
Originator: YES
@1.: See "??" replaced by a certain lang code, of course ;-)
@3.: Applies for both login methods.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1981755&group_…