![]() |
#661 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
|
Tools hanging
I am using version 0.41 in conjunction with Mobi2mobi_Gui 016 and with ActivePerl 5.10.0 Build 1004. I have some strange behaviour which I cannot understand.
The tool, as commanded by the GUI tool worked in the previuos version (0.40 + version 0.13 of the GUI), then all of a sudden when I just tried to read a book metadata with the GUI everything hang. As version 0.41 of the tools were available I have unpacked them and everything started to work again. Now the tools seem not to be working anymore. I thought it was the GUI, but then I have tried the tools (mobi2mobi, for example, or lit2mobi) in the DOS box, and all of them hang and seem to do nothing but waste CPU. I launched mobi2mobi, for example, and I watched through the Task Manager and I see two mobi2mobi processes, one using 50% CPU and another using 0% CPU, the output tells me the Database name, plus other parameter till the baktime, draws a line (literally) and there it hangs forever. What can I look to check the status ? Is is ActivePerl the culprit ? Thanks in advance for the help Bruno |
![]() |
![]() |
![]() |
#662 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2009
Device: PalmTX
|
I have huge problem with free e-books.
http://www.ebook.pl/filestat.php?fil...120.prc&id=145 I can read this book only in Mobipocket Reader - but without any registrations, PID etc. When I've used mobiperl I got something like this: Code:
kuki@zuzia:~/Pulpit/mobiperl-0.0.41$ ./mobi2html /home/kuki/DRM/Classic_000120_oryginal.prc FULLFILENAME: /home/kuki/DRM/Classic_000120_oryginal.prc FILENAME: Classic_000120_oryginal.prc UNPACK DIRECTORY: unpacked Name: SERCE Version: 0 Type: BOOK Creator: MOBI baktime: -2082844800 Number of record: 46 PDHEADER Version: 2 PDHEADER Length: 168310 PDHEADER NRecords: 42 PDHEADER Recsize: 4096 PDHEADER Unknown: 131072 MOBIHEADER doctype: MOBI MOBIHEADER length: 240 MOBIHEADER type: 2 MOBIHEADER codep: 65001 MOBIHEADER uniqid: 3520773060 MOBIHEADER ver: 5 MOBIHEADER exthflg: 16 Version: 2 - 2 - DOC_COMPRESSED Looking for filepos Found all filepos Adding name attributes UTF-8 detected: convert before TreBuilder parse Fixing filpos attribute Code:
kuki@zuzia:~/Pulpit/mobiperl-0.0.41$ cat unpacked/Classic_000120_oryginal.html <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body></body></html> https://wiki.mobileread.com/wiki/MOBI this file is without DRM. "Offset to DRM key info in DRMed files. 0xFFFFFFFF if no DRM" but: Code:
kuki@zuzia:~/Pulpit$ mobi2oeb ../DRM/Classic_000120_oryginal.prc Traceback (most recent call last): File "/usr/bin/mobi2oeb", line 8, in <module> load_entry_point('calibre==0.4.131', 'console_scripts', 'mobi2oeb')() File "build/bdist.linux-i686/egg/calibre/ebooks/mobi/reader.py", line 516, in main File "build/bdist.linux-i686/egg/calibre/ebooks/mobi/reader.py", line 187, in extract_content calibre.ebooks.DRMError: SERCE What can I do in this case? |
![]() |
![]() |
Advert | |
|
![]() |
#663 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
For dedrm you would use whatever PID you have registered at whatever store you are buying from. BOb |
|
![]() |
![]() |
![]() |
#664 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#665 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2009
Device: PalmTX
|
|
![]() |
![]() |
Advert | |
|
![]() |
#666 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
What it does after drawing the line is to check all records and see if it is an image or not. It seems impossible to get an infinite loop there so I really do not see how it can hang. If you can run the ActivePerl version it is very easy to enable the debug print outs in mobi2mobi to see were it hangs. |
|
![]() |
![]() |
![]() |
#667 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#668 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
|
Quote:
Edited Verified. I have p5-Palm site 1.009. Is it the right version ? Last edited by brudigia; 01-30-2009 at 03:08 PM. Reason: Update |
|
![]() |
![]() |
![]() |
#669 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
|
This is very, very funny. And misterious.
I have tried uninstalled and re-installed ActivePerl. From my user, same behaviour, it hangs. Just for a trial I have used the Administrator account. It works !! What could it be that bloks normal users ? I have tried to convert Ivanhoe, from Fictionwise, from lit to mobi. The attached file is what I got, and it did the job of converting the file. In my user it stopped right at the end, where I put the line., where it tried to read the cover image. |
![]() |
![]() |
![]() |
#670 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
|
Forgot the attchment. Sorry.
|
![]() |
![]() |
![]() |
#671 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
If it works running as administrator there are probably some issues with permissions on files. Maybe if you run once as administrator a files is saved with a administrator properties and your user might not be able to read or write to that file.
I really do not use Windows and I have no easy access to a Windows computer so I have no experience with these kind of problems. Or maybe some disk is full? Swap disk? |
![]() |
![]() |
![]() |
#672 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
|
Quote:
|
|
![]() |
![]() |
![]() |
#673 |
Fool
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 470
Karma: 4113712
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
Reading this thread, I just realized that mobi2mobi does the same thing on one of my three Windows XP machines, but not on the other two.
If you ever figure out what is causing it, please let me know. (Its driving me nuts) |
![]() |
![]() |
![]() |
#674 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2009
Device: kindle
|
I was able to get mobiperl to run (haven't verified whether it works) on Ubuntu intrepid by mostly folloiwng the debian information, adding two more packages, and by making a small change to the mobi pm.
1. Install the packages that are on the debian packages list. 2. Install libimage-info-perl and libimage-size-perl 3. Edit MobiPerl/Util.pm so that "use Image::BMP" reads as "use Image::Info::BMP" |
![]() |
![]() |
![]() |
#675 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 491
Karma: 1401828
Join Date: Oct 2008
Location: Torino - Italy
Device: iPAD AirPro M1 12.9, Kindle Scribe, Kobo Elipsa, iPhone XV
|
You know, it's just working again, now and does everything beautifully as before. I'm sure I haven't done anything to my PC. It' s really weird.
|
![]() |
![]() |
![]() |
Tags |
mobi2mobi, mobils |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 05:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 02:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |