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

[CRASH] Crash on Startup with 2.0.2 #1230

Closed
threeforces opened this issue Jul 21, 2023 · 8 comments · Fixed by #1246
Closed

[CRASH] Crash on Startup with 2.0.2 #1230

threeforces opened this issue Jul 21, 2023 · 8 comments · Fixed by #1246
Labels

Comments

@threeforces
Copy link

Version 2.0.2 is crashing / 2.0.1 is working....

Hard crash experienced

Error details :

                        OS: Windows
                   Version: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
           OS Architecture: AMD64
          APP Architecture: 64bit
                  Language: Unknown
               APP Version: Unknown
                   Program: WingetUI
           Program section: Main script

-----------------------------------------------------------------------------------------



WingetUI Log:




Traceback (most recent call last):
  File "__init__.py", line 77, in <module>
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
  File ".\customWidgets.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
  File ".\genericCustomWidgets.py", line 10, in <module>
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
  File ".\tools.py", line 17, in <module>
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
  File "clr.py", line 6, in <module>
  File "pythonnet\__init__.py", line 143, in load
  File "clr_loader\types.py", line 64, in __call__

RuntimeError: cannot call null pointer pointer from cdata 'int(*)(void *, int)'<class 'RuntimeError'>: cannot call null pointer pointer from cdata 'int(*)(void *, int)'
@djey47
Copy link

djey47 commented Jul 25, 2023

Hello, same here with 2.0.2 (first version I'm using).

                        OS: Windows
                   Version: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
           OS Architecture: AMD64
          APP Architecture: 64bit
                  Language: Unknown
               APP Version: Unknown
                   Program: WingetUI
           Program section: Main script

-----------------------------------------------------------------------------------------



WingetUI Log:




Traceback (most recent call last):
  File __init__.py, line 77, in <module>
  File <frozen importlib._bootstrap>, line 1178, in _find_and_load
  File <frozen importlib._bootstrap>, line 1149, in _find_and_load_unlocked
  File <frozen importlib._bootstrap>, line 690, in _load_unlocked
  File PyInstaller\loader\pyimod02_importers.py, line 352, in exec_module
  File .\customWidgets.py, line 7, in <module>
  File <frozen importlib._bootstrap>, line 1178, in _find_and_load
  File <frozen importlib._bootstrap>, line 1149, in _find_and_load_unlocked
  File <frozen importlib._bootstrap>, line 690, in _load_unlocked
  File PyInstaller\loader\pyimod02_importers.py, line 352, in exec_module
  File .\genericCustomWidgets.py, line 10, in <module>
  File <frozen importlib._bootstrap>, line 1178, in _find_and_load
  File <frozen importlib._bootstrap>, line 1149, in _find_and_load_unlocked
  File <frozen importlib._bootstrap>, line 690, in _load_unlocked
  File PyInstaller\loader\pyimod02_importers.py, line 352, in exec_module
  File .\tools.py, line 17, in <module>
  File <frozen importlib._bootstrap>, line 1178, in _find_and_load
  File <frozen importlib._bootstrap>, line 1149, in _find_and_load_unlocked
  File <frozen importlib._bootstrap>, line 690, in _load_unlocked
  File PyInstaller\loader\pyimod02_importers.py, line 352, in exec_module
  File clr.py, line 6, in <module>
  File pythonnet\__init__.py, line 143, in load
  File clr_loader\types.py, line 64, in __call__

RuntimeError: cannot call null pointer pointer from cdata 'int(*)(void *, int)'<class 'RuntimeError'>: cannot call null pointer pointer from cdata 'int(*)(void *, int)'

@marticliment
Copy link
Owner

Hello,

do you have .NET runtimes installed?

@marticliment marticliment added this to the Bugs milestone Jul 29, 2023
@djey47
Copy link

djey47 commented Jul 29, 2023

Hello,

do you have .NET runtimes installed?

Hi, thanks for reply.

Which are the runtime requirements ? I Should be up to date for every .net version till 4.7 as I'm developing some apps for those.

Not sure about the .net core or .net 6 runtimes though.

@marticliment
Copy link
Owner

Can you please check .net 2.x and 3.x?

@djey47
Copy link

djey47 commented Jul 30, 2023

3.5, as well as 2.0, are installed

@marticliment
Copy link
Owner

What is your user directory?

@djey47
Copy link

djey47 commented Jul 30, 2023

Not sure of what you do mean by 'user directory', anyway that's very much a default thing, C:\Users<login>.

Note that it is linked to a mail account (not local account) and some of directories in there are remapped to folders in a different partition. If it may help...

@marticliment
Copy link
Owner

marticliment commented Jul 30, 2023

Dear users,

A fix has been released on beta 2.0.3

The link to download this release is the following: https://github.com/marticliment/WingetUI/releases/download/2.0.3-beta/WingetUI.Installer.exe

@marticliment marticliment removed this from the Bugs milestone Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants