Git Product home page Git Product logo

lrf-epub-tools's People

Watchers

 avatar

lrf-epub-tools's Issues

The Number/Pound Symbol (#) Causes Conversion Errors

What steps will reproduce the problem?
1. Simply attempt a conversion from any supported file format to another 
supported file format in which the original file name has the number/pound (#) 
symbol contained within it.

What is the expected output? What do you see instead?
The expected output should, of course, be the same file name with the proper 
file extension. Instead errors occur.

What version of the product are you using? On what operating system?
The latest version (0.9.236) is being used. Windows 7 64-bit build 7100 is 
being used.


Please provide any additional information below.

A sample error is provided:

java -Xms200M -Xmx300M -jar LRFTools-0.9.236.jar convertLRF <directory omitted> 
-d <output directory omitted>" -EPUB Creating 
Test\Test#1.epub...java.io.FileNotFoundException: C:\Users\<name 
omitted>\AppData\Local\Temp\lrft3659237208936987708tmp\Test (The system cannot 
find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
urce)
        at java.net.URL.openStream(Unknown Source)
        at org.cyberneko.html.HTMLScanner.setInputSource(HTMLScanner.java:860)
        at org.cyberneko.html.HTMLConfiguration.setInputSource(HTMLConfiguration
.java:478)
        at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:451
)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at lrf.html.HtmlOptimizer.optimize(HtmlOptimizer.java:147)
        at lrf.objects.Book.getEPUB(Book.java:150)
        at lrf.RecurseDirs.dumpToEpub(RecurseDirs.java:476)
        at lrf.RecurseDirs.convertAction(RecurseDirs.java:542)
        at lrf.RecurseDirs.convertAction(RecurseDirs.java:489)
        at lrf.RecurseDirs.convertActionParams(RecurseDirs.java:355)
        at lrf.RecurseDirs.<init>(RecurseDirs.java:89)
        at lrf.RecurseDirs.main(RecurseDirs.java:41)
EPUB Error

Original issue reported on code.google.com by [email protected] on 16 Sep 2010 at 11:52

Duplicate files in LRFTools-0.9.236.jar

What steps will reproduce the problem?
1. Rename LRFTools-0.9.236.jar to LRFTools-0.9.236.jar.zip
2. Open LRFTools-0.9.236.jar.zip in Windows Explorer(internal OS zip 
program)
3.

What is the expected output? What do you see instead?
Remove Duplicates, rebuild, and publish new jar.

What version of the product are you using? On what operating system?
Windows XP x32

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 26 May 2010 at 11:20

Attachments:

Error: Unknown colorspace 'R373'

Getting the following error, trying to convert an PDF that contains one color 
and lots of greyscale 
graphics (using LRFTools-v0.9.211 on Mac OS X 10.6.1):

java.io.IOException: Error: Unknown colorspace 'R373'
    at 
org.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSp
aceFactory.
java:163)
    at 
org.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSp
aceFactory.
java:75)
    at org.pdfbox.util.ImageParameters.getColorSpace(ImageParameters.java:141)
    at 
org.pdfbox.pdmodel.graphics.xobject.PDInlinedImage.createImage(PDInlinedImage.ja
va:135)
    at org.pdfbox.util.operator.pagedrawer.BeginInlineImage.process(BeginInlineImage.java:71)
    at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452)
    at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
    at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
    at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:110)
    at lrf.pdf.PDFSerializer.procPDF(PDFSerializer.java:91)
    at lrf.pdf.PDFSerializer.recurse(PDFSerializer.java:33)
    at lrf.RecurseDirs.convertPDFActionParams(RecurseDirs.java:242)
    at lrf.RecurseDirs.<init>(RecurseDirs.java:91)
    at lrf.RecurseDirs.main(RecurseDirs.java:41)

Original issue reported on code.google.com by [email protected] on 25 Oct 2009 at 10:51

Linebreaks/Newlines ignored

What steps will reproduce the problem?
1. Select a LRF containing newlines or linebreaks
2. convert it to HTML or EPUB (these are the ones I tried) with convertLRF

What is the expected output? What do you see instead?
The HTML or EPUB does not have the linebreaks or newlines as the LRF. The
text is shown without any breaks as one long line.

In the attached example I get:
Some Title  Some Paragraph, some paragraph, more paragraph, blah blah blah.
Some Paragraph, some paragraph, more paragraph, blah blah blah.   Some
Paragraph, some paragraph, more paragraph, blah blah blah. Some Paragraph,
some paragraph, more paragraph, blah blah blah. Other Title  Some
Paragraph, some paragraph, more paragraph, blah blah blah.

While I expect something like this:
Some Title 
Some Paragraph, some paragraph, more paragraph, blah blah blah. Some
Paragraph, some paragraph, more paragraph, blah blah blah. Some Paragraph,
some paragraph, more paragraph, blah blah blah. Some Paragraph, some
paragraph, more paragraph, blah blah blah.
Other Title 
Some Paragraph, some paragraph, more paragraph, blah blah blah.

What version of the product are you using? On what operating system?
0.9.211

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Jul 2009 at 8:09

Attachments:

Support for Cyrillic

What steps will reproduce the problem?
1. Cyrillic PDF with OCR input
2. Convert to EPUB 
3. Resulting file got failed cyrillic support

What is the expected output? What do you see instead?

See at attach.

What version of the product are you using? On what operating system?
LRFTools-0.9.236.jar
Win7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 28 Aug 2010 at 2:01

Attachments:

Can't convert PDF properly to epub

What steps will reproduce the problem?
1. Upload test2.pdf from the attachment.
2. Check the generated .epub file.

What is the expected output? What do you see instead?
Should be well formatted as original PDF

What version of the product are you using? On what operating system?
0.9.236.jar latest

Please provide any additional information below.
Please see that original PDF and converted .epub file in the attachment.

I tried few others pdf but getting same result.

Original issue reported on code.google.com by [email protected] on 31 Mar 2012 at 7:39

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.