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

"Windows fatal exception: code 0xc000001d" when trying to install PCL plugin #173

Open
andrii302 opened this issue Jun 3, 2024 · 1 comment

Comments

@andrii302
Copy link

Good day,
I have installed and used CloudComPy without any issues, but when it came to cloud registration I encountered a problem when trying to run following code:

import cloudComPy as cc  
if cc.isPluginPCL():
    import cloudComPy.PCL

I get the following message in Spyder's console:

QFileSystemWatcher: Removable drive notification will not work if there is no QCoreApplication instance.
JsonRPCPlugin::JsonRPCPlugin


Windows fatal exception: code 0xc000001d


Main thread:
Current thread 0x000032f4 (most recent call first):
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1176 in create_module
  File "<frozen importlib._bootstrap>", line 571 in module_from_spec
  File "<frozen importlib._bootstrap>", line 674 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\Users\yanovetsa\CloudComPy310_20240420\CloudComPy310\CloudCompare\cloudComPy\PCL\__init__.py", line 44 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "c:\users\yanovetsa\ccpy\find_ridges.py", line 54 in <module>
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\py3compat.py", line 356 in compat_exec
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 473 in exec_code
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 740 in _exec_cell
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 689 in runcell
  File "C:\Users\yanovetsa\AppData\Local\Temp\ipykernel_10968\1630711856.py", line 1 in <module>


Main thread:
Current thread 0x000032f4 (most recent call first):
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1176 in create_module
  File "<frozen importlib._bootstrap>", line 571 in module_from_spec
  File "<frozen importlib._bootstrap>", line 674 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\Users\yanovetsa\CloudComPy310_20240420\CloudComPy310\CloudCompare\cloudComPy\PCL\__init__.py", line 44 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "c:\users\yanovetsa\ccpy\find_ridges.py", line 54 in <module>
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\py3compat.py", line 356 in compat_exec
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 473 in exec_code
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 740 in _exec_cell
  File "C:\Users\yanovetsa\AppData\Local\miniconda3\envs\CloudComPy310\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 689 in runcell
  File "C:\Users\yanovetsa\AppData\Local\Temp\ipykernel_10968\1630711856.py", line 1 in <module>


Kernel wird neu gestartet...

("Kernel wird neu gestartet" means "restarting the kernel")
I am using Python3.10, and the CloudComPy310_20240420 version, with miniconda3 on Windows 10 Enterprise LTSC operating system.
When trying to import other plugins the same way, like PCV plugin, I didn't get any error and it runs just fine.
Thanks in advance!

@prascle
Copy link
Collaborator

prascle commented Jun 7, 2024

Hello,
Unfortunately, I can't reproduce this problem on my Windows 11 installation (with the CloudComPy310_20240420 version), either in Spyder or directly from the Python prompt (on the conda terminal).
Have you tried outside Spyder?
Best regards,
Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants