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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2016, 02:04 PM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,605
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JustinThought View Post
edit Friday morning: Okay, I give up. I was not able to duplicate FlightCrew operating properly on my black box today--and the environment should be the same, as the computer "slept" all night, was not turned off. So, here's just one of my epubs that test fine on the desktop, even though it has 1) an MP3 audio file; 2) two video files; and 3) several unused graphics files. As I said, it tests with "No Problems Found" on the desktop; but when I call it into Sigil here on my laptop, I get more warnings than Will Robinson ever got from Robbie.

So that tells me that the problem is with my installation and/or environment on the desktop, not a problem with either Sigil or the FlightCrew addon. As time permits, I'll keep investigating, and if I ever find the problem, I'll let you know.

My suspicion is that it's an ID-10T error. Those are situations that you have no control over.
I can verify that I see all of the errors/warnings produced by Flightcrew on my Sigil v0.9.7 on Windows with your attached epub.

Color me baffled as to why it would be different on a different machine (with the same version of Sigil). We've taken great pains to ensure that Sigil's bundled Python (please check to make sure the problematic Sigil installation is set to use the Bundled Python, by the way) remains isolated and unaffected by any system system versions of Python.

The reason I was so specific about how you were launching the plugin was because the F7 keyboard shortcut used to be assigned to Sigil's verification (Flightcrew) routines. When Flightcrew was removed as integral part of Sigil, the F7 became assigned to the "Sanity (later called Well-formed Check." My fear was that you may have been launching the Well-formed check with F7 thinking it was still Flightcrew (which would explain why epub spec-compliant issues weren't being flagged). But that doesn't seem to be the case.
DiapDealer is online now   Reply With Quote
Old 11-19-2016, 02:14 AM   #17
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 4,802
Karma: 21644862
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
Quote:
Originally Posted by JustinThought View Post
No apology necessary--you're helping me! Well, I was running the quick-launch button (assigned to the first button), but I also ran it from the menu, with the same result.

....

So that tells me that the problem is with my installation and/or environment on the desktop, not a problem with either Sigil or the FlightCrew addon. As time permits, I'll keep investigating, and if I ever find the problem, I'll let you know.

My suspicion is that it's an ID-10T error. Those are situations that you have no control over.
I'm not even sure you should be running FlightCrew against this file. The multimedia elements and nav.xhtml suggest this should be an epub3 which FlightCrew does not work with. When I do run FlightCrew, it seems to be complaining that it doesn't know what to do with audio and video elements while EpubCheck also complain that audio and video elements are not supported when I run it against your borkified file.

Admittedly if I change the version to 3.0 external to Sigil, I get even more error messages from EpubCheck while FlightCrew gives it's expected
Code:
Status: failed
Error: FlightCrew only validates epub2 ebooks
Hitting F7 on either version gives "No problems found">

Last edited by DNSB; 11-19-2016 at 02:16 AM.
DNSB is offline   Reply With Quote
Advert
Old 11-19-2016, 03:44 AM   #18
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: 4,224
Karma: 13659369
Join Date: Dec 2010
Device: Kindle PW2
@JustinThought: To exclude problems with the external binary, change the following following two lines in the FlightCrew plugin.py file:

From:

Code:
    res_out, res_err = process.communicate()
    retcode = process.returncode
To:

Code:
    res_out, res_err = process.communicate()
    retcode = process.returncode
    print('res_out: ' + str(res_out), 'res_err: ' + str(res_err), 'retcode: ' + str(retcode))
    return -1
To locate the FlighCrew plugin folder select Edit > Preferences > Open Preferences Location > Plugins > FlightCrew.
Make sure that there are exactly 4 spaces before each of the two new lines.

This will cause the plugin to fail, however, clicking Details will display the raw information returned from the epubcheck binary.

If the plugin works, the output should look like this for your borkified file:
Spoiler:
Code:
Status: failed

Running FlightCrew ... please wait
res_out: b'' res_err: b"<problem>\r\n  <type>warning</type>\r\n  <filepath>OEBPS/Images/1967-02-The-Cat-Who-Ate-Danish-Modern-thumb.png</filepath>\r\n  <line></line>\r\n  <column></column>\r\n  <resultid>2200</resultid>\r\n  <msg>This resource is present in the OPF <manifest>, but it's not reachable (it's unused).</msg>\r\n</problem>\r\n<problem>\r\n  <type>warning</type>\r\n  <filepath>OEBPS/Images/1988-08-The-Cat-Who-Sniffed-Glue--cover.png</filepath>\r\n  <line></line>\r\n  <column></column>\r\n  <resultid>2200</resultid>\r\n  <msg>This resource is present in the OPF <manifest>, but it's not reachable (it's unused).</msg>\r\n</problem>\r\n<problem>\r\n  <type>warning</type>\r\n  <filepath>OEBPS/Images/1989-09-The-Cat-Who-Went-Underground-OCA2.png</filepath>\r\n  <line></line>\r\n  <column></column>\r\n  <resultid>2200</resultid>\r\n  <msg>This resource is present in the OPF <manifest>, but it's not reachable (it's unused).</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>21</line>\r\n  <column>87</column>\r\n  <resultid>301</resultid>\r\n  <msg>attribute 'controls' is not declared for element 'audio'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>21</line>\r\n  <column>87</column>\r\n  <resultid>301</resultid>\r\n  <msg>attribute 'src' is not declared for element 'audio'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>21</line>\r\n  <column>87</column>\r\n  <resultid>301</resultid>\r\n  <msg>no declaration found for element 'audio'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>21</line>\r\n  <column>146</column>\r\n  <resultid>301</resultid>\r\n  <msg>element 'audio' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|small|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym|sub|sup|input|select|textarea|label|button|ins|del|script)'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>99</line>\r\n  <column>111</column>\r\n  <resultid>301</resultid>\r\n  <msg>attribute 'controls' is not declared for element 'video'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>99</line>\r\n  <column>111</column>\r\n  <resultid>301</resultid>\r\n  <msg>attribute 'src' is not declared for element 'video'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>99</line>\r\n  <column>111</column>\r\n  <resultid>301</resultid>\r\n  <msg>no declaration found for element 'video'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>99</line>\r\n  <column>184</column>\r\n  <resultid>301</resultid>\r\n  <msg>element 'video' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|small|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym|sub|sup|input|select|textarea|label|button|ins|del|script)'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>103</line>\r\n  <column>111</column>\r\n  <resultid>301</resultid>\r\n  <msg>attribute 'controls' is not declared for element 'video'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>103</line>\r\n  <column>111</column>\r\n  <resultid>301</resultid>\r\n  <msg>attribute 'src' is not declared for element 'video'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>103</line>\r\n  <column>111</column>\r\n  <resultid>301</resultid>\r\n  <msg>no declaration found for element 'video'</msg>\r\n</problem>\r\n<problem>\r\n  <type>error</type>\r\n  <filepath>OEBPS/Text/DogDrink001.xhtml</filepath>\r\n  <line>103</line>\r\n  <column>184</column>\r\n  <resultid>301</resultid>\r\n  <msg>element 'video' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|small|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym|sub|sup|input|select|textarea|label|button|ins|del|script)'</msg>\r\n</problem>\r\n" retcode: 1


Implement these changes on the machine where FlightCrew doesn't work and post your results.

Quote:
Originally Posted by DNSB View Post
I'm not even sure you should be running FlightCrew against this file. The multimedia elements and nav.xhtml suggest this should be an epub3 which FlightCrew does not work with. When I do run FlightCrew, it seems to be complaining that it doesn't know what to do with audio and video elements while EpubCheck also complain that audio and video elements are not supported when I run it against your borkified file.
AFAIK, it's not possible to create valid epub2 books with embedded multimedia files. (Here's a valid epub3 book with audio files in them.)

Quote:
Originally Posted by DNSB View Post
Admittedly if I change the version to 3.0 external to Sigil, I get even more error messages from EpubCheck [...]
[CODE]
Changing the version number to 3.0 is a bad idea. Use KevinH's ePub3-itizer plugin instead.
Doitsu is offline   Reply With Quote
Old 11-19-2016, 02:15 PM   #19
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 4,802
Karma: 21644862
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
Quote:
Originally Posted by Doitsu View Post
AFAIK, it's not possible to create valid epub2 books with embedded multimedia files. (Here's a valid epub3 book with audio files in them.)
One of the major reasons I was questioning the epub version used.



Quote:
Originally Posted by Doitsu View Post
Changing the version number to 3.0 is a bad idea. Use KevinH's ePub3-itizer plugin instead.
I didn't want to do a proper job of converting it to epub3, I just wanted to switch the version for a file that is not going to be distributed.
DNSB is offline   Reply With Quote
Old 11-23-2016, 02:03 AM   #20
JustinThought
Zealot
JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.
 
JustinThought's Avatar
 
Posts: 149
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
Quote:
Originally Posted by Doitsu View Post
@JustinThought: To exclude problems with the external binary, change the following following two lines in the FlightCrew plugin.py file:

From:

/snip!/

Implement these changes on the machine where FlightCrew doesn't work and post your results.


AFAIK, it's not possible to create valid epub2 books with embedded multimedia files. (Here's a valid epub3 book with audio files in them.)
Sorry, you guys are being so helpful, and I had lost track of this thread.

So I implemented the changes you suggested, ran FlightCrew against my sample file, as well as a different file which, as far as I know, has no problems, on the problematic machine, and here's what came back on both files:

Status: failed

Running FlightCrew ... please wait
res_out: b'' res_err: b'' retcode: 3221225781

I hope that means something to you.

In the meantime, while I was ignoring you guys' helpful advice, I had taken matters into my own hands, just as an experiment. What i did was to un-install Sigil and the associated Microsoft C++ runtime; then I went in and changed the name of the Sigil preferences folder (I didn't want to lose my saved searches or dictionary); deleted every other reference to Sigil that I could possibly find on my machine, and then re-installed the entire thing. Pulled up a valid Epub that I knew had some unused graphics in it, ran Flight Crew--and it came back immediately with "No Problems Found."

I was laughing hysterically because it felt so good when I quit pounding my head on the keyboard. (Note to self: buy a new keyboard. Gonna need that "R" key someday.)

Really, this isn't that great of an issue. The only problems that FlightCrew ever found that EpubCheck didn't was the unused media files. I can easily just use the function Tools/Delete Unused Media Files instead.

And yes, I am aware that putting MP3 and MP4 files into an Epub2 file invalidates that file. Those files are my quick'n'dirty files that I use in my classes, and won't ever be published. Limited use, and only by myself.

As I've said before, but can't say enough, I really do appreciate all the skull-sweat you are putting into this issue.
JustinThought is offline   Reply With Quote
Advert
Old 11-23-2016, 09:20 AM   #21
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: 4,224
Karma: 13659369
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JustinThought View Post
So I implemented the changes you suggested, ran FlightCrew against my sample file, as well as a different file which, as far as I know, has no problems, on the problematic machine, and here's what came back on both files:

Status: failed

Running FlightCrew ... please wait
res_out: b'' res_err: b'' retcode: 3221225781

I hope that means something to you.
Unfortunately, I don't know what that specific return code means, but it looks like Sigil and/or Python can't run the FlightCrew binary in the background.

Try to temporarily disable any antivirus/malware apps with real-time scanning features before running FlightCrew. If FlightCrew works, you might have accidentally blacklisted the FlightCrew binary (flightcrew-plugin.exe).

Hopefully, KevinH, who wrote the FlightCrew plugin will know more about this return code.
Doitsu is offline   Reply With Quote
Old 11-23-2016, 11:47 AM   #22
JustinThought
Zealot
JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.
 
JustinThought's Avatar
 
Posts: 149
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
Quote:
Originally Posted by Doitsu;34320 78
Unfortunately, I don't know what that specific return code means, but it looks like Sigil and/or Python can't run the FlightCrew binary in the background.

Try to temporarily disable any antivirus/malware apps with real-time scanning features before running FlightCrew. If FlightCrew works, you might have accidentally blacklisted the FlightCrew binary (flightcrew-plugin.exe).

Hopefully, KevinH, who wrote the FlightCrew plugin will know more about this return code.
What, you don't have all 3,221,225,781 error codes memorized? Gee!

That machine has no internet privileges, so it also has no antivirus installed. You know, we could just be dealing with a factor of age. I built that machine about six or seven years ago, so it's getting a little long in the tooth. I don't remember the details of the CPU inside, but the motherboard is ASUS. Whereas "this" machine (my laptop) is an underpowered Lenovo, but it's fairly new. There could have been some arcane changes in the CPUs that just makes running FlightCrew impossible.

But I'll keep on messing with it, and if I ever discover the solution, I promise that I'll let you know what it is.

--add on: while I was contemplating this response, I decided to check the desktop to be sure the two machines were running the same version of Windows; indeed, both have Win 7 Ultimate, now with SP-1. So maybe there was a problem with memory? Nope. The desktop has 4 gb, this machine only has two.

But I'll keep going through this mental checklist. There's something on that machine that sets the "FlightCrew? We don' need no steenkin' FlightCrew!" flag to TRUE.
JustinThought is offline   Reply With Quote
Old 11-23-2016, 01:46 PM   #23
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,021
Karma: 1931746
Join Date: Nov 2009
Device: many
Wow That is a new return code to me! I simply can not figure out how flightcrew can come back with no problems if the flightcrew binary will not run for some reason. Perhaps, the issue is that the C++ runtime needed for FlightCrew's binary to work properly is either not installed or has been replaced by a newer C++ runtime.

Perhaps recompiling the Flightcrew plugin with newer tools on Windows might be needed.

Since I am not a Windows person, I am really grasping at straws here.

I will try to look closer at that code tonight and see if I can modify the flightcrew plugin to dump more diagnostic information on failure that might help us to track down what is going on.

KevinH

Last edited by KevinH; 11-23-2016 at 06:02 PM.
KevinH is offline   Reply With Quote
Old 11-23-2016, 03:03 PM   #24
JustinThought
Zealot
JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.
 
JustinThought's Avatar
 
Posts: 149
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
Quote:
Originally Posted by KevinH View Post
Wow That is a new return code to me! I simply can not figure out how flightcrew can come back with no problems if the flightcrew binary will not run for some reason. Perhaps, the issue is that the C++ runtime needed for FlightCrew's binary to work properly is either not installed or has been replaced by a newer C++ runtime.

Perhaps recompiling the Flightcrew plugin with newer tools on Windows might be needed.

Since I am not a Windows person, I am really grasping at straws here.

I will tryt o look closer at that code tonight and see if I can modify the flightcrew plugin to dump more diagnostic information on failure that might help us to track down what is going on.

KevinH
You might have hit on something there. When I did my complete re-install, the C++ runtime did not install (even though it said it was installing); it was not in my installed programs even after a reboot. I received that error message that others have referenced here, and Sigil wouldn't run. So I did a manual install of the C++ runtime, using "vc_redist.x64" that I downloaded from Microsoft. I hadn't mentioned it because I'm not sure if the same problem occurred with the installation on the laptop; I was dealing with the issue of not having SP-1 installed, and that detail might have gotten lost in the confusion.

If you have any suggestions for a replacement or alternative, I'd be willing to even go through the totally-clean-install again if that would clear up the mystery.

edit:
So I went machine to machine to compare my C++ libraries, and here's what I found:

laptop (FlightCrew works):
Microsoft Visual C++ 2015 Redistributable (x64) 14.0.24210

desktop (FlightCrew no workee:
Microsoft Visual C++ 2015 Redistributable (x64) 14.0.23026

Hmmm. And Hmmm again.

There's a reason everyone loves Microsoft so much. If I had enough nerve, I would convert to a flavor of Linux...but I'm not quite that brave--yet.

Last edited by JustinThought; 11-23-2016 at 03:33 PM.
JustinThought is offline   Reply With Quote
Old 11-23-2016, 04:48 PM   #25
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: 10,475
Karma: 10563064
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@JustinThought - my 14.0.24210 was installed on 2016-10-31, the same day I installed Sigil 0.9.7, nothing else was installed on that date - so it can be assumed its install was initiated by the Sigil install.

My memory is that the Sigil install initiates a download and install of the C++ run time it needs. Maybe it couldn't do that because your laptop has no internet, hence you're stuck on the old version of the C++ runtime.

A search for 'c++ runtime 14.0.24210' leaves me with the impression that 14.0.24210 was only ever distributed within the VS package or via msdn subscriptions. As you've discovered the Download Visual C++ Redistributable for Visual Studio 2015 from Official Microsoft Download Center is still coughing up 14.0.23026.

So the question is - where does one get the version of the C++ runtime Sigil needs if there is no internet connection on the machine on which Sigil is being installed?

BR

Added: irrelevant, but... a couple of weeks ago the Secunia PSI tool I have installed notified me out of the blue that nine VS C++ run time libraries had been uninstalled, yet I hadn't knowingly installed, reinstalled or uninstalled anything for a week or more. I had noticed there seemed to be an ever increasing number of of them. It's down to a more reasonable number now. I have no idea what triggered their removal, nothing has stopped working. This is on Win 10 1511, Windows Update is set to Notify, and Upgrades are deferred. Bit spooky.

Last edited by BetterRed; 11-23-2016 at 05:26 PM.
BetterRed is offline   Reply With Quote
Old 11-23-2016, 05:12 PM   #26
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,605
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The runtime issue is very likely the problem.

The plugin needs the VC++ 2013 runtime to run. Which used to be installed with Sigil by default (if it wasn't already) in older versions of Sigil.

Sigil v0.9.7 only checks for (and installs) the VC++ 2015 runtime. So if the 2013 runtime isn't installed, the current Flightcrew plugin is not going to work.

For now, download and install the VC++ 2013 runtime from Microsoft to restore Flightcrew's functionality. We'll have to decide how best to proceeed with the Flightcrew plugin distribution on Windows.

Last edited by DiapDealer; 11-23-2016 at 05:16 PM.
DiapDealer is online now   Reply With Quote
Old 11-23-2016, 06:10 PM   #27
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,021
Karma: 1931746
Join Date: Nov 2009
Device: many
You can have multiple VS C++ runtime libraries installed on the same machine with no problems, right? Otherwise all older C++ apps would just fail on a clean install. So as DiapDealer suggested, please try installing the 2013 C++ runtime but do not delete the newer 2015 one.

Please let us know if that fixes the issue. Based on what BetterRed said, pehaps the newest 2015 runtime library is better at backwards compatibility thereby allowing many older C++ runtime libraries to now be deleted. That is just a wag, but it might help explain things if true.
KevinH is offline   Reply With Quote
Old 11-23-2016, 06:58 PM   #28
JustinThought
Zealot
JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.
 
JustinThought's Avatar
 
Posts: 149
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
Quote:
Originally Posted by DiapDealer View Post
The runtime issue is very likely the problem.

The plugin needs the VC++ 2013 runtime to run. Which used to be installed with Sigil by default (if it wasn't already) in older versions of Sigil.

Sigil v0.9.7 only checks for (and installs) the VC++ 2015 runtime. So if the 2013 runtime isn't installed, the current Flightcrew plugin is not going to work.

For now, download and install the VC++ 2013 runtime from Microsoft to restore Flightcrew's functionality. We'll have to decide how best to proceeed with the Flightcrew plugin distribution on Windows.
So, which would you rather have--a thousand words, or will a picture do?

to everyone who devoted so much time, thought, and effort to this issue!
Attached Thumbnails
Click image for larger version

Name:	Image1.png
Views:	135
Size:	373.1 KB
ID:	153192  
JustinThought is offline   Reply With Quote
Old 11-23-2016, 09:02 PM   #29
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,605
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
My memory is that the Sigil install initiates a download and install of the C++ run time it needs. Maybe it couldn't do that because your laptop has no internet, hence you're stuck on the old version of the C++ runtime.
No. The Sigil installer doesn't do any downloading. The vc++ runtime redistributable is included with the Sigil installer. But the runtime installer only runs if it's not already installed on your machine (or the installed version of the runtime is an earlier build than the one included with Sigil).

I need to see if I can build the Windows plugin Flightcrew executable with MingW or something, so there's no runtime dependency. The problem is that the plugin's vc++ dependency and Sigil's are out of sync right now. It's not usually going to be a problem since most people that already have Sigil installed, have vc++ 2013 (from previous versions of Sigil at the very least). But as this thread proves, there's only going to be more and more machines that might not have the runtime installed that Flightcrew currently needs.

I can easily update the Flightcrew plugin to use the same vc++ runtime as Sigil 0.9.7, but then the plugin wouldn't work on computers that had older versions of Sigil installed (unless they'd manually installed the vc++ 2015 runtime themselves).
DiapDealer is online now   Reply With Quote
Reply

Tags
flightcrew, install, plugin, setup, sigil

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] ePub3-itizer - epub3 output plugin for Sigil KevinH Plugins 307 08-12-2018 02:27 PM
[Plugin] KindleImport Sigil plugin DiapDealer Plugins 151 09-27-2017 05:05 PM
[Plugin] PunctuationSmarten Sigil plugin DiapDealer Plugins 72 09-25-2017 12:50 PM
FightCrew ADelm Sigil 2 04-07-2016 05:02 AM


All times are GMT -4. The time now is 10:27 AM.


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