Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Edna not working, I want my MP3< Next Oldest | Next Newest >
dmizzel Offline





Group: Members
Posts: 112
Joined: April 2005
Posted: Aug. 30 2005,07:35 QUOTE

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
Back to top
Profile PM 
NotTheMama Offline





Group: Members
Posts: 42
Joined: April 2005
Posted: Aug. 30 2005,08:35 QUOTE

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
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Aug. 30 2005,15:19 QUOTE

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
Back to top
Profile PM 
green Offline





Group: Members
Posts: 453
Joined: Oct. 2004
Posted: Aug. 31 2005,03:32 QUOTE

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.
Back to top
Profile PM 
dmizzel Offline





Group: Members
Posts: 112
Joined: April 2005
Posted: Sep. 12 2005,07:46 QUOTE

This is freakin Cool!!!!!!! I guess you can tell that it works now. Thanx for the help!
Back to top
Profile PM 
4 replies since Aug. 30 2005,07:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Edna not working

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code