The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

Pyresman is not working under winXP

An opensource tool to manage smartcard resource.
ramikazziha
Posts: 7
Joined: Sun Feb 18, 2018 9:18 am
Points :78
Contact:

Pyresman is not working under winXP

Post by ramikazziha » Fri Feb 23, 2018 10:25 pm

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

User avatar
JavaCardOS
Posts: 269
Joined: Thu Apr 30, 2015 12:00 pm
Points :2347
Contact:

Re: Pyresman is not working under winXP

Post by JavaCardOS » Tue Feb 27, 2018 11:07 pm

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.

ramikazziha
Posts: 7
Joined: Sun Feb 18, 2018 9:18 am
Points :78
Contact:

Re: Pyresman is not working under winXP

Post by ramikazziha » Tue Mar 06, 2018 6:28 am

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.
:(

Erisaron
Posts: 15
Joined: Wed Dec 02, 2015 1:23 am
Points :64
Contact:

Re: Pyresman is not working under winXP

Post by Erisaron » Thu Mar 15, 2018 5:15 am

Maybe you can try to move pyResMan.exe to a path that is not in desktop

Matt1313
Posts: 2
Joined: Mon Apr 16, 2018 11:28 am
Points :12
Contact:

Re: Pyresman is not working under winXP

Post by Matt1313 » Mon Apr 16, 2018 11:33 am

HI ! I have the exact same issue on Windows 10. Any suggestion on how to run the pyResMan.exe file ?

HUGAZ
Posts: 2
Joined: Thu Apr 11, 2019 7:31 am
Points :16
Contact:

Re: Pyresman is not working under winXP

Post by HUGAZ » Mon Apr 15, 2019 6:48 am

thank you for sharing the information

kuafu
Posts: 169
Joined: Thu Jun 25, 2015 2:09 am
Points :1865
Contact:

Re: Pyresman is not working under winXP

Post by kuafu » Mon May 20, 2019 10:30 pm

Matt1313 wrote:
Mon Apr 16, 2018 11:33 am
HI ! I have the exact same issue on Windows 10. Any suggestion on how to run the pyResMan.exe file ?
GPPcScConnectionPlugin.dll and globalplatform.dll , you need to copy the two dll to the same directory
You do not have the required permissions to view the files attached to this post. Please login first.
well

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 2 guests

JavaCard OS : Disclaimer