3

Hello,

I am using the fogbugz trac importer to migrate from trac to fogbugz. All tickets and wikis import fine, but the attachments are not, despite the fact that I am pointing the importer to the correct attachments directory. The only error messages I'm getting in the log file is:

Warning: wiki attachment "(filename)" couldn't be added.

for wiki attachments and

Warning: attachment "(filename)" couldn't be added.

for ticket attachments.

For reference the Trac server was on a Linux box, and I'm downloading both the trac database and attachments directory to my local PC and running the importer from my local PC to a hosted FogBugz instance. I've tried specifying the attachments path as both "local-path/attachments" and just "local-path", but neither seem to work. The actual directory structure within the attachments directory is: /ticket /(ticket number) attachment_file_name /wiki /wiki_name attachment_file_name

which should be standard for trac. The version of Trac we are using is 0.10.4 Fogbugz version is 7.3

UPDATE: I've verified that the same issue occurs using the GUI version of the importer on Linux. However, the problem goes away (ie attachments are imported fine) using the command line version of the tool on Linux. It appears that this is a bug with the GUI version. Has anyone else had any success importing attachments from the gui version?

UPDATE: The new version of the import fixes this issue. Thanks!

Fog Creek Case FC1899856

flag
I've had the same problem. The corollary to this question is of course, how do we fix this up after having done an import? I don't want to have to reimport my whole trac again for the sake of the attachments. – David Mitchell May 22 2010 at 20:42

2 Answers

2

Good news: this issue is fixed in version 1.3 of the Trac Importer.

link|flag
0

I've opened a case to investigate this along with a note to update this question if/when this problem has been fixed.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.