miyagawa / remedie

perl based pluggable media center application
http://remediecode.org/
121 stars 13 forks source link

Can't open SQLite database when launched via .app #120

Closed miyagawa closed 15 years ago

miyagawa commented 15 years ago

It's reproducible but can't be reproduced when it's launched from the command line with local::lib set to my ~/perl5. This also happens recently, since 0.5.4 or so.

This fact lets me believe that something has changed in its bundled library, like DBD::SQLite.

miyagawa commented 15 years ago

closing dbh with active statement handles at /Users/miyagawa/dev/remedie/bundle-build/Remedie Server.app/Contents/Resources/bin/../cpanlib/lib/perl5/Rose/DB.pm line 853.

DBD::SQLite::st execute failed: unable to open database file(1) at dbdimp.c line 402 at /Users/miyagawa/dev/remedie/bundle-build/Remedie Server.app/Contents/Resources/bin/../cpanlib/lib/perl5/Rose/DB/Object.pm line 892.update() - DBD::SQLite::st execute failed: unable to open database file(1) at dbdimp.c line 402 at /Users/miyagawa/dev/remedie/bundle-build/Remedie Server.app/Contents/Resources/bin/../cpanlib/lib/perl5/Rose/DB/Object.pm line 892. at /Users/miyagawa/dev/remedie/bundle-build/Remedie Server.app/Contents/Resources/bin/../lib/Plagger/Plugin/Store/Remedie.pm line 85

miyagawa commented 15 years ago

Fixed by upgrading local::lib and rebuilding the binary.