Closed B-Hartmann closed 3 years ago
Do you have Python on that machine? Could you try pip install dcoraid
and python -m dcoraid
(maybe the error message does not show because it's a frozen application).
Alternatively, could you please download this dev version here (build still running): https://ci.appveyor.com/project/paulmueller/dcor-aid/builds/41460366/artifacts and drag-and-drop the installed executable in a command line and run it?
Python 3.8.5 is installed via Anaconda.
I installed dcoraid with pip as suggested and run python -m dcoraid
in the Anaconda prompt, I got the following result:
no DCOR-Aid window opened and in the terminal, there were the following error messages:
QWindowsContext::windowsProc: No Qt Window found for event 0x83 (WM_NCCALCSIZE), hwnd=0x0x602ce.
QWindowsContext::windowsProc: No Qt Window found for event 0x5 (WM_SIZE), hwnd=0x0x602ce.
QWindowsContext::windowsProc: No Qt Window found for event 0x3 (WM_MOVE), hwnd=0x0x602ce.
Please try pip uninstall pyqt5
and conda install pyqt5
.
What about the alternative dev version I mentioned above?
I just implemented logging (#18). With this development version: https://ci.appveyor.com/project/paulmueller/dcor-aid/builds/41466296/artifacts you should be able to see the error message in the logs. The logs should be located in directories named like:
"C:/Users/<USER>/AppData/Local/<APPNAME>",
"C:/ProgramData/<APPNAME>",
"<APPDIR>",
"<APPDIR>/data"
"<APPDIR>/data/<APPNAME>"
Using the development version 0.7.8.post2, I get the following error message in the logs:
2021-11-10 17:48:06,678 ERROR [Dummy-6] in dcoraid.gui.main excepthook:348: Unhandled exception in DCOR-Aid version 0.7.8.post2:
Traceback (most recent call last):
File "dcoraid\gui\tools\bg_thread.py", line 17, in run
self._target(*self._args, **self._kwargs)
File "dcoraid\gui\main.py", line 254, in refresh_login_status
user_data = api.get_user_dict()
File "dcoraid\api\ckan_api.py", line 206, in get_user_dict
userdata = self.get("user_show")
File "dcoraid\api\ckan_api.py", line 141, in get
req = requests.get(url_call,
File "requests\api.py", line 75, in get
File "requests\api.py", line 61, in request
File "requests\sessions.py", line 528, in request
File "requests\sessions.py", line 456, in prepare_request
File "requests\models.py", line 317, in prepare
File "requests\models.py", line 451, in prepare_headers
File "requests\utils.py", line 978, in check_header_validity
requests.exceptions.InvalidHeader: Invalid return character or leading space in header: X-CKAN-API-Key
OK, it seems like the API-Key is not set. Actually this should not be a problem, so I wonder what is going on. Maybe I fixed it with these changes. Could you please try this development version? https://ci.appveyor.com/project/paulmueller/dcor-aid/builds/41482839/artifacts
It works!
Seems that there are no problems with version 0.7.8.post4
The latest version of DCOR-Aid was downloaded and installed, but after starting it, it gets stuck and tries to display an error message, but it's just a white window.
Windows 10 version 1909 DCOR-Aid 0.7.7
Is there any other way (log files etc.) how to get the actual error message?