Mailing List Archive

Regarding WikiTable Macro in Trac 1.6
Hi,

I have installed the latest version of the plugin WikiTable Macro -
https://trac-hacks.org/wiki/WikiTableMacro in Trac 1.6 env.
But I am facing error with the simple codes of sql.

Trac version = 1.6
Python = 3.10.12
WikiTableMacro = 0.3.dev0
Sql code:
{{{#!SQLTable
SELECT COUNT(id) AS "Number of Tickets"
FROM ticket
}}}
error:
*Error: Processor SQLTable failed*name 'basestring' is not defined

Any help appreciated.
Mayur

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/4d3618b9-2e9e-494a-bb39-670dbe44cd8dn%40googlegroups.com.
Re: Regarding WikiTable Macro in Trac 1.6 [ In reply to ]
On Mon, Feb 26, 2024 at 8:15?PM mayur logan <mayurlogan@gmail.com> wrote:
>
> Hi,
>
> I have installed the latest version of the plugin WikiTable Macro - https://trac-hacks.org/wiki/WikiTableMacro in Trac 1.6 env.
> But I am facing error with the simple codes of sql.
>
> Trac version = 1.6
> Python = 3.10.12
> WikiTableMacro = 0.3.dev0
> Sql code:
> {{{#!SQLTable
> SELECT COUNT(id) AS "Number of Tickets"
> FROM ticket
> }}}
> error:
> Error: Processor SQLTable failedname 'basestring' is not defined
>
> Any help appreciated.

Fixed in [18622]. Please try the latest version.

--
Jun Omae <jun66j5@gmail.com> (?? ?)

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMag52CnDnq0pg73iDfgYdYF8K30MtZ9rfogj6QKC-nyDEw%40mail.gmail.com.
Re: Regarding WikiTable Macro in Trac 1.6 [ In reply to ]
Thank you for the update

On Monday, February 26, 2024 at 5:17:37?PM UTC+5:30 Jun Omae wrote:

> On Mon, Feb 26, 2024 at 8:15?PM mayur logan <mayur...@gmail.com> wrote:
> >
> > Hi,
> >
> > I have installed the latest version of the plugin WikiTable Macro -
> https://trac-hacks.org/wiki/WikiTableMacro in Trac 1.6 env.
> > But I am facing error with the simple codes of sql.
> >
> > Trac version = 1.6
> > Python = 3.10.12
> > WikiTableMacro = 0.3.dev0
> > Sql code:
> > {{{#!SQLTable
> > SELECT COUNT(id) AS "Number of Tickets"
> > FROM ticket
> > }}}
> > error:
> > Error: Processor SQLTable failedname 'basestring' is not defined
> >
> > Any help appreciated.
>
> Fixed in [18622]. Please try the latest version.
>
> --
> Jun Omae <jun...@gmail.com> (?? ?)
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/7224d294-ad5d-4425-ac55-331b7b06e87bn%40googlegroups.com.