Bug 10340 - Errors in log when using web UI/browsing New Music
: Errors in log when using web UI/browsing New Music
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.3.1
: PC RedHat Linux
: -- minor (vote)
: 7.4.0
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-15 11:36 UTC by Gordon Harris
Modified: 2009-07-29 17:06 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments
Zip file containing logs demonstrating the problem (40.68 KB, application/octet-stream)
2008-12-15 11:39 UTC, Gordon Harris
Details
Zipped server.log with error messages from Chrome, Firefox & Safari (6.25 KB, application/octet-stream)
2008-12-16 20:37 UTC, Gordon Harris
Details
Zipped server.prefs file (5.08 KB, application/octet-stream)
2008-12-17 18:17 UTC, Gordon Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Harris 2008-12-15 11:36:18 UTC
With 7.3.1, svn 24301, running on Fedora 10, browsing the web UI from a Windows XP client using Google Chrome:

If, after starting SC, the user browses New Music or Genres->Some Genre->Some Artist WITHOUT having first browsed Albums, the log shows many, many error messages complaining that a HTML template requires an argument that has not been initialized.

If the user first browses Albums and THEN browses New Music or Genres->Some Genre->Some Artist, no errors occur.

So...something is getting initialized in the Album view that isn't getting initialized in the New Music or Genre->Artist view.

Please see the attached zip file containing logs demonstrating this.  server.log.2 is annotated to show which error messages correspond to which actions.
Comment 1 Gordon Harris 2008-12-15 11:39:42 UTC
Created attachment 4446 [details]
Zip file containing logs demonstrating the problem
Comment 2 James Richardson 2008-12-15 13:57:53 UTC
*** Bug 10341 has been marked as a duplicate of this bug. ***
Comment 3 Jordan Hirsch 2008-12-15 14:02:00 UTC
Is 10341 really a duplicate of this?  I don't get the same error messages in my log file, and browsing to "Albums" first does not alleviate the problem in my situation.
Comment 4 Michael Herger 2008-12-16 05:32:04 UTC
Do you have cookies disabled in your browser or are you using some kind of "privacy" protecting application? I still can't reproduce the issue.
Comment 5 James Richardson 2008-12-16 08:06:06 UTC
Ross, are you able to verify this bug
Comment 6 Gordon Harris 2008-12-16 12:48:50 UTC
No privacy stuff.  Just running plain-jane anti-virus (Windows Live Onecare) on this Windows XP Pro box.  I'll test from my Mac Mini using Safari as the browser and report if it causes the same error messages in the same circumstances as Chrome seems to from this Windows client.


Comment 7 Gordon Harris 2008-12-16 12:51:18 UTC
Also, Chrome is set to "Allow all cookies".
Comment 8 Gordon Harris 2008-12-16 20:35:53 UTC
I'm seeing the same error messages in the log regardless of what web browser I'm using and regardless of which platform the client is browsing from.  Attached is a new server log covering browser sessions from 1). Google Chrome from Windows XP; 2). Firefox 3.04 from Windows XP and 3). Safari from Mac OSX.
Comment 9 Gordon Harris 2008-12-16 20:37:17 UTC
Created attachment 4462 [details]
Zipped server.log with error messages from Chrome, Firefox & Safari
Comment 10 Ross Levine 2008-12-17 12:37:16 UTC
I'm not able to reproduce this with 7.3.1 - 24324. How consistently can you reproduce this? 
Comment 11 Gordon Harris 2008-12-17 17:33:46 UTC
I can reproduce this with absolute consistently.  The ONLY time these errors don't show up in the log is when I browse Music Library->Albums first.  In EVERY other instance (Music Library->New Music; Music Library->Genres->Some Genre->Some Artist, etc.) the errors are emitted.


Comment 12 Gordon Harris 2008-12-17 17:39:45 UTC
These errors seem to be independent of the audio file type being browsed.  I.E. both whole-album flacs with embedded cues and single track per file mp3s both cause the error to be emitted.

Comment 13 Ross Levine 2008-12-17 17:48:26 UTC
Thanks Gordon. Can you please share the music directory path? Any foreign characters, network drive, anything else that could cause something unusual like this? As mentioned I don't see this on a new virtual image of FC10 (accessing from XP machine with Chrome). I'm hoping more details about your setup will help us track down the problem; thanks again!
Comment 14 Gordon Harris 2008-12-17 18:16:51 UTC
Re foreign characters in paths: yes, for some.  But none of the paths that I'm accessing that produce these errors have them.  E.g.

/mnt/media/Music/g_German_Baroque/Bach, J S

which has no diacritics, produces the errors.

I'll attach my server.prefs so you can see all the details.

One thing you won't see in there:  all the music flacs are stored on a NTFS formatted drive that's mounted via ntfs-3g:

/dev/sdb1	/mnt/media	ntfs-3g	rw,defaults,noatime,umask=0000 0 0
/dev/sdc1	/mnt/backup	ntfs-3g	rw,defaults,noatime,umask=0000 0 0

I'd be surprised if this ends up being the culprit though.  NTFS via ntfs-3g seems completely transparent to the OS.

Comment 15 Gordon Harris 2008-12-17 18:17:42 UTC
Created attachment 4468 [details]
Zipped server.prefs file
Comment 16 Ross Levine 2009-02-04 13:13:31 UTC
Michael, does this line in the log mean anything to you?

[08-12-12 12:58:45.8290] Slim::Utils::Misc::msg (1126) Warning: [12:58:45.8285] Use of uninitialized value in sysread at /usr/share/squeezecenter_trunk/server/Slim/Player/Protocols/File.pm line 216.


Comment 17 Michael Herger 2009-02-04 13:32:06 UTC
I'm sorry, no déjà vu. For protocol stuff Andy and Alan are a better bet.
Comment 18 Ross Levine 2009-02-04 13:46:46 UTC
Andy or Alan, can you help me understand this log? 
Comment 19 Andy Grundman 2009-02-04 13:48:44 UTC
The sysread warning is fixed a few weeks ago, please update to the latest 7.3.3 nightly.
Comment 20 Chris Owens 2009-03-16 09:43:28 UTC
We are now planning to make a 7.3.3 release.  Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future.

Thanks!
Comment 21 Ross Levine 2009-03-16 16:00:50 UTC
Gordon, do you still see this after the updates Andy mentions?
Comment 22 Ross Levine 2009-07-29 17:06:10 UTC
Please feel free to re-open, we believe this is fixed.