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

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2012, 01:16 PM   #1
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Calibre2opds v3 - OPDS catalogs from your Calibre library

Description:

The calibre2opds tool can generate OPDS and HTML catalogs from the metadata of the Calibre ebook library manager. The calibre2opds catalogs are intended for scenarios where use of the Calibre Content Server is not appropriate (see here for a comparison). These catalogs can then be used both to browse your ebook library online and also to download books on demand.

After a long gestation period Calibre2opds v3.0 has been made generally available. This release has many new features and also many bug fixes for issues found in earlier releases. The scale of the changes can be seen by examining the release notes for this release:

NOTE: Please note that a silly typo made its way into the rev150 version originally posted as 3.0 that would stop summaries showing. A revised 3.0 release (rev 151) is now available for download which corrects this.

Spoiler:

RELEASE NOTES for Calibre2Opds v3.0
-----------------------------------

Documentation
~~~~~~~~~~~~~
Online documentation for Calibre2Opds can now be found at:
http://calibre2opds.com/read-the-documentation/
There is a link to this from the main Calibre2Opds GUI via the Help
button. It is also included in the Calibre2Opds catalogs at the top
level. User areencouraged to pass back suggestions for enhancing it
to reflect their experience of using Calibre2Opds.

The #number type references in these notes refer to the bug number
entries for calibre2opds in the launchpad bug tracking system.

Localizations
~~~~~~~~~~~~~
The Calibre2Opds application is designed to make it easy to be
localized to languages other than English. However to do so, input
is required from those who can speak those languages to provide the
correct localization text. This is not a task that requires
programming skills, so users are encouraged to contribute their
expertise in this area. The details on how to go about this can be
found at:
http://calibre2opds.com/read-the-doc.../localization/

Known Issues
~~~~~~~~~~~~

- #627926 Publish mode limiting formats allowed
- #729859 Internal links not working in XML catalogs
(may not be fixable)
- #c2o-15 Filenames generated can exceed system limits
(this is particularly likely to happen in the larger catalog sections on very large
libraries, or if many sub-levels based on tags are specified). The avoidance actio is
to ensure that the Maximum Number of Split Levels option is set to a small value (e.g. 3)
- Localization: The current localizations now have significant gaps until users can provide the
required translation strings for the large number of new messages introduced in v3.0.

If you think that you have found abug, or would simply like to raise a feature request for a
new capability this can be done via the calibre2opds Issue tracking system at
http://calibre2opds.myjetbrains.com/youtrack/

Planned Enhancements
~~~~~~~~~~~~~~~~~~~~
The following items are planned for future releases:
- Improve localizations.
- Nothing else is definitely committed or planned beyond general enhancements

Release History
---------------
The following shows the Calibre2Opds releases in reverse chronological order (so that the most recent
is at the top) showing main changes and bug fixes. The bug number references are to those
that have been recorded in Launchpad.

v3.0
This is a major new release as is reflected by the list of changes shown below
- New: OPDS 1.1 compatibility
- New: Experimental support for creating and using a search index in HTML catalogs
- New: support for Featured Books sub-catalog
- New: Support for custom catalog sections (based on Calibre searches)
- New: Support for including links to external catalogs
- New: Current profile now displayed on main screen
- New: Support for suppressing the generation of the Recent Books sub-catalog.
- New: Support for suppressing the generation of the Authors sub-catalog.
- New: Support for suppressing the generation of the Series sub-catalog.
- New: Support for suppressing the generation of the Recent Books sub-catalog.
- New: Support for controlling whether Series information shown in Book Details
- New: Support for controlling whether Tag information shown in Book Details
- New: Support for controlling whether Publisher information shown in Book Details
- New: A catalog generation run that has started can be cancelled
- New: Use Calibre style searches in a number of places.
- New: Maximum length of books summary can now be specified
- New: Split by letter now splits to further levels.
- New: Option to Control maximum number of levels for Split By letter
- New: #751211: Allow use of External icons for catalog sections
- New: Reset options added for URL's used for book external links
- New: #c20-49: Improve navigation consistency in HTML catalogs
- New: German Localization
- New: User supplied Resource files can be used. In particular this will allow for
customization of the look-and-feel aspects of the HTML catalogs.
- Change: Internal logging improved. This should help with diagnosing faults
- Change: Series name/number is now at start of Books summary
- Change: Icons used are now higher resolution and this look better on high quality screens
- Change: Special compatibility modes removed. Stanza which was main driver for this feature
is now effectively a defunct product (and the 3.2 release works with OPDS comaptibility).
- Change: Replace the settings for the tags to be included with the new Calibre filter feature.
- Change: Improvements to home folder redirection. Detail now logged when used.
- Fix: #806869 Russian text in comments field not displayed correctly
- Fix: #831976 Accented characters not displaying correctly in comments
- Fix: #836797 Null pointer exception trying to run calibre2opds in commandline mode.
- Fix: #840830 Command line not working in Windows
- Fix: #c20-56 Fix handling of multiple authors in OPDS catalogs
- Fix: Missing catalog.xml file in Nook/Trook mode
- Fix: Books summaries were not being displayed in book lists in HTML catalogs
- Fix: Ensure temporary files deleted even if fatal error during generation.
- Fix: Many other small bug fixes. In particular ones that caused fatal errors during
generation are now trapped wherever possible and the run allowed to continue
after logging details about the issue.

v2.5 beta 1 (NOTE: it has now been decided to label the next release as 3.0 and not 2.5)
- New: #826209: Allow suppression of resized cover generation - use calibre cover directly
- New: #826211: Allow suppression of thumbnail generation - use calibre cover as thumbnail
- New: added completion times to each phase in Progress dialog to improve feedback
- Fix: #826007 If no comments present, then Book_XXX.html and Book_XXX.xml files empty
- New: Reset option added to fields on External Links tab to get back the default values
(in case you make a mistake editing it and have forgotten what the starting point was)
- New: Any of the external links can be suppressed by setting the relevant URL field to empty.

v2.4 Final Released

v2.4 Beta 5
- New: GUI tab added for customizing external links
- Fix: #772538 NullPointer after saying No to Exit dialog
- Fix: #773549 Covers not copied on first pass
- Fix: #772784 Regression - Invalid series link in book details
- New: #783401 Option to suppress generation of Tags section of the catalog.
- New: option to use external icon files
(will also fix #751211 Kindle Browser does not display icons)
- New: Option to not split Author's books by letter.
- Change: Move Download links above cover image in HTML catalogs to improve usability on devices like Kindle.
(would like feedback on how well this works)

2.4 Beta 4
- Fix: A number of cases where specific combinations of data
In the Calibre database could cause Null pointer errors.
- New: logging enhancements to improve usability when
attempting to diagnose problems
- New/Fix: #716917: Option to not split series books by letter
- New: #717113: Publication date can be limited to year
- New: Configuration (home) folder and log file can now be
accessed via the Help Menu
- New: HTML catalogs now have an option for a new 'Mobile' look
for low resolution screens (e.g. phones)
(thanks to Farid Soussi for this development)
- New: Option to only generate an HTML catalog (i.e. no OPDS
catalog)
- Fix: #716923: Recent catalog now properly split on calendar day
boundaries
- Fix: #716558: Timezone now considered for "Date Added" sections
- Fix: #732821: Thumbnails were missing first time catalog
generated after adding a book
- New: #732814: Support for CBZ files
- New: #725625: Support for CHM files
- New: #723600: New option to only write out changed catalog files
- Fix: #723340: Changes to launch script on Windows to work
around common user errors in Java setup

2.4 beta 3
- Fix: problem with the installer not installing the tidy jar
- New: Improved user interface feedback

2.4 beta 2
- Fix: #677744 HTML tags in Comments field are displayed as text
- New: Improved logging support
(see http://wiki.mobileread.com/wiki/Cali...uble#Log_Files)
- New: Support for .redirect feature for calibre2opds home folder
(see http://wiki.mobileread.com/wiki/Cali...er_redirection)

2.4 beta
- New: The name of the top level file is now index.html/index.xml
(used to be catalog.html/catalog.xml)
- New: The All Books catalog can optionally be sorted by Series
- New: Epub Files metadata can be automatically updated to match
Calibre database.
- New: First attempt at Italian and Spanish Localisation.
Currently only partial. See:
http://wiki.mobileread.com/wiki/Cali...s_Localization)
- Fix: #601190 Can't seem to ignore noise words in titles and
series names
- Fix: #632163: Behavior of "When browsing by cover, do not split
by letter"
- Fix: #655081 Not using Calibre sort value from Authors table
- Fix: #631938 "This book on Goodreads" link is broken
- Fix: #645306 series index should not be limited to integers
- Fix: #615733 Wrong date in Recent Books
- Fix: #640339 Blank lines in the comments/description are
omitted in the conversion to the OPDS catalogue.
- New: #557276 Unordered Series support (Series Number of 0)
- New: #577208 Add a max. cover size option
- New: #632438 Add librarything.com and amazon links
- New: #652590 catalog can include cbr format

2.3
- Change: Online documentation at http://wiki.mobileread.com/wiki/Calibre2opds updated to reflect 2.3 release.
- Change: Removed the use of https:// style links. No longer
needed as was only to get a Javascript library.
- New: Configuration profiles to help with saving and re-using
parameter sets
- New: Compatibility mode added to allow for deviations from OPDS
standard for Stanza and Trook.
- New: Performance improvements to reduce file I/O. Should be
particularily noticeable if library on network drive.
- New: When a step is skipped, the checkbox is now set in the
progress dialog
- New: Added script files for launching gui manually
- New: Thumbnails now use JPEG files instead of PNG files.
These tend to be much smaller.
- New: Bug #542735 Add "All Books" under Author. 'All Books'
entry now listed as first entry under an author ahead of
any series
- New: Bug #557287 Catalog cross-references
Rewrote the subcatalogs engine to allow for embedded
levels (happy birthday Dave
- New: ZIP install package for cases where installer does not
work properly (e.g. Windows 64-bit)
- Fix: Installer bug for setting up GUI launch on Linux.
- Fix: Reset namespace to Atom and added the OPDS namespace as
well (should solve Aldiko's problems) (related to #596358)
- Fix: corrected a bug : when checking the "include books with no
file" checkbox, a null pointer exception occured in
Catalog.java
- Fix: Problem with incorrect mime type for cover images
- Fix: Bug #578839 The target path is not saved when using
direct entry
- Fix: Bug #592161 Generated catalog no longer works with Aldiko
- Fix: Bug #595053 crash while generating thumbnails
- Fix: Bug #596358 OPDS Catalog namespace must be used only for new OPDS Catalog elements
- Fix: Bug #578298 Suppress Ratings being added to book titles
- Fix: Bug #599770 When there are multiple formats for a book, there should be an option to only include the first one in the catalog
- Fix: Bug #578836 Error in the "skip author page" option
With this option selected, no author page is generated, and therefore the cross-catalogs links are dead...
- Fix: Bug #588356 Crash while generating the tags catalog (Java exception)
- Fix: Bug #577526 Some authors listed by name, instead of by Author_Sort

2.2.0 - started using data:// scheme again (lot faster)
- the thumbnails are generated in the book folder
- a new Nook specific mode !
- added the GUI elements for the Nook specific mode
- changed the mimetypes for Nook compatibility
- in Nook mode, the database folder and the catalog inside it are copied to the destination (recursively, with a date check on each file)
- added publisher, at Jane's request
- added a NAS specific mode
- it's possible to generate a catalog on a NAS or a Nook and to make a copy of it in the Calibre directory (there's an option for that)
- corrected bug 552836 (Lastname, firstname authors display incorrectly)
- user can directly edit the target and database directories locations
- modifed the GUI a bit, to make the device mode setting clearer
- added a warning at start, when the configuration is about to be reset
- the options that are read-only, because of the mode, are disabled but not hidden
- uses the new OPDS namespace (http://opds-spec.org/2010/catalog)
- produces full entries for books (but still also full entries in catalogs, for Stanza does not know how to handle partial entries)
- generates a separate HTML page for each book, accessible by clicking on the thumbnail in the catalog (for non-javascript browsers)
- implemented feature request 570253 (add a "browse by cover" mode to the HTML catalogs)
- implemented feature request 570255 (make a catalog of authors, split by letter, but skipping the actual authors list)
- in the ratings catalog, the books lists are not split by letter anymore
- corrected a bug where the temp folder was not deleted on exit
- updated the catalogs to the latest OPDS standard version
- moved the log file to $user.home/.calibre2opds/

2.1.1 - corrected Brian's name
- removed the useSecureConnections as it was used only for jQuery, and there is no more jQuery
- the CLI version no more has command line options, but uses the configuration file
- Now create install.exe package for handling UAC correctly on Windows 7/Vista
- GPL license upgraded to be v3
- Release notes displayed at end of install process to improve chances of users reading them!
- Documentation section on developing for Calibre2Opds added for those who might be interested.
- corrected bugs 562877 and 542560 regarding the authors names
- corrected bug 549583 ("books" used instead of "tags")
- corrected bug 542592 (sorting the authors list)
- corrected bug 550217 (change the labels of the "recent books" entries, and set the label of the "today" one to the current date)
- corrected bug 557193 (omit 'By;' from author names line)
- corrected bug 556379 (add Tags, Series info to Comments field)
- corrected bug 568802 (sub-Dividing by Letter under Recent Books)
- integrated the latest changes to the HTML catalogs (thanks Brian)

2.1.0 - modified the layout of the GUI to make it better on small, wide screens (e.g. macbooks)
- replaced the thumbnail links with the old value (was correct, according to OPDS spec)
- corrected the bug : links not generated correctly in the bottom of the HTML catalog
- refactored the catalog generation : breadcrumbs, page numbering in the title, summary and titles of the subcatalogs elements, and no more "don't mix books and containers" option
- book titles are capitalized and trimmed
- added an option "maxsummarylength" to set the maximum size of the summary list (if the summary list exceed this length, it is replaced by a default summary containing the number of items and pages)
- secure file manager is now faster
- added an "about Calibre2Opds" entry to the main catalog
- the authors lists now show the authors as LastName, FirstName
- added the ratings catalog and added the rating to the book titles
- added an option "tagstoexclude" to set a list of tags that will be excluded
- corrected a bug in the tag catalog : when removing unneeded levels, the tags have to be renamed or a part of the name will miss
- added options to disable the "Ratings" and "All books" catalog
- added a Help button to the GUI
- moved the thumbnails into a subfolder
- the data model is preloaded before the catalogs are generated (removes the overhead on the first generated catalog)
- added a "don't use split tags" checkbox so it's easier to disable this option (and corrected a GUI bug, too : text field was not editable)
- added a "reset to defaults" button
- optimized the code a bit
- changed the CSS for HTML catalogs : links are not underlined anymore

2.0.2 - corrected the bug : missing thumbnails in the HTML catalogs
- corrected the bug : program stuck in the tags catalog in large libraries

2.0.1 - corrected a bug with the generation of thumbnails (they were generated but not referenced in the catalogs, on first run)
- corrected a problem with the books written by more than one author
- added a generation date to the OPDS (set the "do not optimize bandwith") and HTML catalogs (always there, regardless of the option)
- internationalized the info text at the bottom of the main HTML page
- added an option to use HTTPS in the external links
- added an option to specify a tag that assigns a language to a book ; this is used to sort in a language dependent way
- enhanced the sorting and splitting of the authors (case insensitive sort, spaces do not count)
- changed the file naming scheme to generating random filenames (which are kept from one run of the program to the next, nonetheless) ; use --nocryptfilenames if you don't like it
- the author pages now contain links to the series to which this author has contributed
- corrected the thumbnail links for true OPDS (Aldiko)
- added an option to list only books with a specific tag
- added an option to disable the creation of external links
- added an option to disable the creation of cross-reference links
- solved the problem with the authors whose name contains pipe characters ('|')

2.0.0 - MAJOR NEW RELEASE
introduced the new graphical user interface, and the configuration file

1.0.9 - yet another regression bug : paths were again encoded with %2F instead of /

1.0.8 - regression bug correction : recent books were not populated

1.0.7 - updated the code and the prerequisites to make calibre2opds run with Java 1.5
- added a link to calibre2opds.css in the XML files to help itimpi in his research
- added the page numbers when paginating, and replaced the "next page" link in the HTML catalogs with a CSS button
- corrected a bug : if the book folder in Calibre contained a / character, it would be encoded as a %2F in the book URLs, choking some browsers/web servers...
- added navigation "breadcrumbs" in the HTML catalogs

1.0.6 - corrected a regression bug in the HMTML catalog generator (download links and program version were missing)

1.0.5 - corrected a bug : when a recent books subcatalog is split by letter, the links to letter subcatalogs are broken
- modified the HTML pages to make the popup menus work in IE (this time it should work)
- books with no file attached can be included in the catalog by using the --includeemptybooks option
- the books ids are now generated by using the uuid included in the Calibre database (they will be really unique now)

1.0.4 - corrected a bug : link to picture is missing from the thumbnail link (the OPDS one, not Stanza's)
- corrected a bug : books for an author or a tag were not sorted by title
- made the icons true png files to save space
- changed the localization class to make it use UTF-8 files
- modified the HTML pages to make the popup menus work in IE (thanks Jens !)

1.0.3 - corrected a problem in the URLs : the / were escaped when it was not necessary
- corrected a bug : the parameter specifying the calibre folder was not read correctly
- the authors list was not split nor sorted by last name but by first name
- updated the readme.txt with the information of the FAQs

1.0.2 - corrected a NullPointerException bug when a book has no author
- books sorted by letter were then sorted in reverse alphabetical order
- added branding to the project

1.0.1 - added the --nouseauthorsort option, which makes the tool resort to the author name for sorting, instead of the special Calibre 'sort' field
- added the --catalogtitle option, to allow for custom catalog titles
- corrected a bug in the "split by letter" catalogs, with the "other" split element

1.0.0 - ended beta phase, moved to Launchpad, renamed to calibre2opds


0.0.8 - split by letter for all catalogs, when the --maxBeforeSplit option is reached
- added icons in all the elements of the catalogs
- added icons in the HTML catalogs, too
- added a check to rebuild thumbnails when --thumbnailHeight has changed
- changed the way the "split by letter" catalog entries are described
- added the --nogeneratefiles options, to skip download links in the OPDS catalogs (useful for demos)
- added the --nomixbooks option, when set the books and their containers are never mixed (by inserting additional container levels)
- enhanced authors, tags, series, and all books container summaries

0.0.7 - the books in the "books by letter" subcatalogs are now sorted by title
- the links to Wikipedia in the "recent books" subcatalogs were including the date in the title
- the eReader format should now be recognized by Stanza
- the tool is launched with a 256Mb memory setting by default (useful if the user's library is huge)
- added a warning when the thumbnail size is set to more than 125
- added the thumbnail in the Stanza style (x-stanza-cover-image-thumbnail) because Stanza does not support this feature of OPDS
- corrected the links (urlencoded them)
- enhanced the HTML catalogs
- added internationalization support
- the tags catalogs can be categorized (i.e. if your tags are formatted like Action:ToRead:Now, they will be generated as a tree of catalogs)

0.0.6 - corrected (again) the database access
- added multiple file formats (all by default, use --includeformats)
- the user has the choice of options (use --help to find out which)
- added cross-references in the books pages (to other books by the same author, other books in the same categories, etc.)
- added links to Goodread in the books details (and to Wikipedia, but only in the HTML catalogs)
- rewrote the output engine, we are now OPDS-compliant (meaning that Aldiko users can also use our catalogs)
- added HTML catalogs alongside the XML ones, with nice popup menus (hint: catalog.html) (Ian's idea, thanks go to him)
- added generation of thumbnail images, to save bandwidth and speed up the feed loadings in Stanza
- stole the icons of Feedbook to use them in my feed (I hope it's not a problem for Hadrien...)
- all the catalogs are now paginated
- added the option of not generating the download section in the HTML catalogs (again, Ian's idea)

0.0.5 - corrected a bug in the database SQL requests which made the tool miss a few books (or all, in some cases)

0.0.4 - changed the way the tool finds the ebook files ; it now looks inside the database for a Calibre-computed filename

0.0.3 - added a test mode parameter, to make it easier to find and eradicate bugs that I cannot easily reproduce here

0.0.2 - authors, series and recent additions
#2908112 : Generate series catalog
#2908111 : Generate authors catalog
#2908109 : Generate recent books catalog

0.0.1 - first ever release
This is the first release, lacking some functionnality but usable nonetheless.



You can discuss calibre2opds here in the Calibre mobileread forum, or use the dedicated calibre2opds forum shown in the links below.

Useful links

Last edited by itimpi; 03-05-2012 at 02:38 AM.
itimpi is offline   Reply With Quote
Old 03-16-2012, 02:14 PM   #2
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 206
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
Fix: #840830 Command line not working in Windows

catalog cli generation just sits there doing nowt, just like other versions after 2.3 for me. I put an echo just before the call in the cmd file so the line is reached.

back to 2.3 for me.
scissors is offline   Reply With Quote
Old 03-17-2012, 07:45 AM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by scissors View Post
Fix: #840830 Command line not working in Windows

catalog cli generation just sits there doing nowt, just like other versions after 2.3 for me. I put an echo just before the call in the cmd file so the line is reached.
The fix that was put in related to a Java Exception happening when trying to run from the command line. It sounds as if you may have a different problem?

If you want it to be progressed, then I suggest that you open an issue about it at http://calibre2opds.myjetbrains.com/youtrack/ providing as much information as you can about your environment (e.g. OS, java version), and what the symptoms actually are. I could not tell from your description whether the program appears to be running and doing nothing or whether it is not running for some reason. Ideally the info provided would include the calibre2opds log from a failed attempt (if one has been produced) and the configuration (.xml) file that was meant to have been used.
itimpi is offline   Reply With Quote
Old 03-17-2012, 04:09 PM   #4
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 206
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
Quote:
Originally Posted by itimpi View Post
The fix that was put in related to a Java Exception happening when trying to run from the command line. It sounds as if you may have a different problem?

If you want it to be progressed, then I suggest that you open an issue about it at http://calibre2opds.myjetbrains.com/youtrack/ providing as much information as you can about your environment (e.g. OS, java version), and what the symptoms actually are. I could not tell from your description whether the program appears to be running and doing nothing or whether it is not running for some reason. Ideally the info provided would include the calibre2opds log from a failed attempt (if one has been produced) and the configuration (.xml) file that was meant to have been used.
hi itimpi,

to be honest I don't want to sign up to yet another site - i loose track of them all.

But if it helps here is the info

windows vista home edition

Verified Java Version
Congratulations!
You have the recommended Java installed (1.7.0_02).

gui generation works.

When running run.cmd task manager shows javaw.exe running but the dos box remains blank until the press any key prompt, javawe then disappears from task manager - so it does run.

no log generated.

There appears to be no configuration xml... (searched for *.xml, config*.* catalog.* all sorts. I'm pretty sure it doesn't exist.

Meanwhile 2.3 just works.
scissors is offline   Reply With Quote
Old 03-17-2012, 04:21 PM   #5
SirBC
Connoisseur
SirBC is on a distinguished road
 
Posts: 54
Karma: 64
Join Date: Nov 2007
Device: Kindle
I used to be able to exclude books based on a tag in Calibre so that books tagged with, for example, "Programming" would not show in the generated catalog. Is it still possible to do that (I'm not seeing that field any more)

Oh, I see that you now have to save the tag as a search within Calibre and then specify the named search. Works great.

Last edited by SirBC; 03-17-2012 at 04:29 PM.
SirBC is offline   Reply With Quote
Old 03-17-2012, 04:23 PM   #6
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
If you do not want to raise an issue, then I am afraid it is much harder to progress it unless the problem is obious - and it probably is not as I can run batch mode with no problems.

Strange about the program you mention is running - it should not be running javaw.exe but java.exe in batch mode.

There MUST be a confguration file somewhere as it is set up and used by the GUI. The location can be found from the Help menu in the GUI. If somehow it does not exist (or is not found) then the batch mode will definitely fail. The same should apply to the log file. You could also get a batch mode fail if you are not running under the same user as was used for the GUI as the configuration file is stored at the user level unless you give over-ride parameters for its location at run time.

If you start the RUN.CMD file from a DOS window while located in the Calibre2Opds install folder you may well get some useful information displayed about the startup process which could give an indication as to why things are not working.
itimpi is offline   Reply With Quote
Old 03-17-2012, 04:37 PM   #7
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by SirBC View Post
I used to be able to exclude books based on a tag in Calibre so that books tagged with, for example, "Programming" would not show in the generated catalog. Is it still possible to do that (I'm not seeing that field any more)
You are right in that the field has disappeared - that is because the facility has been replaced by the more generalised case of a Search filter (based on Calibre search syntax which should mean it is reasonably familiar to Calibre users) which in this case you would put into the "Main catalog filter" field.

The use of Search Criteria is discussed here in the online documentation which details both the syntax and the fields that can be used within filters. It also provides some examples which are relevant to your case. Search criteria are now also used in other places such as for defining featured books catalog section or custom catalog sections.

For your specific example you could use something like:
Code:
not tags:"=Programming"
in that field to exclude books containing that tag. However you can now build up powerful compound conditions to control what books are included/excluded which previously was not possible.
itimpi is offline   Reply With Quote
Old 03-17-2012, 05:43 PM   #8
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 206
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
Quote:
Originally Posted by itimpi View Post
If you do not want to raise an issue, then I am afraid it is much harder to progress it unless the problem is obious - and it probably is not as I can run batch mode with no problems.

Strange about the program you mention is running - it should not be running javaw.exe but java.exe in batch mode.

There MUST be a confguration file somewhere as it is set up and used by the GUI. The location can be found from the Help menu in the GUI. If somehow it does not exist (or is not found) then the batch mode will definitely fail. The same should apply to the log file. You could also get a batch mode fail if you are not running under the same user as was used for the GUI as the configuration file is stored at the user level unless you give over-ride parameters for its location at run time.

If you start the RUN.CMD file from a DOS window while located in the Calibre2Opds install folder you may well get some useful information displayed about the startup process which could give an indication as to why things are not working.
Hi there.

Right the logs etc were in the USER folder (in my case Dave). I was expecting it to be in the calibre2opds or calibre _catalog folders.

Anyway I deleted the logs and ran the command line file and was amazed to see it re-appear. Seems it was running - but the echo off at the start of the file makes it seem like nothings happening. What happened to the
*
**
***
****
progress reports?

Anyway I ran it from a task schedule and it gave a "java main class not found" (or some such at the end - sorry to be so vague).

The upshot is I can't leave it to automate whilst I'm away from home.

A shame. But to be honest 2.3 does a good job for me and i don't want to waste any more of your valuable time, so i'll leave alone.

Best of luck with the project.
Dave
scissors is offline   Reply With Quote
Old 03-18-2012, 11:56 AM   #9
slantybard
my parent's oops...
slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.
 
Posts: 334
Karma: 1427200
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura
Has anyone figured out how to run c2o on an automated process under Mac? I looked at the documentation re: advanced usage but the section on automatic generation on Mac still needs to be figured out. It is not an area I am very good at so I was wondering if anyone else had already figured it out. tia for any suggestions.
slantybard is offline   Reply With Quote
Old 03-18-2012, 01:50 PM   #10
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
If no-one comes forward in the meantime, then I am visiting a friend in a few weeks time who is a serious Mac user and I will see if I can get it to work on his system and document the results. I think it will be very easy once one has been shown what is required.
itimpi is offline   Reply With Quote
Old 04-28-2012, 12:59 AM   #11
slantybard
my parent's oops...
slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.
 
Posts: 334
Karma: 1427200
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura
Custom column in the book description for c2o?

Hi, I have the count pages custom column in calibre and was wondering if there is anyway to insert that data (ie word count) under the book description in the generated catalogs. I suspect not, but thought I would ask.
slantybard is offline   Reply With Quote
Old 04-28-2012, 02:35 AM   #12
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by slantybard View Post
Hi, I have the count pages custom column in calibre and was wondering if there is anyway to insert that data (ie word count) under the book description in the generated catalogs. I suspect not, but thought I would ask.
Sorry, but there is currently no support for Custom columns in Calibre2opds.
itimpi is offline   Reply With Quote
Old 05-09-2012, 10:28 PM   #13
edbro
Warthog Driver
edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.
 
edbro's Avatar
 
Posts: 632
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
I upgraded to ver 3.1 this evening and now I can't get the shortcuts to work. I see a command window come up briefly then it goes away. I tried manually running the rungui.cmd file in the program directory and it does the same. The only program I can get to run is "OpdsOutput-3.1-SNAPSHOT.jar". That seems to bring up the full program and I can then run it. Is that the normal main program file? I don't remember it that way.

I tried this also on my laptop. First I successfully brought up ver 3.0. I then closed it and installed ver 3.1. Now it doesn't load on that computer either unless I navigate to the folder and run the snapshot.jar file.
edbro is offline   Reply With Quote
Old 05-10-2012, 02:20 AM   #14
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
That is definitely not expected behaviour!

The rungui.cmd file has changed to try and better handle finding Java automatically, but it sounds as if something is going wrong on your system although it is not clear what! One way to find out might be to:
  • open a command window
  • change to the directory where calibre2opds has been installed
  • use the RUNGUI command from within the command window. Progress messages should now be output as it tries to start up calibre2opds.
It may be easier to progress this by opening a issue at http://calibre2opds.myjetbrains.com/youtrack/issues. That gives you an easy way to provide diagnostic information and for us to give suggestions.

The RUNGUI.cmd file does finish by trying to run "OpdsOutput-3.1-SNAPSHOT.jar", but it provides additional parameters such as setting the amount of RAM that Java should use. It is extremely strange that you can run this directly and not via the RUNGUI.cmd batch file.

One workaround might be to take the RUNGUI.cmd file from the 3.0 release and edit it in a text editor so the lines near the end that actually launches calibre2opds refer to 3.1 rather than 3.0. However I would like to get to the bottom of why the new RUNGUI.cmd file is failing on your system as otherwise it will keep failing in future releases.

Last edited by itimpi; 05-10-2012 at 02:24 AM.
itimpi is offline   Reply With Quote
Old 05-10-2012, 07:54 AM   #15
edbro
Warthog Driver
edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.
 
edbro's Avatar
 
Posts: 632
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
Quote:
Originally Posted by itimpi View Post
That is definitely not expected behaviour!

The rungui.cmd file has changed to try and better handle finding Java automatically, but it sounds as if something is going wrong on your system although it is not clear what! One way to find out might be to:
  • open a command window
  • change to the directory where calibre2opds has been installed
  • use the RUNGUI command from within the command window. Progress messages should now be output as it tries to start up calibre2opds.
It may be easier to progress this by opening a issue at http://calibre2opds.myjetbrains.com/youtrack/issues. That gives you an easy way to provide diagnostic information and for us to give suggestions.
Code:
Calibre2opds startup
====================
'
[INFO]  Trying to locate Java on this system
[INFO]  ====================================
[INFO] Java location not found via JAVA_HOME environment variable
[INFO] Java not found in default 32-bit JRE6 location
[INFO] Java not found in default 32-bit JRE7 location
[INFO] Java found at default 64-bit JRE6 location [C:\Program Files (x86)\Java\j
re6]
'
"-----------------------"
" Calibre2Opds STARTING "
"-----------------------"
'
\Java\jre6\bin\JAVAW.EXE"" was unexpected at this time.

C:\Program Files (x86)\Calibre2Opds>
edbro 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
[The Older version] Calibre2opds V2 dpierron Related Tools 537 04-06-2012 10:43 AM
List of Free Online OPDS Catalogs? Madmick General Discussions 1 01-14-2012 01:09 AM
Calibre->Calibre2Opds->Fbreader Network Library - No Download Icon boredsysadmin Calibre 2 01-16-2011 09:00 PM
Your personal online OPDS-library wdonne Self-Promotions by Authors and Publishers 9 01-04-2011 04:34 AM
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) zelda_pinwheel News 4 05-14-2010 02:02 PM


All times are GMT -4. The time now is 02:01 PM.


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