zoffline/zwift-offline

network error when buying a bike

Closed this issue · 19 comments

I can't buy a bike in the store, although a drop is enough

I can't reproduce this error, can you give more details?

Я не могу воспроизвести эту ошибку, не могли бы вы рассказать подробнее?

I went to the profile where 50 lvl and a lot of money, I wanted to buy a bike for 800,000 and I have 100,000,000 drops, but when I click buy, the network error writes and does not allow me to buy it, what do you say to do?

Where does the error message appear? Please post a screenshot.

Где появляется сообщение об ошибке? Пожалуйста, опубликуйте скриншот.
image

Do you see any error in zoffline console? Maybe profile.bin is write protected?

It works normally here.

2021-09-14 12_38_09-Zwift

I will try it through my account and in a month I will tell you what happened

Post zoffline log after trying to buy the bike (what appears in the command prompt window).

Okay I'll send you a photo tomorrow

Looks like zoffline can't write to profile.bin, I think it may be due to the Cyrillic letters in the path (not sure how it can read the file though). Could you try to move zoffline folder to a path without Cyrillic letters, just to confirm if it's the problem or not?

Please check if the file profile.bin is really in the folder storage/1 and if it's not read-only.

Did you run zoffline before copying the level 50 profile over?

I think the issue may be due to double backslash in path. Is D: a SMB connection to a remote server?

https://stackoverflow.com/questions/22567785/error-with-double-backslash-in-windows-path-in-python

yes

Then try moving zoffline to a local filesystem.

If moving to local filesystem works and you are running from source, try changing line 67 of zwift_offline.py to STORAGE_DIR = os.path.join(SCRIPT_DIR, "storage")

what does a local file system mean, and yes, I first created my account only then set the accanut of level 50

I solved the problem, the profile was in another place, thank you for your help

When you answered "yes" after I ask "Is D: a SMB connection to a remote server?", that answer was not to my last question?

A local filesystem is a drive letter which is not mapped to a network drive. If D: is not a SMB connection, then I don't understand why it uses double backslash (D:\zoffline)

The only think I can suggest for now is in my previous answer, change line 67 of zwift_offline.py to STORAGE_DIR = os.path.join(SCRIPT_DIR, "storage")

Can you please make clear if it's a network filesystem issue or it was your mistake?

If it's a network issue I can look for a fix, or else you can close the issue.

it was a problem in the file name, I needed it to be called /1 and it was /25674, I changed and fixed the situation