Bug Report
I'm using pyfa on a corporation computer with proxy.
When I try to open the SSO -> manage character I got the following error
OS version: Windows-10-10.0.16299-SP0
Python version: 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)]
wxPython version: 4.0.0b2 (wxWidgets 3.0.4)
SQLAlchemy version: 1.1.10
Logbook version: 1.0.0
Requests version: 2.18.4
Dateutil version: 2.6.0
####################
Traceback (most recent call last):
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 641, in ssoHandler
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\esiFittings.py", line 297, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\esiFittings.py", line 328, in popCharList
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 36, in getInstance
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 43, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esiAccess.py", line 88, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 289, in getProxySettingsInRequestsFormat
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 263, in getProxySettings
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 251, in autodetect
ValueError: too many values to unpack (expected 2)
####################
Traceback (most recent call last):
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 403, in showCharacterEditor
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 175, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 781, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 810, in ssoListChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 814, in charChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 36, in getInstance
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 43, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esiAccess.py", line 88, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 289, in getProxySettingsInRequestsFormat
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 263, in getProxySettings
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 251, in autodetect
ValueError: too many values to unpack (expected 2)
####################
Traceback (most recent call last):
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 459, in showPreferenceDialog
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\preferenceDialog.py", line 65, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\builtinPreferenceViews\pyfaNetworkPreferences.py", line 150, in populatePanel
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 251, in autodetect
ValueError: too many values to unpack (expected 2)
####################
Traceback (most recent call last):
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterSelection.py", line 177, in charChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 403, in showCharacterEditor
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 175, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 781, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 810, in ssoListChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 814, in charChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 36, in getInstance
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 43, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esiAccess.py", line 88, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 289, in getProxySettingsInRequestsFormat
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 263, in getProxySettings
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 251, in autodetect
ValueError: too many values to unpack (expected 2)
####################
Traceback (most recent call last):
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 403, in showCharacterEditor
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 175, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 781, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 810, in ssoListChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\characterEditor.py", line 814, in charChanged
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 36, in getInstance
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 43, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esiAccess.py", line 88, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 289, in getProxySettingsInRequestsFormat
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 263, in getProxySettings
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 251, in autodetect
ValueError: too many values to unpack (expected 2)
####################
Traceback (most recent call last):
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 641, in ssoHandler
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\esiFittings.py", line 297, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\esiFittings.py", line 328, in popCharList
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 36, in getInstance
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esi.py", line 43, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\esiAccess.py", line 88, in __init__
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 289, in getProxySettingsInRequestsFormat
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 263, in getProxySettings
File "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\service\settings.py", line 251, in autodetect
ValueError: too many values to unpack (expected 2)
It also happens with multiple other menu choices (windows/preference, window/character editor).
It seems to be related to the system proxy detection as it crash the same if I disable local network interface and share my phone network over USB
Expected behavior:
Not being able to pull anything remotely is fine if proxy isn't working, I should however be able to access local feature, shouldn't I ?
Actual behavior:
A crash window pop when trying to use listed features
Detailed steps to reproduce:
You may try pyfa behind a proxied windows 10, if that's not enough I can try to get as much information as I can
Release or development git branch? Please note the release version or commit hash:
Release 2.3.1 (Same issue on 2.4.0)
Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):
Windows 10 behind a corporate proxy
bug fixed logged