Mailing List Archive

[The Trac Project] #3800: SQL syntax coloring does not work
#3800: SQL syntax coloring does not work
--------------------------------+-------------------------------------------
Reporter: awbacker@gmail.com | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: general | Version: 0.10b1
Severity: minor | Keywords:
--------------------------------+-------------------------------------------
The sql syntax hiliting does not work when using SilverCity. The other
languages I tested (a listed in the TracSyntaxColoring guide) did work ok.
I haved both sql and text/x-sql, neither crashes, but both produce no
results. My test case is :

{{{
{{{
#!sql [or] #!text/x-sql
SELECT * from dbo.TableName T WHERE [field] = 'Value' AND T.other = 7
}}}
}}}

Is this a trac issue, or a SilverCity? I couldn't trace the code well, so
I couldn't tell.

Windows XP SP2/Apache 2.0.54/python 2.4/mod_python/SilverCity 0.96-py2.4

--
Ticket URL: <http://trac.edgewall.org/ticket/3800>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3800: SQL syntax coloring does not work [ In reply to ]
#3800: SQL syntax coloring does not work
--------------------------------+-------------------------------------------
Reporter: awbacker@gmail.com | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: general | Version: 0.10b1
Severity: minor | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by anonymous):

I added the path to enscript to trac.ini, and now it colors. I though
silvercity was favored if it was installed, but it's going right to
enscript. The other code blocks look the same, so either trac controls
the colors or it's using different colorizers.

--
Ticket URL: <http://trac.edgewall.org/ticket/3800#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3800: SQL syntax coloring does not work [ In reply to ]
#3800: SQL syntax coloring does not work
--------------------------------+-------------------------------------------
Reporter: awbacker@gmail.com | Owner: jonas
Type: defect | Status: new
Priority: low | Milestone:
Component: general | Version: 0.10b1
Severity: minor | Resolution:
Keywords: needinfo |
--------------------------------+-------------------------------------------
Changes (by mgood):

* keywords: => needinfo

Comment:

Turn on TracLogging and check for errors with SilverCity. If you have
SilverCity 0.9.6 installed you'll need to downgrade to 0.9.5 since there
were some API breakages in the newer version.

Also, note that SilverCity's SQL coloring doesn't do much. Only the
'Value' and 7 will appear colored.

--
Ticket URL: <http://trac.edgewall.org/ticket/3800#comment:2>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---