sonicnkt / wpkg-gp-client

GUI for wpkg-gp
15 stars 9 forks source link

The error handling is not working correctly in some cases #13

Open bavramor opened 5 years ago

bavramor commented 5 years ago

The error handling is not working correctly in some cases: If I click on “check for updates” (translated) I get a “no updates” (translated) reply within less than a second. In fact there are updates but the client has a connection problem. wpkg-gp log shows: 2018-08-24 13:52:07,197 - WpkgService - ERROR - Error when processing Named Pipe Client: Traceback (most recent call last): File "WpkgServer.pyc", line 214, in DoProcessClient File "WpkgExecuter.pyc", line 101, in Query File "WpkgNetworkHandler.pyc", line 88, in connect_to_network_share error: (86, 'WNetAddConnection2', 'The specified network logon is wrong (translated) ')

wpkg-gp client should pass these errors to the user instead of showing “no updates available”.

biofers commented 4 years ago

I have the same problem or similar

2019-12-10 23:28:17,213 - WpkgService - ERROR - Error when processing Named Pipe Client: Traceback (most recent call last): File "WpkgServer.pyc", line 214, in DoProcessClient File "WpkgExecuter.pyc", line 182, in Query ValueError: need more than 1 value to unpack

This happend everytime that I check with "Check for Update" in the GUI. The log file work because the software write the file log but the GUI doesn't tell any error only that i don't have any new update (but i have a few to check).

The rest work perfectly. Thanks