05-29-2008, 01:43 PM | #31 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Aug 2007
Location: Lancashire, UK
Device: Sony PRS500& PRS505; iPad; and Kindle
|
Beowolf
I've just installed the latest update and working fine now. cheers. |
05-29-2008, 08:40 PM | #32 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
I've put up an experimental version that should address the issues with adding the books to calibre after a build. If anyone is feeling lucky, please give it a shot. I've not added it to the update feed, you'll need to install it manually from the following link.
Install Link I've tested this under Windows and Linux, but don't have access to a Mac. It should work, but you never know. One big change, your calibre path on the Mac should point to your bundle directory, something like /path/to/calibre.app. This is for Mac only, under Linux and Windows point to calibre.exe. If this seems to work, I'll spend some time adding more logging and error checking and do a real release. |
Advert | |
|
05-29-2008, 09:40 PM | #33 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
To make your life a little easier, the latest version of calibre on OSX allows the GUI to be launched using /usr/bin/calibre
|
05-29-2008, 11:00 PM | #34 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Great, I'll update the Darwin script to be the same as the Linux version. Do I just run it with the path to the lrf file as an argument as under linux?
Basically for the Darwin and Linux I used a bourne shell script to launch web2lrf and optionally calibre. For windows I wrote statically linked windows app to do the same. This keeps me from having to worry about threading in the plugin proper. |
05-29-2008, 11:33 PM | #35 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah running /usr/bin/calibre /path/to/file.lrf should work on darwin.
If you're using a bash script I assume you're redirecting stdout and stderr to a file for diagnostics? |
Advert | |
|
05-30-2008, 05:30 AM | #36 |
Legal Alien
Posts: 288
Karma: 105
Join Date: Jan 2008
Device: Sony PRS-505/T1/Kindle PW2
|
Hello Beowulf,
0.27 didn't work with different options and/or pages. Fell back on 0.26 and worked fine. Returned to 0.27, restarted and nothing. I have just tried 0.28 and works perfect. Got me disoriented because the console window does not appear any more. Thought it was not working. Then Calibre opened and there it was. Cool cool cool. |
05-30-2008, 08:58 AM | #37 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Yeah, there's a small windows app embedded in the plugin that will launch the different applications thus hiding the console windows. I don't know off the top of my head why one version would work and not another. Just as long as the most current works. :-)
|
05-30-2008, 09:05 AM | #38 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Not yet, I forgot to include that version in the plugin. I'll release a new version during lunch or after work that includes this plus the new way of launching calibre on Macs. The time consuming part will be getting capturing stdout working under Windows, it's not as easy as on the other platforms. I've done it before, it will just take some time to get the code in place and tested.
|
05-30-2008, 03:05 PM | #39 |
Connoisseur
Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
|
0.2.8 seems like it works really well. I'm wondering if this URL works for anyone. It's very "plain text," maybe that's the problem?
http://www.gutenberg.org/dirs/etext98/pandp12.txt Dane |
05-30-2008, 06:22 PM | #40 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Ok, here's a big update. This one requires the latest and greatest version of calibre so update that first.
Included in 0.3.0 are:
I'm going to try to find some time this weekend to write up a help page and fix any bugs. I'm going to be tied up for about a week starting Tuesday, so I'd appreciate any bug notices over the weekend. |
05-30-2008, 06:27 PM | #41 | |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Quote:
This led me to another bug, the title field is mislabeled in the options dialog, it's labeled 'Bookit Options' in the Meta-Data tab. It works, it's just mislabeled. I don't have time to fix both of these right now, I'm about to run out the door. But I'll look at it this weekend. |
|
05-30-2008, 06:27 PM | #42 |
creator of calibre
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
On windows you should be able to extract the installation path from the registry.
|
05-30-2008, 08:17 PM | #43 |
Connoisseur
Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
|
beowolf... here's an error I got while attempting the bookit conversion of your home page:
not well-formed (invalid token): line 1, column 2 Detailed traceback: Traceback (most recent call last): File "main.py", line 259, in another_instance_wants_to_talk File "main.py", line 414, in add_filesystem_book File "main.py", line 439, in _add_books File "calibre\ebooks\metadata\meta.pyo", line 66, in get_metadata File "calibre\ebooks\lrf\meta.pyo", line 224, in get_metadata File "calibre\ebooks\lrf\meta.pyo", line 132, in __get__ File "calibre\ebooks\lrf\meta.pyo", line 328, in restore_pos File "calibre\ebooks\lrf\meta.pyo", line 365, in fget File "xml\dom\minidom.pyo", line 1923, in parseString File "xml\dom\expatbuilder.pyo", line 940, in parseString File "xml\dom\expatbuilder.pyo", line 223, in parseString ExpatError: not well-formed (invalid token): line 1, column 2 Hope it helps! |
05-31-2008, 08:51 AM | #44 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
|
05-31-2008, 09:31 AM | #45 |
Addict
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
|
Just reproduced it, I'll work on it today sometime.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
BookIt and 64 bit | jlbfoot | LRF | 0 | 03-09-2009 03:24 PM |
Idea for a "Bookit" Plugin -- Maybe Kovid? | dsuden | Sony Reader | 55 | 01-03-2009 11:22 AM |
Great new Idea! Bookit button | =X= | Feedback | 0 | 10-27-2008 01:49 PM |
Making MobiRead Threads BookIt Friendly | =X= | Feedback | 3 | 08-11-2008 11:24 PM |