Minege / eSSP

Python 3 implementation of the Encrypted Smiley Secure Protocol
Other
26 stars 15 forks source link

essp not working #13

Closed tarlesurendra closed 5 years ago

tarlesurendra commented 5 years ago

Hello,

we have nv200 device and trying to use your script and testing it on ubuntu 18 but we are getting below error

python ex1.py PORT: /dev/ttyS0

/dev/ttyS0

Segmentation fault (core dumped)

also please suggest any best solution for this

also help us for payout with nv200

thank you

Minege commented 5 years ago

Hello,

Can you please provide more informations about your system?

Thanks

tarlesurendra commented 5 years ago

Hello,

Thank you so much for your kind reply. we are using nv200 device for our atm machine and we have installed Ubuntu 18.04.1 LTS on our system and nv200 device is connected serially that is /dev/ttSy0 to the system. we are trying to run your sample program code that is "python ex1.py" but its giving error as below

PORT: /dev/ttyS0

/dev/ttyS0

Segmentation fault (core dumped)

please help us to fix this problem and we would appraciated your help. please let us know if you want anything more we are awaiting for your response.

thank you

tarlesurendra commented 5 years ago

Hello,

is there any solution for this? we are waiting for the solution of above error essage

thank you

Minege commented 5 years ago

Hi,

To be able to find what's the problem, more information about your system is needed. Try sending the result of uname - a on your atm machine, for example.

Le jeu. 27 déc. 2018 à 05:08, tarlesurendra notifications@github.com a écrit :

Hello,

is there any solution for this? we are waiting for the solution of above error essage

thank you

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/13#issuecomment-450069480, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD7KUhwOCgoELu9cg5Zs59q7irKPmp-ks5u9EeqgaJpZM4Zg1qO .

tarlesurendra commented 5 years ago

hello,

below are the information of our system

Linux nws-desktop 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

pleasee help us how to fix the issue with payout notes from machine nv200

tasmail commented 5 years ago

Hello,

please show an output of the following commands:

python

import sys print(sys.version)

Did you install the library with pip?

Regards, Andrii

tarlesurendra commented 5 years ago

hello as per your instruction we have installed with pip and pleaes check commands output

oot@nws-desktop:~# python Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import sys print(sys.version) 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]

On Fri, Dec 28, 2018 at 1:30 PM Andrii Tkachenko notifications@github.com wrote:

Hello,

please show an output of the following commands:

python

import sys print(sys.version)

Did you install the library with pip?

Regards, Andrii

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/13#issuecomment-450312549, or mute the thread https://github.com/notifications/unsubscribe-auth/AQjEL4LudG122-pd5SRqygR8h58gw4uZks5u9c-hgaJpZM4Zg1qO .

tasmail commented 5 years ago

You are using python 2.7 Can you try it with python 3.x

tarlesurendra commented 5 years ago

can you tell me command to try ?

On Fri, Dec 28, 2018 at 4:13 PM Andrii Tkachenko notifications@github.com wrote:

You are using python 2.7 Can you try it with python 3.x

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/13#issuecomment-450339249, or mute the thread https://github.com/notifications/unsubscribe-auth/AQjELxq0IZkVmTp9umgpaIs7GZFxmrq1ks5u9fXUgaJpZM4Zg1qO .

tarlesurendra commented 5 years ago

root@nws-desktop:~# python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import sys print(sys.version) 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]

On Fri, Dec 28, 2018 at 4:15 PM surendra tarle tarlesurendra@gmail.com wrote:

can you tell me command to try ?

On Fri, Dec 28, 2018 at 4:13 PM Andrii Tkachenko notifications@github.com wrote:

You are using python 2.7 Can you try it with python 3.x

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/13#issuecomment-450339249, or mute the thread https://github.com/notifications/unsubscribe-auth/AQjELxq0IZkVmTp9umgpaIs7GZFxmrq1ks5u9fXUgaJpZM4Zg1qO .

tarlesurendra commented 5 years ago

i am running your ex1.py file with python3 but getting below error

oot@nws-desktop:/opt/surendra/eSSP-master/examples# python3 ex1.py Traceback (most recent call last): File "ex1.py", line 2, in from eSSP.constants import Status ModuleNotFoundError: No module named 'eSSP'

On Fri, Dec 28, 2018 at 4:25 PM surendra tarle tarlesurendra@gmail.com wrote:

root@nws-desktop:~# python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import sys print(sys.version) 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]

On Fri, Dec 28, 2018 at 4:15 PM surendra tarle tarlesurendra@gmail.com wrote:

can you tell me command to try ?

On Fri, Dec 28, 2018 at 4:13 PM Andrii Tkachenko < notifications@github.com> wrote:

You are using python 2.7 Can you try it with python 3.x

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/13#issuecomment-450339249, or mute the thread https://github.com/notifications/unsubscribe-auth/AQjELxq0IZkVmTp9umgpaIs7GZFxmrq1ks5u9fXUgaJpZM4Zg1qO .

Minege commented 5 years ago

You have to install the eSSP module for python3. Try pip3 install eSSP6. If you can't execute pip3, try to install it : sudo apt-get install python3-pip And then try to install the eSSP module again. Now, you can try to execute the example code.