Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-09-2025, 09:04 PM   #1
oston
Connoisseur
oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.
 
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'
oston is offline   Reply With Quote
Old 09-09-2025, 10:40 PM   #2
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: 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.
DiapDealer is offline   Reply With Quote
Old 09-09-2025, 11:28 PM   #3
oston
Connoisseur
oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.oston ought to be getting tired of karma fortunes by now.
 
Posts: 83
Karma: 2138296
Join Date: Nov 2016
Device: ipad, Kindle Scribe, Kobo Libra 2
Quote:
Originally Posted by DiapDealer View Post
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.
Many thanks, that was, indeed, the cause of the error. I thought I had only retained the latest version, but that was incorrect. Problem solved now.
Thanks again
oston is offline   Reply With Quote
Reply

Tags
accss-aide


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:34 AM.


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