![]() |
#166 | |
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
Quote:
So when the Sigil website downloads pages indicated that there was a flatpak version that was always up to date, I went in that direction. Maybe I should reconsider making my own build - it might be easier than undertaking a new and unknown venture of a VM, about which I know nothing. ![]() |
|
![]() |
![]() |
![]() |
#167 |
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
The plugin tells me each day that an update is available - and it's a lie. I don't mind the plugin checking daily but it should tell the truth.
In post #156, I indicated that after installing the update, Sigil still registers v0.2.1.4 as 0.2.1.3 and that the plugin's xml file still shows version as 0.2.1.3. I've corrected that locally in my version but could another potential problem arise from the way the new version's file is named? It is called "InsertImageSVG_02.1.4.zip" rather than the usual "InsertImageSVG_0.2.1.4.zip". Would that cause a look-up discrepancy in the update module? |
![]() |
![]() |
Advert | |
|
![]() |
#168 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2018
Device: kobo aura one
|
Same here. Installed 0.2.1.4, and it's 0.2.1.3 instead.
|
![]() |
![]() |
![]() |
#169 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,699
Karma: 196509000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
They probably just didn't update the plugin.xml file. Rest assured that it IS a new version with fixes included.
|
![]() |
![]() |
![]() |
#170 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,699
Karma: 196509000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 09-12-2023 at 01:12 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#171 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,956
Karma: 150333332
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I've attached a copy of the plugin zip file with the change to this message. Download and manually install if you so desire. Edit: The version linked in the first message has corrected the version number so I've removed the file from this message. Last edited by DNSB; 09-13-2023 at 11:43 AM. |
|
![]() |
![]() |
![]() |
#172 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
Apologies for forgetting to update the xml file. I have copied the update from DNSB to the first post in this thread so that the first post continues to reflect the latest version of the plugin
|
![]() |
![]() |
![]() |
#173 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2018
Device: kobo aura one
|
Today I got this error:
Status: failed Checking for updates... Published version 02.1.4 Installed version 0.2.1.4 An update for this plugin is available at https://www.mobileread.com/forums/sh...d.php?t=283333 Traceback (most recent call last): File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 142, in launch self.exitcode = target_script.run(container) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/name/Library/Application Support/sigil-ebook/sigil/plugins/InsertImageSVG/plugin.py", line 600, in run CheckForUpdates(root, prefs, url) File "/Users/name/Library/Application Support/sigil-ebook/sigil/plugins/InsertImageSVG/UpdateChecker.py", line 250, in CheckForUpdates IsLatestInstalled= checkVersion(root, prefs, url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/name/Library/Application Support/sigil-ebook/sigil/plugins/InsertImageSVG/UpdateChecker.py", line 237, in checkVersion prefs = ShowUpdateDlg(root, prefs, url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/name/Library/Application Support/sigil-ebook/sigil/plugins/InsertImageSVG/UpdateChecker.py", line 164, in ShowUpdateDlg DlgFrame = ttk.Frame(top, padding="15 15 12 12") ^^^ NameError: name 'ttk' is not defined Error: name 'ttk' is not defined |
![]() |
![]() |
![]() |
#174 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,956
Karma: 150333332
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That was my screwup. I replaced the 02.1.3 version string with 0.2.1.4. I've corrected it and will attach the corrected version to this message. Could someone try this version and let us know if it is working for you.
Edit: My first edit was to the unpacked copy in AppData. Looked okay so I then edited the plugin.xml from the .zip file and screwed up. Colour me embarrassed. Edit: version in first message has been updated so removed file attached to this message. Last edited by DNSB; 09-14-2023 at 11:25 AM. |
![]() |
![]() |
![]() |
#175 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2018
Device: kobo aura one
|
Now it works!
Thanks DNSB! |
![]() |
![]() |
![]() |
#176 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
The plugin in the first post of this thread has been updated.
|
![]() |
![]() |
![]() |
#177 |
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
re: plugin not loading image to clipboard
I posted a query on github.com/flathub/com.sigil_ebook.Sigil/issues/23 asking whether the flatpak version was not allowing the plugin to use xclip and xsel.
Last time when I raised an issue there about java, a fix was posted overnight but it's taking a little longer to get a response this time round. |
![]() |
![]() |
![]() |
#178 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Install the CCTest edit plugin and run it. It should copy 'Lorem ipsum dolor sit amet, consectetur adipiscing elit' to the clipboard. If the plugin works on your Linux machine, it'll be easy to update the plugin code of the SVG wrapper plugin. Here's the code of the CCTest plugin: Spoiler:
|
|
![]() |
![]() |
![]() |
#179 | |
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
Quote:
Code:
QT: session management error: could not open network socket Code:
Status: success Text copied to the clipboard What do you make of that? Was it success or did the CCTest only think it was? I had a quick look inside CCTests's plugins_utils.py and found a DEBUG reference set at DEBUG = 0 so I tried setting that to 1 and ran it again. This time the response gave two pages. The first I couldn't copy but essentially it contained the line about not connecting to a socket. The second page said : Code:
Status: success QtWebEngine PyQt5 Python bindings found. plugin_utilities is using PyQt5 Sigil Qt: 5.15.10 Sigil Qt major version: 5 Python is Bundled: False Qt translation dir: /usr/translations Looking for qtbase_en in /usr/translations Qt Base Translator succesfully installed: False Looking for cctest_en in /home/pnj/.var/app/com.sigil_ebook.Sigil/data/sigil-ebook/sigil/plugins/CCTest/translations Plugin Translator succesfully installed: False Noto Sans,12,-1,5,50,0,0,0,0,0,Regular Font Weight: 50 Noto Sans,12,-1,5,50,0,0,0,0,0,Regular Text copied to the clipboard |
|
![]() |
![]() |
![]() |
#180 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Try changing the code in plugin.py as follows: Spoiler:
If that doesn't work either, try the attached pyperclip-based test plugin. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrap in SVG plugin? | gezginrocker | Plugins | 18 | 07-05-2015 12:20 AM |
svg image on top of a background png image | roger64 | ePub | 25 | 04-24-2015 11:00 AM |
Display of a png image linked to a svg image | roger64 | Editor | 6 | 03-13-2015 06:21 AM |
Image wrap test | Jellby | ePub | 15 | 05-04-2011 02:30 PM |
Combining blockquote with image wrap | WRB | Sigil | 1 | 02-12-2011 07:46 PM |