Issue 12 in iso8583py: Error in execution of examples

42 views
Skip to first unread message

iso8...@googlecode.com

unread,
Mar 26, 2014, 3:05:32 PM3/26/14
to iso858...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 12 by PabloBSa...@gmail.com: Error in execution of examples
http://code.google.com/p/iso8583py/issues/detail?id=12

What steps will reproduce the problem?
1.When install your library, none of the examples are functional. All
exhibits the same error:
Traceback (most recent call last):
File "/home/pablo/temp/Iso 8583/teste.py", line 20, in <module>
from ISO8583.ISO8583 import ISO8583
File "/usr/local/lib/python3.3/dist-packages/ISO8583/ISO8583.py", line
26, in <module>
from ISOErrors import *
ImportError: No module named 'ISOErrors'

In my case, works if i change from ISOErrors import * to from
ISO8583.ISOErrors import *

What version of the product are you using? On what operating system?
version 1.3 linux (ubuntu 13.10). Ii installed via pip

Please provide any additional information below.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

iso8...@googlecode.com

unread,
Mar 26, 2014, 6:42:32 PM3/26/14
to iso858...@googlegroups.com

Comment #1 on issue 12 by igo...@gmail.com: Error in execution of examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Please, tell me what the version of your Python?

iso8...@googlecode.com

unread,
Mar 26, 2014, 6:48:14 PM3/26/14
to iso858...@googlegroups.com

Comment #2 on issue 12 by PabloBSa...@gmail.com: Error in execution of
examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Sorry, is 3.2 if i remember correctly. I'm using your library at work, in a
test.

iso8...@googlecode.com

unread,
Mar 27, 2014, 7:23:16 AM3/27/14
to iso858...@googlegroups.com
Updates:
Status: Accepted

Comment #3 on issue 12 by igo...@gmail.com: Error in execution of examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Hi, I'll test in Python 3.2 to see.

iso8...@googlecode.com

unread,
Mar 27, 2014, 8:26:42 AM3/27/14
to iso858...@googlegroups.com

Comment #4 on issue 12 by PabloBSa...@gmail.com: Error in execution of
examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Ops, i see here, is python 3.3 .... Sorry for the confusion !!

iso8...@googlecode.com

unread,
Mar 27, 2014, 8:56:28 AM3/27/14
to iso858...@googlegroups.com
Updates:
Status: Invalid

Comment #5 on issue 12 by igo...@gmail.com: Error in execution of examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Hi, This package are not tested in Python 3.3. And I think is not
compatible.

iso8...@googlecode.com

unread,
Mar 27, 2014, 9:54:18 AM3/27/14
to iso858...@googlegroups.com

Comment #6 on issue 12 by PabloBSa...@gmail.com: Error in execution of
examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Ok then. With the change that I indicated passed to work well.
In the documentation of the library is an example equal my suggestion.
Just saw after sending the occurrence in question...
For me there are no errors in the library, only in the examples.
Would you can verify, please ?

>>> help(ISO8583)
Help on class ISO8583 in module ISO8583.ISO8583:

class ISO8583(builtins.object)
| Main Class to work with ISO8583 packages.
| Used to create, change, send, receive, parse or work with ISO8593
Package version 1993.
| It's 100% Python :)
| Enjoy it!
| Thanks to: Vulcanno IT Solutions <http://www.vulcanno.com.br>
| Licence: GPL Version 3
| More information: http://code.google.com/p/iso8583py/
|
| Example:
| from ISO8583.ISO8583 import ISO8583
| from ISO8583.ISOErrors import *
|
| iso = ISO8583()
| try:
... more

iso8...@googlecode.com

unread,
Jul 11, 2014, 9:14:58 AM7/11/14
to iso858...@googlegroups.com

Comment #7 on issue 12 by leonardo...@m4u.com.br: Error in execution of
examples
http://code.google.com/p/iso8583py/issues/detail?id=12

I had the same issue and PabloBSa suggestion works fine. How we can suggest
the inclusion of his fix into the official package? If it leaks on person
to test it I could help on validating the changes, since I have access to
environments in which I could perform real scenario cases.

iso8...@googlecode.com

unread,
Jul 11, 2014, 9:26:56 AM7/11/14
to iso858...@googlegroups.com

Comment #8 on issue 12 by igo...@gmail.com: Error in execution of examples
http://code.google.com/p/iso8583py/issues/detail?id=12

Hi Leonardo,
The next version will be Python 3 compatible.
Best regards,
Reply all
Reply to author
Forward
0 new messages