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

When starting the application stash content is not loaded from cache #16

Open
aiolos01 opened this issue May 27, 2022 · 5 comments
Open

Comments

@aiolos01
Copy link

When I start acquisition I get a list of all my tabs but they appear empty. The characters are listed with all their items (jewels included) but the tabs need to be loaded from the site which takes a long time on standard. Prices are retained properly (upgraded from xyzz's version) so the cache exists but is apparently not used for tabs (only for chars). After everything is loaded from the site all items show up properly.

@testpushpleaseignore
Copy link
Owner

A while ago, which creating my fork, that I had changed how the tabs (and not the items) were cached. So I think that this issue should be resolved after one full update from the website, but wasn't sure if you were still seeing this issue? Otherwise since my mod list is a lot longer than what xyzz hardcoded, it does take a bit too to load the items after an update.

@aiolos01
Copy link
Author

I've done many full updates from the PoE site (including multiple today with the latest version) but the issue persists. At startup I only see the items on the chars. All tabs appear empty. With throttling every 60 tabs it takes a long time to load everything but once they're loaded from the site they show up immediately. No delay because of the long mod list.

@testpushpleaseignore
Copy link
Owner

Could you see if my recent release (v0.9.2) fixes your issue at all? Otherwise if not, then I'll have to keep thinking as to what might be going on.

Every time an update finishes, it should cache the current tabs and items in the local database, which should then reload when relaunching the program. But yeah if you are still seeing this issue, then could you install the DB Browser for SQLite program, and then open up the database (by going to File -> Open Database Read Only...) stored in %LOCALAPPDATA\acquisition\data, and see if you find anything in the "tabs" or "items" tables when going to the "Browse Data" tab? For the "tabs" table, you should see two records in that table, and in the "items" table, you should see as many records as tabs/characters you have in Standard.

@aiolos01
Copy link
Author

aiolos01 commented Jun 1, 2022

As I said the latest version doesn't help.

I opened the most recently modified file (which is also the largest at 350MB). Tabs has indeed 2 records but items has 2800+ (including records for each char I have). Most have a name (I assume that's the tab's internal ID) but some have blank names. The values of all records are non-blank though regardless of the name.

@aiolos01
Copy link
Author

aiolos01 commented Jul 7, 2022

I just noticed that your fix for #18 also fixed this issue as well. Seems I was right in thinking the two were part of the same bug. Two birds with one stone. Nice. Thanks again.

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

No branches or pull requests

2 participants