![]() |
#16 | |
Connoisseur
![]() Posts: 94
Karma: 10
Join Date: May 2010
Device: Win 10
|
Quote:
Richard |
|
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 18
Karma: 46
Join Date: Jun 2010
Device: Nook
|
A little confused here - so I DON'T need to recompile, just drop a new opds.py into the right place? I thought that was the idea before, but I don't see those files anywhere except in the source code, which I'm having problems compiling.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Get opds.py from the source code. Change it as needed, then put it into the right place in calibre's installation directory. If you have opds.pyc there, you can leave it. If you are overwriting opds.py, save a copy first for safety.
What problems are you having with running from source? You shouldn't need to compile anything. Download (easiest is with bzr) and put the source tree somewhere, set the environment variable CALIBRE_DEVELOP_FROM to point at somewhere/src. Run calibre, or perhaps better, calibre-debug -g. If you are successfully running from source, you will see a * next to the version number in the upper right of the window. The instructions at http://calibre-ebook.com/user_manual/develop.html worked perfectly for me. That said, another user couldn't make running from source work, so there must be some sensitivity to configuration. |
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 18
Karma: 46
Join Date: Jun 2010
Device: Nook
|
Well, that's sort of the issue. I'm in Ubuntu, and it's installed to /opt/calibre, but I don't see where that file would go. I haven't tried very hard - doing it remotely during breaks at work - but is that the wrong location? I installed the .deb, so I'm assuming my problem is that I have to run from source.
Last edited by dirtygreek; 06-29-2010 at 05:14 PM. |
![]() |
![]() |
![]() |
#20 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,386
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
find /opt/calibre -name opds.pyo
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Member
![]() Posts: 18
Karma: 46
Join Date: Jun 2010
Device: Nook
|
That's the problem - I don't get any results from that search. That's the first thing I tried
![]() |
![]() |
![]() |
![]() |
#22 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,386
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Are you sure you installed it in /opt/calibre?
What does ls /opt/calibre give you? |
![]() |
![]() |
![]() |
#23 |
Member
![]() Posts: 18
Karma: 46
Join Date: Jun 2010
Device: Nook
|
See below
Last edited by dirtygreek; 06-29-2010 at 11:57 PM. |
![]() |
![]() |
![]() |
#24 |
Member
![]() Posts: 18
Karma: 46
Join Date: Jun 2010
Device: Nook
|
Running from source after making the change worked. Thanks!
|
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2010
Device: Android
|
Hi Guys,
I was having this same problem. Couldn't click the links in the wifi /stanza feed in trook, or from the Calibre2opds generated library on my external sd card. SO, Now I've made the change in opds.py I'm on a mac, and I put it in the same folder as opds.pyo, which is: Applications/calibre/Contents/Resources/Python/site-packages/calibre/library/server/ Now the generated stanza feed over wifi from Calibre works, but I can't get the opds library on my external sd card to work. I deleted my previous library, and regenerated a new one after making the above change. Anything else I can do? |
![]() |
![]() |
![]() |
#26 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2010
Device: Nook WiFi
|
Hi. You can download patched version of trook from http://code.google.com/p/trook-fb2/d...name=Trook.apk . This build include calibre OPDS and Stanza patches
It also supports fb2 books format. Enjoy |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic Trook Catalog and Calibre | jhempel24 | Nook Developer's Corner | 2 | 09-06-2010 11:56 PM |
Classic trook and a opds catalog of calibre not allowing dl | Schmots | Nook Developer's Corner | 4 | 09-01-2010 08:31 AM |
Classic Trook-browsing Calibre; HOW? | maurizio9991 | Nook Developer's Corner | 3 | 08-27-2010 01:22 AM |
Classic Trook rev53 is not working properly with Calibre | mos | Nook Developer's Corner | 12 | 03-26-2010 08:14 AM |
Classic How to add calibre to Trook? | mos | Nook Developer's Corner | 8 | 03-06-2010 07:23 AM |