#293: Better information on shout login failure
-------------------------+--------------------------------------------------
  Reporter:  mrpingouin  |       Owner:  admin   
      Type:  Bugs        |      Status:  reopened
  Priority:  1           |   Milestone:          
 Component:  Liquidsoap  |     Version:          
Resolution:              |    Keywords:          
       Mac:  1           |       Linux:  1       
    Netbsd:  1           |       Other:  1       
   Freebsd:  1           |  
-------------------------+--------------------------------------------------
Changes (by mrpingouin):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Here is the kind of log that I get with the latest cry and liquidsoap:

 {{{
 $ src/liquidsoap --no-pervasives
 'output.icecast.vorbis(mount="bite.ogg",blank())'
 2009/09/11 11:45:18 >>> LOG START
 2009/09/11 11:45:18 [protocols.external:3] Didn't find "ufetch"
 2009/09/11 11:45:18 [protocols.external:3] Found "/usr/bin/wget"
 2009/09/11 11:45:18 [main:3] Liquidsoap 0.9.1+svn
 (trunk/liquids...@rev6727)
 2009/09/11 11:45:18 [threads:3] Created thread "generic queue #1".
 2009/09/11 11:45:18 [root:3] Waking up active nodes...
 2009/09/11 11:45:18 [bite(dot)ogg:3] Connecting mount bite.ogg for
 sou...@localhost...
 2009/09/11 11:45:18 [threads:3] Created thread "root" (1 total).
 2009/09/11 11:45:18 [bite(dot)ogg:2] Connection failed: not connected
 2009/09/11 11:45:18 [threads:1] Thread "root" aborts with exception
 Cry.Error(6)!
 2009/09/11 11:45:18 [main:3] Shutdown started!
 2009/09/11 11:45:18 [main:3] Waiting for threads to terminate...
 Thread 3 killed on uncaught exception Cry.Error(6)
 2009/09/11 11:45:18 [main:3] Cleaning downloaded files...
 2009/09/11 11:45:18 >>> LOG END
 }}}

 Cry.Error(6) is not informative, so I reopen the ticket. Before ocaml-cry,
 the message was not great, saying it was either a mispelled password,
 hostname or whatever. But at least it was readable and a bit helpful.

 Also, if possible I would like to avoid violent deaths of threads in
 "normal" situations like this. I'm not sure that we can get this easily,
 but this should not look like a bug.

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/293#comment:4>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to