FS#33: Charts.py bricht mit Fehler ab #6

Closed
opened 5 years ago by golderweb · 2 comments
Owner

joni@NBK-JON-03:~/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot$ python3 charts/charts.py -page='Benutzer:JogoBot/Charts'
"2016-03-09 16:06:33 (UTC)" Chartsbot invoked
"2016-03-09 16:06:33 (UTC)" Retrieving 1 pages from wikipedia:de.
Traceback (most recent call last):
File "charts/charts.py", line 257, in
main()
File "charts/charts.py", line 252, in main
bot.run()
File "charts/charts.py", line 107, in run
self.treat(page)
File "charts/charts.py", line 121, in treat
sumpage.treat()
File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 72, in treat
summarypageentry.treat()
File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 121, in treat
self.get_countrylist()
File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 155, in get_countrylist
self.maybe_parse_countrylist()
File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 185, in maybe_parse_countrylist
self.countrylist.parse()
File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/countrylist.py", line 127, in parse
self.prepare_chartein()
File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/countrylist.py", line 232, in prepare_chartein
self.chartein = ( Week( self.year + self.get_year_correction(),
TypeError: Can't convert 'int' object to str implicitly
<class 'TypeError'>


Imported from https://fs.golderweb.de/task/33 via GOLDERWEB FS->GITEA TICKETIMPORTER

Originially opened: Wed Mar 9 16:18:50 2016

<code>joni@NBK-JON-03:~/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot$ python3 charts/charts.py -page='Benutzer:JogoBot/Charts' "2016-03-09 16:06:33 (UTC)" Chartsbot invoked "2016-03-09 16:06:33 (UTC)" Retrieving 1 pages from wikipedia:de. Traceback (most recent call last): File "charts/charts.py", line 257, in <module> main() File "charts/charts.py", line 252, in main bot.run() File "charts/charts.py", line 107, in run self.treat(page) File "charts/charts.py", line 121, in treat sumpage.treat() File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 72, in treat summarypageentry.treat() File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 121, in treat self.get_countrylist() File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 155, in get_countrylist self.maybe_parse_countrylist() File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/summarypage.py", line 185, in maybe_parse_countrylist self.countrylist.parse() File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/countrylist.py", line 127, in parse self.prepare_chartein() File "/home/joni/GOLDERWEB/Daten/Projekte/05_Wikimedia/62_BOT/bot/charts/countrylist.py", line 232, in prepare_chartein self.chartein = ( Week( self.year + self.get_year_correction(), TypeError: Can't convert 'int' object to str implicitly <class 'TypeError'> </code> ---- Imported from https://fs.golderweb.de/task/33 via GOLDERWEB FS->GITEA TICKETIMPORTER Originially opened: Wed Mar 9 16:18:50 2016
Poster
Owner

Fehler in der Funktion zur Erfassung des Datums aus dem Seitentitel, diese gibt den Seitentitel statt dem Jahr zurück


Imported from https://fs.golderweb.de/task/33#comment17 via GOLDERWEB FS->GITEA TICKETIMPORTER

Originially added: Wed Mar 9 16:19:39 2016

Fehler in der Funktion zur Erfassung des Datums aus dem Seitentitel, diese gibt den Seitentitel statt dem Jahr zurück ---- Imported from https://fs.golderweb.de/task/33#comment17 via GOLDERWEB FS->GITEA TICKETIMPORTER Originially added: Wed Mar 9 16:19:39 2016
golderweb closed this issue 5 years ago
Poster
Owner

Mit Commit 22a2cc5 behoben!


Closed as https://fs.golderweb.de/task/33#taskclosed via GOLDERWEB FS->GITEA TICKETIMPORTER

Originally closed: Wed Mar 9 16:29:48 2016

Mit Commit 22a2cc5 behoben! ---- Closed as https://fs.golderweb.de/task/33#taskclosed via GOLDERWEB FS->GITEA TICKETIMPORTER Originally closed: Wed Mar 9 16:29:48 2016
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.