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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2016, 03:55 PM   #166
Ennas
Member
Ennas began at the beginning.
 
Ennas's Avatar
 
Posts: 11
Karma: 10
Join Date: Nov 2014
Location: Netherlands
Device: Kobo Glo
Hi!

This is a great program and I use it all the time! I especially like the easy cover fix and the fact that you can edit all(?) metadata.

Recently, I get this error message a lot when I try to view the epub I just edited.

---------
Unable to read OPF file.
Line: 9 column 2 - unexpected ' '.
---------

I use Sigil as my epub viewer and I have the latest update of Epubmetadataeditor.
At the moment, I solve this problem by converting the epub to mobi (at 2epub.com) and back to epub. It works fine, but it's quite a hassle.
Is there an easier way to solve this?
Ennas is offline   Reply With Quote
Old 03-08-2016, 04:53 PM   #167
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Ennas View Post
Hi!

This is a great program and I use it all the time! I especially like the easy cover fix and the fact that you can edit all(?) metadata.

Recently, I get this error message a lot when I try to view the epub I just edited.

---------
Unable to read OPF file.
Line: 9 column 2 - unexpected ' '.
---------

I use Sigil as my epub viewer and I have the latest update of Epubmetadataeditor.
At the moment, I solve this problem by converting the epub to mobi (at 2epub.com) and back to epub. It works fine, but it's quite a hassle.
Is there an easier way to solve this?

Are you saying you get the error when you open the epub in Sigil? If you could send me an example EPUB file, that would help. You can attach them as "images" on this thread, if you rename the file extension from .EPUB to .JPG before inserting it.
BenChen is offline   Reply With Quote
Advert
Old 03-10-2016, 09:05 AM   #168
Ennas
Member
Ennas began at the beginning.
 
Ennas's Avatar
 
Posts: 11
Karma: 10
Join Date: Nov 2014
Location: Netherlands
Device: Kobo Glo
Yes, that's what I mean. I edit the epub, click the button "view epub" (set to Sigil) and then I get the error message.

Usually the epub is ok before, but "breaks" during editing. Converting to mobi and back and then editing works fine. Weird, isn't it?

Epub with error attached.

Edit: it doesn't accept the disguised epub, so I uploaded the epub as epub. I think it worked now.

Last edited by Ennas; 03-12-2016 at 04:21 PM.
Ennas is offline   Reply With Quote
Old 03-10-2016, 05:15 PM   #169
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Ennas View Post
Yes, that's what I mean. I edit the epub, click the button "view epub" (set to Sigil) and then I get the error message.

Usually the epub is ok before, but "breaks" during editing. Converting to mobi and back and then editing works fine. Weird, isn't it?

Epub with error attached.

Edit: it doesn't accept the disguised epub, so I uploaded the epub as epub. I think it worked now.
I can clearly see what's causing Sigil to give the error message. In EPUB Metadata Editor, if you open the "Batch Operations / Advanced Tasks" panel and click the "Edit .opf file" button, you'll see an unnecessary "<" character (image attached). Just delete it, click the Save button, and then Save in the main window of the program, and you should be able to view the epub in Sigil successfully.

Now, as to tracking down what's causing that character to appear in the first place, that's harder (unless this happens to you all the time!) You will need to monitor when it happens so that you can send me the original version of the EPUB (before any changes are made) and then tell me what to do to make the problem happen. Does that make sense? Then I can dive into debugging and track down the root cause.

Sincerely,
Ben.
Attached Thumbnails
Click image for larger version

Name:	Image 001.png
Views:	380
Size:	32.1 KB
ID:	147030  

Last edited by BenChen; 03-10-2016 at 05:17 PM. Reason: Added image
BenChen is offline   Reply With Quote
Old 03-12-2016, 12:45 PM   #170
Ennas
Member
Ennas began at the beginning.
 
Ennas's Avatar
 
Posts: 11
Karma: 10
Join Date: Nov 2014
Location: Netherlands
Device: Kobo Glo
Thanks for looking into this!

Attached is the original unbroken file.
It "breaks" when I click "apply all cover fixes", but I think it doesn't matter what I change. Whenever I change something and save it, it goes wrong.

Last edited by Ennas; 03-12-2016 at 04:20 PM.
Ennas is offline   Reply With Quote
Advert
Old 03-12-2016, 04:18 PM   #171
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Ennas View Post
Thanks for looking into this!

Attached is the original unbroken file.
It "breaks" when I click "apply all cover fixes", but I think it doesn't matter what I change. Whenever I change something and save it, it goes wrong.
Issue confirmed. I will look into it when I get a chance.

(Now that I have downloaded a copy of the epub, you can delete the ones in your two posts. Thanks!)
BenChen is offline   Reply With Quote
Old 03-12-2016, 04:22 PM   #172
Ennas
Member
Ennas began at the beginning.
 
Ennas's Avatar
 
Posts: 11
Karma: 10
Join Date: Nov 2014
Location: Netherlands
Device: Kobo Glo
Done.
Thanks!
Ennas is offline   Reply With Quote
Old 03-13-2016, 05:32 AM   #173
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
New version: 1.4.10

Latest Update: The current version is 1.4.10
Recent Changes:
  • Drop down menu of EPUBs in current folder now sorted
  • Added "Delete selected item" button to Batch Operations file list
  • Better handle selection errors when using Batch Operations file list
  • Fix for bug while saving creator information in EPUB3.
  • Fix for second creator information appearing as part of first creator in EPUB3.
BenChen is offline   Reply With Quote
Old 03-13-2016, 05:33 AM   #174
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Ennas View Post
Done.
Thanks!
Hi Ennas,

I think I have fixed the issue (and made the most of putting out an update by making a few other changes/fixes!) Let me know if you discover any other problems!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 03-13-2016, 04:01 PM   #175
Ennas
Member
Ennas began at the beginning.
 
Ennas's Avatar
 
Posts: 11
Karma: 10
Join Date: Nov 2014
Location: Netherlands
Device: Kobo Glo
Great!

Maybe you could add an easy way to go to the update site/page from the program in the next update. Something like an "update to latest version" button in the "about" screen would be nice for n00bs like me.
Ennas is offline   Reply With Quote
Old 03-13-2016, 05:46 PM   #176
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Ennas View Post
Great!

Maybe you could add an easy way to go to the update site/page from the program in the next update. Something like an "update to latest version" button in the "about" screen would be nice for n00bs like me.
Hi Ennas,

Actually, there already is. When there is an update, you can click the little "Update available!" link. A dialog box appears, with another link to the download location and some instructions.

Sincerely,
Ben.
Attached Thumbnails
Click image for larger version

Name:	Image 001.png
Views:	373
Size:	60.3 KB
ID:	147093  
BenChen is offline   Reply With Quote
Old 03-14-2016, 03:46 PM   #177
Ennas
Member
Ennas began at the beginning.
 
Ennas's Avatar
 
Posts: 11
Karma: 10
Join Date: Nov 2014
Location: Netherlands
Device: Kobo Glo
Really? I don't see it. I guess it's only there when you're not up-to-date. Great!
Ennas is offline   Reply With Quote
Old 03-14-2016, 05:43 PM   #178
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Ennas View Post
Really? I don't see it. I guess it's only there when you're not up-to-date. Great!
That's right: it only appears when there's an update available.
BenChen is offline   Reply With Quote
Old 03-23-2016, 10:46 PM   #179
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
New version: 1.4.11

Latest Update: The current version is 1.4.11
Recent Changes:
  • Yet another fix for non-standard OPF files.
  • Apply OPF fixes when using "Apply all Cover Fixes and Save EPUB" button.
BenChen is offline   Reply With Quote
Old 06-24-2016, 10:09 PM   #180
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
New version: 1.5.0

Latest Update: The current version is 1.5.0
Recent Changes:
  • Changed "Find EPUB3" button into a more general "Find in current folder..." button that opens a dialog with options to find 1) EPUB3 files, 2) OPF files with tag errors (and the option to fix those errors if found), or 3) OPF files containing a user-defined string. Any files found will then be listed in the batch file list. Clicking on an entry in the list will open those files in the main window.
  • Bug fixes.

Note: the reason for looking for tag errors is that it appears that EPUB Metadata Editor has at some point in the past and possibly for quite a few versions made changes to the OPF file that left it with ">>" when adding or possibly replacing a cover image. A more recent version (briefly) introduced "<<" as well! Most EPUB readers cannot handle these sorts of errors in an XML file. So using the new "Find in current folder" dialog, you can search a single folder for any EPUBs with these sorts of errors and fix them.

Note, too: it may not be too difficult to extend the searching capabilities so that the entire contents of all the EPUB files in the current folder could be searched for a user-defined string. I am not sure if this is something people would like to be able to do. For a large number of EPUB files, this would take a very long time to perform. Let me know what you think in the comments...
BenChen 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
looking for simple metadata editor jdh Workshop 5 06-01-2011 06:27 AM
MetaData editor crutledge Sigil 1 09-30-2010 07:53 AM
PDF MetaData editor =X= Sony Reader 9 04-06-2010 10:48 PM
Is there a simple small metadata editor? fairuza LRF 1 08-17-2009 08:32 AM


All times are GMT -4. The time now is 05:07 PM.


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