hmmm new edna error, can anyone help??

View: New views
6 Messages — Rating Filter:   Alert me  

hmmm new edna error, can anyone help??

by MaxSteel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lately, edna is pausing and then giving an error (As such) and then
continuing on as normal.  I don't know why?  I wouldn't know there was
a problem if it didn't hang there for a min or so.. as the results do
come back..

any thoughts?

error example:
----------------------------------------
Exception happened during processing of request from ('207.161.21.225', 2822)
Traceback (most recent call last):
  File "C:\Python24\lib\SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python24\lib\SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python24\lib\SocketServer.py", line 521, in __init__
    self.handle()
  File "C:\Python24\lib\BaseHTTPServer.py", line 314, in handle
    self.handle_one_request()
  File "C:\Python24\lib\BaseHTTPServer.py", line 308, in handle_one_request
    method()
  File "D:\edna_xspf\edna.py", line 361, in do_GET
    self._perform_GET()
  File "D:\edna_xspf\edna.py", line 606, in _perform_GET
    self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
  File "D:\edna_xspf\edna.py", line 722, in display_page
    template.generate(self.wfile, data)
  File "D:\edna_xspf\ezt.py", line 117, in generate
    self._execute(self.program, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 124, in _execute
    step[0](step[1], fp, ctx)
  File "D:\edna_xspf\ezt.py", line 134, in _cmd_if_any
    self._do_if(value, t_section, f_section, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 158, in _do_if
    self._execute(section, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 124, in _execute
    step[0](step[1], fp, ctx)
  File "D:\edna_xspf\ezt.py", line 168, in _cmd_for
    self._execute(section, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 124, in _execute
    step[0](step[1], fp, ctx)
  File "D:\edna_xspf\ezt.py", line 128, in _cmd_print
    fp.write(_get_value(refname, ref, ctx))
  File "D:\edna_xspf\edna.py", line 1045, in write
    return self.wfile.write(s_buf)
  File "C:\Python24\lib\socket.py", line 256, in write
    self.flush()
  File "C:\Python24\lib\socket.py", line 243, in flush
    self._sock.sendall(buffer)
error: (10053, 'Software caused connection abort')
----------------------------------------
_______________________________________________
edna mailing list
edna@...
http://mailman.lyra.org/mailman/listinfo/edna

Re: hmmm new edna error, can anyone help??

by Yoni Samlan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://trout.snt.utwente.nl/ubbthreads/ubbthreads.php?ubb=showflat&Number=38665&site_id=1#import

I'm not going to look too deeply into edna's base http serving, but my thoughts: it probably has to do with either the network connection at your edna server or the connection at your client. Edna's less-than-robust basic-http-server implementation may play a part, but if your connection is anything like this:

windows XP machine running Edna on a random port --> XP firewall or Norton IS --> router --> cable modem --> Comcast --> internet cafe's T1 --> internet cafe's hardware firewall --> wireless AP --> ZoneAlarm --> Internet Explorer...

well, suffice it to say a lot of things could be causing a software abort like that. That thread i linked to has more information as it relates to IRC, but some of the suggestions apply and might fix your problem. Do you ever get that problem when the two PCs are on the same local network with software firewalling off? On a different port with a different web browser / mp3 player? Not sure if your problem is with Edna pages, mp3s served into a winamp m3u, or the XSPF inline player, but your browser, music player, and whatnot might factor into those cases as well.

Someone with more socket lib experience might have other ideas, but a firewall/internet connection issue seems possible.

-yoni

On 6/6/07, MaxSteel <maxsteel@...> wrote:
Lately, edna is pausing and then giving an error (As such) and then
continuing on as normal.  I don't know why?  I wouldn't know there was
a problem if it didn't hang there for a min or so.. as the results do
come back..

any thoughts?

error example:
----------------------------------------
Exception happened during processing of request from ('207.161.21.225', 2822)
Traceback (most recent call last):
  File "C:\Python24\lib\SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python24\lib\SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python24\lib\SocketServer.py", line 521, in __init__
    self.handle()
  File "C:\Python24\lib\BaseHTTPServer.py", line 314, in handle
    self.handle_one_request()
  File "C:\Python24\lib\BaseHTTPServer.py", line 308, in handle_one_request
    method()
  File "D:\edna_xspf\edna.py", line 361, in do_GET
    self._perform_GET()
  File "D:\edna_xspf\edna.py", line 606, in _perform_GET
    self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
  File "D:\edna_xspf\edna.py", line 722, in display_page
    template.generate(self.wfile, data)
  File "D:\edna_xspf\ezt.py", line 117, in generate
    self._execute(self.program, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 124, in _execute
    step[0](step[1], fp, ctx)
  File "D:\edna_xspf\ezt.py", line 134, in _cmd_if_any
    self._do_if(value, t_section, f_section, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 158, in _do_if
    self._execute(section, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 124, in _execute
    step[0](step[1], fp, ctx)
  File "D:\edna_xspf\ezt.py", line 168, in _cmd_for
    self._execute(section, fp, ctx)
  File "D:\edna_xspf\ezt.py", line 124, in _execute
    step[0](step[1], fp, ctx)
  File "D:\edna_xspf\ezt.py", line 128, in _cmd_print
    fp.write(_get_value(refname, ref, ctx))
  File "D:\edna_xspf\edna.py", line 1045, in write
    return self.wfile.write(s_buf)
  File "C:\Python24\lib\socket.py", line 256, in write
    self.flush()
  File "C:\Python24\lib\socket.py", line 243, in flush
    self._sock.sendall(buffer)
error: (10053, 'Software caused connection abort')
----------------------------------------
_______________________________________________
edna mailing list
edna@...
http://mailman.lyra.org/mailman/listinfo/edna


_______________________________________________
edna mailing list
edna@...
http://mailman.lyra.org/mailman/listinfo/edna

Re: hmmm new edna error, can anyone help??

by MaxSteel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for replying Yoni!

Hmm, well I found out why my listings were pausing, it's because I had
the disk intensive "retrieve tag info" bit set.  I've since turned it
off, because directories with more than 100
songs (ie: compilations) were taking too long to display (including searching).

It's too bad, that the tag information isn't stored/cached.. but I
guess that could take a loooong time to perform on a large collection.
 I liked having song length, and size in my listing, but alas, not a
deal breaker now that edna is FASST without it turned on.

As for the errors, I still get them randomly, since you've pointed out
that it's network I'll do some digging.  I mostly use edna internally
(intranet) as the searching is super fast, and it works great (plus
when other people are using it, they can't accidentally delete a
song..etc).

I'll play with some network stuff, it could be the windows xp
firewall.. I'll start there..

.\\ax


On 6/6/07, Yoni Samlan <yoni@...> wrote:

> http://trout.snt.utwente.nl/ubbthreads/ubbthreads.php?ubb=showflat&Number=38665&site_id=1#import
>
> I'm not going to look too deeply into edna's base http serving, but my
> thoughts: it probably has to do with either the network connection at your
> edna server or the connection at your client. Edna's less-than-robust
> basic-http-server implementation may play a part, but if your connection is
> anything like this:
>
> windows XP machine running Edna on a random port --> XP firewall or Norton
> IS --> router --> cable modem --> Comcast --> internet cafe's T1 -->
> internet cafe's hardware firewall --> wireless AP --> ZoneAlarm --> Internet
> Explorer...
>
> well, suffice it to say a lot of things could be causing a software abort
> like that. That thread i linked to has more information as it relates to
> IRC, but some of the suggestions apply and might fix your problem. Do you
> ever get that problem when the two PCs are on the same local network with
> software firewalling off? On a different port with a different web browser /
> mp3 player? Not sure if your problem is with Edna pages, mp3s served into a
> winamp m3u, or the XSPF inline player, but your browser, music player, and
> whatnot might factor into those cases as well.
>
> Someone with more socket lib experience might have other ideas, but a
> firewall/internet connection issue seems possible.
>
> -yoni
>
>
> On 6/6/07, MaxSteel <maxsteel@...> wrote:
> >
> > Lately, edna is pausing and then giving an error (As such) and then
> > continuing on as normal.  I don't know why?  I wouldn't know there was
> > a problem if it didn't hang there for a min or so.. as the results do
> > come back..
> >
> > any thoughts?
> >
> > error example:
> > ----------------------------------------
> > Exception happened during processing of request from ('207.161.21.225',
> 2822)
> > Traceback (most recent call last):
> >   File "C:\Python24\lib\SocketServer.py", line 463, in
> process_request_thread
> >     self.finish_request(request, client_address)
> >   File "C:\Python24\lib\SocketServer.py", line 254, in
> finish_request
> >     self.RequestHandlerClass(request, client_address, self)
> >   File "C:\Python24\lib\SocketServer.py", line 521, in
> __init__
> >     self.handle()
> >   File "C:\Python24\lib\BaseHTTPServer.py", line 314, in
> handle
> >     self.handle_one_request()
> >   File "C:\Python24\lib\BaseHTTPServer.py", line 308, in
> handle_one_request
> >     method()
> >   File "D:\edna_xspf\edna.py", line 361, in do_GET
> >     self._perform_GET()
> >   File "D:\edna_xspf\edna.py", line 606, in _perform_GET
> >     self.display_page(title, subdirs, pictures, plainfiles, songs,
> playlists)
> >   File "D:\edna_xspf\edna.py", line 722, in display_page
> >     template.generate(self.wfile, data)
> >   File "D:\edna_xspf\ezt.py", line 117, in generate
> >     self._execute(self.program, fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 124, in _execute
> >     step[0](step[1], fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 134, in _cmd_if_any
> >     self._do_if(value, t_section, f_section, fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 158, in _do_if
> >     self._execute(section, fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 124, in _execute
> >     step[0](step[1], fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 168, in _cmd_for
> >     self._execute(section, fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 124, in _execute
> >     step[0](step[1], fp, ctx)
> >   File "D:\edna_xspf\ezt.py", line 128, in _cmd_print
> >     fp.write(_get_value(refname, ref, ctx))
> >   File "D:\edna_xspf\edna.py", line 1045, in write
> >     return self.wfile.write(s_buf)
> >   File "C:\Python24\lib\socket.py", line 256, in write
> >     self.flush()
> >   File "C:\Python24\lib\socket.py", line 243, in flush
> >     self._sock.sendall(buffer)
> > error: (10053, 'Software caused connection abort')
> > ----------------------------------------
> > _______________________________________________
> > edna mailing list
> > edna@...
> > http://mailman.lyra.org/mailman/listinfo/edna
> >
>
>
_______________________________________________
edna mailing list
edna@...
http://mailman.lyra.org/mailman/listinfo/edna

Re: hmmm new edna error, can anyone help??

by Christophe Kalt-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jun 11, MaxSteel wrote:
| It's too bad, that the tag information isn't stored/cached.. but I
| guess that could take a loooong time to perform on a large collection.
| I liked having song length, and size in my listing, but alas, not a
| deal breaker now that edna is FASST without it turned on.

it would be "against" edna's style.
Been thinking about rewriting edna to address this and other
issues, have a prototype, but lacking time.
_______________________________________________
edna mailing list
edna@...
http://mailman.lyra.org/mailman/listinfo/edna

Re: hmmm new edna error, can anyone help??

by MaxSteel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

cool! let me know if you need a beta tester!

On 6/11/07, Christophe Kalt <edna@...> wrote:

> On Jun 11, MaxSteel wrote:
> | It's too bad, that the tag information isn't stored/cached.. but I
> | guess that could take a loooong time to perform on a large collection.
> | I liked having song length, and size in my listing, but alas, not a
> | deal breaker now that edna is FASST without it turned on.
>
> it would be "against" edna's style.
> Been thinking about rewriting edna to address this and other
> issues, have a prototype, but lacking time.
> _______________________________________________
> edna mailing list
> edna@...
> http://mailman.lyra.org/mailman/listinfo/edna
>
_______________________________________________
edna mailing list
edna@...
http://mailman.lyra.org/mailman/listinfo/edna

Re: hmmm new edna error, can anyone help??

by pburma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So I do not know if this is everyone's problem but I was able to solve this myself.

The exception message occured on my end whenever I had a folder that ended in a .foo where foo was a music file extension. For example "Some Artist - Some Album.mp3".

After I removed all the .mp3 text from my folder names I never saw the exception message again. Now what is strange about this error is sometimes the page listing the folders came up, but usually it did not. So it was a little quirky.

My guess is that someone (Python or Edna) is reading the .mp3 as a file when it is a directory hence the exception gets thrown as it is not a readable file but in fact a directory.

Here is my exact message in case anyone cares.

Traceback (most recent call last):
  File "/tmp/python.6884/usr/lib/python2.5/SocketServer.py", line 464, in process_request_thread
    self.finish_request(request, client_address)
  File "/tmp/python.6884/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/tmp/python.6884/usr/lib/python2.5/SocketServer.py", line 522, in __init__
    self.handle()
  File "/tmp/python.6884/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/tmp/python.6884/usr/lib/python2.5/BaseHTTPServer.py", line 299, in handle_one_request
    self.raw_requestline = self.rfile.readline()
  File "/tmp/python.6884/usr/lib/python2.5/socket.py", line 346, in readline
    data = self._sock.recv(self._rbufsize)
error: (104, 'Connection reset by peer')


MaxSteel wrote:
cool! let me know if you need a beta tester!

On 6/11/07, Christophe Kalt <edna@klb.taranis.org> wrote:
> On Jun 11, MaxSteel wrote:
> | It's too bad, that the tag information isn't stored/cached.. but I
> | guess that could take a loooong time to perform on a large collection.
> | I liked having song length, and size in my listing, but alas, not a
> | deal breaker now that edna is FASST without it turned on.
>
> it would be "against" edna's style.
> Been thinking about rewriting edna to address this and other
> issues, have a prototype, but lacking time.
> _______________________________________________
> edna mailing list
> edna@lyra.org
> http://mailman.lyra.org/mailman/listinfo/edna
>
_______________________________________________
edna mailing list
edna@lyra.org
http://mailman.lyra.org/mailman/listinfo/edna
LightInTheBox - Buy quality products at wholesale price