Closed GoogleCodeExporter closed 8 years ago
Sorry u can delete it, i didn't see its already reported.
Original comment by ef...@mixmail.com
on 5 Jun 2007 at 6:11
Hi I copy new files but I still get an error.
This is the log file:
Traceback (most recent call last):
File "src\OGBot.py", line 487, in <module>
self.web.launchMission(mission, True, slotsToReserve)
File "src\gui.py", line 543, in guiMain
if options.autostart:
AttributeError: 'NoneType' object has no attribute 'autostart'
Any idea? Thanks.
Original comment by ef...@mixmail.com
on 5 Jun 2007 at 11:29
yep same problem here as well. soemthing has changed ont he website.
Original comment by chris.pr...@gmail.com
on 6 Jun 2007 at 12:26
NEW VERSION ERROR AT START UP 2.2 beta 9
Traceback (most recent call last):
File "src\OGBot.py", line 487, in <module>
self.web.launchMission(mission, True, slotsToReserve)
File "src\gui.py", line 543, in guiMain
if options.autostart:
AttributeError: 'NoneType' object has no attribute 'autostart'
Original comment by g.cri...@gmail.com
on 6 Jun 2007 at 7:39
For OGBot_2.2_beta8 open src/WebAdapter.py and on line 74 add + "/home.php".
That is
the line in the constructor of the WebAdapter class that defines the webpage
variable. Here's how it looked like:
def __init__(self, config, allTranslations, checkThreadMsgsMethod, gui = None):
self.server = ''
self.lastFetchedUrl = ''
self.serverCharset = ''
self.config = config
self.checkThreadMsgsMethod = checkThreadMsgsMethod
self._eventMgr = WebAdapter.EventManager(gui)
self.serverTimeDelta = None
self.webpage = "http://"+ config.webpage
if not self.loadState():
self.session = '000000000000'
#setup urllib2:
socket.setdefaulttimeout(10.0)
and here is how it looks after the change
def __init__(self, config, allTranslations, checkThreadMsgsMethod, gui = None):
self.server = ''
self.lastFetchedUrl = ''
self.serverCharset = ''
self.config = config
self.checkThreadMsgsMethod = checkThreadMsgsMethod
self._eventMgr = WebAdapter.EventManager(gui)
self.serverTimeDelta = None
self.webpage = "http://"+ config.webpage +"/home.php"
if not self.loadState():
self.session = '000000000000'
#setup urllib2:
socket.setdefaulttimeout(10.0)
param1 = keepalive.HTTPHandler()
Original comment by marjan3...@gmail.com
on 6 Jun 2007 at 11:06
Please install new beta9
Thanx
Original comment by pepillog...@gmail.com
on 6 Jun 2007 at 11:16
Could someone recompile the Windows webadapter.pyo?
Original comment by phxcitys...@gmail.com
on 6 Jun 2007 at 1:12
could someone put here an archive with the modified OGbot , or explain me
exacly what
i have to do to make it work again , i have this problem
Traceback (most recent call last):
File "src\OGBot.py", line 96, in run
File "src\OGBot.py", line 131, in _connect
File "src\WebAdapter.py", line 97, in __init__
IndexError: list index out of range
Original comment by CsakiRob...@gmail.com
on 6 Jun 2007 at 5:42
downloaded the beta, does not replace the entire bot? its really weird I
replaced
the files that were contained in the beta and now the bot doesnt even run with
any
kind of stability, it just crashes and closes
Original comment by RogerLaF...@gmail.com
on 6 Jun 2007 at 8:20
Okay, downloaded a new installation of the bot and added the beta files, this
is the
log message I get still.
Traceback (most recent call last):
File "src\OGBot.py", line 487, in <module>
self.web.launchMission(mission, True, slotsToReserve)
File "src\gui.py", line 543, in guiMain
if options.autostart:
AttributeError: 'NoneType' object has no attribute 'autostart'
Original comment by RogerLaF...@gmail.com
on 6 Jun 2007 at 8:31
Nobody can help us???
Please help!!!
Original comment by ef...@mixmail.com
on 8 Jun 2007 at 7:49
to run the bot on windows you have to download the beta9.
http://code.google.com/p/kovans-ogbot/downloads/detail?name=kovans-ogbot_2.2-
BETA9.tar.gz&can=2&q=
download and install python:
http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi
download and install Qt4 4.3.0 :
http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/qt-win-opensource-
4.3.0-mingw.exe
INSTALL MINIGW( while the installation youre asked to do so) TOO. OTHERWISE IT
WONT
WORK
download and install pyqt4:
http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/PyQt-gpl-4.2-Py2.5-Qt4.2.3
.exe
after installation:
lunch qt4.3.0 command prompt
located: start\programs\Qt by Trolltech v4.3.0 (OpenSource)\qt4.3.0 command
prompt
type in: "cd c:\ogbot\src\" and enter ; if "c:\ogbot" is the location where you
installed
the bot.
than open c:\ogbot\src via explorer and there is a file named ogbot.py
just draw it in the window of the console auf qt.4.3.0 command prompt and enter
now the bot should work.
Original comment by pimp_r...@web.de
on 8 Jun 2007 at 10:38
Thanks! it's seams something really user friendly :)
I suppose I will wait a complete version ....
Anyway now I know why it didn't function copying files ...
Original comment by g.cri...@gmail.com
on 8 Jun 2007 at 1:15
cant someone upload a complete functioning bot?
Original comment by Tobias.M...@gmail.com
on 8 Jun 2007 at 1:25
thanks for that incredibly complicated solution, It works but it's really
complcated
just to get it started, Maybe i can make it a batchfile or something so i only
have
to click once
Original comment by RogerLaF...@gmail.com
on 8 Jun 2007 at 6:36
I'm running the beta on a windows machine i only click on the bot and it runs
fine.
Original comment by phxcitys...@gmail.com
on 9 Jun 2007 at 2:42
i cant get it to work,
phxcityslick, cant you upload you fuctioning bot then??
TIA
Original comment by Tobias.M...@gmail.com
on 9 Jun 2007 at 4:16
Original comment by jsceballos
on 9 Jun 2007 at 10:03
Original issue reported on code.google.com by
ef...@mixmail.com
on 5 Jun 2007 at 6:10