Nachtrag:
Nachdem ich weiter probiert habe, fand ich raus, dass zwingend ein Pfad
mit angegeben werden muss -> eine entsprechende Fehlermeldung wäre hier
mehr als hilfreich!

Beispiel:
scanner.exe --cleanup --progress e:\mp3

Nur führte das beim ersten Aufruf zu folgender Fehlerorgie:

Couldn't connect to database, "" at /PerlApp/DBIx/Migration.pm line
156.
2007-01-07 17:27:44.2343 ERROR: Can't find source for MetaInformation
2007-01-07 17:27:44.2349 ERROR: Backtrace follows:

2007-01-07 17:27:44.2356 Backtrace:

frame 0: Slim::Schema::throw_exception
(/PerlApp/DBIx/Class/Schema.pm line 150)
frame 1: DBIx::Class::Schema::source (/PerlApp/DBIx/Class/Schema.pm
line 190)
frame 2: DBIx::Class::Schema::resultset (/PerlApp/Slim/Schema.pm
line 431)
frame 3: Slim::Schema::rs (/PerlApp/Slim/Music/Import.pm line 235)
frame 4: Slim::Music::Import::__ANON__
(/PerlApp/DBIx/Class/Schema.pm line 584)
frame 5: (eval) (/PerlApp/DBIx/Class/Schema.pm line 572)
frame 6: DBIx::Class::Schema::txn_do (/PerlApp/Slim/Music/Import.pm
line 241)
frame 7: (eval) (/PerlApp/Slim/Music/Import.pm line 233)
frame 8: Slim::Music::Import::setIsScanning (scanner.pl line 303)
frame 9: main::cleanup (/PerlApp/Slim/bootstrap.pm line 300)
frame 10: Slim::bootstrap::sigint (/PerlApp/Slim/bootstrap.pm line
331)
frame 11: Slim::bootstrap::END (scanner.pl line 0)
frame 12: (eval) (scanner.pl line 0)

Use of uninitialized value in hash element at
/PerlApp/DBIx/Class/Schema.pm line 152.
2007-01-07 17:27:44.2391 ERROR: Can't call method "resultset" on an
undefined value at /PerlApp/DBIx/Class/Schema.pm line 190.

2007-01-07 17:27:44.2397 ERROR: Backtrace follows:

2007-01-07 17:27:44.2402 Backtrace:

frame 0: Slim::Schema::throw_exception
(/PerlApp/DBIx/Class/Schema.pm line 606)
frame 1: DBIx::Class::Schema::txn_do (/PerlApp/Slim/Music/Import.pm
line 241)
frame 2: (eval) (/PerlApp/Slim/Music/Import.pm line 233)
frame 3: Slim::Music::Import::setIsScanning (scanner.pl line 303)
frame 4: main::cleanup (/PerlApp/Slim/bootstrap.pm line 300)
frame 5: Slim::bootstrap::sigint (/PerlApp/Slim/bootstrap.pm line
331)
frame 6: Slim::bootstrap::END (scanner.pl line 0)
frame 7: (eval) (scanner.pl line 0)

2007-01-07 17:27:44.2415 ERROR: forceCommit: Trying to commit
transactions before DB is initialized!


Die ganzen Fehlermeldungen könnte man mit einem Satz erschlagen:
"Keine Verbindung zur DB möglich - sie ist aktuell in Gebrauch!"

-> Ich hatte tatsächlich noch den MySQLQueryBrowser offen.


-- 
PatPowerMan
------------------------------------------------------------------------
PatPowerMan's Profile: http://forums.slimdevices.com/member.php?userid=9254
View this thread: http://forums.slimdevices.com/showthread.php?t=31351

_______________________________________________
slimserver-de mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/slimserver-de

Antwort per Email an