You need this module, because jallib.py (being called by jallib.sh on POSIX system or jallib.bat on win) is a python script, and the way you make system calls (call jalv2), across several different platforms can be done using this module (and should, I can give you a PEP IIRC). Which python version do you use ? Maybe try with python 2.5, if you can.
Seb 2008/11/20 Eur van Andel <[EMAIL PROTECTED]> > Hi > One of the command line arguments to jallib.sh is compile: > > G5-fiwihex:~/jalv2/jallib/unvalidated/sample/by_device/16f877a eur$ > ~/jalv2/jallib/tools/jallib compile blink_16f877a.jal > Traceback (most recent call last): > File "/Users/eur/jalv2/jallib/tools/jallib.py", line 1231, in ? > callme(action_args) > File "/Users/eur/jalv2/jallib/tools/jallib.py", line 201, in do_compile > except subprocess.CalledProcessError,e: > AttributeError: 'module' object has no attribute 'CalledProcessError' > > > I don't understand why I would need jallib.sh to compile a file: > > G5-fiwihex:~/jalv2/jallib/unvalidated/sample/by_device/16f877a eur$ j2 > blink_16f877a.jal > jal 2.4 (compiled Sep 17 2008) > generating p-code > 0 errors, 0 warnings > 6162 tokens, 51352 chars; 1328 lines; 2 files > generating PIC code pass 1 > generating PIC code pass 2 > writing result > Code area: 61 of 8192 used > Data area: 4 of 352 used > Software stack available: 96 bytes > Hardware stack depth 0 of 8 > > > Since there is nothing wrong with it? > > > > --- > > ir EE van Andel [EMAIL PROTECTED] http://www.fiwihex.nl > > Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands > > tel+31-546-491106 fax+31-546-491107 > > > > > > -- Sébastien Lelong http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
