Hi,

i think there is also missing a ticket-id as a field-name.
- summary 1 isn't that meaningfull

With the tipps from my predecessor a test-file like the following makes more
sense:

ID, summary, priority, reporter, type, status, milestone
1, "This is a Ticket", 1, Administrador, task, new, 1.0.5

good luck & peace

  Ice



2010/1/1 Chris Heller <[email protected]>

> The default delimiter for CSV imports is a comma (,) not a semi-colon.
> Python's underlying CSV module allows the delimiter to be specified, but the
> Trac ticket import module does not expose this,  so the best thing for you
> to do is change your import file to use commas instead.
>
> Note that if you have any text in your import file that contains commas in
> it,  you'll need to wrap those fields in quotes for the parsing to work
> properly.
>
> On Mon, Dec 28, 2009 at 9:52 AM, Francisco Cavaco <
> [email protected]> wrote:
>
>> Hello,
>>
>> I'm new to Trac and probably that shows with the problem I will put.
>> Nonetheless, I have not a lot to go and need to have my tickets
>> imported. My problem is the following:
>>
>> I've set up my TRAC environment with the import plugin. afterwards,
>> I've setup customised fields for tickets and created an CSV file based
>> on that. Tried also a reduced version of my csv file such as the one
>> below:
>>
>> summary;priority;reporter;type;status;milestone
>> 1;1;Administrador;task;new;1.0.5
>>
>>
>> Tried to import and always get the same error :
>>
>> Trac Error
>> The first line of the worksheet contains neither a 'ticket', an 'id'
>> nor a 'summary' field name. At least one of them is needed to perform
>> the import. Please check the file and try again.
>>
>>
>> when to check trac log and could find a similar error . i.e. did'nt
>> add much:-
>> 2009-12-28 17:33:04,936 Trac[main] DEBUG: Dispatching <Request "POST
>> u'/importer'">
>> 2009-12-28 17:33:04,936 Trac[cache] DEBUG: cache metadata undefined
>> (youngest_rev=u'')
>> 2009-12-28 17:33:04,936 Trac[cache] INFO: repos rev [0] != cached rev
>> [None]
>> 2009-12-28 17:33:04,936 Trac[session] DEBUG: Retrieving session for ID
>> u'fjferreira'
>> 2009-12-28 17:33:04,951 Trac[main] WARNING: HTTPInternalError: 500
>> Trac Error (The first line of the worksheet contains neither a
>> 'ticket', an 'id' nor a 'summary' field name. At least one of them is
>> needed to perform the import. Please check the file and try again.)
>> 2009-12-28 17:33:04,951 Trac[chrome] DEBUG: Prepare chrome data for
>> request
>>
>>
>> Can anyone help?
>>
>> already grateful
>>
>> Francisco
>>
>> --
>>
>> 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]<trac-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/trac-users?hl=en.
>>
>>
>>
>  --
> 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]<trac-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>

--

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.


Reply via email to