Modify ↓
#1188 closed defect (invalid)
csv macro can't work under freebsd 6.2 python 2.4.3
Reported by: | dlin | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | normal | Component: | CsvMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
File "/usr/local/lib/python2.4/site-packages/trac/wiki/macros.py", line 459, in render_macro return module.execute(req and req.hdf, content, self.env) File "/trac/tfx/wiki-macros/csv.py", line 6, in execute sniffer = csv.Sniffer() AttributeError: 'module' object has no attribute 'Sniffer'
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 18 years ago by
I found the problem is caused by the CSV.py must be uppercase to CSV.py, I miss typo to lowercase.
Note: See
TracTickets for help on using
tickets.
csv.Sniffer
is part of the standard Python modules. If the macro can't find this object, something else is going on. Perhaps there is anothercsv
module in thePYTHONPATH
, or an old.pyc
lying around. Either way, this is not a bug with CsvMacro.