Hello Christine,
ext Christine Liu wrote:
[...]
[sbox-SDK_ARM: ~/Imaging-1.1.5] > python setup.py bdist_dumb
[...]
You should write "python2.4 setup.py bdist_dumb" instead. A simple
"python" will call scratchbox's own "python2.3" (which is wrong) instead
of Maemo's "python2.4".
This is a c
Hi,You can download the PIL package that I created from http://www.saunalahti.fi/~tsharju/pymaemo/- TeemuOn 5/11/06,
Christine Liu <[EMAIL PROTECTED]> wrote:
hello again -
here are more gruesome error details on my scratchbox linux PC for compiling PIL.
[sbox-SDK_ARM: ~/Imaging-1.1.5] > python se
hello again -
here are more gruesome error details on my scratchbox linux PC for compiling PIL.
[sbox-SDK_ARM: ~/Imaging-1.1.5] > python setup.py bdist_dumb
running bdist_dumb
running build
running build_py
running build_ext
building '_imaging' extension
/scratchbox/compilers/host-gcc/bin/gcc
-spe
hey all -
That's because you miss the first line, a functional comment, to instruct
system how to run your file. You should use as first line:
#!/var/lib/install/usr/bin/python2.4
that was it. thank you all (i thought it was a comment, heh).
another question - i'm attempting to port PIL à la
On Tuesday 09 May 2006 18:41, ext Christine Liu wrote:
> hi all -
>
> i'm following teemu's tutorial on python on the 770, part 1:
> http://www.teemuharju.net/2006/01/26/coding-for-nokia-770-using-python-part
>-1/
>
> so i'm running into issues with either run-standalone.sh + importing gtk
> and hi
It looks like uitest.py and helloworld.py are being interpreted as bash scripts. You shoud put '#!/var/lib/install/usr/bin/python2.4' or the location of your python binary as the first line in the file so that the shell knows how to appropriately interpret the python script. Alternatively '
run-sta
Kasper Souren ([EMAIL PROTECTED]) wrote:
> Looks like it's not executing as Python, but as shell.
> The first line should look something like #/usr/bin/python2.4
make that #!/usr/bin/python2.4
Hope this helps,
Simon
--
[EMAIL PROTECTED] http://simon.budig.de/
Nokia770-13:/home/user# run-standalone.sh ./uitest.py
./uitest.py: 1: import: not found
./uitest.py: 2: import: not found
./uitest.py: 4: class: not found
./uitest.py: 6: Syntax error: "(" unexpected
Looks like it's not executing as Python, but as shell.
The first line should look something like
hi all -i'm following teemu's tutorial on python on the 770, part 1:http://www.teemuharju.net/2006/01/26/coding-for-nokia-770-using-python-part-1/
so i'm running into issues with either run-standalone.sh + importing gtk and hildon packages. i installed pymaemo in normal matter and i am ssh'ing into