Page 1 of 1

Pyresman is not working under winXP

Posted: Fri Feb 23, 2018 10:25 pm
by ramikazziha
good day

Pyresman is not working under windows, I having the following output:

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 517, in load_module
ImportError: DLL load failed: The specified module could not be found.
Main returned -1

I copied the pyinstaller to the mentioned folder but did not work. what DLL is missing?
thank you

Re: Pyresman is not working under winXP

Posted: Tue Feb 27, 2018 11:07 pm
by JavaCardOS
hello,
The pyResMan tool depends on the pyGlobalPlatform library, you can copy the GPPcScConnectionPlugin.dll and globalplatform.dll files to the C:\Windows\System32 directory and try to run PyResMan.

Re: Pyresman is not working under winXP

Posted: Tue Mar 06, 2018 6:28 am
by ramikazziha
Hi ,
didnot work , I got the below output :



C:\Documents and Settings\Administrator>D:\mytools\pyresman\pyResMan5.exe
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "E:\opensource\pyResMan\pyResMan\Dialogs\pyResManDialog.py", line 12, in
<module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "E:\opensource\pyResMan\pyResMan\pyResManReader.py", line 11, in <module>

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\__init__.py", line 32, in <modul
e>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\System.py", line 28, in <module>

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\reader\ReaderFactory.py", line 3
4, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\pcsc\PCSCReader.py", line 28, in
<module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\pcsc\PCSCContext.py", line 27, i
n <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\scard\__init__.py", line 1, in <
module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\scard\scard.py", line 129, in <m
odule>
File "C:\Python27\lib\site-packages\smartcard\scard\scard.py", line 121, in sw
ig_import_helper
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 517, in load_module
Finders must return ModuleSpec objects when find_spec() is called.
ImportError: DLL load failed: The specified module could not be found.
Main returned -1

C:\Documents and Settings\Administrator>D:\mytools\pyresman\pyResMan5.exe
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "E:\opensource\pyResMan\pyResMan\Dialogs\pyResManDialog.py", line 12, in
<module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "E:\opensource\pyResMan\pyResMan\pyResManReader.py", line 11, in <module>

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\__init__.py", line 32, in <modul
e>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\System.py", line 28, in <module>

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\reader\ReaderFactory.py", line 3
4, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\pcsc\PCSCReader.py", line 28, in
<module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\pcsc\PCSCContext.py", line 27, i
n <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\scard\__init__.py", line 1, in <
module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\scard\scard.py", line 129, in <m
odule>
File "C:\Python27\lib\site-packages\smartcard\scard\scard.py", line 121, in sw
ig_import_helper
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 517, in load_module
Finders must return ModuleSpec objects when find_spec() is called.
ImportError: DLL load failed: The specified module could not be found.
Main returned -1

C:\Documents and Settings\Administrator>D:\mytools\pyresman\pyResMan5.exe>c:\pul
og.txt
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "E:\opensource\pyResMan\pyResMan\Dialogs\pyResManDialog.py", line 12, in
<module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "E:\opensource\pyResMan\pyResMan\pyResManReader.py", line 11, in <module>

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\__init__.py", line 32, in <modul
e>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\System.py", line 28, in <module>

File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\reader\ReaderFactory.py", line 3
4, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\pcsc\PCSCReader.py", line 28, in
<module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\pcsc\PCSCContext.py", line 27, i
n <module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\scard\__init__.py", line 1, in <
module>
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 363, in load_module
# pkg_resources.resource_string(), pkg_resources.resource_stream().
File "C:\Python27\lib\site-packages\smartcard\scard\scard.py", line 129, in <m
odule>
File "C:\Python27\lib\site-packages\smartcard\scard\scard.py", line 121, in sw
ig_import_helper
File "C:\Python27\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",
line 517, in load_module
Finders must return ModuleSpec objects when find_spec() is called.
ImportError: DLL load failed: The specified module could not be found.
Main returned -1

I opened the module but could read what is wrong.
:(

Re: Pyresman is not working under winXP

Posted: Thu Mar 15, 2018 5:15 am
by Erisaron
Maybe you can try to move pyResMan.exe to a path that is not in desktop

Re: Pyresman is not working under winXP

Posted: Mon Apr 16, 2018 11:33 am
by Matt1313
HI ! I have the exact same issue on Windows 10. Any suggestion on how to run the pyResMan.exe file ?

Re: Pyresman is not working under winXP

Posted: Mon Apr 15, 2019 6:48 am
by HUGAZ
thank you for sharing the information