pyc runtime error

Christian Heimes lists at cheimes.de
Wed Jun 30 05:06:52 EDT 2010


> Actually i wrote some scripts in python that are working as gateway
> controlling scripts iptables/tc/squid-proxy, and i want to execute
> them as cgi. Protection of source code is also important. These
> scripts works fine with ubuntu 9.10 and ubuntu 10.04, trying to
> eleminate this execution error and successfully port them to centos
> 5.4. Or i have to rewrite these scripts in C which is time comsuming.

It looks like you have the binfmt kernel feature installed and
configured on your Ubuntu machines. Do you have some Python related
files in /proc/sys/fs/binfmt_misc/ ?

Christian




More information about the Python-list mailing list