Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5354 closed defect (duplicate)

Can't attach vCard (.vcf)

Reported by: demarco@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Attempting to attach a vCard to a Wiki page gives the following exception:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.5/trac/attachment.py", line 361, in process_request
    self._do_save(req, attachment)
  File "/var/lib/python-support/python2.5/trac/attachment.py", line 450, in _do_save
    size = upload.file.len
AttributeError: 'cStringIO.StringO' object has no attribute 'len'

And here's the actual .vcf:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Judd Montgomery//NONSGML J-Pilot 0.99.9.2//EN
UID:palm-addressbook-0097d5bb-00000017-Christopher DeMarco@demarco.prv.maya.com
CATEGORIES:USA
FN:George Heinitsh
N:Heinitsh;George
TITLE:CTO
ORG:3rc
TEL;TYPE=work,pref:+1-412-392-1006
TEL;TYPE=cell:+1-412-849-9025
EMAIL:GHeinitsh@3RC.org
END:VCARD

This is Trac 0.10.3

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 18 years ago

Resolution: duplicate
Status: newclosed
Version: 0.10.3

This is a duplicate of #4311 (actually, this is the 7th dup ;-))

When you report a bug against Trac:

  1. Please search for the error if it has not been already reported
  2. Please fill in the 'version' field with the version of Trac you're using

Thanks in advance

comment:2 by demarco@…, 18 years ago

Added "vcard" and "vcf" to the original bug so that people will find it :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.