Bug 17764 - Embedded LMS fails to switch between sources
: Embedded LMS fails to switch between sources
Status: CLOSED FIXED
Product: SB Touch
Classification: Unclassified
Component: TinySC
: 7.7.0
: All Linux (other)
: P1 major (vote)
: 7.7.1
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-15 23:54 UTC by Michael Herger
Modified: 2011-12-13 22:59 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
backtrace from the crash (3.49 KB, text/plain)
2011-11-16 00:03 UTC, Michael Herger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2011-11-15 23:54:47 UTC
I've been using the embedded server running off a SD card. Later on I removed the card and plugged in a USB disk. While the prefs.json file was updated correctly by SP, LMS fails to start, as it's trying to open the DB as defined in server.prefs before prefs.json is evaluated. Thus still trying to access the SD card.
Comment 1 Michael Herger 2011-11-16 00:03:28 UTC
Created attachment 7566 [details]
backtrace from the crash
Comment 2 SVN Bot 2011-11-16 03:18:03 UTC
 == Auto-comment from SVN commit #33708 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33708 ==

Fixed Bug: 17764
Description: when changing the librarycachedir value we need to reset dbsource in order for the DB handler to re-initialize the value. Otherwise it would try to use the old value, potentially pointing to a no longer available storage device.
Comment 3 Dinanath Kumar Singh 2011-12-13 22:59:19 UTC
Verification passed on LMS 7.7.1 r33735, Verified with USB PEN DRIVE and HSSD card with different media sources.