Bug 6297 - Weird character displayed in SC and SB3
: Weird character displayed in SC and SB3
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Display
: 7.0
: PC Windows Vista
: P2 normal (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-08 15:00 UTC by Lim Chiau Wu
Modified: 2008-12-18 11:12 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Favorite internet radio editing before save (26.89 KB, image/jpeg)
2007-12-09 15:24 UTC, Lim Chiau Wu
Details
Favorite internet radio editing after save (22.57 KB, image/jpeg)
2007-12-09 15:25 UTC, Lim Chiau Wu
Details
Infobrowser.opml in SC 7.0a1 (752 bytes, text/plain)
2007-12-13 04:44 UTC, Lim Chiau Wu
Details
Favorites opml for verifying on weird character display in SC (3.12 KB, text/plain)
2007-12-14 06:49 UTC, Lim Chiau Wu
Details
unable to load favorite edit page (29.37 KB, image/jpeg)
2008-01-09 12:44 UTC, Lim Chiau Wu
Details
server.log after clicking on edit at favorite (113.50 KB, text/plain)
2008-01-10 00:05 UTC, Lim Chiau Wu
Details
another server.log after removing third party plugin (226.63 KB, text/plain)
2008-01-10 00:41 UTC, Lim Chiau Wu
Details
another server.log after i enter http://127.0.0.1:9000/home.html (260.68 KB, text/plain)
2008-01-10 00:46 UTC, Lim Chiau Wu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lim Chiau Wu 2007-12-08 15:00:44 UTC
I have no problem to rename favorite radio stations with special character, i.e. chinese in SN and display correctly in both SN and SB3.

However, it was not the case in SC, wierd characters being shown. Is it a bug?

Auronthas
Comment 1 Andy Grundman 2007-12-09 11:22:04 UTC
Can you post a screenshot?
Comment 2 Lim Chiau Wu 2007-12-09 15:24:40 UTC
Created attachment 2489 [details]
Favorite internet radio editing before save
Comment 3 Lim Chiau Wu 2007-12-09 15:25:12 UTC
Created attachment 2490 [details]
Favorite internet radio editing after save
Comment 4 Lim Chiau Wu 2007-12-09 15:26:48 UTC
Andy,

Screenshots have been posted for your checking. Tq
Comment 5 Andy Grundman 2007-12-09 15:52:08 UTC
Thanks, we'll look at it.
Comment 6 Michael Herger 2007-12-10 01:21:58 UTC

*** This bug has been marked as a duplicate of 5173 ***
Comment 7 Lim Chiau Wu 2007-12-10 02:22:03 UTC
Michael, 

Please do inform when the bug in 5173 is fixed for SC v.7.0a1. 

TIA

auronthas
Comment 8 Michael Herger 2007-12-13 03:48:24 UTC
re-opening as bug 5173 is for SS6's prefs favorites. In SC7 favorites aren't stored in the preference file any more, so this is a different issue.
Comment 9 Michael Herger 2007-12-13 04:01:58 UTC
auronthas - could you please provide us with some more information:

- what operating system is SC7 running on?
- what browser are you using to edit the favorites?
- please upload your favorites.opml file (you'll find it in the playlist folder)
- what are your language settings
Comment 10 Lim Chiau Wu 2007-12-13 04:44:54 UTC
Created attachment 2522 [details]
Infobrowser.opml in SC 7.0a1

OS - Window Vista
Browser - IE 7.0

There is no favorites.opml in playlist, but i can find only infobrowser.opml as attached.

My language setting is English(Malaysia)
Comment 11 Michael Herger 2007-12-13 04:56:51 UTC
If you don't have a favorites.opml, then there's something wrong anyway. That's where the favorites are stored. Please verify the playlists setting and search your disk for the favorites.opml.

You're browsing from the same machine as you're running SC on? And you're running the latest nightly build?
Comment 12 Lim Chiau Wu 2007-12-13 16:58:34 UTC
(In reply to comment #11)
> If you don't have a favorites.opml, then there's something wrong anyway. That's
> where the favorites are stored. Please verify the playlists setting and search
> your disk for the favorites.opml.
> You're browsing from the same machine as you're running SC on? And you're
> running the latest nightly build?

My SC (nightly build 13 Nov) is installed at Slimserver rather than Squeezecenter, I have searched the entire Slimserver directory, couldn't find favorites.opml.  There is only default.opml and infobrowser.opml.

Yes, same machine for browsing and running SC.  Everything seems to work stable in SC except the favorite editing in chinese character.  I may try to download latest SC this weekend, I would check if there is favorites.opml.
Comment 13 Lim Chiau Wu 2007-12-13 17:01:01 UTC
Or do i need to use 'debug' on under advanced settings to able to display favorites.opml?
Comment 14 Michael Herger 2007-12-13 23:03:51 UTC
Is your playlist folder pointing to the same folder as the music folder?
Please turn on favorites logging (Settings->Advanced->Logging) and edit the favorites list. You should then see if there's a problem writing out that file.
Comment 15 Lim Chiau Wu 2007-12-14 06:49:45 UTC
Created attachment 2531 [details]
Favorites opml for verifying on weird character display in SC

Michael, you are absolutely right, found the favorite.opml file in my music folder. Attached please find the file for your verifying.
Comment 16 Michael Herger 2007-12-17 00:57:48 UTC
Could you please update to the very latest SC build and try again. Yours is more than a month old.
Comment 17 Lim Chiau Wu 2007-12-20 03:05:14 UTC
(In reply to comment #16)
> Could you please update to the very latest SC build and try again. Yours is
> more than a month old.

I just updated my latest SC build (20 Dec). The problem still persist.
Comment 18 Michael Herger 2008-01-04 07:18:29 UTC
change 15871 - could you please give it another try (01-05 nightly), thanks
Comment 19 Lim Chiau Wu 2008-01-07 13:56:35 UTC
I installed nightly build 6 Jan yesterday. When i click on the edit icon at
favorite, it leads me to a blank page on the left pane. When I hit refresh, it
is back to Home. I have tried few times, even shutdown and restart, same
result.
Comment 20 Michael Herger 2008-01-07 14:06:44 UTC
Can you open http://yourserver:9000/home.html and navigate from there? This will allow to reload that specific page. MSIE often doesn't refresh the frames, but only the main document.

And do you see some error message in server.log?
Comment 21 Michael Herger 2008-01-09 00:55:04 UTC
change 16051 moved the fix to the global http handler
Comment 22 Lim Chiau Wu 2008-01-09 08:13:00 UTC
installed 9 Jan (16051) just now, i still facing a blank page on left pane after clicking the edit icon at favorite.
Comment 23 Michael Herger 2008-01-09 08:48:29 UTC
Please clear your browser's cache and see message #20...
Comment 24 Lim Chiau Wu 2008-01-09 12:44:38 UTC
Created attachment 2638 [details]
unable to load favorite edit page

I did clear browser cache before i installed 9 Jan nightly.  

I did another round of clearing browser cache and type in http://127.0.0.1:9000/home.html, still after clicking on the edit icon at favorite leads me to unloaded page at (http://127.0.0.1:9000/plugins/Favorites/index.html?fav)as per above screenshot shown.
Comment 25 Michael Herger 2008-01-09 14:07:10 UTC
What about the server.log file?
Comment 26 Lim Chiau Wu 2008-01-10 00:05:25 UTC
Created attachment 2640 [details]
server.log after clicking on edit at favorite

Server.log shown the following:-

[08-01-10 15:54:57.3431] Slim::Plugin::Favorites::Plugin::indexHandler (286) new favorites editing session
[08-01-10 15:55:21.9463] Slim::Networking::Async::HTTP::_http_read (279) Error reading headers: Server closed connection without sending any data back at /<C:\PROGRA~1\SLIMSE~1\server\SQUEEZ~1.EXE>Net/HTTP/Methods.pm line 306.
	...propagated at /<C:\PROGRA~1\SLIMSE~1\server\SQUEEZ~1.EXE>Net/HTTP/NB.pm line 32.
[08-01-10 15:55:21.9470] Slim::Networking::Async::HTTP::_http_error (264) Error: [Error reading headers: Server closed connection without sending any data back at /<C:\PROGRA~1\SLIMSE~1\server\SQUEEZ~1.EXE>Net/HTTP/Methods.pm line 306.
	...propagated at /<C:\PROGRA~1\SLIMSE~1\server\SQUEEZ~1.EXE>Net/HTTP/NB.pm line 32.
]

What's error suppose to mean? My SC is running steadily.

TIA
Comment 27 Michael Herger 2008-01-10 00:27:15 UTC
All I see in this log is a whole bunch of problems with the scrobbler plugin. Please remove any third party plugin and try again.
Comment 28 Michael Herger 2008-01-10 00:29:31 UTC
One more thing: after you've removed the plugins, set logging for network.http=debug, try to load the favorites page, shut down SC and upload the log. Make sure you turn off logging after this test as it otherwise will fill your disk :)
Comment 29 Lim Chiau Wu 2008-01-10 00:41:58 UTC
Created attachment 2641 [details]
another server.log after removing third party plugin
Comment 30 Lim Chiau Wu 2008-01-10 00:46:21 UTC
Created attachment 2642 [details]
another server.log after i enter http://127.0.0.1:9000/home.html
Comment 31 Michael Herger 2008-01-10 01:41:45 UTC
This very likely is no bug, but some oddity on your system. Please contact support or start a thread in the forums.

Here's what I've found in your log file:

[08-01-10 16:36:12.4193] Slim::Web::HTTP::_generateContentFromFile (2257) generating from plugins/Favorites/html/favorites.js with type: get
[08-01-10 16:36:12.4271] Slim::Web::HTTP::fixHttpPath (2392) Couldn't find path: plugins/Favorites/html/favorites.js

...which means it was able to load the favorites page, but didn't find the javascript file. Don't you see the page on the screen?

One reason for this might be the following entry:

Found path C:\PROGRA~1\SLIMSE~1\server\Slim\Plugin\Favorites(19)\HTML\EN\plugins\Favorites\index.html

What's that "(19)" behind the Favorites foldername? Is it really there? Can you browse that folder in Windows Explorer? Do you find that index.html file, but not the .js?
Comment 32 Lim Chiau Wu 2008-01-10 02:35:49 UTC
Thanks Michael for highlighting the problem.

I do find  favorite.js under C:\Program Files\SlimServer\server\Slim\Plugin\Favorites\HTML\EN\plugins\favorites\html.

But i don't know how does the existence of folder Favorite(19) (i.e. C:\Program Files\SlimServer\server\Slim\Plugin\Favorites(19)). There is no .js in this directory and subdirectory.

Should i delete this folder -> Favorites(19) using Window Explorer?

Thanks again.
Comment 33 Michael Herger 2008-01-10 03:38:02 UTC
If you're sure you got all the files which are in the ...(19) folder in the Favorites folder, too, then yes, remove it. otherwise copy the missing items to the correct folder and try again.
Comment 34 Lim Chiau Wu 2008-01-10 04:15:56 UTC
Thanks, Michael.

I have started a new thread 'Weird favorite folder' under Development\Beta. 
Comment 35 Lim Chiau Wu 2008-01-11 07:08:09 UTC
I can see chinese text after edit and save favorite.

Case closed.
Comment 36 Chris Owens 2008-03-07 09:04:28 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.