View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Automatic Import Rejects CSV files whereas WebUI accepts CSV file - ProjeQtOr
 
 

Automatic Import Rejects CSV files whereas WebUI accepts CSV file

More
23 Jan 2014 17:45 - 23 Jan 2014 17:47 #1 by Dunbar
Hi,

I am exporting data from our old system as a CSV file, and importing that into our new system.

The files I create can be imported from within the WebUI, under "Tools->Import Data". However, if I do this as an automatic import by coping the CSV file into the import directory which the CRON job is looking at, the import is failing with this message:

<b>ERROR - Provided file type and selected file format do not match</b><br/>Import aborted</body>

I have tried to simplify the CSV file down to a very simple file, but no joy. I have attached the file for reference. (I had to rename the .csv extension to .txt so that I could upload it)

Any help to decipher why the file is not accepted on the automatic import would be very much appreciated.

BR,
Daniel

BR,
Dan
Attachments:
Last edit: 23 Jan 2014 17:47 by Dunbar. Reason: Adding context

Please Log in or Create an account to join the conversation.

More
23 Jan 2014 19:52 - 23 Jan 2014 19:52 #2 by babynus
Hi,

The error you're facing is not due to file content but to file name.
Please check your log file, you'll find something like :

ERROR - Type : File Type and Type selected are not consistent
File Name : xxxxx
Type Selected : xxxxx


Please report it here.

Babynus
Administrator of ProjeQtOr web site
Last edit: 23 Jan 2014 19:52 by babynus.

Please Log in or Create an account to join the conversation.

More
24 Jan 2014 11:01 - 24 Jan 2014 11:30 #3 by Dunbar
Hi Babynus,

The file I uploaded was renamed from .csv to .txt. I had to do this as the forum site doesn't allow me to upload .csv file extensions.

If I try to import my file with a .txt extension, I do get the error message you are seeing, but not as much information. I only see this first line:

ERROR - Type : File Type and Type selected are not consistent

This information I do not see:
File Name : xxxxx
Type Selected : xxxxx

I am looking at the log file in [import_directory]/logs.

Do you still get the same message if you rename the .txt file back to a .csv file and then do the import?

BR,
Daniel

BR,
Dan
Last edit: 24 Jan 2014 11:30 by Dunbar.

Please Log in or Create an account to join the conversation.

More
24 Jan 2014 13:44 #4 by babynus
Hi,

I tired to import your file, after changing .txt to .csv :
- manual import : success !
- automatic import : success !

Could you provide your file without changing the name, just zipped into a .zip file.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
24 Jan 2014 14:27 - 24 Jan 2014 14:47 #5 by Dunbar
Oh, that is good news. Possibly something with our setup. We are using v 3.4.4

Anyhow, I have zipped the CSV file for you.

BR,
Daniel

BR,
Dan
Attachments:
Last edit: 24 Jan 2014 14:47 by Dunbar.

Please Log in or Create an account to join the conversation.

More
24 Jan 2014 17:37 - 24 Jan 2014 17:37 #6 by babynus
Import successful !

See attached file with log report.

Babynus
Administrator of ProjeQtOr web site
Attachments:
Last edit: 24 Jan 2014 17:37 by babynus.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.034 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.