Modify

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 Jun Omae

Component: TagsPluginTablePlugin
Owner: changed from Ryan J Ollos to jonny

Correct the component.

comment:2 Changed 3 weeks ago by Jun Omae

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 Reza

[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
Last edited 3 weeks ago by Ryan J Ollos (previous) (diff)

comment:5 Changed 3 weeks ago by Reza

It won't allow me to upload trac.log

comment:6 Changed 3 weeks ago by Reza

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 
Last edited 3 weeks ago by Ryan J Ollos (previous) (diff)

comment:7 Changed 2 weeks ago by Jun Omae

The plugin is currently not compatible with Python 3 and Trac 1.6.

  • table/__init__.py

     
    1 from table import *
     1from .table import *
  • table/table.py

     
    1313from uuid import uuid4
    1414
    1515# 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
     16from trac.core import Component, implements
     17from trac.util.html import Markup, tag
    2018from trac.wiki.api import IWikiMacroProvider
     19from trac.wiki.model import WikiPage
     20from trac.wiki.formatter import (format_to_html, format_to_oneliner,
     21                                 system_message)
    2122
    22 # genshi imports
    23 from genshi.builder import tag
    2423
     24__all__ = ['StyledTablePlugin']
     25
     26
    2527# to match any of the following:
    2628# @css style1: DATA
    2729# @column heading1 (style1): DATA
     
    118120        else:
    119121            # nice error handling in here possible incase
    120122            # the page cannot be created for whatever reason?
    121             pass
     123            return system_message('Missing TablePluginStyles page')
    122124
    123125        config_table_styles, config_css_styles = self._parse_styles(config_args)
    124126
    125127        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)
    127131
    128132        column_list = []
    129133        row_count = 0

comment:8 Changed 2 weeks ago by Jun Omae

In 18697:

TablePlugin: make compatible with Python 3 and Trac 1.6 (refs #14382)

comment:9 Changed 2 weeks ago by Jun Omae

I just pushed the changes, now (r18697). Try the latest version of the plugin.

comment:10 Changed 12 days ago by Jun Omae

Resolution: fixed
Status: newclosed

Closing this ticket. Feel free to reopen it if you encounter any issues with the latest version.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jonny.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.