Opened 8 years ago

Closed 8 years ago

#646 closed defect (fixed)

CSV dialect is not auto-detected

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


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.


  • 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 (0)

Change History (1)

comment:1 Changed 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.