Page 1 of 1

[SOLVED] FileNotFoundError: [Errno 2]

Posted: 01 Aug 2018, 21:37
by Coshank90
Hi,

Im getting this error:

Code: Select all

FileNotFoundError: [Errno 2] No such file or directory: '/home/tmserver/servers/mp_04099/server/UserData/Replays/dedimania_46e6fa1fd7f44dbc9840c099c5c517bc.Replay.Gbx'[0m
[33mWARNING [0m [33m[default][pyplanet.apps.contrib.dedimania][0m [37mErrors with cleaning up dedimania ghost files (ignored):[0m
[31mERROR [0m [33m[default][pyplanet.apps.contrib.dedimania][0m [37m[Errno 2] No such file or directory: '/home/tmserver/servers/mp_04099/server/UserData/Replays/dedimania_46e6fa1fd7f44dbc9840c099c5c517bc.Replay.Gbx'
Traceback (most recent call last):
File "/home/tmserver/.pyenv/versions/04099/lib/python3.6/site-packages/pyplanet/apps/contrib/dedimania/__init__.py", line 305, in cleanup
await asyncio.gather(*coros)
File "/home/tmserver/.pyenv/versions/04099/lib/python3.6/site-packages/pyplanet/core/storage/drivers/local/__init__.py", line 54, in remove
os.unlink(self.absolute(path), **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: '/home/tmserver/servers/mp_04099/server/UserData/Replays/dedimania_46e6fa1fd7f44dbc9840c099c5c517bc.Replay.Gbx'[0m
And no dedimania records are being saved, any idea what the problem is?

Thanks,
Coshank

Re: FileNotFoundError: [Errno 2]

Posted: 01 Aug 2018, 21:53
by toffe
Hi!

We are currently aware of two bugs:
- warning message you posted, doesn’t affect dedimania at all.
- bug with dedimania in Laps mode.

I think you do have issues with dedimania because you run it in laps mode, is this correct?

Toffe

Re: FileNotFoundError: [Errno 2]

Posted: 01 Aug 2018, 22:22
by Coshank90
I run cup mode.

Coshank

Re: FileNotFoundError: [Errno 2]

Posted: 02 Aug 2018, 09:00
by toffe
We will investigate the issues with Dedimania. Could be related to the laps mode bugs.

Thanks for reporting!

Issue on GitHub: https://github.com/PyPlanet/PyPlanet/issues/695

Re: FileNotFoundError: [Errno 2]

Posted: 05 Aug 2018, 16:22
by Coshank90
I solved it by changing <allwarmupduration>1</allwarmupduration> to 0 in the match Settings!

Re: FileNotFoundError: [Errno 2]

Posted: 02 Sep 2018, 14:26
by toffe
Thanks for this. In the upcoming bugfix version 0.6.1 we address some of the dedimania laps mode bugs as well.