[issue46276] ImportError: DLL load failed while importing

2022-01-06 Thread Eryk Sun

Eryk Sun  added the comment:

> ImportError: DLL load failed while importing _socket: El parĂ¡metro no es 
> correcto.

I'm not familiar with the implementation of PyInstaller, which is a third-party 
tool. The above invalid-parameter error may be indirectly related to the 
problem with frida, or it may be a separate issue. 

The problem with frida is simply that "_frida.cp310-win_amd64.pyd" is an 
invalid or corrupted DLL that the system can't load. I don't know what went 
wrong with their build and distribution process that caused the problem. It's 
something to resolve on the frida issue tracker.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46276] ImportError: DLL load failed while importing

2022-01-06 Thread Zombo

Zombo  added the comment:

Looks like the issue is not specific to that one package:

Traceback (most recent call last):
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", 
line 17, in
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "multiprocessing_init_.py", line 16, in
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "multiprocessing\context.py", line 6, in
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "multiprocessing\reduction.py", line 16, in
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "socket.py", line 49, in
ImportError: DLL load failed while importing _socket: El parĂ¡metro no es 
correcto.
[8464] Failed to execute script 'pyi_rth_multiprocessing' due to unhandled 
exception!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46276] ImportError: DLL load failed while importing

2022-01-06 Thread Eryk Sun


Eryk Sun  added the comment:

"_frida.cp310-win_amd64.pyd" is a bad build or corrupted file. It imports a 
procedure with no name from a DLL with no name, which causes the loader to 
search for a file named ".DLL". Even if that were found, it imports another 
procedure with no name or correct ordinal from "IPHLPAPI.DLL". There are 
probably more problems with this DLL.

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46276] ImportError: DLL load failed while importing

2022-01-06 Thread Eric V. Smith


Eric V. Smith  added the comment:

I see this has been reported in frida's tracker. It looks like a problem with 
that package.

--
nosy: +eric.smith
type: crash -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46276] ImportError: DLL load failed while importing

2022-01-05 Thread Zombo


New submission from Zombo :

This code fails:

>>> import _frida
Traceback (most recent call last):
  File "", line 1, in 
ImportError: DLL load failed while importing _frida: The specified module could 
not be found.

works as expected with Python 3.9

https://github.com/frida/frida-python/blob/main/frida/__init__.py

--
messages: 409815
nosy: 89z
priority: normal
severity: normal
status: open
title: ImportError: DLL load failed while importing
type: crash
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com