barolet / kovans-ogbot

Automatically exported from code.google.com/p/kovans-ogbot
0 stars 0 forks source link

Problem launching 3.1b ogame.com.es #301

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ENGLISH ONLY.
IF ANY OF THE INFO BELOW IS MISSING THE BUG REPORT WILL BE DELETED.
Thank you.

Bot version: 3.1b 
OGame server language: ogame.com.es
OGame server version: 0.83
Using admirals or commander (specify)?: No
Operating System: Fedora

Description of the problem:

Problem get "getResearchLevels" and 'Tecnolog\xc3\xada de espionaje'

Log file contents:

 Contacting server...
 Logged in with user .
Traceback (most recent call last):
  File "src/OGBot.py", line 106, in run
    self._connect()
  File "src/OGBot.py", line 139, in _connect
    self.web.updatePlayerData(self.player)
  File "src/WebAdapter.py", line 412, in updatePlayerData
    self.getResearchLevels(player, [player.colonies[0]])
  File "src/WebAdapter.py", line 496, in getResearchLevels
    player.research[self.translationsByLocalText[fullName]] = int(level)
KeyError: 'Tecnolog\xc3\xada de espionaje'
Something unexpected occured, see log file. Stopping bot.

Original issue reported on code.google.com by reub...@gmail.com on 22 Feb 2009 at 11:17

GoogleCodeExporter commented 8 years ago
I would check your translations

Original comment by King.Vash@gmail.com on 23 Feb 2009 at 7:10

GoogleCodeExporter commented 8 years ago
I have the same problem:
----------------------------------------------------
Traceback (most recent call last):
  File "src\OGBot.py", line 106, in run
  File "src\OGBot.py", line 139, in _connect
  File "src\WebAdapter.py", line 412, in updatePlayerData
  File "src\WebAdapter.py", line 496, in getResearchLevels
KeyError: 'Tecnolog\xc3\xada de espionaje'
----------------------------------------------------

Original comment by guy...@gmail.com on 26 Feb 2009 at 5:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
same problem here

Original comment by Evi...@gmail.com on 1 Mar 2009 at 3:31

Attachments:

GoogleCodeExporter commented 8 years ago
Despues de estar probando e investigando, creo que el problema viene del bot y 
no del
archivo de traduccion, esperaremos a los programadores a ver que dicen, saludos!

Original comment by Evi...@gmail.com on 6 Mar 2009 at 1:02

GoogleCodeExporter commented 8 years ago
Same problem here.

-----------------------------------------------------------
07/08/09 03:47:23 Contacting server...
07/08/09 03:47:26 Logged in with user kIERO.
Traceback (most recent call last):
  File "src\OGBot.py", line 106, in run
    self._connect()
  File "src\OGBot.py", line 139, in _connect
    self.web.updatePlayerData(self.player)
  File "src\WebAdapter.py", line 412, in updatePlayerData
    self.getResearchLevels(player, [player.colonies[0]])
  File "src\WebAdapter.py", line 496, in getResearchLevels
    player.research[self.translationsByLocalText[fullName]] = int(level)
KeyError: 'Tecnolog\xc3\xada de espionaje'
07/08/09 03:47:47 Something unexpected occured, see log file. Stopping bot.
-----------------------------------------------------------

i'd attach last debug file (with erased personal data)... and you can see that 
with
ISO-8859-1 it shows something like "Tecnologà a de espionaje". Wrong 
enconding, it
should be UTF-8 and it would be alright.

Original comment by mbarriol...@gmail.com on 8 Jul 2009 at 6:52

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by kovansog...@gmail.com on 2 Apr 2010 at 9:48

GoogleCodeExporter commented 8 years ago

Original comment by kovansog...@gmail.com on 2 Apr 2010 at 9:57