Bug uploading to dedimania

Python 3 Server Controller for Trackmania and Shootmania for script-only modes.

Moderators: TheM, toffe, NADEO

elie520
Posts: 95
Joined: 17 Feb 2017, 13:16

Re: Bug uploading to dedimania

Post by elie520 » 06 Jul 2019, 10:03

Ok, I tested a little bit this morning.

I can reproduce the error 100% of the time. If I restart the map after 5 minutes or more, then error 100% of the time.
If I restart before 5 minutes, then no error ever occurs. So there's definitely something shady around the 5-minute mark.

I don't know if it has anything to do with Windows by the way. I mention it bcs I know most server run on a linux kernel, I currently run mine on win10.

User avatar
toffe
Posts: 740
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Bug uploading to dedimania

Post by toffe » 07 Apr 2020, 13:53

Hi,
can you still reproduce with your methods in the most recent version? There are also other errors with dedimania, and are well-known, when a map contains over-limit embedded objects, the replay file is too big.

User avatar
LongLife
Posts: 45
Joined: 01 Jun 2015, 13:19

Re: Bug uploading to dedimania

Post by LongLife » 09 May 2020, 20:59

toffe wrote:
07 Apr 2020, 13:53
Hi,
can you still reproduce with your methods in the most recent version? There are also other errors with dedimania, and are well-known, when a map contains over-limit embedded objects, the replay file is too big.
Yo Toffe, I'm the one that had the problems with Dedimania (https://github.com/PyPlanet/PyPlanet/issues/791)
After reading what elie520 said about restarting the map after 5 or more minutes I realized that in fact that is when it fails to send the times to dedimania.

I've updated PyPlanet to 0.8.0-rc1 and here is what happens.

What I do:
1. Drive a dedi record.
2. Wait 5 or more minutes.
3. //res

What happens:
For like 30 seconds there is no output in the in-game chat.
After 30 or so seconds I get the message saying that the times have been successfully sent but they in fact haven't

Everything that happens in console after restarting the map

Code: Select all

[default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerChat: (237, 'longlife', '//res', True)
DEBUG    [default][peewee.async] ('SELECT `t1`.`id`, `t1`.`namespace`, `t1`.`name`, `t1`.`description`, `t1`.`min_level` FROM `permission` AS t1 WHERE ((`t1`.`namespace` = %s) AND (`t1`.`name` = %s))', (['admin', 'restart'],), {})
INFO     [default][pyplanet.apps.contrib.admin.map] Saving dedimania (v)replays first!..
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484079, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484080, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.EndMatch: ([{'Login': 'longlife', 'NickName': '$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.', 'PlayerId': 237, 'Rank': 0}], -1)
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerChat: (0, 'v4longserver', '$z$s$fff»» $ff0Admin $fff$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.$z$s$ff0 has restarted the map.', False)
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484081, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartServer_Start: {'restarted': True, 'mode': {'updated': False, 'name': 'TimeAttack'}, 'time': 3254130}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartServer_End: {'restarted': True, 'mode': {'updated': False, 'name': 'TimeAttack'}, 'time': 3254130}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartMatch_Start: {'count': 1, 'time': 3254130}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartMatch_End: {'count': 1, 'time': 3254130}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.LoadingMap_Start: {'restarted': True, 'time': 3254130}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484082, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.LoadingMap_End: {'restarted': True, 'time': 3254179, 'map': {'uid': 'd_h_qWLUqldolMlOPnriBJL_YN5', 'name': '$F65NaybeTroBO $FFF#2', 'filename': 'PyPlanet-MX\\TM-192457.Map.Gbx', 'author': 'naybe2', 'environment': 'Stadium', 'mood': 'Day', 'bronzetime': 49000, 'silvertime': 39000, 'goldtime': 35000, 'authortime': 32387, 'copperprice': 2101, 'laprace': False, 'nblaps': 3, 'maptype': 'Race', 'mapstyle': ''}}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartMap_Start: {'count': 1, 'restarted': True, 'time': 3254179, 'map': {'uid': 'd_h_qWLUqldolMlOPnriBJL_YN5', 'name': '$F65NaybeTroBO $FFF#2', 'filename': 'PyPlanet-MX\\TM-192457.Map.Gbx', 'author': 'naybe2', 'environment': 'Stadium', 'mood': 'Day', 'bronzetime': 49000, 'silvertime': 39000, 'goldtime': 35000, 'authortime': 32387, 'copperprice': 2101, 'laprace': False, 'nblaps': 3, 'maptype': 'Race', 'mapstyle': ''}}
DEBUG    [default][pyplanet.apps.contrib.dedimania] Sending Dedimania times...
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerInfoChanged: {'Login': 'longlife', 'NickName': '$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.', 'PlayerId': 237, 'TeamId': -1, 'SpectatorStatus': 2551010, 'LadderRanking': 2399, 'Flags': 101000000, 'LadderScore': 10495.330078}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484083, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerInfoChanged: {'Login': 'longlife', 'NickName': '$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.', 'PlayerId': 237, 'TeamId': -1, 'SpectatorStatus': 0, 'LadderRanking': 2399, 'Flags': 101000000, 'LadderScore': 10495.330078}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484084, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484085, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484086, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.BeginMatch: ()
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerInfoChanged: {'Login': 'longlife', 'NickName': '$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.', 'PlayerId': 237, 'TeamId': -1, 'SpectatorStatus': 2551010, 'LadderRanking': 2399, 'Flags': 101000000, 'LadderScore': 10495.330078}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Trackmania.Event.StartCountdown: {'time': 3255661, 'login': 'longlife'}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartMap_End: {'count': 1, 'restarted': True, 'time': 3255661, 'map': {'uid': 'd_h_qWLUqldolMlOPnriBJL_YN5', 'name': '$F65NaybeTroBO $FFF#2', 'filename': 'PyPlanet-MX\\TM-192457.Map.Gbx', 'author': 'naybe2', 'environment': 'Stadium', 'mood': 'Day', 'bronzetime': 49000, 'silvertime': 39000, 'goldtime': 35000, 'authortime': 32387, 'copperprice': 2101, 'laprace': False, 'nblaps': 3, 'maptype': 'Race', 'mapstyle': ''}}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartRound_Start: {'count': 1, 'time': 3255661}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartRound_End: {'count': 1, 'time': 3255661}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartTurn_Start: {'count': 1, 'time': 3255661}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartTurn_End: {'count': 1, 'time': 3255661}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Maniaplanet.StartPlayLoop: {'count': 1, 'time': 3255661}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerInfoChanged: {'Login': 'longlife', 'NickName': '$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.', 'PlayerId': 237, 'TeamId': -1, 'SpectatorStatus': 0, 'LadderRanking': 2399, 'Flags': 101000000, 'LadderScore': 10495.330078}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484087, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484088, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received scripted callback: Trackmania.Event.StartLine: {'time': 3258751, 'login': 'longlife'}
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484089, method: None
WARNING  [default][pyplanet.apps.contrib.dedimania.api] Dedimania timeout, doing a retry (retry 1 of 3)
DEBUG    [ThreadPoolExecutor-0_18][urllib3.connectionpool] Starting new HTTP connection (1): dedimania.net:8082
DEBUG    [ThreadPoolExecutor-0_18][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 289
DEBUG    [ThreadPoolExecutor-0_0][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 378
DEBUG    [ThreadPoolExecutor-0_12][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 289
DEBUG    [ThreadPoolExecutor-0_6][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 376
DEBUG    [ThreadPoolExecutor-0_5][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 288
DEBUG    [ThreadPoolExecutor-0_14][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 382
DEBUG    [ThreadPoolExecutor-0_10][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 293
DEBUG    [ThreadPoolExecutor-0_3][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 380
DEBUG    [ThreadPoolExecutor-0_16][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 289
DEBUG    [ThreadPoolExecutor-0_17][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 379
DEBUG    [ThreadPoolExecutor-0_8][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 289
DEBUG    [ThreadPoolExecutor-0_7][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 380
DEBUG    [ThreadPoolExecutor-0_19][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 287
DEBUG    [ThreadPoolExecutor-0_13][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 377
DEBUG    [ThreadPoolExecutor-0_4][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 293
DEBUG    [ThreadPoolExecutor-0_9][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 375
DEBUG    [ThreadPoolExecutor-0_15][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 287
DEBUG    [ThreadPoolExecutor-0_1][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 381
DEBUG    [ThreadPoolExecutor-0_11][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 292
DEBUG    [ThreadPoolExecutor-0_2][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 381
DEBUG    [ThreadPoolExecutor-0_18][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 293
DEBUG    [ThreadPoolExecutor-0_0][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 379
DEBUG    [ThreadPoolExecutor-0_12][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 290
DEBUG    [ThreadPoolExecutor-0_6][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 378
DEBUG    [ThreadPoolExecutor-0_5][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 289
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484090, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484091, method: None
DEBUG    [ThreadPoolExecutor-0_14][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 378
DEBUG    [ThreadPoolExecutor-0_10][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 288
DEBUG    [ThreadPoolExecutor-0_3][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 375
DEBUG    [ThreadPoolExecutor-0_16][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 288
DEBUG    [ThreadPoolExecutor-0_17][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 379
DEBUG    [ThreadPoolExecutor-0_8][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 293
DEBUG    [ThreadPoolExecutor-0_7][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 381
DEBUG    [ThreadPoolExecutor-0_19][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 437
ERROR    [default][pyplanet.apps.contrib.dedimania.api] XML-RPC Fault retrieved from Dedimania: <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
ERROR    [default][root] <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\http\client.py", line 1321, in getresponse
    response.begin()
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\http\client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\http\client.py", line 257, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\util\retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\packages\six.py", line 735, in reraise
    raise value
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='dedimania.net', port=8082): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 80, in execute
    res = await self.loop.run_in_executor(None, self.__request, body)
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 74, in __request
    return self.client.request('POST', self.API_URL, None, body, self.headers, timeout=10)
  File "C:\PYPLAN~1\env\lib\site-packages\requests\sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\PYPLAN~1\env\lib\site-packages\requests\sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "C:\PYPLAN~1\env\lib\site-packages\requests\adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='dedimania.net', port=8082): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
ERROR    [default][pyplanet.apps.contrib.dedimania.api] Dedimania Error during authentication: Could not retrieve data from dedimania!
DEBUG    [ThreadPoolExecutor-0_13][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 377
DEBUG    [ThreadPoolExecutor-0_4][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 437
ERROR    [default][pyplanet.apps.contrib.dedimania.api] XML-RPC Fault retrieved from Dedimania: <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
ERROR    [default][root] <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\http\client.py", line 1321, in getresponse
    response.begin()
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\http\client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\http\client.py", line 257, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\util\retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\packages\six.py", line 735, in reraise
    raise value
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "C:\PYPLAN~1\env\lib\site-packages\urllib3\connectionpool.py", line 331, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='dedimania.net', port=8082): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 80, in execute
    res = await self.loop.run_in_executor(None, self.__request, body)
  File "c:\users\lucid\appdata\local\programs\python\python37-32\Lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 74, in __request
    return self.client.request('POST', self.API_URL, None, body, self.headers, timeout=10)
  File "C:\PYPLAN~1\env\lib\site-packages\requests\sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\PYPLAN~1\env\lib\site-packages\requests\sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "C:\PYPLAN~1\env\lib\site-packages\requests\adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='dedimania.net', port=8082): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(919): SessionId 's9574:1589052902.7961' not found !!!">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
ERROR    [default][pyplanet.apps.contrib.dedimania.api] Dedimania Error during authentication: Could not retrieve data from dedimania!
DEBUG    [default][pyplanet.utils.memleak] Checking for memory leaks...
DEBUG    [ThreadPoolExecutor-0_9][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 375
ERROR    [default][pyplanet.apps.contrib.dedimania.api] Sending times to dedimania failed. Info: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerChat: (0, 'v4longserver', '$z$s$fff»» $0b3Dedimania records have been sent successfully!', False)
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484092, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484093, method: None
DEBUG    [ThreadPoolExecutor-0_15][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 374
DEBUG    [ThreadPoolExecutor-0_1][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 432
ERROR    [default][pyplanet.apps.contrib.dedimania.api] XML-RPC Fault retrieved from Dedimania: <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
ERROR    [default][root] <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : "Error in method_handler.php(890): Bad SessionId 's9574:1589054110.9634' !">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\PYPLAN~1\env\lib\site-packages\pyplanet\apps\contrib\dedimania\api.py", line 84, in execute
    raise DedimaniaFault(faultCode=data[0][0]['faultCode'], faultString=data[0][0]['faultString'])
pyplanet.apps.contrib.dedimania.exceptions.DedimaniaFault: <DedimaniaFault : 'Error in method_handler.php(702): OpenSession: too many opensession within few minutes ! Your script is buggy (ie sending opensession for each request or similar), or you are trying to use the same account on Dedimania for several servers... both are forbidden !'>
ERROR    [default][pyplanet.apps.contrib.dedimania.api] Dedimania Error during authentication: Could not retrieve data from dedimania!
DEBUG    [ThreadPoolExecutor-0_11][urllib3.connectionpool] http://dedimania.net:8082 "POST /Dedimania HTTP/1.1" 200 571
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484094, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received callback: ManiaPlanet.PlayerChat: (0, 'v4longserver', '$z$s$fff»» $0b3Current Dedimania Record: $fff\uf017 0:31.819$z$s$0b3 by $fff$l[maniaplanet://#join=v4longserver@esl_comp@lt_forever]$fffLucid$f00.$z$s$0b3 ($l[http://dedimania.net/tm2stats/?do=stat&UId=d_h_qWLUqldolMlOPnriBJL_YN5&Show=RECORDS]$fff1$0b3 records$l)', False)
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484095, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484096, method: None
DEBUG    [default][pyplanet.apps.contrib.dedimania] Removing old ghost file: UserData/Replays/dedimania_3d5fdc4d70ed42c1b13adef012f2aaf9.Replay.Gbx
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484097, method: None
DEBUG    [default][pyplanet.utils.memleak] Checking for memory leaks...
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484098, method: None
DEBUG    [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147484099, method: None
DEBUG    [default][pyplanet.utils.memleak] Checking for memory leaks...
DEBUG    [default][pyplanet.utils.memleak] Checking for memory leaks...

User avatar
toffe
Posts: 740
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Bug uploading to dedimania

Post by toffe » 11 May 2020, 13:58

Hi, I replied to the GitHub issue, can you please check if //replay does the same as //restart and will not publish the results after the 5 minutes? It might be the way PyPlanet handles the restart (which is different than the replay).

Please reply on the GitHub so we can track the progress there,
https://github.com/PyPlanet/PyPlanet/issues/791

Thank you,
Toffe

Post Reply

Return to “PyPlanet”

Who is online

Users browsing this forum: SkorlokTM and 2 guests