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

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-03-2017, 05:47 PM   #16
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 4,076
Karma: 8640555
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/AuraH2O/GloHD/AuraOne
... additional info in case it's relevant ...

The /sysfiles/temp part of my versions of the 'message' fields are my Windows Temp directory which is actually located at D:\sysfiles\Temp not the default C:\Users\username\AppData\Local\Temp

Might this be the problem?
jackie_w is offline   Reply With Quote
Advert
Old 05-03-2017, 07:07 PM   #17
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 4,076
Karma: 8640555
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/AuraH2O/GloHD/AuraOne
Following up on my own thoughts...

I've managed to make EpubCheck work on my PC by making the following minor changes:

1. lines 154-157

Code:
                    if iswindows:
                        # drive_letter = os.getenv("SystemDrive")    
                        # line = re.sub(drive_letter, 'C^',  line)
                        # line = re.sub(drive_letter.lower(), 'C^',  line)
                        pathx = epub_path.replace(os.sep, '/')
                        line = re.sub(pathx, '',  line)
and also comment out lines 191 and 192

Code:
                    # if iswindows:
                    #    filename = os.path.basename(re.sub('C^', drive_letter, filename))
Only time will tell whether it's a robust solution or a temporary Band-Aid
jackie_w is offline   Reply With Quote
Old 05-03-2017, 07:22 PM   #18
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 9,298
Karma: 7810051
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jackie_w View Post
... additional info in case it's relevant ...

The /sysfiles/temp part of my versions of the 'message' fields are my Windows Temp directory which is actually located at D:\sysfiles\Temp not the default C:\Users\username\AppData\Local\Temp
So... it seems you are not a '...a plain old Windows user..."

Quote:
Originally Posted by jackie_w View Post
Might this be the problem?
Could be - in theory plugins 'should' use the same place for their temporary files as the host application uses, but with a wrapper around 3rd party java code who knows.

Calibre's temporary location can be set by the CALIBRE_TEMP_DIR environment variable.

There are two sets of TEMP and TMP environment variables, one at the System and one per User level. I don't why, when, and by what the System ones are used, I've never noticed them at my %systemroot% location. There's also a Temp folder in %windir%

It might also be the Path setting, make sure there's only one entry for Java in particular.

I find Rapid Environment Editor useful for 'managing' environment variables, see attachment.

BR
Attached Thumbnails
Click image for larger version

Name:	envvars.jpg
Views:	55
Size:	117.2 KB
ID:	156504  
BetterRed is offline   Reply With Quote
Old 05-03-2017, 07:50 PM   #19
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 4,076
Karma: 8640555
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/AuraH2O/GloHD/AuraOne
Quote:
Originally Posted by BetterRed View Post
So... it seems you are not a '...a plain old Windows user..."
Emphasis on the 'old'

When I got this new laptop I was told my C: drive was an SSD drive and that they wore out faster than normal hard disks. Given how much calibre epub tweaking I do I concluded the Temp directory was going to see a lot of action so I'd better move it to the D: drive which is not SSD. All my programs are installed on C:. (I wish I fully understood what I've just written).
jackie_w is offline   Reply With Quote
Old 05-03-2017, 08:50 PM   #20
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 9,298
Karma: 7810051
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jackie_w View Post
Emphasis on the 'old'
As long as it's not on the 'plain'

SSD's wearing out faster is theoretically true, but for practical purposes its an Urban Myth

But why not give calibre its own temp folder - as I have, not to save war and tar on my SSD just so's I can get at things when I want them.

BR
BetterRed is offline   Reply With Quote
Advert
Old 06-18-2017, 02:31 PM   #21
Feldegast
Junior Member
Feldegast began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2014
Device: samsung galaxy s2
Exclamation not showing file names in list of errors

when i run epub check it shows me the 1st html file that has an error but not files after that and if the 1st error is not in the 1st html file it doesn't show the name of the 1st file with an error
when i run the same file on http://validator.idpf.org/application/validate it shows the file names

instead of the file name it returns NA

i am using epub check 0.1.1
calibre 3.0
on OSX Sierra 10.12.5
Feldegast is offline   Reply With Quote
Old 06-18-2017, 02:48 PM   #22
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,953
Karma: 12058512
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Feldegast View Post
when i run epub check it shows me the 1st html file that has an error but not files after that
The plugin hasn't been thoroughly tested with the macOS version of Calibre. BTW, it's known to cause problems, if users change the default temp folder location.

In order to fix this problem, I'll need the file that caused this problem. Please zip it up in a password protected .zip file and send me the download link and the password via PM.
Doitsu is offline   Reply With Quote
Old 06-23-2017, 02:18 AM   #23
Feldegast
Junior Member
Feldegast began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2014
Device: samsung galaxy s2
not showing file names in list of errors

i will send you the next one i find an issue with
i have not changed the location of the temp folder
Feldegast 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
epubcheck plugin for Sigil Doitsu Plugins 148 09-16-2017 09:03 AM
Open Metadata Editor from plugin notbuu Development 5 10-05-2016 01:10 AM
Sample Plugin for the Editor DiapDealer Editor 77 12-10-2014 08:16 AM
Editor plugin question DiapDealer Development 2 07-28-2014 11:23 PM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 10:53 PM


All times are GMT -4. The time now is 12:40 PM.


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