Edna not working


Forum: Multimedia
Topic: Edna not working
started by: dmizzel

Posted by dmizzel on Aug. 30 2005,07:35
I am having problems with Edna and/or Python(I tried the .uci and .dsl). I want to make an mp3 server. I am following the directions posted here:

< http://damnsmalllinux.org/cgi-bin....45;st=0 >

&

< http://www.damnsmalllinux.org/talk/node/224 >

I load Python.uci (through emelfm), then load Edna.  Then from the command line:

sudo ednastart

This returns the following error:

sudo: python: command not found

If I type...      ednastart      (without sudo, not logged in as root):

sys:1: DepricationWarning: Non-ASCII character '\xe9' in file edna.py on line 1032, but no encoding declared; see < http://www.python.org/peps/pep-0263.html > for details

Posted by NotTheMama on Aug. 30 2005,08:35
I've run edna once, but started it from right-mouse-button menu.
I do not know how edna was started, but it worked.

The code for startedna is
Code Sample

# This is a script to start the Edna MP3 server
#
export PYTHONPATH=/opt/python/bin
export PATH="$PATH:$PYTHONPATH"
cd /usr/share/edna
exec sudo python edna.py

So you do not need to sudo startedna...

I've looked at line 1032 in edna.py (version 0.4) and that line is a comment line.
But on the line there are some chars with an ' above it.
You might want to try deleting those lines or removing those special characters...
I do not know why you have this problem.....

HTH.,

Remco

Posted by ke4nt1 on Aug. 30 2005,15:19
The error you refer to is about the characters in the edna.py
file that aren't supported by our character set ( unicode? )

Simply edit the umlautes, and other characters in the
remarked portion of the file, to remove the error ..

The error has never affected the operation of edna for me.
It's more a warning than a showstopper..

Run ps ax afterwards to see if python is running ..

Should be someway to setup another user besides root
to run the files with proper permissions..

73
ke4nt

Posted by green on Aug. 31 2005,03:32
Interesting. I load the python.dsl at boot, then after boot i load edna.dsl via emelfm but not as root of course. then i must type  ednastart  in the command prompt. if i use ednastart as root, it does not work, just by loading the .dsl via emelfm and then clicking on it in the menu, that does not work. but since i have a way to do it, albeit a manual way, it works for me.
Posted by dmizzel on Sep. 12 2005,07:46
This is freakin Cool!!!!!!! I guess you can tell that it works now. Thanx for the help!
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.