Test drive of pymite on AVR failed for NotImplemented illegal bytecode

56 views
Skip to first unread message

Kai Liu

unread,
Mar 21, 2014, 1:28:59 AM3/21/14
to python-o...@googlegroups.com
I am new to Pymite.

I have tried Linux, it works. But building for avr (Python2.6 for Windows XP) is failed.

============ error message ============

E:\pymite-09>make PLATFORM=avr
make -C src/platform/avr
make[1]: Entering directory `/e/pymite-09/src/platform/avr'
make -C ../../vm
make[2]: Entering directory `/e/pymite-09/src/vm'
../tools/pmImgCreator.py -f ../platform/avr/pmfeatures.py -c -s --memspace=flash -o pmstdlib_img.c --native-file=pmstdli
b_nat.c ../lib/list.py ../lib/dict.py ../lib/__bi.py ../lib/sys.py ../lib/string.py
Traceback (most recent call last):
File "../tools/pmImgCreator.py", line 961, in <module>
main()
File "../tools/pmImgCreator.py", line 955, in main
pic.convert_files()
File "../tools/pmImgCreator.py", line 323, in convert_files
imgs["imgs"].append(self.co_to_str(co))
File "../tools/pmImgCreator.py", line 443, in co_to_str
consts, names, code, nativecode = self._filter_co(co)
File "../tools/pmImgCreator.py", line 631, in _filter_co
i, co.co_filename))
NotImplementedError: Illegal bytecode (89/0x59/BUILD_CLASS) comes at offset 165 in file ../lib/__bi.py.
make[2]: *** [pmstdlib_img.c] Error 1
make[2]: Leaving directory `/e/pymite-09/src/vm'
make[1]: *** [../../vm/libpmvm_avr.a] Error 2
make[1]: Leaving directory `/e/pymite-09/src/platform/avr'
make: *** [all] Error 2

Can anyone give me some hints?

Dean Hall

unread,
Mar 28, 2014, 10:46:55 PM3/28/14
to python-o...@googlegroups.com
https://code.google.com/p/python-on-a-chip/wiki/FAQ#I_just_built_the_latest_release,_why_does_it_fail?

!!Dean
> --
> --
> You are subscribed to the "python-on-a-chip" (or p14p for short) Google Group.
> Site: http://groups.google.com/group/python-on-a-chip
>
> ---
> You received this message because you are subscribed to the Google Groups "python-on-a-chip" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to python-on-a-ch...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages