Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File exist error on Windows 11 #19

Closed
DanyaSWorlD opened this issue Sep 2, 2022 · 0 comments
Closed

File exist error on Windows 11 #19

DanyaSWorlD opened this issue Sep 2, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DanyaSWorlD
Copy link
Contributor

DanyaSWorlD commented Sep 2, 2022

I use v1.2.5
On start with restore it shows

02/09 07:22:51 BinanceRus, LUNC/BUSD. 
Round pattern, for base: 1.12, quote: 1.2582715936
Last ticker price:  0.00026774
buy_amount: 37349.67, sell_amount: 37349.67
Future exception was never retrieved
future: <Future finished exception=FileExistsError(17, '\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442')>
Traceback (most recent call last):
  File "C:\Users\sasha\AppData\Local\Packages\BED1B04E-C73B-45D2-BB43-2E8EB15322B6_j4y6f2x461yhe\LocalState\WinPython\python-3.8.5.amd64\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\sasha\AppData\Local\Packages\BED1B04E-C73B-45D2-BB43-2E8EB15322B6_j4y6f2x461yhe\LocalState\WinPython\python-3.8.5.amd64\Lib\site-packages\martin_binance\margin_wrapper.py", line 476, in heartbeat
    os.rename(ms.FILE_LAST_STATE, f"{ms.FILE_LAST_STATE}.prev")
FileExistsError: [WinError 183] \u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442: './last_state/1_LUNCBUSD.json' -> './last_state/1_LUNCBUSD.json.prev'
02/09 07:22:52 Trying restore saved state after restart
02/09 07:22:52 Executed order(s) is: [166688914]
02/09 07:22:52 restore_strategy_state from saved state:
02/09 07:22:52 command	null

Seems not to be a problem, but can it cause issues?

@DanyaSWorlD DanyaSWorlD changed the title File exist error on Windows File exist error on Windows 11 Sep 2, 2022
@DogsTailFarmer DogsTailFarmer added the bug Something isn't working label Sep 3, 2022
@DogsTailFarmer DogsTailFarmer self-assigned this Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants