Hi All,
I am trying to understand this error and I can't figure out why this is
happening. This error does not happen on an environment with python 2.7 (see
the specifics below)
*System Information (error occurs in this environment):*
Trac 0.12.2 Genshi 0.6 mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup
dev-wheel.avalara.com|/trac) Pygments 1.4 pysqlite 2.6.0 Python 2.7.1+
(r271:86832, Apr 11 2011, 18:37:12) [GCC 4.5.2] RPC 1.1.2-r9970
setuptools0.6c11
SQLite 3.7.4 Subversion 1.6.12 (r955767) jQuery: 1.4.2
*System Information (problem does NOT occur)*
Trac 0.12.2 CustomFieldAdmin 0.2.5 Genshi 0.6 mod_wsgi 3.2
(WSGIProcessGroup WSGIApplicationGroup wheel.avalara.com|/trac) Pygments 1.4
pysqlite 2.4.1 Python 2.6.6 (r266:84292, Sep 15 2010, 16:41:53) [GCC 4.4.5]
RPC 1.1.2-r9970 setuptools 0.6c11 SQLite 3.7.2 Subversion 1.6.12 (r955767)
jQuery: 1.4.2
*Error Stack:*
2011-08-23 14:40:29,528 Trac[formatter] ERROR: Macro QaReport(vcert,
vCert_1.5.2, 2011-04-10) failed:
Traceback (most recent call last):
File
"/usr/local/trac-0.12/lib/python2.6/site-packages/trac/wiki/formatter.py",
line 717, in _macro_formatter
return macro.process(args, in_paragraph=True)
File
"/usr/local/trac-0.12/lib/python2.6/site-packages/trac/wiki/formatter.py",
line 304, in process
text = self.processor(text)
File
"/usr/local/trac-0.12/lib/python2.6/site-packages/trac/wiki/formatter.py",
line 288, in _macro_processor
text, self.args)
File "/data/trac_projects/vcert/plugins/macros2.py", line 477, in
expand_macro
component_verification = self.get_component_verification()
File "/data/trac_projects/vcert/plugins/macros2.py", line 843, in
get_component_verification
with self.env.get_read_db() as db:
AttributeError: __exit__
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.