View Single Post
Old 02-27-2017, 05:37 PM   #2
JakeK
Junior Member
JakeK began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2017
Device: Android Tablet
Error using.. I included error text

Hi,
Just tried your plugin for sigil. I have a book in Google Docs and saved it out then tried to import using your plugin.. I get the following when I do:

Status: failed

Python version: 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)]

Running GoogleZipImport...

-- User input validation checks...
-- Main html file found...PASS
-- eBook cover file found...PASS

-- Start conversion to epub...

-- Gathering metadata...
-- Input file name = C:/Users/MalakieUSN/Documents/Star Citizen Novel/StarCitizen-AFamiliesSingularity/StarCitizenAFamiliesSingularity.html
-- Author name = test
-- Title = test
-- Cover file name = image29.jpg
-- An associated image folder was found for the html file
-- Found 71 ebook images in your local dir
-- Input file encoding is: UTF-8
-- Convert input file to utf-8 if required

-- Input file validation checks...
-- Input html file is in Google HTML format...PASS
-- "Heading 1" style is used in the input html file....PASS

-- Clean, fix and sanitize html garbage code...
-- Fix mixed encoding errors
-- Remove adhoc garbage code...
-- Remove all extraneous text spaces
-- Remove all hard line breaks(<br/>)
-- Remove all tab spaces
-- Remove all "dir", "lang", "name", "id", "align" and "link" attributes
-- Remove all anchors, bookmarks and page links

-- Remove all proprietary garbage code from the html file
-- Preserve and keep all external internet links
-- Remove all internal page links
-- Remove all line-height and font family declarations
-- Remove all isolated </p> tags and </span> tags
-- Remove div tags
-- Remove all page-break refs in styles

-- Cleanup punctuation...
-- Change dumb quotes to curly quotes
-- Convert triple periods to ellipsis
-- Remove the doc TOC if present

-- Create the stylesheet...
-- Creating the CSS file
-- Format the CSS file

-- Move HTML inline styles to CSS
-- Reformat and insert ebook images
-- Split all chapters/headers into separate xhtml files
-- Add meta headers to all the new html header files
Traceback (most recent call last):
File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch
self.exitcode = target_script.run(container)
File "C:\Users\MalakieUSN\AppData\Local\sigil-ebook\sigil\plugins\GoogleZipImport\plugin.py", line 79, in run
epub_path = convert2Epub(html_file_path)
File "C:\Users\MalakieUSN\AppData\Local\sigil-ebook\sigil\plugins\GoogleZipImport\convert.py", line 118, in convert2Epub
file_name_paths, pure_file_names = splitHeaders2Files(WDIR, file, newfile, title)
File "C:\Users\MalakieUSN\AppData\Local\sigil-ebook\sigil\plugins\GoogleZipImport\cutils.py", line 338, in splitHeaders2Files
outfp = open(out_path, 'wt', encoding=('utf-8'))
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\MALAKI~1\\AppData\\Local\\Temp\\tmp167 bongs\\Copyright_2015_2017_by_Jake_Kinkaid,_All_Ri ghts_Reserved._No_part_of_this_story_or_the_docume nt_containing_the_story_may_be_reproduced_in_part_ or_whole,_without_the_express_permission_of_Jake_K inkaid_Malakie..xhtml'
Error: [Errno 2] No such file or directory: 'C:\\Users\\MALAKI~1\\AppData\\Local\\Temp\\tmp167 bongs\\Copyright_2015_2017_by_Jake_Kinkaid,_All_Ri ghts_Reserved._No_part_of_this_story_or_the_docume nt_containing_the_story_may_be_reproduced_in_part_ or_whole,_without_the_express_permission_of_Jake_K inkaid_Malakie..xhtml'



Any ideas?
JakeK is offline   Reply With Quote