View Single Post
Old 09-04-2019, 12:55 AM   #31
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,841
Karma: 8006346
Join Date: Mar 2015
Device: Kindle, iOS
Greetings!

This wonderful plug-in is failing when I run it in Sigil 0.9.18 :(

Here's the error message:

Code:
Status: failed

Traceback (most recent call last):
File "/Applications/Sigil.app/Contents/plugin_launchers/python/launcher.py", line 135, in launch
self.exitcode = target_script.run(container)
File "/Users/oda/Library/Application Support/sigil-ebook/sigil/plugins/cssRemoveUnusedSelectors/plugin.py", line 600, in run
css_to_change[sel_data[0]] = sel_data[4].cssText
File "site-packages/css_parser/css/cssstylesheet.py", line 139, in _getCssText
File "/Users/oda/Library/Application Support/sigil-ebook/sigil/plugins/cssRemoveUnusedSelectors/customCssutils.py", line 53, in do_CSSStyleSheet
text = self._linenumnbers(self.prefs.lineSeparator.join(out))
AttributeError: 'MyCSSSerializer' object has no attribute '_linenumnbers'
Error: 'MyCSSSerializer' object has no attribute '_linenumnbers'
Any help great appreciated. Thank you!

Last edited by odamizu; 09-04-2019 at 01:51 AM.
odamizu is offline   Reply With Quote