![]() |
#301 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2010
Device: none
|
anyhtml error but i use the new calibre and bc3.0
I have installed BC 3.0 for office 2007 and calibre 0.6.39. and eBook Technologies
When i click on Create i get the anytohtml error. Path to calibre is set to C:\Program Files\calibre2 You have said that he has to find the html2lrf.exe but this .exe is not in the calibre2. Am i something missing? ![]() Thanks! |
![]() |
![]() |
![]() |
#302 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
Hi Jopie, Can you post a screen capture or give a more detailed description of the Error message? Where are you seeing a reference to "html2lrf.exe"? That was pre BC3.0 and pre Calibre 0.6. Since 3.0 BC no longer ask for an executable name just the path. Can you verify that you have Calibre installed in the "C:\Program Files\calibre2" directory? Oh and make sure that you only list the path not the executable name. =X= |
|
![]() |
![]() |
Advert | |
|
![]() |
#303 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2010
Device: none
|
Thanks for the quick reply.
![]() Here is the error when i click on "Create" : ![]() And the calibre settings: ![]() I use the latest version of calibre and windows 7. In the folder calibre i can't find a file named html2lrf.exe |
![]() |
![]() |
![]() |
#304 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
The most common reason for the type of error your getting is due to missing programs, but you have both programs, that much is clear. I'm wondering if this is an MS Word security issue your having. The part of the code your having problems with makes a system level call to run calibre in the background. I know others here that have MS Word 2007 say they had to disable macro security to get BC to work. If that does not work please let me know. Also if you are tech savy or good with instructions you might want to step through the code and see what line is causing the problem. Here are the steps <Note please post the line that caused the problem or take a screen capture of the program> 1) Open BookCreator (your word document your wanting to create) 2) Press the Alt+F11 key combo (this will bring up another window called Visual Basic for Applications --VBA) 3) Open the tree branch "Template(BookCreator)" 4) Double click on "eBookCommon" tree leaf. That will open up the source code on the right window pane. 5) Click on the line " On Error GoTo ERR_EBOOK_CREATION" and press the F9 key. (This will toggle the break point ) 6) Go back to your Word window and continue the regular book creation process. (After you click on the <Create eBook> button the macro code will run unti the break point is hit.) 7)(Wait until the VBA window pops up) the line on step 5 will now have a yellow highlight). Press F8--with a 1 sec interval-- until you get the error. =X= |
|
![]() |
![]() |
![]() |
#305 |
Sci Fi Addict :)
![]() ![]() Posts: 108
Karma: 112
Join Date: Jan 2010
Location: Crawley, UK
Device: Kindle 3G+WiFi
|
Hi,
Right it looks like these books I am having probs with just plain hate me lol. I did what you suggested X by first importing the HTML and then clicking on Tools - ASCII LF -> Word Paragraphs and that put all my carriage returns to line returns. I then selected the whole book and clicked on Clear Formating to get rid of all the text styles and then put it into a Main Text style I created. I then inserted the page breaks. Now when I export it I get the same error as jopie25. So I have done a screenshot of the error for you: EDIT: Hmmm seems I have got around that error by putting the HTML into Calibre and then converting it to a txt file and then importing it into BookCreator. And all the page breaks etc are working ![]() Last edited by AFK_Matrix; 02-12-2010 at 03:17 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#306 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2010
Device: none
|
Hi =X=,
I have disabled macro security in word 2007. It didn't fixed the issue. http://office.microsoft.com/en-us/wo...711033.aspx#17 I tried to follow your steps but it didn't worked out. I will ask a friend to help me. He knows how to do this. I will post the line when we have found it. Thanks again for your help. |
![]() |
![]() |
![]() |
#307 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
@AFK_Matrix If the book you are trying to create is the same or similar to the title of the book you sent me I know the problem. What BC does when creating the book is to take the book title and create a book with that title. Since this is a file name the type of characters is much more limiting than those allowed for a book title. For instance colon(:), Astrix (*), parenthesis, etc.. are not allowed.
@jopie25 Even though your having the same error message as AFK_Matrix I don't think it's the same problem, based on the dialog you showed. Make sure, when your friend is helping you out, to find the line that occurs before it jumps to the "MsgBox" line. The image AFK showed was just one step to many. =X= |
![]() |
![]() |
![]() |
#308 |
Sci Fi Addict :)
![]() ![]() Posts: 108
Karma: 112
Join Date: Jan 2010
Location: Crawley, UK
Device: Kindle 3G+WiFi
|
Yeah the 2 books I am having probs with are the 2 with that TM and colon in the title, but I have removed them in word and I still can't get it to create the book?? Am I just going to have to accept I can't create these 2 books?
EDIT: Nevermind was being stupid, problem solved. |
![]() |
![]() |
![]() |
#309 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2010
Device: none
|
Hi =X=,
My friend has helped me out with VB. He has also find the problem. I haven't saved the "word" file to .doc. It was still a .dotm It was on line 31: ActiveDocument.SaveAs szDocBack, FileFormat:=wdFormatDocument Now i don't get an error but i can't find the Epub file after he is done. Where is the output file? I have set it to save it at my desktop. And one other question. Is there a userguide or wiki somewhere? |
![]() |
![]() |
![]() |
#310 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
@jopie
It looks like your doing everything right from here. It looks like the file is just not getting created. From your description I'm not sure if it's a calibre issue or a BC issue. A good way to isolate the problem is to create a debug output and run it from the command line to see if calibre can create the book. 1) Open BookCreator and open a book to test. 2) Depress the "Create Book..." menu option 3) Configure the book information as usual. 4) Select the "Misc" tab 5) Check the "Enable Debug Information" check box. 6) Now look in the directory where the file (opened in step 1) exist. There should be a Debug.txt file. 7) Open that debug file in notepad. 8) Disable word wrap by selecting the 'Format|Word Wrap" 9) Now select the menu "Edit|Select All" 10)Copy the text /////// Now we are going to run calibre from the command line 11) Select the "Start|Run..." windows command 12) In the "Run" dialog box in the "Open" text box type "cmd" 13) This will open a Command Prompt (black window) 14) Now paste the command from (step 10). To do this press the Al+<Space Bar>. Make sure the command prompt window has the focus. 15) Now press the "E" button followed by the "P" 16) Hit the <Return> key // Calibe will run and attempt to convert your BookCreator book. If there are errors calibre will inform you of the messages. If the book is not created type the message or take a screen capture of the window. Last edited by =X=; 02-15-2010 at 06:26 PM. |
![]() |
![]() |
![]() |
#311 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
|
![]() |
![]() |
![]() |
#312 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2010
Device: none
|
Thanks for your help so far.
OK, step 1, i open the .doc file en click on create ebook. on the misc tab i check the "Enable Debug Information" check box. There is no Debug.txt file. Not in the directory where i opened the .doc file and also not in the save to directory. I have also hit "create" but i can't see the debug.txt I don't want to take to much of your spare time so i don't mind of you leave it this way. I must be something that i do wrong er else other people would have the same problem. Thanks again form your help. ![]() |
![]() |
![]() |
![]() |
#313 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
@jopie25 Well sorry I couldn't help you more. I'm fairly conviced it's a security issues with Word 2007. Since you are able to run the macro's just fine, but the file creation process of the macro's are not working. I just don't know enough about Word 2007 to help you out.
=X= |
![]() |
![]() |
![]() |
#314 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2010
Device: none
|
I also think it is an 0ffice 2007 / windows 7 issue.
Thanks for your help and good luck! |
![]() |
![]() |
![]() |
#315 |
Sci Fi Addict :)
![]() ![]() Posts: 108
Karma: 112
Join Date: Jan 2010
Location: Crawley, UK
Device: Kindle 3G+WiFi
|
Hi X,
I was just wondering if it is possible to save the page setup I am using into your template? I have added my own custom text styles to your template but I can't see a way to add the page setup to it? Thanks. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bookcreator | MalcolmFranks | Introduce Yourself | 8 | 10-13-2010 10:49 PM |
BookCreator 3.0 Beta | =X= | Workshop | 43 | 11-21-2009 12:08 AM |
New Update BookCreator v2.6 | =X= | Workshop | 2 | 09-22-2009 06:04 AM |
BookCreator v2.5: Just Released | =X= | Workshop | 0 | 09-28-2008 06:40 PM |
BookCreator v2.0 Released (Book Creating tool) | =X= | Workshop | 1 | 09-15-2008 06:01 PM |