Cannot import :-(

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Reinder
Posts: 119
Joined: 26 Apr 2005, 11:08

Cannot import :-(

Post by Reinder »

All,

I can't seem to import issues into MAntis via csv files. I am trying to import issues from another database (gemini) into mantis,but I get hte following error:

SYSTEM WARNING: XMLReader::read(): /tmp/phpjDXwle:1: parser error : Document is empty

SYSTEM WARNING: XMLReader::read(): id,Reporter,Priority,Severity,Category,Summary,Status,Resolution,Fixed in Versio

SYSTEM WARNING: XMLReader::read(): ^

SYSTEM WARNING: XMLReader::read(): An Error Occured while reading

Importing file, please wait...
SYSTEM WARNING: XMLReader::read(): An Error Occured while reading

Done
Processing cross-references for 0 issues... Done


The format I use is (added just 1 line);

Code: Select all

id,Reporter,Priority,Severity,Category,Summary,Status,Resolution,Fixed in Version
TYRE-5264,Reinder Otter,Low,Minor,Shared Code,hoe omgaan met Q_LBF etc,Assigned,Open,
What is the format that mantis accepts?
atrol
Site Admin
Posts: 8374
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Cannot import :-(

Post by atrol »

Please use Search before posting and read the Manual
Reinder
Posts: 119
Joined: 26 Apr 2005, 11:08

Re: Cannot import :-(

Post by Reinder »

I actually wanted to use the plugin from mantis itself (import/export). I just noticed that it only accepts xml formats? Having a problem with converting xls (or csv) to XML...somehow the xml maps are not exported....(but thats another problem).

I'll give the plugin a go (if IT decides to enable it....)
Reinder
Posts: 119
Joined: 26 Apr 2005, 11:08

Re: Cannot import :-(

Post by Reinder »

ok, tried the csv importer, but I get freaky errors for the import... e.g. Invalid e-mail address.???

Do i need to give a primary key? and how is this used? I presumed that new issue numbers would be created which are primary keys..?
atrol
Site Admin
Posts: 8374
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Cannot import :-(

Post by atrol »

I can't provide more help as I don't use this plugin myself and have no time to have a deeper look at this 3rd party development.

Maybe there is some information in doc that helps.
https://github.com/mantisbt-plugins/csv ... readme.txt

There are also some known issues, see http://www.mantisbt.org/bugs project "Plugins - CsvImport"
Please use Search before posting and read the Manual
Post Reply