Bugs item #1809035, was opened at 2007-10-07 18:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1809035&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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: Exception in Page constructor
Initial Comment:
Command: interwiki.py -autonomous -start:Project:! -lang:be-x-old -family:wikipedia
Result: crash with below error
Target link 'm:herupu:??no?ki?' has different family 'm'
Exception in Page constructor
Dump be-x-old (wikipedia) saved
Traceback (most recent call last):
File "D:\py\interwiki3\interwiki.py", line 1566, in <module>
bot.run()
File "D:\py\interwiki3\interwiki.py", line 1347, in run
self.queryStep()
File "D:\py\interwiki3\interwiki.py", line 1321, in queryStep
self.oneQuery()
File "D:\py\interwiki3\interwiki.py", line 1317, in oneQuery
subject.workDone(self)
File "D:\py\interwiki3\interwiki.py", line 643, in workDone
iw = page.interwiki()
File "D:\py\interwiki3\wikipedia.py", line 1332, in interwiki
pageLink=self.aslink())
File "D:\py\interwiki3\wikipedia.py", line 2792, in getLanguageLinks
result[site] = Page(site, pagetitle, insite = insite)
File "D:\py\interwiki3\wikipedia.py", line 374, in __init__
% (site, title, insite, defaultNamespace)
File "C:\Python25\lib\encodings\cp850.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode characters in position 27-29: character maps to <undefined>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1809035&group_…
Hi all,
Today I have fritted away one hour to realize because a simple regex
don't work correctly. The problem is in different data received by XML
routines and getEditPage() function, due to xmlreader module (line 165
in r3726) adding carriage returns contrary to getEditPage() way. I
wonder if those CR are really necessary and if is a good thing to use
at the same time two formats internally.
Regards,
Francesco Cosoleto
Patches item #1808247, was opened at 2007-10-05 18:03
Message generated for change (Comment added) made by filnik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247&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: Filnik (filnik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Still me... replace.py and \n
Initial Comment:
millosh has log-in on #pywikipediabot today, asking how you use "newlines" with regex because \n seems not working with replace.py.
I've asked him if he his on windows and he reply not to be on that OS but he can't use <enter> instead of \n.
I still think that the "limiter" for win32 is a bit weird and useless, also because if you write a regex on windows you have to replace all the \n with "enters".
So... can you delete the "limiter"? Thanx, Filnik
----------------------------------------------------------------------
>Comment By: Filnik (filnik)
Date: 2007-10-05 18:28
Message:
Logged In: YES
user_id=1834469
Originator: YES
Well... if there is a better solution, post a patch (or apply the
changes... ;-)). Because, 'till now, my hack seems to work perfectly. Imho
it's a waste not to use that also on other platforms. Filnik
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2007-10-05 18:25
Message:
Logged In: YES
user_id=181280
Originator: NO
Yes, this problem isn't OS related: simply - unlike DOS/Windows - in
typical UNIX shells to can type newline characters without using '\n'. In
#1769869 I have mentioned a possible solution.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247&group_…
Patches item #1808247, was opened at 2007-10-05 20:03
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247&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: Filnik (filnik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Still me... replace.py and \n
Initial Comment:
millosh has log-in on #pywikipediabot today, asking how you use "newlines" with regex because \n seems not working with replace.py.
I've asked him if he his on windows and he reply not to be on that OS but he can't use <enter> instead of \n.
I still think that the "limiter" for win32 is a bit weird and useless, also because if you write a regex on windows you have to replace all the \n with "enters".
So... can you delete the "limiter"? Thanx, Filnik
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2007-10-05 20:25
Message:
Logged In: YES
user_id=181280
Originator: NO
Yes, this problem isn't OS related: simply - unlike DOS/Windows - in
typical UNIX shells to can type newline characters without using '\n'. In
#1769869 I have mentioned a possible solution.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247&group_…
Patches item #1808247, was opened at 2007-10-05 18:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247&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: Filnik (filnik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Still me... replace.py and \n
Initial Comment:
millosh has log-in on #pywikipediabot today, asking how you use "newlines" with regex because \n seems not working with replace.py.
I've asked him if he his on windows and he reply not to be on that OS but he can't use <enter> instead of \n.
I still think that the "limiter" for win32 is a bit weird and useless, also because if you write a regex on windows you have to replace all the \n with "enters".
So... can you delete the "limiter"? Thanx, Filnik
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247&group_…