10-10-2011, 04:10 AM | #1 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
calibredb
Greetings,
I've finally decided to dig in to calibredb. However, whenever I run calibredb, no matter what options or even just the command alone, I get: error using calibredb Traceback (most recent call last): File "/usr/bin/calibredb", line 19, in <module> sys.exit(main()) File "/mnt/installs/iomari/work/calibre/src/calibre/library/cli.py", line 1187, in main return command(args[2:], dbpath) File "/mnt/installs/iomari/work/calibre/src/calibre/library/cli.py", line 547, in command_export do_export(get_db(dbpath, opts), ids, dir, opts) File "/mnt/installs/iomari/work/calibre/src/calibre/library/cli.py", line 50, in get_db dbpath = os.path.abspath(dbpath) File "/usr/lib/python2.7/posixpath.py", line 343, in abspath if not isabs(path): File "/usr/lib/python2.7/posixpath.py", line 53, in isabs return s.startswith('/') AttributeError: 'NoneType' object has no attribute 'startswith' I'm using the latest source and have been using it with no probs for some time now. My OS is opensuse 11.4. Any ideas anyone? |
10-10-2011, 04:34 AM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Is this using the Calibre distirubtion from the Calibre site, or the one that came with OpenSuse? I am only asking as I thought the official Calibre distribution from the Calibre site went into /opt/calibre? Also, you do not mentione the Calibre version you are trying to use - with its frequent update cycle that can be important.
|
10-10-2011, 04:39 AM | #3 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
From the calibre site. I gave up on the opensuse version many moons ago.
|
10-10-2011, 05:30 AM | #4 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates you haven't got a saved library path, use the --with-library option.
|
10-10-2011, 06:35 AM | #5 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
|
10-10-2011, 08:07 AM | #6 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I think that as longa s you have run the GUI from within the user in question you will hagve a saved path.
|
10-10-2011, 08:35 AM | #7 |
Zealot
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibredb strange behaviour | webwizard | Library Management | 9 | 04-17-2011 10:17 AM |
Equality searches via the calibredb 'list' option | mobichuck | Library Management | 10 | 03-21-2011 04:54 PM |
calibredb set_custom GUI question | Sabkor | Library Management | 4 | 03-12-2011 08:51 PM |
calibredb exit codes? | mcqueary | Calibre | 1 | 01-02-2011 11:56 AM |
calibredb update bug with 0.7.21? | _Em | Calibre | 1 | 10-02-2010 04:20 PM |