View Single Post
Posts: 41 | Thanked: 15 times | Joined on Jan 2010 @ Finland, Aaland Islands
#22
Originally Posted by lostinmirkwood View Post
Could you tell me how you're installing it? Ergh, This seems to be becoming an issue.

I'm re-re-editing my initial post with install instructions.

Edit:
I think you running as root and then running the ansela.py file directly, with python ansela.py?!

ui/resources/Ansel-A-Default.jpg is a default image, (the black-eyed-susan photo), that exists so that if you have no photos you can load something. It by default lives in /opt/ansela/ui/resources/Ansel-A-Default.jpg and far as the system sees it's a relative path of ui/resources. (to find that file, I use the python call os.getcwd()+"/ui/resources/")

If you are running as root then your getcwd directory would be /root not /opt/ansel/ as set by the .desktop file.

I'm not sure why you're running from the command line, but try cd /opt/ansel and run from there.

otherwise just click on it in the menu/shortcut
Yeah I was running as root, did try run it as a normal user and got the same error message, except /root/ was /home/

The reason I ran it from xterm was to see if I got any error messages, because it behaves the same when I launch it from programs.

Installed it via apt-get.

So I got it to work, have to cd into /opt/anselA and run it from there.
Program shortcut leaves me with the said black screen.

I don't have any photos on the onboard memory, maybe this is causing the issue.