Opened 3 weeks ago
Closed 12 days ago
#14382 closed defect (fixed)
No macro or processor named 'styledtable' found
Reported by: | Reza | Owned by: | jonny |
---|---|---|---|
Priority: | high | Component: | TablePlugin |
Severity: | major | Keywords: | |
Cc: | reza.hatami@… | Trac Release: | 1.6 |
Description
Hi,
I installed Table plugin (TablePlugin-0.2-py3.6.egg) and even though I see the plugin loaded in log file, i still see the below error.
Error: Failed to load processor styledtable No macro or processor named 'styledtable' found
Can you please help??
Attachments (0)
Change History (10)
comment:1 Changed 3 weeks ago by
Component: | TagsPlugin → TablePlugin |
---|---|
Owner: | changed from Ryan J Ollos to jonny |
comment:2 Changed 3 weeks ago by
Please share both trac.ini and trac.log in your environment after enabling logging with DEBUG level. I guess that you failed to install and/or enable the plugin.
comment:4 Changed 3 weeks ago by
[components] acct_mgr.admin.* = enabled acct_mgr.api.* = enabled acct_mgr.db.sessionstore = disabled acct_mgr.htfile.abstractpasswordfilestore = enabled acct_mgr.htfile.htdigeststore = enabled acct_mgr.htfile.htpasswdstore = disabled acct_mgr.http.httpauthstore = enabled acct_mgr.notification.* = enabled acct_mgr.pwhash.htdigesthashmethod = enabled acct_mgr.pwhash.htpasswdhashmethod = disabled acct_mgr.register.* = enabled acct_mgr.register.emailverificationmodule = disabled acct_mgr.register.registrationmodule = disabled acct_mgr.svnserve.svnservepasswordstore = disabled acct_mgr.web_ui.* = enabled acct_mgr.web_ui.registrationmodule = disabled acct_mgr.web_ui.resetpwstore = disabled dynfields.* = enabled graphviz.* = enabled inieditorpanel.default_manager.inieditorbasicsecuritymanager = enabled inieditorpanel.default_manager.inieditoremptysecuritymanager = enabled inieditorpanel.web_ui.traciniadminpanel = enabled trac.web.auth.loginmodule = disabled tracnav.* = enabled tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = enabled tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = enabled tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled trac.admin.web_ui.* = enabled table.* = enabled tracwikiextras.* = enabled wikitable.* = enabled
comment:6 Changed 3 weeks ago by
Here is part of the logs
2025-06-17 15:49:06,130 Trac[loader] DEBUG: Loading plugin "acct_mgr.pwhash" from "/srv/trac/powerstream/plugins/TracAccountManager-0.6.0-py3.6.egg" 2025-06-17 15:49:06,131 Trac[loader] DEBUG: Loading plugin "acct_mgr.register" from "/srv/trac/powerstream/plugins/TracAccountManager-0.6.0-py3.6.egg" 2025-06-17 15:49:06,131 Trac[loader] DEBUG: Loading plugin "acct_mgr.svnserve" from "/srv/trac/powerstream/plugins/TracAccountManager-0.6.0-py3.6.egg" 2025-06-17 15:49:06,140 Trac[loader] DEBUG: Loading plugin "acct_mgr.web_ui" from "/srv/trac/powerstream/plugins/TracAccountManager-0.6.0-py3.6.egg" 2025-06-17 15:49:06,140 Trac[loader] DEBUG: Loading plugin "dynfields.rules" from "/srv/trac/powerstream/plugins/TracDynamicFields-2.6.0.dev0-py3.6.egg" 2025-06-17 15:49:06,147 Trac[loader] DEBUG: Loading plugin "dynfields.web_ui" from "/srv/trac/powerstream/plugins/TracDynamicFields-2.6.0.dev0-py3.6.egg" 2025-06-17 15:49:06,150 Trac[loader] DEBUG: Loading plugin "graphviz" from "/srv/trac/powerstream/plugins/TracGraphviz-1.4.0.4.dev0-py3.6.egg" 2025-06-17 15:49:06,159 Trac[loader] DEBUG: Loading plugin "iniadminpanel.default_manager" from "/srv/trac/powerstream/plugins/TracIniAdminPanel-1.6.0-py3.6.egg" 2025-06-17 15:49:06,162 Trac[loader] DEBUG: Loading plugin "iniadminpanel.web_ui" from "/srv/trac/powerstream/plugins/TracIniAdminPanel-1.6.0-py3.6.egg" 2025-06-17 15:49:06,170 Trac[loader] DEBUG: Loading plugin "table" from "/usr/local/lib/python3.6/site-packages/TablePlugin-0.2-py3.6.egg" 2025-06-17 15:49:06,171 Trac[loader] DEBUG: Loading plugin "trac.about" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,172 Trac[loader] DEBUG: Loading plugin "trac.admin.console" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,183 Trac[loader] DEBUG: Loading plugin "trac.admin.web_ui" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,191 Trac[loader] DEBUG: Loading plugin "trac.attachment" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,191 Trac[loader] DEBUG: Loading plugin "trac.db.mysql" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,206 Trac[loader] DEBUG: Skipping "trac.db.mysql = trac.db.mysql_backend [mysql]": DistributionNotFound: The 'PyMySQL' distribution was not found and is required by the application 2025-06-17 15:49:06,206 Trac[loader] DEBUG: Loading plugin "trac.db.postgres" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,238 Trac[loader] DEBUG: Loading plugin "trac.db.sqlite" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,238 Trac[loader] DEBUG: Loading plugin "trac.mimeview.patch" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,244 Trac[loader] DEBUG: Loading plugin "trac.mimeview.pygments" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,261 Trac[loader] DEBUG: Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": DistributionNotFound: The 'Pygments>=1.0' distribution was not found and is required by the application 2025-06-17 15:49:06,261 Trac[loader] DEBUG: Loading plugin "trac.mimeview.rst" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,276 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": DistributionNotFound: The 'docutils>=0.14' distribution was not found and is required by the application 2025-06-17 15:49:06,276 Trac[loader] DEBUG: Loading plugin "trac.mimeview.txtl" from "/usr/local/lib/python3.6/site-packages/Trac-1.6-py3.6.egg" 2025-06-17 15:49:06,290 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": DistributionNotFound: The 'textile>=2.3' distribution was not found and is
comment:7 Changed 2 weeks ago by
The plugin is currently not compatible with Python 3 and Trac 1.6.
-
table/__init__.py
1 from table import *1 from .table import * -
table/table.py
13 13 from uuid import uuid4 14 14 15 15 # trac imports 16 from trac.core import * 17 from trac.util.html import Markup 18 from trac.wiki import format_to_html, format_to_oneliner 19 from trac.wiki import WikiPage 16 from trac.core import Component, implements 17 from trac.util.html import Markup, tag 20 18 from trac.wiki.api import IWikiMacroProvider 19 from trac.wiki.model import WikiPage 20 from trac.wiki.formatter import (format_to_html, format_to_oneliner, 21 system_message) 21 22 22 # genshi imports23 from genshi.builder import tag24 23 24 __all__ = ['StyledTablePlugin'] 25 26 25 27 # to match any of the following: 26 28 # @css style1: DATA 27 29 # @column heading1 (style1): DATA … … 118 120 else: 119 121 # nice error handling in here possible incase 120 122 # the page cannot be created for whatever reason? 121 pass123 return system_message('Missing TablePluginStyles page') 122 124 123 125 config_table_styles, config_css_styles = self._parse_styles(config_args) 124 126 125 127 args_table_styles, args_css_styles = self._parse_styles(args) 126 global_css_styles = dict(config_css_styles.items() + args_css_styles.items()) 128 global_css_styles = {} 129 global_css_styles.update(config_css_styles) 130 global_css_styles.update(args_css_styles) 127 131 128 132 column_list = [] 129 133 row_count = 0
comment:9 Changed 2 weeks ago by
I just pushed the changes, now (r18697). Try the latest version of the plugin.
comment:10 Changed 12 days ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing this ticket. Feel free to reopen it if you encounter any issues with the latest version.
Correct the component.