Bug 12211 - "Error: missing string 1" when scanning
: "Error: missing string 1" when scanning
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.0
: All Other
: -- normal (vote)
: 7.6.0
Assigned To: Andy Grundman
: SQLite
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-30 08:45 UTC by Michael Herger
Modified: 2011-04-29 15:20 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2009-05-30 08:45:59 UTC
Slim::Music::Import->stillScanning() used to return a string token describing the scan type (full, rescan, playlist), now in the SQLite branch it's only returning 1 or 0.

Old in S::M::I::launchscan():

# Update a DB flag, so the server knows we're scanning.
$class->setIsScanning($scanType);

New in S::Schema::notifyFromScanner:
Slim::Music::Import->setIsScanning(1);

This value is returned to the Settings/Status web page (and other places) to be expanded to the full string. Obviously it fails.
Comment 1 Michael Herger 2009-07-06 00:09:48 UTC
*** Bug 12673 has been marked as a duplicate of this bug. ***
Comment 2 Andy Grundman 2009-07-29 14:40:44 UTC
Moving all SQLite-related bugs to 8.0.
Comment 3 Andy Grundman 2011-01-12 12:07:54 UTC
Pretty sure this got fixed.
Comment 4 Paul Chandler 2011-04-29 15:20:50 UTC
Have done multiple scans and not received this error in 7.6.32376