Giter Club home page Giter Club logo

epub-tools's People

Contributors

dustinblake avatar

Stargazers

 avatar  avatar

epub-tools's Issues

epubtools doesn't install on OSX Snow Leopard

Steps to reproduce the problem.

1. Download docbook2epub docbook2epub-1.0.4.zip package and unzip it.
2. Switch to docbook2epub folder and run "python ez_setup" to install setuptools
3. Switch to epubtools folder and run "python setup install"

Build fails with a complaint about a broken pipe.  Initially thought that this 
may be because the lxml package wasn't present. Installed it using MacPorts and 
tried again but got the same result. I have attached the output of the install 
command. The current version of the operating system is OSX 10.6.8.


Original issue reported on code.google.com by [email protected] on 23 Jan 2012 at 9:27

Attachments:

Wordtoepub with image

What steps will reproduce the problem?
1. converting docx to epub 
2. images are not reproduced in the epub output


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

only TEXT are converted and without any images
What version of the product are you using? On what operating system?
XPsp3 and epubgen-0.5.0.jar

Please provide any additional information below.

How can I amebed all images from docx to epub?

Original issue reported on code.google.com by [email protected] on 22 Sep 2010 at 10:40

EMFParser gives ArrayIndexOutOfBoundsException

What steps will reproduce the problem?
1. Tried EMF->SVG->PNG using the attached ToPNG.java based on the sample
2.
3.

What is the expected output? What do you see instead?
I expect png output from the emf

What version of the product are you using? On what operating system?
Windows XP.docx2epub-0.3.0.jar

Please provide any additional information below.
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
        at java.util.Vector.get(Unknown Source)
        at com.adobe.dp.office.metafile.EMFParser.readNext(EMFParser.java:462)
        at com.adobe.office.metafile.ToPNG.main(ToPNG.java:202)

Original issue reported on code.google.com by [email protected] on 19 Jan 2010 at 6:03

Attachments:

db2epub.py doesn't work with 2.7 python installation

I'm guessing  you already know this, but when I installed 2.7 64 bit python on 
Vista 64, I couldn't run ez_setup.py successfully. (Actually, I can't remember 
if I couldn't run this or I couldn't run setup.py install). 

(I fixed my Windows paths so that python defaults went to 2.7 instead of 2.6; 
same problem).

Googling a bit, it seems that the version of ez_setup.py had some compatibility 
problems with 2.7; I think it needed to be upgraded....

Original issue reported on code.google.com by [email protected] on 28 Sep 2010 at 3:25

db2epub wrongly adds files + directories of conditional images

I've been using db2epub.py for a while with docbook 1.76.1 and the current 
snapshot.

I noticed that when I make this customization in my stylesheet 

  <xsl:param name="use.role.for.mediaobject" select="1"/>
        <xsl:param name="preferred.mediaobject.role">epub</xsl:param>

db2epub.py will add references to all the image files (i.e. 
"images-kindle/tall1.jpg, images-epub/tall1.jpg, and images-website/tall1.jpg" 
even if they are not actually used in the epub file. That bloats the epub file 
unnecessarily. I would expect that if I set the preferred.mediaobject.role to 
be "epub", that the only file to be added to the output epub file would be 
images-epub/tall1.jpg"


SOURCE IN DOCBOOK

   <mediaobject role="tall-image-right">
            <imageobject role="kindle">
                <imagedata  contentwidth="300px" contentdepth="477px" fileref="images-kindle/tall1.jpg"/>
            </imageobject>
            <imageobject role="epub">
                <imagedata  fileref="images-epub/tall1.jpg"/>
            </imageobject>
            <imageobject role="website">
                <imagedata  fileref="images-website/tall1.jpg"/>
            </imageobject>

            <textobject>
                <phrase>configuring your IIS host header</phrase>
            </textobject>
            <caption>
                <para> For every hard problem there is a solution which is simple,
                    obvious and wrong. That was H.L. Mencken who said that, I believe. 
                </para>
            </caption>


        </mediaobject>






Original issue reported on code.google.com by [email protected] on 26 Sep 2011 at 5:47

calloutlist, callout bug

What steps will reproduce the problem?
1.
2.
3.

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


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


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Jun 2010 at 2:45

Table is not Converting as XHTML Table

Hi, 

I tried to convert rtf to epub using epubgen-0.5.0.jar(GUI).

but in the converted epub, table(in ms-word) is converted as span(s) in a 
single paragraph.

my operating system windows xp professional.

Please refer the attached sample document

Original issue reported on code.google.com by [email protected] on 23 May 2011 at 5:58

Attachments:

Some images are not copied to OEBPS/images folder

What steps will reproduce the problem?
I don't find a criteria to reproduce the problem. Some of my png images are not 
copied form my docbook images folder to OEBPS/image folder. 

What is the expected output? What do you see instead?
From the same images/chapter/ folder to OEBPS/images/chapter some images are 
copied some other are not. The permissions are the same for all the files.

What version of the product are you using? On what operating system?
1.0.3 on Mac OS X 10.6.3

Original issue reported on code.google.com by [email protected] on 10 Jun 2010 at 12:06

Can not delete epub from interface

What steps will reproduce the problem?
1. Convert a docx-epub
2. Drag the epub out of the tool
3. Icon from converted epub remains in tool

What is the expected output? What do you see instead?
I would assume that there is a way to delete de epub from the tool. 

What version of the product are you using? On what operating system?
Windows XP. epub 0.5.0

Please provide any additional information below.

None

Original issue reported on code.google.com by [email protected] on 3 Mar 2010 at 8:00

Deleting files in EPUBGen

Not really a bug, but rather suggestion.

I couldn't find a non-brutal way to delete a file (other than open EPUPGen 
directory and delete it there).

I assume, adding Delete wouldn't require a lot of work, neither it upsets the 
structure: you don't really need a button, just pressing a Del key or 
Crtl+mouseclick might do the job.

Original issue reported on code.google.com by [email protected] on 6 Sep 2011 at 9:51

ez_setup.py does not work.

What steps will reproduce the problem?
1. Download docbook2epub-1.0.3.zip
2. Unzip to a temporary directory
3. Run the command: python ez_setup.py as directed in the README file.

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

I expected the script to download and install the setuptools add on for Python. 
 Instead, I get the following output:

C:\nfjsMag\docbook-testing\docbook2epub>python ez_setup.py 2.6
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py
2.7.egg
Traceback (most recent call last):
  File "ez_setup.py", line 270, in <module>
    main(sys.argv[1:])
  File "ez_setup.py", line 202, in main
    egg = download_setuptools(version, delay=0)
  File "ez_setup.py", line 150, in download_setuptools
    src = urllib2.urlopen(url)
  File "C:\Python27\lib\urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 397, in open
    response = meth(req, response)
  File "C:\Python27\lib\urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python27\lib\urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "C:\Python27\lib\urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)


What version of the product are you using? On what operating system?
docbook2epub version 1.0.3 on Windows XP.

Please provide any additional information below.

I tried no command line parameters as well as specifying the version of Python 
for which to install setuptools.  I get the same error regardless. 

Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 1:04

EPUBGEN Enhancement Request

Would it be possible to provide a split on a section break in a Word document? 


Original issue reported on code.google.com by ifrasers on 28 Apr 2013 at 12:41

EPUB does not save all images in docx document

What steps will reproduce the problem?
1. Use document (docx) with more than 4 images and more than 100 pages
2.
3.

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

The first 3 to 4 images are present but remaining are not

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

0.5.0, win7, 64 bit

Please provide any additional information below.


Original issue reported on code.google.com by ifrasers on 4 Jul 2011 at 3:01

Wrong symbols in math formulas, when converting from DOCX

Convert DOCX file containing math formula (see attached)

Expected formula as seen in DOCX. Seen formula with special symbols (Greek 
letters) replaced with wrong ones.

Using epubgen-0.5.0 on Windows XP

I believe the problem is due to WMF in the doc using pre-unicode way to insert 
special symbols form "Symbol" font. I believe the fix would be for convertor to 
replace those symbols with Unicode equivalents. See details here: 
http://www.alanwood.net/demos/symbol.html

Original issue reported on code.google.com by [email protected] on 14 Jul 2010 at 6:51

Attachments:

Setup does not work on Ubuntu Linux

I've tried to install the docbook2epub on Ubuntu 9.10 and I got an error. Here 
is the trace:

<223|0>david@davidpc:~/dev/tools/docbook2epub> sudo python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to docbook2epub.egg-info/requires.txt
writing docbook2epub.egg-info/PKG-INFO
writing top-level names to docbook2epub.egg-info/top_level.txt
writing dependency_links to docbook2epub.egg-info/dependency_links.txt
writing entry points to docbook2epub.egg-info/entry_points.txt
reading manifest file 'docbook2epub.egg-info/SOURCES.txt'
writing manifest file 'docbook2epub.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/docbook2epub
copying build/lib.linux-i686-2.6/docbook2epub/settings.py -> 
build/bdist.linux-i686/egg/docbook2epub
copying build/lib.linux-i686-2.6/docbook2epub/__init__.py -> 
build/bdist.linux-i686/egg/docbook2epub
byte-compiling build/bdist.linux-i686/egg/docbook2epub/settings.py to 
settings.pyc
byte-compiling build/bdist.linux-i686/egg/docbook2epub/__init__.py to 
__init__.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
installing scripts to build/bdist.linux-i686/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-i686/egg/EGG-INFO/scripts
copying build/scripts-2.6/db2epub.py -> 
build/bdist.linux-i686/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-i686/egg/EGG-INFO/scripts/db2epub.py to 755
copying docbook2epub.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying docbook2epub.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying docbook2epub.egg-info/dependency_links.txt -> 
build/bdist.linux-i686/egg/EGG-INFO
copying docbook2epub.egg-info/entry_points.txt -> 
build/bdist.linux-i686/egg/EGG-INFO
copying docbook2epub.egg-info/not-zip-safe -> 
build/bdist.linux-i686/egg/EGG-INFO
copying docbook2epub.egg-info/requires.txt -> 
build/bdist.linux-i686/egg/EGG-INFO
copying docbook2epub.egg-info/top_level.txt -> 
build/bdist.linux-i686/egg/EGG-INFO
creating 'dist/docbook2epub-1.0.1dev-py2.6.egg' and adding 
'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing docbook2epub-1.0.1dev-py2.6.egg
removing 
'/usr/local/lib/python2.6/dist-packages/docbook2epub-1.0.1dev-py2.6.egg' (and 
everything under it)
creating /usr/local/lib/python2.6/dist-packages/docbook2epub-1.0.1dev-py2.6.egg
Extracting docbook2epub-1.0.1dev-py2.6.egg to 
/usr/local/lib/python2.6/dist-packages
docbook2epub 1.0.1dev is already the active version in easy-install.pth
Installing db2epub.py script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/docbook2epub-1.0.1dev-py2.6.egg
Processing dependencies for docbook2epub==1.0.1dev
Searching for epubtools
Reading http://pypi.python.org/simple/epubtools/
Reading http://code.google.com/p/epub-tools/
No local packages or download links found for epubtools
error: Could not find suitable distribution for Requirement.parse('epubtools')


What can I do?
David


Original issue reported on code.google.com by [email protected] on 13 Jul 2010 at 7:56

db2epub.py cannnot see value settings.DOCBOOK_XSL

 With default install, db2epub.py cannot access DOCBOOK_XSL value in settings.py.
 DOCBOOK_XSL specific as settings.DOXBOOK_XSL from db2.epub.py.
 or import line change like below

> from docbook2epub.settings import *

and 'settings.SPAM' change to just 'SPAM'.

Original issue reported on code.google.com by [email protected] on 26 Jul 2010 at 2:46

Attachments:

Correct dc:identifier in tei2epub

Currently it's generating an invalid UUID.  Follow the procedure in the
DocBook stylesheets (i.e. use generate-id) and then insert a real UUID in
the Python step.

Should be able to just reuse the code from [#1].

Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 4:53

Cannot run ez_setup.py

What steps will reproduce the problem?
1. Type python ez_setup.py from command prompt

What is the expected output? What do you see instead?
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c9-py
2.7.egg
Traceback (most recent call last):
  File "ez_setup.py", line 270, in <module>
    main(sys.argv[1:])
  File "ez_setup.py", line 202, in main
    egg = download_setuptools(version, delay=0)
  File "ez_setup.py", line 150, in download_setuptools
    src = urllib2.urlopen(url)
  File "D:\Program Files (x86)\Python\lib\urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "D:\Program Files (x86)\Python\lib\urllib2.py", line 397, in open
    response = meth(req, response)
  File "D:\Program Files (x86)\Python\lib\urllib2.py", line 510, in http_respons
e
    'http', request, response, code, msg, hdrs)
  File "D:\Program Files (x86)\Python\lib\urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "D:\Program Files (x86)\Python\lib\urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "D:\Program Files (x86)\Python\lib\urllib2.py", line 518, in http_error_d
efault
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

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

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Aug 2010 at 11:03

css file in book data folder is ignored during page displaying by epubjs

What steps will reproduce the problem?
1. display the chapter html of an uncompressed book in some browser
2. display the same chapter using epubjs
3. formatting is totally different (e.g. colors, fonts, borders, margins ...) 
all book defined css styles are ignored


What is the expected output? What do you see instead?
text formatting according to the css file inside the epub folder

What version of the product are you using? On what operating system?
epub-tools/epubtools/epubjs svn revision 135, Windows 7 

Please provide any additional information below.
I doubt that the css file of the book is loaded, maybe not even found 
because it is in the subfolder where the chapter html file is.
Changing the stylesheet links in the chapters to the subfolder did not make it 
better. Original it was:
<link href="ebook.css" rel="stylesheet" type="text/css"/>


Original issue reported on code.google.com by [email protected] on 20 Mar 2012 at 1:21

usability issues (Windows)

Hi, there. Here are some small usability issues with db2epub.py ...especially 
for windows users. 

first, with the latest version, if you run  db2epub.py, it still shows the 
version as 1.02 even though the utility can use xincludes. Liz told me that 
1.03 didn't do this, but 1.04 did support xincludes). but running the -version 
switch still produces 1.02. 

Second, in settings.py I could not set an epubcheck location nor could I set 
the DOCBOOK_XSL  variable. Assuming that these things actually work, I assume 
that the problem is that I'm not using the right conventions for setting a path 
or whether I should give the path for the directory or the file itself.  It 
would be nice if you provided at least one example of a Windows path per 
settings.py file. 

I've noticed that there are 3 different settings.py files, two of which are 
identical. Which would should I be trying to add my settings to? 

docbook2epub\epubtools\epubtools
docbook2epub\epubtools\build\lib\epubtools


Third, I'm unclear what DOCBOOK_XSL variable is for. Is it the default xsl if 
none is specified on the command line? 

(I'm on 64 bit Vista). 

Original issue reported on code.google.com by [email protected] on 28 Sep 2010 at 3:18

Test Report of docx2epub and rtf2epub

What steps will reproduce the problem?
1. execute the tool on the attached rtf and docx files.
2.
3.

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

What version of the product are you using? On what operating system?
docx2epub - 0.3.0  and rtf2epub 0.2.0 on Win XP

Please provide any additional information below.

Refer report


Original issue reported on code.google.com by [email protected] on 8 Dec 2009 at 11:12

Attachments:

fb2 to epub conversion

What steps will reproduce the problem?
1. Converting fb2 to epub.

What is the expected output? What do you see instead?
An epub that can validate. Anidate class p generated is not a valid epub
using epubcheck.

fb2: (code)
<subtitle><p>Loren ipsum</p></subtitle> 

epub: (generated)
<p class="subtitle"><p class="p">
Lorem ipsum</p></p>

What version of the product are you using? On what operating system?
Last versión of fb2 to epub converter

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Apr 2010 at 7:11

Links within the file error when loaded to Digital Editions

What steps will reproduce the problem?
1.convert Docx file with internal link using Epubgen 0.5.0
2.Open on Adobe Digital Edition
3.Click on the internal links

What is the expected output? What do you see instead?
When you click on the link, it will go to the target page. I can see in ADE 
that it has link but cannot click it.

What version of the product are you using? On what operating system?
EpubGen 0.5.0 - XP sp2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Dec 2010 at 9:06

Attach a LICENSE or COPYRIGHT file to source and distributions

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

A LICENSE file or some other method of conveying license terms would be 
expected; the only mention of licensing is on the main project web page.

Since the default 2-clause BSD license linked to on the main page only has 
placeholders for the "OWNER" and "YEAR" fields, this doesn't convey any 
information about this particular code's copyright. At the very least, the full 
license and copyright information should be included in a LICENSE or COPYRIGHT 
file in each distribution, (see http://www.opensource.org/faq#publish-code) 
though it is also advisable to add a small licensing header to each source file.

Including this information in the source will also make it easier to get this 
software packaged for more distributions, since some require individual license 
files for each BSD-licensed package. (see 
https://wiki.archlinux.org/index.php/Pkgbuild#license for example)


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

This applies to all downloads that I have looked at, as well as the source 
repository.

Original issue reported on code.google.com by [email protected] on 9 Aug 2011 at 8:37

Install does not work under Mac OS X 10.6.7

What steps will reproduce the problem?
1.python ez_setup.py --> OK
2. cd epubtools python setup.py install --> NOK

running install
running bdist_egg
running egg_info
writing requirements to epubtools.egg-info/requires.txt
writing epubtools.egg-info/PKG-INFO
writing top-level names to epubtools.egg-info/top_level.txt
writing dependency_links to epubtools.egg-info/dependency_links.txt
writing entry points to epubtools.egg-info/entry_points.txt
reading manifest file 'epubtools.egg-info/SOURCES.txt'
writing manifest file 'epubtools.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-universal/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/epubtools
copying epubtools/__init__.py -> build/lib/epubtools
copying epubtools/settings.py -> build/lib/epubtools
creating build/bdist.macosx-10.6-universal
creating build/bdist.macosx-10.6-universal/egg
creating build/bdist.macosx-10.6-universal/egg/epubtools
copying build/lib/epubtools/__init__.py -> 
build/bdist.macosx-10.6-universal/egg/epubtools
copying build/lib/epubtools/settings.py -> 
build/bdist.macosx-10.6-universal/egg/epubtools
byte-compiling build/bdist.macosx-10.6-universal/egg/epubtools/__init__.py to 
__init__.pyc
byte-compiling build/bdist.macosx-10.6-universal/egg/epubtools/settings.py to 
settings.pyc
creating build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/PKG-INFO -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/SOURCES.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/dependency_links.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/entry_points.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/not-zip-safe -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/requires.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
copying epubtools.egg-info/top_level.txt -> 
build/bdist.macosx-10.6-universal/egg/EGG-INFO
creating dist
creating 'dist/epubtools-1.0.0dev-py2.6.egg' and adding 
'build/bdist.macosx-10.6-universal/egg' to it
removing 'build/bdist.macosx-10.6-universal/egg' (and everything under it)
Processing epubtools-1.0.0dev-py2.6.egg
removing '/Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg' (and 
everything under it)
creating /Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg
Extracting epubtools-1.0.0dev-py2.6.egg to /Library/Python/2.6/site-packages
Removing epubtools 1.0.0dev-r131 from easy-install.pth file
Adding epubtools 1.0.0dev to easy-install.pth file

Installed /Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg
Processing dependencies for epubtools==1.0.0dev
Searching for lxml>=2.1.2
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.3
Downloading http://lxml.de/files/lxml-2.3.tgz
Processing lxml-2.3.tgz
Running lxml-2.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-P_803T/lxml-2.3/egg-dist-tmp-6HSn2z
Building lxml version 2.3.
Building without Cython.
Using build configuration of libxslt 1.1.24
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler 
(/usr/bin/../libexec/gcc/darwin/ppc/as or 
/usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
src/lxml/lxml.etree.c:161594: fatal error: error writing to -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/tmp//ccdKQJFl.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit 
status 1


# python -V              
Python 2.6.1

Original issue reported on code.google.com by [email protected] on 3 Apr 2011 at 8:18

epub-gen doesn't support the 'guide' section in the OPF Package Document

What steps will reproduce the problem?
1. Instanciating new publication with an epub file containing an OPF Package 
Document with a section "guide" (or "Tours", but this one is not as important 
for it is deprecated)

What is the expected output? What do you see instead?
A new instance of Publication but get a NullPointerException


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

Please provide any additional information below.
Specification of the OPF Package Document mention a 'guide' section wich is not 
supported (see : 
http://www.idpf.org/doc_library/epub/OPF_2.0.1_draft.htm#Section2.0)
NullPointerException appens in the com.adobe.dp.epub.opf.OPFResource class on 
line 132

Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 10:05

--css seems to not work

What steps will reproduce the problem?
1. Create a docbook project
2. Create a css file for this project
3. Try to generate a epub with the --css options

What is the expected output? 

A working epub which use the css

What do you see instead?

/Users/jacques/Downloads/docbook2epub/build/scripts-2.6/db2epub.py File.xml 
--xsl /Users/jacques/Documents/Sources/Livres/SnowLeopard/epub.xsl --css 
/tmp/style.css 

Traceback (most recent call last):
  File "/Users/jacques/Downloads/docbook2epub/build/scripts-2.6/db2epub.py", line 91, in <module>
    convert(db_file, options.xsl or DOCBOOK_XSL, options.css)
  File "/Users/jacques/Downloads/docbook2epub/build/scripts-2.6/db2epub.py", line 50, in convert
    epub.find_resources(path)
  File "/Library/Python/2.6/site-packages/epubtools-1.0.0dev-py2.6.egg/epubtools/__init__.py", line 26, in find_resources
    shutil.copy(href, p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 88, in copy
    copyfile(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 47, in copyfile
    raise Error, "`%s` and `%s` are the same file" % (src, dst)
shutil.Error: `/tmp/style.css` and `/tmp/style.css` are the same file

What version of the product are you using? On what operating system?
1.0.3 on Mac OS X 10.6.4

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Jul 2010 at 1:52

Epubjs does not work with books with images

What steps will reproduce the problem?
1. Download and open
http://www.epubbooks.com/book/1/dickens-a-christmas-carol-illustrations.epub 
with
EpubJS
2. Navigate to Stave I
3. Try to go to the next page

What is the expected output? What do you see instead?
The page transition is all messed up due to the presence of the image.


What version of the product are you using? On what operating system?
Revision 96, Firefox 3.5, Fedora 11


Thank you for your wonderful work, by the way :-).

Original issue reported on code.google.com by [email protected] on 10 Jul 2009 at 5:01

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.