|
|
2011-01-21
, 06:11
|
|
Posts: 81 |
Thanked: 45 times |
Joined on Dec 2009
|
#2
|
|
|
2011-01-21
, 06:19
|
|
Posts: 27 |
Thanked: 8 times |
Joined on Jan 2009
@ Singapore
|
#3
|
krank-07/
krank
src/
Main.py
Level.py
levels/
__init__.py
#!/bin/sh KRANKPATH=`dirname $0` PYTHONPATH=$KRANKPATH:$PYTHONPATH export PYTHONPATH python $KRANKPATH/src/Main.py
#!/bin/sh KRANKPATH=$( (cd -P $(dirname $0) && pwd) ) PYTHONPATH=/home/ubuntu/krank-07:/home/ubuntu/krank-07/levels export PYTHONPATH echo $PYTHONPATH sudo nohup python $KRANKPATH/src/Main.py &
|
|
2011-01-21
, 06:26
|
|
Posts: 81 |
Thanked: 45 times |
Joined on Dec 2009
|
#4
|
|
|
2011-01-21
, 06:53
|
|
Posts: 27 |
Thanked: 8 times |
Joined on Jan 2009
@ Singapore
|
#5
|
cd src export = /home/ubuntu/krank-07:/home/ubuntu/krank-07/src:/home/krank-07/levels python Main.py
Traceback (most recent call last):
File "Main.py", line 66, in <module>
pygame.display.set_icon(pygame.image.load('levels/images/icon64x64.png'))
pygame.error: Couldn't open levels/images/icon64x64.png
|
|
2011-01-21
, 11:27
|
|
Posts: 81 |
Thanked: 45 times |
Joined on Dec 2009
|
#6
|
I am trying to port Krank python game to N900 but there are questions that I can't handle. Now I try to run the program on Ubuntu 8.04 and the errors
File "/home/ubuntu/krank-07/src/Main.py", line 9, in <module> from World import * File "/home/ubuntu/krank-07/src/World.py", line 8, in <module> from Level import * File "/home/ubuntu/krank-07/src/Level.py", line 2, in <module> import k, levels ImportError: No module named levelsregards,
pigling