2014-05-29, 08:08
Hei,
I'm using windows 8 and Strawberry Pearl. I end up with similar problem to Scorrsburg.
I don't get how to solve it. And I dont understand how to implement Scottsburg solution. Kinda new when it comes to programing,
Any help would be much appericiated.
Many Thx
I'm using windows 8 and Strawberry Pearl. I end up with similar problem to Scorrsburg.
(2012-12-09, 15:41)cliffe Wrote:(2012-12-09, 06:55)Scottsburg Wrote:Code:DBM::Deep: Cannot sysopen file '/.tvdb.db': Permission denied
I found reference to this error in the thread way back in 2010, but the only solution then was to setup the config file so the script doesn't require a connection to TheTVDB. However when I do that (no file renaming, no downloading artwork) I get this error message:
Code:Can't call method "getSeries" on an undefined value at ./SortTV/sorttv.pl line 1705
Check the permissions on sorttv/.cache/.tvdb.db
Perhaps try setting the permissions as liberally as possible (Grant Everyone all permissions to everything in .cache). See if that helps, and set the permissions to something that makes sense afterwards.
(2012-12-10, 01:07)Scottsburg Wrote: I debugged 'sorttv.pl' and the script was stopping at line #294The directory ".cache" and the file ".tvdb.db" were not being created at all. I looked through the code for TVDB::API and it tries to create it's database file as soon as an instance is called, using the default location "$ENV{HOME}/.tvdb.db"Code:$tvdb = TVDB::API::new($TVDBAPIKEY);
In the code for 'sorttv.pl', after the new $tvdb instance is created, the script then creates the '.cache' directory and sets that folder as the location for the $tvdb database. I assumed there was some kind of permission issue going on that didn't allow the code in TVDB::API to create the database in the location it wanted, so I just commented out a line in '/strawberry/perl/site/lib/TVDB/API.pm' - line #74Code:$self->setCacheDB($args->{cache});
I don't get how to solve it. And I dont understand how to implement Scottsburg solution. Kinda new when it comes to programing,
Any help would be much appericiated.
Many Thx