Ticket #646 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

CSV dialect is not auto-detected

Reported by: anonymous Assigned to: athomas
Priority: low Component: CsvMacro
Severity: minor Keywords:
Cc: Trac Release: 0.9

Description

Contrary to the comment in #324, my environment did not autodetect the format of the CSV data. I'm going to assume this is a problem in my version of the csv module (i.e., out of scope of this macro), but it might affect others.

Details:

  • trac 0.9.6
  • Debian unstable
  • python2.3 (2.3.5-15)
  • csv.__version__ = 1.0

My fix was to capture txt.encode('ascii', 'replace') into txt and then pass sniffer.sniff(txt) into reader as was removed in changeset [708].

Attachments

Change History

08/25/06 20:28:55 changed by athomas

  • status changed from new to closed.
  • resolution set to fixed.

(In [1187]) Applied fix suggested, fixes #646.


Add/Change #646 (CSV dialect is not auto-detected)




Change Properties
Action