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

Dokcker - UpdateWebInventory create json files if dosnt exist #4729

Closed
MartinTerp opened this issue Aug 25, 2016 · 7 comments
Closed

Dokcker - UpdateWebInventory create json files if dosnt exist #4729

MartinTerp opened this issue Aug 25, 2016 · 7 comments

Comments

@MartinTerp
Copy link

Short Description

UpdateWebInventory dosnt seem to create the json files, that it needs to write to, if i create a empty json file with content: [] it registers the inventory, but not player_stats ( i guess it expects the player_stats data to be in the file, so it can append )
Then we cant see lvl/xp on the web gui

Possible solution

if the inventory.json file dosnt exist, create it with default content

How it would help others

For us that use the gui, and started a new bot, we can again see the xp/lvl info

@MartinTerp
Copy link
Author

maybe this is more a bug when i think about it.
recreate as bug or what do you guys say

@maxprzemo
Copy link

I got the same error #4682 (comment)

@Gobberwart
Copy link
Contributor

Looks like a bug. Not sure where this file was originally created but appears not to be doing it now. PR to follow.

@Gobberwart
Copy link
Contributor

PR #4740 submitted

@MartinTerp
Copy link
Author

MartinTerp commented Aug 26, 2016

Hi @Gobberwart

this dosnt solve the player_stats issue

@Gobberwart
Copy link
Contributor

@MartinTerp It sure doesn't. See PR #4757 for this fix.

@MartinTerp
Copy link
Author

@Gobberwart thanks for clearing this up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants