Mijago Switchbot Python Problem..

08/06/2016 08:01 uNet#1
Hey Leute,


Ich habe da ein klitze kleines problem und zwar ist bei meinem Client eine alte version des
Mijago bots bereits verbaut und ich wollte diese gerne mit der version 2.3 ersetzen da diese halt aktueller ist ersetze ich aber nun die switchbot.py komme ich nichtmehr ingame rein syserr findet ihr etwas weiter unten vielleicht wäre hier einer so nett und könnte mir dies überarbeiten ich komm da einfach nicht weiter wäre sehr nett wenn mir da jemand weiterhilft im anhang befindet sich die game.py & die neue version des switchbottes die ich gerne einbauen würde.



syserr:

Code:
0806 07:41:24888 ::   File "networkModule.py", line 245, in SetGamePhase

0806 07:41:24888 ::   File "system.py", line 130, in __pack_import

0806 07:41:24889 ::   File "system.py", line 110, in _process_result

0806 07:41:24889 ::   File "game.py", line 28, in ?

0806 07:41:24889 ::   File "system.py", line 130, in __pack_import

0806 07:41:24889 ::   File "system.py", line 110, in _process_result

0806 07:41:24889 ::   File "switchbot.py", line 6, in ?

0806 07:41:24889 ::   File "system.py", line 137, in __pack_import

0806 07:41:24889 :: ImportError
0806 07:41:24889 :: : 
0806 07:41:24889 :: No module named locale
0806 07:41:24889 :: 

0806 07:43:44583 :: Traceback (most recent call last):

0806 07:43:44583 ::   File "networkModule.py", line 247, in SetGamePhase

0806 07:43:44583 :: AttributeError
0806 07:43:44583 :: : 
0806 07:43:44583 :: 'module' object has no attribute 'GameWindow'
0806 07:43:44583 ::
08/06/2016 12:58 .Onlyx3#2
Switchbot.py
PHP Code:
import locale 
mit
PHP Code:
import localeInfo 
ersetzen.

game.py
PHP Code:
from switchbot import Bot as mijagobot 
mit
PHP Code:
from switchbot import Bot 
ersetzen.

SOLLTE laufen..
08/06/2016 14:21 uNet#3
Quote:
Originally Posted by .UnknownUser™ View Post

SOLLTE laufen..

ALSO Einloggen kann ich mich jetzt schonmal wieder problem ist das hier :D :

[Only registered and activated users can see links. Click Here To Register...]


syserr:

Code:
0806 14:20:23822 ::   File "networkModule.py", line 247, in SetGamePhase

0806 14:20:23822 ::   File "game.py", line 129, in __init__

0806 14:20:23822 :: NameError
0806 14:20:23822 :: : 
0806 14:20:23822 :: global name 'mijagobot' is not defined
0806 14:20:23822 ::
08/06/2016 14:27 .Onlyx3#4
Bin in 2 Stunden zuhause dann kann ich dir helfen ^^
08/06/2016 14:30 uNet#5
Quote:
Originally Posted by .UnknownUser™ View Post
Bin in 2 Stunden zuhause dann kann ich dir helfen ^^

Lieb von dir danke ! ^^
08/06/2016 17:08 .Onlyx3#6
Hast du in Zeile 28 (game.py) das
PHP Code:
from switchbot import Bot as mijagobot 
auf
PHP Code:
from switchbot import Bot 
geändert?

btw hab nochwas gefunden. Versuch mal die beiden Dateien aus'm Anhang.
08/06/2016 17:34 uNet#7
Quote:
Originally Posted by .UnknownUser™ View Post

btw hab nochwas gefunden. Versuch mal die beiden Dateien aus'm Anhang.
Also jetzt kann ich mich ohne probleme einloggen , bot öffnet sich aber nicht via hotkey auf F7 o.ô


Syserr spuckt jetzt hammer viele errors aus.:

Code:
0806 17:35:25203 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25203 :: AttributeError
0806 17:35:25203 :: : 
0806 17:35:25203 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25203 :: 

0806 17:35:25203 :: Traceback (most recent call last):

0806 17:35:25203 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25203 :: AttributeError
0806 17:35:25203 :: : 
0806 17:35:25203 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25203 :: 

0806 17:35:25203 :: Traceback (most recent call last):

0806 17:35:25203 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25203 :: AttributeError
0806 17:35:25203 :: : 
0806 17:35:25203 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25203 :: 

0806 17:35:25204 :: Traceback (most recent call last):

0806 17:35:25204 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25204 :: AttributeError
0806 17:35:25204 :: : 
0806 17:35:25204 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25204 :: 

0806 17:35:25239 :: Traceback (most recent call last):

0806 17:35:25239 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25239 :: AttributeError
0806 17:35:25239 :: : 
0806 17:35:25239 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25239 :: 

0806 17:35:25239 :: Traceback (most recent call last):

0806 17:35:25239 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25239 :: AttributeError
0806 17:35:25239 :: : 
0806 17:35:25239 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25239 :: 

0806 17:35:25251 :: Traceback (most recent call last):

0806 17:35:25251 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25251 :: AttributeError
0806 17:35:25251 :: : 
0806 17:35:25251 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25251 :: 

0806 17:35:25268 :: Traceback (most recent call last):

0806 17:35:25268 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25268 :: AttributeError
0806 17:35:25268 :: : 
0806 17:35:25268 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25268 :: 

0806 17:35:25284 :: Traceback (most recent call last):

0806 17:35:25284 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25284 :: AttributeError
0806 17:35:25284 :: : 
0806 17:35:25284 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25284 :: 

0806 17:35:25301 :: Traceback (most recent call last):

0806 17:35:25301 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25301 :: AttributeError
0806 17:35:25301 :: : 
0806 17:35:25301 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25301 :: 

0806 17:35:25317 :: Traceback (most recent call last):

0806 17:35:25317 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25317 :: AttributeError
0806 17:35:25317 :: : 
0806 17:35:25317 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25317 :: 

0806 17:35:25334 :: Traceback (most recent call last):

0806 17:35:25334 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25334 :: AttributeError
0806 17:35:25334 :: : 
0806 17:35:25334 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25334 :: 

0806 17:35:25350 :: Traceback (most recent call last):

0806 17:35:25350 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25350 :: AttributeError
0806 17:35:25350 :: : 
0806 17:35:25350 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25350 :: 

0806 17:35:25367 :: Traceback (most recent call last):

0806 17:35:25367 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25367 :: AttributeError
0806 17:35:25367 :: : 
0806 17:35:25367 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25367 :: 

0806 17:35:25383 :: Traceback (most recent call last):

0806 17:35:25383 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:25383 :: AttributeError
0806 17:35:25383 :: : 
0806 17:35:25383 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:25383 :: 

0806 17:35:26230 :: Traceback (most recent call last):

0806 17:35:26230 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26230 :: AttributeError
0806 17:35:26230 :: : 
0806 17:35:26230 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26230 :: 

0806 17:35:26259 :: Traceback (most recent call last):

0806 17:35:26259 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26259 :: AttributeError
0806 17:35:26259 :: : 
0806 17:35:26259 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26259 :: 

0806 17:35:26260 :: Traceback (most recent call last):

0806 17:35:26260 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26260 :: AttributeError
0806 17:35:26260 :: : 
0806 17:35:26260 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26260 :: 

0806 17:35:26274 :: Traceback (most recent call last):

0806 17:35:26275 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26275 :: AttributeError
0806 17:35:26275 :: : 
0806 17:35:26275 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26275 :: 

0806 17:35:26281 :: Traceback (most recent call last):

0806 17:35:26281 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26281 :: AttributeError
0806 17:35:26281 :: : 
0806 17:35:26281 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26281 :: 

0806 17:35:26297 :: Traceback (most recent call last):

0806 17:35:26297 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26297 :: AttributeError
0806 17:35:26297 :: : 
0806 17:35:26297 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26297 :: 

0806 17:35:26313 :: Traceback (most recent call last):

0806 17:35:26314 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26314 :: AttributeError
0806 17:35:26314 :: : 
0806 17:35:26314 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26314 :: 

0806 17:35:26329 :: Traceback (most recent call last):

0806 17:35:26329 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26329 :: AttributeError
0806 17:35:26329 :: : 
0806 17:35:26329 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26329 :: 

0806 17:35:26346 :: Traceback (most recent call last):

0806 17:35:26346 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26346 :: AttributeError
0806 17:35:26347 :: : 
0806 17:35:26347 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26347 :: 

0806 17:35:26362 :: Traceback (most recent call last):

0806 17:35:26363 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26363 :: AttributeError
0806 17:35:26363 :: : 
0806 17:35:26363 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26363 :: 

0806 17:35:26380 :: Traceback (most recent call last):

0806 17:35:26380 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26380 :: AttributeError
0806 17:35:26380 :: : 
0806 17:35:26380 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26380 :: 

0806 17:35:26395 :: Traceback (most recent call last):

0806 17:35:26395 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26395 :: AttributeError
0806 17:35:26395 :: : 
0806 17:35:26395 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26395 :: 

0806 17:35:26412 :: Traceback (most recent call last):

0806 17:35:26412 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26412 :: AttributeError
0806 17:35:26412 :: : 
0806 17:35:26412 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26412 :: 

0806 17:35:26428 :: Traceback (most recent call last):

0806 17:35:26429 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26429 :: AttributeError
0806 17:35:26429 :: : 
0806 17:35:26429 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26429 :: 

0806 17:35:26445 :: Traceback (most recent call last):

0806 17:35:26445 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26445 :: AttributeError
0806 17:35:26445 :: : 
0806 17:35:26445 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26445 :: 

0806 17:35:26461 :: Traceback (most recent call last):

0806 17:35:26462 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26462 :: AttributeError
0806 17:35:26462 :: : 
0806 17:35:26462 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26462 :: 

0806 17:35:26478 :: Traceback (most recent call last):

0806 17:35:26478 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26478 :: AttributeError
0806 17:35:26478 :: : 
0806 17:35:26478 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26478 :: 

0806 17:35:26494 :: Traceback (most recent call last):

0806 17:35:26494 ::   File "game.py", line 1459, in OnUpdate

0806 17:35:26495 :: AttributeError
0806 17:35:26495 :: : 
0806 17:35:26495 :: 'Bot' object has no attribute 'bot_shown'
0806 17:35:26495 :: 

0806 17:35:26511 :: Traceback (most recent call last):

0806 17:35:26511 ::   File "game.py", line 1459, in OnUpdate
08/06/2016 17:34 .Onlyx3#8
Schick mir mal per PN deine Skypeaddy.
08/06/2016 17:38 uNet#9
Quote:
Originally Posted by .UnknownUser™ View Post
Schick mir mal per PN deine Skypeaddy.

Hast ne pn :p

Leider besteht das Problem weiterhin.