Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2008, 01:01 PM   #1
Klaatu
Member
Klaatu doesn't litterKlaatu doesn't litter
 
Klaatu's Avatar
 
Posts: 21
Karma: 110
Join Date: Nov 2007
Device: Sony Reader PRS-505
Restore libprs500 library from backup

I recently did an erase and install of Mac OS X and I am now trying to restore my libprs500 library from a backup but the app is not letting me place the library db file where I want it.

I am using version 0.4.43, and if I leave my library db file at the root of my home folder it works fine. However I do not want the file there. I want to place it on a path that is in my Documents folder.

When I attempt to tell libprs500 where to put the file it throws the error message
Quote:
'NoneType' object has no attribute 'close'
with an OK button. The app creates an empty db file on the specified path but then defaults back to the file at the root of my home folder.

If I try to place my db file on the path I want and point the app there I get the error
Quote:
local variable 'src' referenced before assignment
with an OK button.

What am I doing wrong here? Any help will be appreciated.

Best regards,
Michael
Klaatu is offline   Reply With Quote
Old 03-23-2008, 02:27 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,619
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm there was a bit of refactoring that might have messed this up. Post the complete error message.
kovidgoyal is online now   Reply With Quote
Old 03-23-2008, 03:13 PM   #3
Klaatu
Member
Klaatu doesn't litterKlaatu doesn't litter
 
Klaatu's Avatar
 
Posts: 21
Karma: 110
Join Date: Nov 2007
Device: Sony Reader PRS-505
Those are the complete error messages. I don't get anything else. But here is the console log from my last attempt to change the location of the default library:

3/23/08 12:11:35 PM [0x0-0x204204].net.kovidgoyal.librs500[3702] File "/Applications/libprs500.app/Contents/Resources/main.py", line 853, in do_config
3/23/08 12:11:35 PM [0x0-0x204204].net.kovidgoyal.librs500[3702] File "libprs500/gui2/library.pyo", line 464, in close
Klaatu is offline   Reply With Quote
Old 03-23-2008, 04:19 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,619
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Odd, I'll look into it in a bit, but you could just use a symlink in the meantime.

Move the library1.db to wherever you want, say /ebooks/library1.db

Then
Code:
ln -s /ebooks/library1.db ~/library1.db
kovidgoyal is online now   Reply With Quote
Old 03-27-2008, 02:19 AM   #5
Klaatu
Member
Klaatu doesn't litterKlaatu doesn't litter
 
Klaatu's Avatar
 
Posts: 21
Karma: 110
Join Date: Nov 2007
Device: Sony Reader PRS-505
I see you've released a new version of libprs500. It fixes the problem I was having. Thank you for the quick turn around.

Regards,
Michael
Klaatu is offline   Reply With Quote
Old 03-27-2008, 02:23 PM   #6
thegpc
Junior Member
thegpc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2008
Device: Sony PRS-500
I am having an issue with the newest version of it, the 44 version. I installed it and now nothing will open or operate. I have been using it since the mid 30's versions and have had very few problems. I can get the lrfviewer up and running but not the actual program itself. Any suggestions? No error mesages to report...
thegpc is offline   Reply With Quote
Old 03-27-2008, 02:29 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,619
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There should be another update soon to fix this.
kovidgoyal is online now   Reply With Quote
Old 03-27-2008, 03:09 PM   #8
thegpc
Junior Member
thegpc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2008
Device: Sony PRS-500
You rock man. Thanks.
thegpc is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Successful hack - backup & restore of markups, possible solution for researchers metaman Sony Reader 6 03-07-2013 10:52 AM
[Old Thread] Calibre Backup and Restore Timber Calibre 21 06-01-2011 07:31 PM
PRS-600 Backup and Restore of Notes raymondchen625 Sony Reader 1 12-20-2009 11:49 PM
Backup notes & restore thibaulthalpern Sony Reader 10 04-01-2009 10:31 PM
iLiad Backup / Restore ? ce3po iRex Developer's Corner 3 11-18-2007 05:53 PM


All times are GMT -4. The time now is 11:11 AM.


MobileRead.com is a privately owned, operated and funded community.