Re: pyc runtime error

2010-06-30 Thread Baris CUHADAR
On Jun 30, 3:10 pm, Thomas Jollans wrote: > On 06/30/2010 01:20 PM, Baris CUHADAR wrote: > > > > > On Jun 30, 12:06 pm, Christian Heimes wrote: > >>> Actually i wrote some scripts in python that are working as gateway > >>> controlling scripts ipta

Re: pyc runtime error

2010-06-30 Thread Baris CUHADAR
On Jun 30, 2:20 pm, Baris CUHADAR <189...@gmail.com> wrote: > On Jun 30, 12:06 pm, Christian Heimes wrote: > > > > Actually i wrote some scripts in python that are working as gateway > > > controlling scripts iptables/tc/squid-proxy, and i want to execute > >

Re: pyc runtime error

2010-06-30 Thread Baris CUHADAR
On Jun 30, 12:06 pm, Christian Heimes wrote: > > 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 an

Re: pyc runtime error

2010-06-30 Thread Baris CUHADAR
On Jun 30, 11:31 am, Rami Chowdhury wrote: > On 2010-06-30 01:06, Baris CUHADAR wrote: > > > Can anyone explain this unexpected behavior? > > I'm sorry -- can you let us know what behavior you're expecting? > > > all files chmod 755, i've compiled x.py w

pyc runtime error

2010-06-30 Thread Baris CUHADAR
Can anyone explain this unexpected behavior? all files chmod 755, i've compiled x.py with py_compilefiles, also tried within python console with "import x" system: centos 5.4 32bit This a PATH related problem i think? [r...@centos-14 cgi-bin]# ./x.pyc : command not found ./x.pyc: line 2: synta