gerwaric / acquisition

Stash and forum shop management for Path of Exile
GNU General Public License v3.0
18 stars 3 forks source link

After tabs are loaded, most unselected and selected a few the shop does not update and errors out. #26

Closed leet0rz closed 4 days ago

leet0rz commented 7 months ago

Getting the following error after tabs has been loaded in. What I am doing is unchecking everything, checking those tabs of interest and trying to refresh those to the store at the forum. It does not seem to send any items to the store, it just gets stuck with the following messages:

I am currently on the latest stable 0.10.2 and not any of the alpha ones. Is there a fix for this or should I go over to the alpha ones to fix this, what is the most usable version currently?

Error:

WARN  2024-04-11T18:46:26.340 The rate limiter is busy, but the status update timer was not running 
INFO  2024-04-11T18:46:32.186 "Received 10 tabs" 
ERROR 2024-04-11T18:46:33.008 policy manager for "backend-item-request-limit" request 17 reply status was  404 and error was QNetworkReply::ContentNotFoundError 
WARN  2024-04-11T19:16:14.372 ItemsManagerWorker::Update called while updating 
gerwaric commented 7 months ago

@leet0rz I think you are the first person to report this error. I have not seen it either, so it would probably still happen using the v0.10.3 alpha releases. The ERROR message you copied suggests that there was a problem refreshing the selected tabs--the 404 error is concerning, and I can't think of how that might be happening. This may be causing the shop update code to fail; I'm not sure yet, so I'd like to troubleshoot that before looking into the shop update issue.

It looks like you have copied output from the GUI's event log. This just contains some of the logging information. There's more in the log file, which is probably in a file like this (on Windows):

C:\Users\gerwaric\AppData\Local\acquisition\log.txt (replace gerwaric with your windows username)

Can you find the section of that log related to the ERROR message you copied? There is probably additional logging information about what happened. If you can find it, please copy those lines here. In case there you cannot, I can also walk you through how to run acquisition with more detailed logging.

leet0rz commented 7 months ago

@leet0rz I think you are the first person to report this error. I have not seen it either, so it would probably still happen using the v0.10.3 alpha releases. The ERROR message you copied suggests that there was a problem refreshing the selected tabs--the 404 error is concerning, and I can't think of how that might be happening. This may be causing the shop update code to fail; I'm not sure yet, so I'd like to troubleshoot that before looking into the shop update issue.

It looks like you have copied output from the GUI's event log. This just contains some of the logging information. There's more in the log file, which is probably in a file like this (on Windows):

C:\Users\gerwaric\AppData\Local\acquisition\log.txt (replace gerwaric with your windows username)

Can you find the section of that log related to the ERROR message you copied? There is probably additional logging information about what happened. If you can find it, please copy those lines here. In case there you cannot, I can also walk you through how to run acquisition with more detailed logging.

It seems its not refreshing again, I was clicking the wrong option it seems to be sent to the forum through "update shop thread". I am not sure but I think whenever I restart the program it will refresh the tabs and collect the right snapshot but not when I try to refresh manually, then I can proceed to update shop thread and it will correctly. Are you still interested in a log or no?

gerwaric commented 7 months ago

Yes, if you would like me to troubleshoot your issue I need more detail, because the manual refresh is working for me when I test it with my account and a few tabs.

If you decide to post the log, it would be useful if you first delete the log file, then run acquisition and experience the problem. This will keep the file size down. However, please note that the log file may contain your character and account names.

leet0rz commented 7 months ago

Yes, if you would like me to troubleshoot your issue I need more detail, because the manual refresh is working for me when I test it with my account and a few tabs.

If you decide to post the log, it would be useful if you first delete the log file, then run acquisition and experience the problem. This will keep the file size down. However, please note that the log file may contain your character and account names.

INFO  2024-04-14T04:26:47.902 ------------------------------------------------------------------------------- 
INFO  2024-04-14T04:26:47.902 acquisition 0.10.4.0 ( version code 58 ) 
INFO  2024-04-14T04:26:47.902 Built with Qt 6.5.3 on Apr 13 2024 21:43:48 
INFO  2024-04-14T04:26:47.902 Running on Qt 6.5.3 
INFO  2024-04-14T04:26:47.902 Logging level is INFO 
INFO  2024-04-14T04:26:47.902 Running application... 
INFO  2024-04-14T04:27:17.252 "Received 11 tabs" 
ERROR 2024-04-14T04:27:18.106 policy manager for "backend-item-request-limit" request 19 reply status was  404 and error was QNetworkReply::ContentNotFoundError 
INFO  2024-04-14T04:27:25.381 "Shop threads updated" 
WARN  2024-04-14T04:27:51.360 ItemsManagerWorker::Update called while updating 

Maybe this is what you are looking for? I just ran my sequence of actions and copied the latest information from the log. Seems to be similar to what I saw in the console in "Event log".

gerwaric commented 7 months ago

@leet0rz Thank you, that helps narrow it down. With that 404 error, I'd like to see what shows up in the log file if you turn up the logging level. If you can try the most recent alpha, it makes it easy to set the level of logging detail from the UI:

image

That will help me pinpoint if the issue is happening during the tab refresh, or during the shop thread update.

leet0rz commented 7 months ago

@leet0rz Thank you, that helps narrow it down. With that 404 error, I'd like to see what shows up in the log file if you turn up the logging level. If you can try the most recent alpha, it makes it easy to set the level of logging detail from the UI:

image

That will help me pinpoint if the issue is happening during the tab refresh, or during the shop thread update.

Is this correct?:

DEBUG 2024-04-14T22:32:21.010 Preserving selected character: ******\u0e4f****** 
DEBUG 2024-04-14T22:32:21.202 "backend-item-request-limit" encountered. 
DEBUG 2024-04-14T22:32:21.202 "backend-item-request-limit" now handles "https://www.pathofexile.com/character-window/get-items" 
TRACE 2024-04-14T22:32:21.202 "backend-item-request-limit" waiting 0 seconds to send request 19 at "Sun Apr 14 22:32:15 2024" 
TRACE 2024-04-14T22:32:21.304 "backend-item-request-limit" sending request 19 to "https://www.pathofexile.com/character-window/get-items" via "https://www.pathofexile.com/character-window/get-items?character=******%5Cu0e4f******&accountName=******" 
DEBUG 2024-04-14T22:32:21.319 FilterItems: reason( SearchFormChanged ) 
DEBUG 2024-04-14T22:32:21.322 Sorting 
DEBUG 2024-04-14T22:32:21.334 Skipping tree view reset 
DEBUG 2024-04-14T22:32:21.336 ResizeTreeColumns 
TRACE 2024-04-14T22:32:21.603 "backend-item-request-limit" received reply for request 19 with status 404 
ERROR 2024-04-14T22:32:21.604 policy manager for "backend-item-request-limit" request 19 reply status was  404 and error was QNetworkReply::ContentNotFoundError

[EDIT: I have edited the personal details and limited the log to just the parts relevant to this bug. --@gerwaric]

gerwaric commented 7 months ago

Yes, that was perfect. The error was because you had a character with "๏" in the character name. That is a non-ASCII character, and acquisition was not handling it correctly. This should fix it:

https://github.com/gerwaric/acquisition/releases/tag/v0.10.4-alpha.4

Let me know if that works for you.

leet0rz commented 7 months ago

Yes, that was perfect. The error was because you had a character with "๏" in the character name. That is a non-ASCII character, and acquisition was not handling it correctly. This should fix it:

https://github.com/gerwaric/acquisition/releases/tag/v0.10.4-alpha.4

Let me know if that works for you.

Ah yeah, I did a file search and replace on my username and account name. I see what it is now tho, its that circle symbol that a lot of people use in their names that is messing it up. Good to know and thankfully if we would like we can just change names now whenever we want. I will try that version in a bit and report back.

gerwaric commented 7 months ago

You should be able to use those special characters now. I'm surprised no one has reported this bug yet, because it looks like it's from an old part of the code.

leet0rz commented 7 months ago

You should be able to use those special characters now. I'm surprised no one has reported this bug yet, because it looks like it's from an old part of the code.

Thanks, seems to be a bit different now. Keep getting one of the errors and some other stuff up above:

WARN 2024-04-18T22:16:29.633 Unable to determine category for "Blighted Pit Map" "()" 
WARN 2024-04-18T22:16:29.634 Unable to determine category for "Blighted Pit Map" "()" 
WARN 2024-04-18T22:16:29.634 Unable to determine category for "Blighted Promenade Map" "()" 
WARN 2024-04-18T22:16:29.634 Unable to determine category for "Blighted Shrine Map" "()" 
WARN 2024-04-18T22:16:29.634 Unable to determine category for "Blighted Spider Forest Map" "()" 
WARN 2024-04-18T22:16:29.634 Unable to determine category for "Blighted Waste Pool Map" "()" 
WARN 2024-04-18T22:16:29.688 Unable to determine category for "Inscribed Ultimatum" "()" 
WARN 2024-04-18T22:16:29.723 Unable to determine category for "Blighted Acid Caverns Map" "(Bleak Waste)" 
WARN 2024-04-18T22:16:29.730 Unable to determine category for "Blighted Conservatory Map" "(Nightmare Gallery)" 
INFO 2024-04-18T22:16:29.736 "Received 66 tabs" 
INFO 2024-04-18T22:17:05.484 "Received 10 tabs" 
ERROR 2024-04-18T22:17:06.880 Error submitting shop thread: "Failed to find item. Did you specify the correct location and x y?" 
ERROR 2024-04-18T22:17:36.698 Error submitting shop thread: "Failed to find item. Did you specify the correct location and x y?" 
INFO 2024-04-18T22:19:52.611 "Received 1 tabs" 
ERROR 2024-04-18T22:19:54.004 Error submitting shop thread: "Failed to find item. Did you specify the correct location and x y?" 
INFO 2024-04-18T22:20:10.724 "Received 1 tabs" 
ERROR 2024-04-18T22:20:12.064 Error submitting shop thread: "Failed to find item. Did you specify the correct location and x y?" 

This "Failed to find item" will also happen with just 1 rogue coin or anything else in the tab.

Ideas?

gerwaric commented 7 months ago

Those warnings about being unable to categorize those items are new.. previously things were just being silently ignored. So now at least I can try to look into it.

The shop thread errors could be due to the fact that acquisition apparently doesn't know rogue markers are a currency item. I'm not sure about this, so I'll dig into that as well.

There are also some small UI improvements and bugfixes coming in the next alpha.

leet0rz commented 7 months ago

Those warnings about being unable to categorize those items are new.. previously things were just being silently ignored. So now at least I can try to look into it.

The shop thread errors could be due to the fact that acquisition apparently doesn't know rogue markers are a currency item. I'm not sure about this, so I'll dig into that as well.

There are also some small UI improvements and bugfixes coming in the next alpha.

I just tested without and that seems to be the case lol, replaced them with id scrolls and now it works.

gerwaric commented 7 months ago

Good find. I'll setup a stab in standard with all the stackable currencies to see which others are missing.

Do you have a few mirrors of Kalandra I could borrow? For "testing" ;-)

leet0rz commented 7 months ago

Good find. I'll setup a stab in standard with all the stackable currencies to see which others are missing.

Do you have a few mirrors of Kalandra I could borrow? For "testing" ;-)

Cool. I do not unfortunately, hehe.

PyroCalzone commented 5 months ago

I get a similar problem ERROR 2024-05-30T17:00:41.318 policy manager for "backend-item-request-limit" request 17 reply status was 404 and error was QNetworkReply::ContentNotFoundError upon manually requesting a second stash tab update. The first one goes through fine, and the second one throws the error and prevents any further requests for updates.

gerwaric commented 5 months ago

@PyroCalzone Thanks for reporting that error. Does it happen every time you start acquisition and do two manual refreshes?

leet0rz commented 5 months ago

@PyroCalzone Thanks for reporting that error. Does it happen every time you start acquisition and do two manual refreshes?

ERROR 2024-05-31T09:32:54.913 policy manager for "backend-character-request-limit" request 9 reply status was 404 and error was QNetworkReply::ContentNotFoundError 
ERROR 2024-05-31T09:32:55.602 policy manager for "backend-item-request-limit" request 11 reply status was 404 and error was QNetworkReply::ContentNotFoundError 

Started happening for me as well just recently, in manual refresh yeah.

After that it will get stuck on:

WARN 2024-05-31T23:55:14.579 ItemsManagerWorker::Update called while updating 
gerwaric commented 5 months ago

@leet0rz @PyroCalzone what versions are you each using?

Let me know and I'll see if I can replicate the problem.

leet0rz commented 5 months ago

@leet0rz @PyroCalzone what versions are you each using?

Let me know and I'll see if I can replicate the problem.

0.10.4-alpha.4

Would also like to include these warnings I get on startup each time:

WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Abyss" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Abyss" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Abyss" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Anarchy" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Arohongui" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Beidat" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Berserking Gemlings" "()" 
WARN 2024-06-01T02:02:59.045 Unable to determine category for "Allflame Ember of Berserking Gemlings" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Berserking Gemlings" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Brawling Gemlings" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Brawling Gemlings" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Corpsemage Gemlings" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Esh" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Frostmage Gemlings" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Ghorr" "()" 
WARN 2024-06-01T02:02:59.046 Unable to determine category for "Allflame Ember of Hinekora" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Kitava" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Kitava" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Kitava" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Rats" "()" 
WARN 2024-06-01T02:02:59.047 Unable to determine category for "Allflame Ember of Rongokurai" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Sulphite" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Sulphite" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Sulphite" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Syndicate Assassins" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Syndicate Assassins" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Syndicate Guards" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Syndicate Researchers" "()" 
WARN 2024-06-01T02:02:59.048 Unable to determine category for "Allflame Ember of Synthetic Fury" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of Synthetic Fury" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of Tasalio" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Broken Circle" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Karui Legion" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Knights of the Sun" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Knights of the Sun" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Order of the Chalice" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Templar Legion" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Templar Legion" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of The Vaal Legion" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of Trial Cores" "()" 
WARN 2024-06-01T02:02:59.049 Unable to determine category for "Allflame Ember of Trial Guards" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Tul" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Untainted Apes" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Untainted Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Untainted Maws" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Untainted Maws" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of Wildwood Treants" "()" 
WARN 2024-06-01T02:02:59.050 Unable to determine category for "Allflame Ember of the False God" "()" 
WARN 2024-06-01T02:02:59.051 Unable to determine category for "Allflame Ember of the False God" "()" 
WARN 2024-06-01T02:02:59.051 Unable to determine category for "Allflame Ember of the False God" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Arachnid Nest Map" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Cursed Crypt Map" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Cursed Crypt Map" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Dry Sea Map" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Estuary Map" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Flooded Mine Map" "()" 
WARN 2024-06-01T02:02:59.059 Unable to determine category for "Blighted Grave Trough Map" "()" 
WARN 2024-06-01T02:02:59.060 Unable to determine category for "Blighted Grave Trough Map" "()" 
WARN 2024-06-01T02:02:59.060 Unable to determine category for "Blighted Grave Trough Map" "()" 
WARN 2024-06-01T02:02:59.060 Unable to determine category for "Blighted Mineral Pools Map" "()" 
WARN 2024-06-01T02:02:59.060 Unable to determine category for "Blighted Pit Map" "()" 
WARN 2024-06-01T02:02:59.060 Unable to determine category for "Blighted Pit Map" "()" 
WARN 2024-06-01T02:02:59.060 Unable to determine category for "Blighted Promenade Map" "()" 
WARN 2024-06-01T02:02:59.061 Unable to determine category for "Blighted Shrine Map" "()" 
WARN 2024-06-01T02:02:59.061 Unable to determine category for "Blighted Spider Forest Map" "()" 
WARN 2024-06-01T02:02:59.061 Unable to determine category for "Blighted Waste Pool Map" "()" 
WARN 2024-06-01T02:02:59.110 Unable to determine category for "Inscribed Ultimatum" "()" 
WARN 2024-06-01T02:02:59.171 Unable to determine category for "Blighted Acid Caverns Map" "(Bleak Waste)" 
WARN 2024-06-01T02:02:59.176 Unable to determine category for "Blighted Conservatory Map" "(Nightmare Gallery)" 
gerwaric commented 5 months ago

@leet0rz thanks for including those warnings. Acquisition uses files from https://github.com/lvlvllvlvllvlvl/RePoE to automatically categorize items, and the warnings you're seeing are from items that aren't included in the RePoE data.

I added those log messages as warning, but they are probably not worth showing by default. I'll downgrade them to INFO messages in the next beta. That will prevent them from cluttering the UI, but they will still be available in the log if someone wants to turn up the logging level.

gerwaric commented 5 months ago

@leet0rz @PyroCalzone I haven't been able to replicate this issue on my own yet.

Could each of you try https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.2 and let me know how it goes. If you still get the 404 error, the next step would be to take a look at more detailed logs. I can walk you through that process here or on discord if necessary.

leet0rz commented 5 months ago

@leet0rz @PyroCalzone I haven't been able to replicate this issue on my own yet.

Could each of you try https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.2 and let me know how it goes. This version introduces better automatic update detection, less warnings about uncategorized items, and several under-the-hood improvements I've been working.

If you still get the 404 error, the next step would be to take a look at more detailed logs. I can walk you through that process here or on discord if necessary.

ERROR 2024-06-03T04:19:16.471 policy manager for "backend-character-request-limit" request 10 reply status was 404 and error was QNetworkReply::ContentNotFoundError 
ERROR 2024-06-03T04:19:17.328 policy manager for "backend-item-request-limit" request 11 reply status was 404 and error was QNetworkReply::ContentNotFoundError 

Still getting these, and its weird when launching the application it says 0.10.4-alpha.5, I entirely removed it and installed it again but the version name remains that and not 0.10.5-alpha.2 Maybe you forgot to update and have it say what version it currently is? I dont know. Icon also went away for some reason: Lt8EjvT 1

gerwaric commented 5 months ago

@leet0rz thanks for the prompt feedback as always. The version and app icon issue are probably because I swapped the build system. However, I can't troubleshoot that yet because microsoft anti-virus isn't even letting me run the installer now. I ran into this issue last year, but I forget how I solved it, so I may lose some time trying to fix that.

In the meantime, if you can turn up the logging to TRACE via the settings menu, it might show more information about the 404 problem. Specifically it would be nice to see what url it's requesting. I suspect there's a bug in the url generation, since that 404 error indicates it's trying to request a invalid

gerwaric commented 5 months ago

@leet0rz ok, I got the virus warning solved, and I have replicated what you've seen with versions. I'm tackling that next.

leet0rz commented 5 months ago

@leet0rz thanks for the prompt feedback as always. The version and app icon issue are probably because I swapped the build system. However, I can't troubleshoot that yet because microsoft anti-virus isn't even letting me run the installer now. I ran into this issue last year, but I forget how I solved it, so I may lose some time trying to fix that.

In the meantime, if you can turn up the logging to TRACE via the settings menu, it might show more information about the 404 problem. Specifically it would be nice to see what url it's requesting. I suspect there's a bug in the url generation, since that 404 error indicates it's trying to request a invalid

No worries 👍 There are a few videos on youtube showing how to disable windows defender if that is the one you are referring to, should be through "edit group policy" somewhere I believe.

Logs, changed the acc/user names and removed some of that:

INFO  2024-06-03T04:37:28.305 ------------------------------------------------------------------------------- 
INFO  2024-06-03T04:37:28.305 acquisition  ( version code 58 ) 
INFO  2024-06-03T04:37:28.305 Built with Qt 6.5.3 on Apr 17 2024 00:02:30 
INFO  2024-06-03T04:37:28.305 Running on Qt 6.5.3 
INFO  2024-06-03T04:37:28.305 Logging level is INFO 
INFO  2024-06-03T04:37:28.305 Running application... 
WARN  2024-06-03T04:37:33.234 Unable to determine category for "Allflame Ember of Abyss" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Abyss" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Abyss" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Anarchy" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Arohongui" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Beidat" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Berserking Gemlings" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Berserking Gemlings" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Berserking Gemlings" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Brawling Gemlings" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Brawling Gemlings" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Corpsemage Gemlings" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Esh" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN  2024-06-03T04:37:33.235 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Frogs" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Frostmage Gemlings" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Ghorr" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Hinekora" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Kitava" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Kitava" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Kitava" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Meatsacks" "()" 
WARN  2024-06-03T04:37:33.236 Unable to determine category for "Allflame Ember of Rats" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Rongokurai" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Sulphite" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Sulphite" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Sulphite" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Syndicate Assassins" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Syndicate Assassins" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Syndicate Guards" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Syndicate Researchers" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Synthetic Fury" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Synthetic Fury" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of Tasalio" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of The Broken Circle" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of The Karui Legion" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of The Knights of the Sun" "()" 
WARN  2024-06-03T04:37:33.237 Unable to determine category for "Allflame Ember of The Knights of the Sun" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of The Order of the Chalice" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of The Templar Legion" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of The Templar Legion" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of The Vaal Legion" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Trial Cores" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Trial Guards" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Tul" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Untainted Apes" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Untainted Beasts" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Untainted Maws" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Untainted Maws" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN  2024-06-03T04:37:33.238 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN  2024-06-03T04:37:33.239 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN  2024-06-03T04:37:33.239 Unable to determine category for "Allflame Ember of Wildwood Beasts" "()" 
WARN  2024-06-03T04:37:33.239 Unable to determine category for "Allflame Ember of Wildwood Treants" "()" 
WARN  2024-06-03T04:37:33.239 Unable to determine category for "Allflame Ember of the False God" "()" 
WARN  2024-06-03T04:37:33.239 Unable to determine category for "Allflame Ember of the False God" "()" 
WARN  2024-06-03T04:37:33.239 Unable to determine category for "Allflame Ember of the False God" "()" 
WARN  2024-06-03T04:37:33.246 Unable to determine category for "Blighted Arachnid Nest Map" "()" 
WARN  2024-06-03T04:37:33.246 Unable to determine category for "Blighted Cursed Crypt Map" "()" 
WARN  2024-06-03T04:37:33.247 Unable to determine category for "Blighted Cursed Crypt Map" "()" 
WARN  2024-06-03T04:37:33.247 Unable to determine category for "Blighted Dry Sea Map" "()" 
WARN  2024-06-03T04:37:33.247 Unable to determine category for "Blighted Estuary Map" "()" 
WARN  2024-06-03T04:37:33.247 Unable to determine category for "Blighted Flooded Mine Map" "()" 
WARN  2024-06-03T04:37:33.247 Unable to determine category for "Blighted Grave Trough Map" "()" 
WARN  2024-06-03T04:37:33.247 Unable to determine category for "Blighted Grave Trough Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Grave Trough Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Mineral Pools Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Pit Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Pit Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Promenade Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Shrine Map" "()" 
WARN  2024-06-03T04:37:33.248 Unable to determine category for "Blighted Spider Forest Map" "()" 
WARN  2024-06-03T04:37:33.249 Unable to determine category for "Blighted Waste Pool Map" "()" 
WARN  2024-06-03T04:37:33.291 Unable to determine category for "Inscribed Ultimatum" "()" 
WARN  2024-06-03T04:37:33.343 Unable to determine category for "Blighted Acid Caverns Map" "(Bleak Waste)" 
WARN  2024-06-03T04:37:33.348 Unable to determine category for "Blighted Conservatory Map" "(Nightmare Gallery)" 
INFO  2024-06-03T04:37:33.352 "Received 67 tabs" 
INFO  2024-06-03T04:37:39.064 Logging level set to "TRACE" 
DEBUG 2024-06-03T04:38:30.260 Updating Selected stash tabs 
DEBUG 2024-06-03T04:38:30.260 Updating 1  tabs. 
DEBUG 2024-06-03T04:38:30.260 Keeping 66 tabs and culling 1 
DEBUG 2024-06-03T04:38:30.261 Keeping 1421 items and culling 8 
DEBUG 2024-06-03T04:38:30.545 The endpoint is not rate-limited: "https://www.pathofexile.com/" 
TRACE 2024-06-03T04:38:30.545 "<<EMPTY-POLICY>>" waiting 0 seconds to send request 5 at "Mon Jun 3 04:37:28 2024" 
TRACE 2024-06-03T04:38:30.659 "<<EMPTY-POLICY>>" sending request 5 to "https://www.pathofexile.com/" via "https://www.pathofexile.com/" 
TRACE 2024-06-03T04:38:30.951 "<<EMPTY-POLICY>>" received reply for request 5 with status 200 
TRACE 2024-06-03T04:38:30.951 Main page received. 
DEBUG 2024-06-03T04:38:31.141 "backend-character-request-limit" encountered. 
DEBUG 2024-06-03T04:38:31.141 "backend-character-request-limit" created for "https://www.pathofexile.com/character-window/get-characters" 
DEBUG 2024-06-03T04:38:31.141 "backend-character-request-limit" increasing history capacity from 0 to 1800 
TRACE 2024-06-03T04:38:31.141 "backend-character-request-limit" waiting 0 seconds to send request 6 at "Mon Jun 3 04:38:31 2024" 
TRACE 2024-06-03T04:38:31.251 "backend-character-request-limit" sending request 6 to "https://www.pathofexile.com/character-window/get-characters" via "https://www.pathofexile.com/character-window/get-characters" 
TRACE 2024-06-03T04:38:31.465 "backend-character-request-limit" received reply for request 6 with status 200 
TRACE 2024-06-03T04:38:31.466 Character list received. 
DEBUG 2024-06-03T04:38:31.466 Received character list, there are 15 characters across all leagues. 
DEBUG 2024-06-03T04:38:31.466 Queued ( 1 ) --  SomeUserName 
DEBUG 2024-06-03T04:38:31.466 Queued ( 2 ) --  SomeUserName 
DEBUG 2024-06-03T04:38:31.466 Queued ( 3 ) --  SomeUserName 
DEBUG 2024-06-03T04:38:31.466 Queued ( 4 ) --  SomeUserName 
DEBUG 2024-06-03T04:38:31.466 There are 2 characters to update in Necropolis 
DEBUG 2024-06-03T04:38:31.660 "backend-item-request-limit" encountered. 
DEBUG 2024-06-03T04:38:31.660 "backend-item-request-limit" created for "https://www.pathofexile.com/character-window/get-stash-items" 
DEBUG 2024-06-03T04:38:31.660 "backend-item-request-limit" increasing history capacity from 0 to 1800 
TRACE 2024-06-03T04:38:31.660 "backend-item-request-limit" waiting 0 seconds to send request 7 at "Mon Jun 3 04:38:31 2024" 
TRACE 2024-06-03T04:38:31.768 "backend-item-request-limit" sending request 7 to "https://www.pathofexile.com/character-window/get-stash-items" via "https://www.pathofexile.com/character-window/get-stash-items?league=Necropolis&tabs=1&tabIndex=55&accountName=SomeAccName" 
TRACE 2024-06-03T04:38:32.035 "backend-item-request-limit" received reply for request 7 with status 200 
TRACE 2024-06-03T04:38:32.036 First tab received. 
DEBUG 2024-06-03T04:38:32.036 Received tabs list, there are 65 tabs 
DEBUG 2024-06-03T04:38:32.036 Queued ( 5 ) --  #56, "50" 
DEBUG 2024-06-03T04:38:32.037 "backend-item-request-limit" is handling "https://www.pathofexile.com/character-window/get-stash-items" 
TRACE 2024-06-03T04:38:32.037 "backend-item-request-limit" queuing request 8 
DEBUG 2024-06-03T04:38:32.037 Created 5 requests: SomeUserName SomeUserName SomeUserName SomeUserName #56, "50"  
TRACE 2024-06-03T04:38:32.037 "backend-item-request-limit" waiting 0 seconds to send request 8 at "Mon Jun 3 04:38:31 2024" 
TRACE 2024-06-03T04:38:32.144 "backend-item-request-limit" sending request 8 to "https://www.pathofexile.com/character-window/get-stash-items" via "https://www.pathofexile.com/character-window/get-stash-items?league=Necropolis&tabs=1&tabIndex=55&accountName=SomeAccName" 
DEBUG 2024-06-03T04:38:32.231 "backend-item-request-limit" encountered. 
DEBUG 2024-06-03T04:38:32.231 "backend-item-request-limit" now handles "https://www.pathofexile.com/character-window/get-items" 
TRACE 2024-06-03T04:38:32.231 "backend-item-request-limit" queuing request 9 
DEBUG 2024-06-03T04:38:33.673 "backend-character-request-limit" encountered. 
DEBUG 2024-06-03T04:38:33.673 "backend-character-request-limit" now handles "https://www.pathofexile.com/character-window/get-passive-skills" 
TRACE 2024-06-03T04:38:33.673 "backend-character-request-limit" waiting 0 seconds to send request 10 at "Mon Jun 3 04:38:31 2024" 
DEBUG 2024-06-03T04:38:33.673 "backend-character-request-limit" encountered. 
DEBUG 2024-06-03T04:38:33.673 "backend-character-request-limit" now handles "https://www.pathofexile.com/character-window/get-passive-skills" 
TRACE 2024-06-03T04:38:33.673 "backend-character-request-limit" queuing request 11 
DEBUG 2024-06-03T04:38:33.673 "backend-item-request-limit" encountered. 
DEBUG 2024-06-03T04:38:33.674 "backend-item-request-limit" now handles "https://www.pathofexile.com/character-window/get-items" 
TRACE 2024-06-03T04:38:33.674 "backend-item-request-limit" queuing request 12 
TRACE 2024-06-03T04:38:33.674 "backend-item-request-limit" received reply for request 8 with status 200 
DEBUG 2024-06-03T04:38:33.675 Received a reply for #56, "50" 
TRACE 2024-06-03T04:38:33.676 "backend-item-request-limit" waiting 0 seconds to send request 9 at "Mon Jun 3 04:38:31 2024" 
TRACE 2024-06-03T04:38:33.783 "backend-item-request-limit" sending request 9 to "https://www.pathofexile.com/character-window/get-items" via "https://www.pathofexile.com/character-window/get-items?character=SomeUserName&accountName=SomeAccName" 
TRACE 2024-06-03T04:38:33.783 "backend-character-request-limit" sending request 10 to "https://www.pathofexile.com/character-window/get-passive-skills" via "https://www.pathofexile.com/character-window/get-passive-skills?character=SomeUserName&accountName=SomeAccName" 
TRACE 2024-06-03T04:38:34.081 "backend-character-request-limit" received reply for request 10 with status 404 
ERROR 2024-06-03T04:38:34.082 policy manager for "backend-character-request-limit" request 10 reply status was  404 and error was QNetworkReply::ContentNotFoundError 
TRACE 2024-06-03T04:38:34.155 "backend-item-request-limit" received reply for request 9 with status 200 
DEBUG 2024-06-03T04:38:34.156 Received a reply for SomeUserName 
TRACE 2024-06-03T04:38:34.163 "backend-item-request-limit" waiting 0 seconds to send request 12 at "Mon Jun 3 04:38:31 2024" 
TRACE 2024-06-03T04:38:34.267 "backend-item-request-limit" sending request 12 to "https://www.pathofexile.com/character-window/get-items" via "https://www.pathofexile.com/character-window/get-items?character=SomeUserName&accountName=SomeAccName" 
TRACE 2024-06-03T04:38:34.567 "backend-item-request-limit" received reply for request 12 with status 404 
ERROR 2024-06-03T04:38:34.568 policy manager for "backend-item-request-limit" request 12 reply status was  404 and error was QNetworkReply::ContentNotFoundError 
gerwaric commented 5 months ago

@leet0rz I have a new alpha release for you: https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.3. This one fixes the version issue. It was a bug in the installer script that caused an old version of the executable to be bundled into the installer.

The way acquisition checks for updates has also changed, so you'll see more information about available updates. (It will also always show you the optional update dialog box at startup when you are running a pre-release version like one of the alphas).

For the 404 error, do any of your characters have any non-ascii characters or symbols in their names? Does your account name have anything like that?

leet0rz commented 5 months ago

@leet0rz I have a new alpha release for you: https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.3. This one fixes the version issue. It was a bug in the installer script that caused an old version of the executable to be bundled into the installer.

The way acquisition checks for updates has also changed, so you'll see more information about available updates. (It will also always show you the optional update dialog box at startup when you are running a pre-release version like one of the alphas).

For the 404 error, do any of your characters have any non-ascii characters or symbols in their names? Does your account name have anything like that?

I did have a weird character yeah, I changed the name now. My account name just has regular letters.I have different errors now it seems:

Errors and warnings will be printed here
INFO 2024-06-03T08:45:20.570 "Received 66 tabs" 
INFO 2024-06-03T08:45:20.570 There are 1429 items and 66 tabs after the refresh. 
INFO 2024-06-03T08:45:20.570 There are 83 uncategorized items. 
INFO 2024-06-03T08:45:47.242 "Received 10 tabs" 
INFO 2024-06-03T08:45:47.487 There are 1433 items and 66 tabs after the refresh. 
INFO 2024-06-03T08:45:47.487 There are 83 uncategorized items. 
ERROR 2024-06-03T08:45:48.539 policy manager for "backend-item-request-limit" request 18 reply status was 404 and error was QNetworkReply::ContentNotFoundError 
ERROR 2024-06-03T08:45:48.964 Error submitting shop thread: "Failed to find item. Did you specify the correct location and x y?" 

Do you want me to do a full log on this as well or is this fine ?

PyroCalzone commented 5 months ago

Sorry for the wait, I've downloaded the version you linked earlier (0.10.5-alpha.3). I was also experiencing the issue that leet0rz was, with the unable to determine category, but that has resolved. Upon double refreshing, I get the same error as before.

I also have a character named in Chinese text. Though there is nothing wrong with the character's name wherever it's displayed.

INFO 2024-06-03T04:18:36.979 "Received 23 tabs" 
INFO 2024-06-03T04:18:36.979 There are 1002 items and 23 tabs after the refresh. 
INFO 2024-06-03T04:18:36.979 There are 14 uncategorized items. 
INFO 2024-06-03T04:18:49.271 "Received 6 tabs" 
INFO 2024-06-03T04:18:49.333 There are 1018 items and 23 tabs after the refresh. 
INFO 2024-06-03T04:18:49.333 There are 14 uncategorized items. 
INFO 2024-06-03T04:18:52.750 "Shop threads updated" 
ERROR 2024-06-03T04:18:53.540 policy manager for "backend-item-request-limit" request 17 reply status was 404 and error was QNetworkReply::ContentNotFoundError 
gerwaric commented 5 months ago

@leet0rz @PyroCalzone Thanks. I'm finally able to replicate the 404 error myself. I thought I had fixed the unicode issue, but obviously not. I'll post to this thread when I have it fixed.

gerwaric commented 5 months ago

Do you want me to do a full log on this as well or is this fine ?

That's fine for now, because I can replicate some of these issues myself. I'll let you know when I have an update or need more information.

gerwaric commented 5 months ago

I also have a character named in Chinese text.

I've been testing acquisition with a character with unicode (Test๏Character) and it's also showing the error, but once I have that working I'll test with Chinese text as well.

Also, the unable to categorize thing is still happening. It's probably been going on for a long time, but it was happening silently until I added those error messages. It's still happening now, but I changed the logging so that it will only show up in the log file, not the status panel.

gerwaric commented 5 months ago

I was wrong. This wasn't a unicode issue. What was happening is that when a user was only refreshing characters, acquisition was generating a request for an invalid stash tab. This caused the 404 error. Here's an update that should fix it:

https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.4

EDIT - Please hold off using alpha 4. It's causing the occasionally rate limit violation I'm debugging now.

leet0rz commented 5 months ago

I was wrong. This wasn't a unicode issue. What was happening is that when a user was only refreshing characters, acquisition was generating a request for an invalid stash tab. This caused the 404 error. Here's an update that should fix it:

https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.4

Seems to be working now, thanks for the fix! Hope we were of some sort of help lol.

leet0rz commented 5 months ago

I always update manually when i put items in and so on, I should be good on the rate limit violation.

gerwaric commented 5 months ago

There's a new release that should fix these errors and avoid rate limit violations better:

https://github.com/gerwaric/acquisition/releases/tag/v0.10.5-alpha.5

If you can try it out, please let me know if anything is broken. I'm trying to get acquisition ready for the transition from POESESSID to OAuth.