![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
|
Access-Aide Issue
I have been away from using Sigil for a few months and had to re-install Sigil and Access-Aide on a new computer. I ran into this problem the first time I used access-aide in a while.
I wonder if I have missed something during the installation. Here is the error message I get. C:\Users\jhswi\AppData\Local\sigil-ebook\sigil\plugins\Access-Aide\plugin.py:260: SyntaxWarning: invalid escape sequence '\s' whitespace_re = re.compile("\s+") Traceback (most recent call last): File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch self.exitcode = target_script.run(container) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "C:\Users\jhswi\AppData\Local\sigil-ebook\sigil\plugins\Access-Aide\plugin.py", line 471, in run naltlist = GUIUpdateFromList("Update Alt Text for Each Image", altlist, basewidth) File "C:\Users\jhswi\AppData\Local\sigil-ebook\sigil\plugins\Access-Aide\accessgui.py", line 38, in GUIUpdateFromList ls = updateList(localRoot, title, list, basewidth) File "C:\Users\jhswi\AppData\Local\sigil-ebook\sigil\plugins\Access-Aide\accessgui.py", line 102, in __init__ aimg = resize_image_copy(self.basewidth, img) File "C:\Users\jhswi\AppData\Local\sigil-ebook\sigil\plugins\Access-Aide\accessgui.py", line 33, in resize_image_copy return ImageTk.PhotoImage(image.resize((basewidth, newheight), Image.ANTIALIAS)) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' Error: module 'PIL.Image' has no attribute 'ANTIALIAS' |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,760
Karma: 206758686
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think you may be using an older version of the plugin. One that will probably have issues with the latest version of Sigil (which has a newer Python bundled).
The line numbers in your traceback aren't jiving with the latest code in the plugin. Plus I'm fairly certain the ANTIALIAS deprecation in Pillow was handed quite awhile ago. |
![]() |
![]() |
![]() |
#3 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
|
Quote:
Thanks again |
|
![]() |
![]() |
![]() |
Tags |
accss-aide |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding Access-Aide to Sigil does not work | rinegc | Plugins | 4 | 06-30-2025 03:56 AM |
Question about alt-text in Access-Aide | oston | Sigil | 38 | 04-26-2025 09:39 AM |
Bug: splitting pages after using Access Aide | oston | Sigil | 4 | 04-08-2024 07:59 AM |
[Editor Plugins] Access Aide | wolf123 | Plugins | 5 | 07-08-2023 01:10 PM |
access-aide failure | oston | Sigil | 5 | 06-27-2023 03:42 PM |