Book a Demo

Author Topic: CSV export failure  (Read 5304 times)

OwenInCanada

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
  • have the right tool for the job
    • View Profile
CSV export failure
« on: September 11, 2008, 02:54:03 am »
Hi all,

I have reported what I assume is a bug into the Sparx registered user bug reports.

In EA7.1 b832, launch EA, select EAExample project. Right click the Requirements Model in Project Browser. Select Import/Export > Import/Export CSV from the context menu. Tick the "export" button, specify a file name, and press Run. The progress box reports lots of export activity. BUG: When you go to open the CSV file, Excel does not show any data.  

I have written this here to confirm with others that I am using export correctly, and to let others know that the issue is reported.

Regards,

Owen

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: CSV export failure
« Reply #1 on: September 11, 2008, 03:22:00 am »
Hi Owen,

I'll ask the obvious question - you don't mention it in your post - so please bear with me.

Did you open the csv file in a text editor to check what, if anything, was there?

David
No, you can't have it!

OwenInCanada

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
  • have the right tool for the job
    • View Profile
Re: CSV export failure
« Reply #2 on: September 11, 2008, 03:32:02 am »
Yes, I opened it in an ASCII editor, nothing there.

OwenInCanada

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
  • have the right tool for the job
    • View Profile
Re: CSV export failure
« Reply #3 on: September 11, 2008, 05:07:42 am »
The problem seems to be particular to that project (EAExample) because the export works fine on another project that I have. Odd.

-Owen

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: CSV export failure
« Reply #4 on: September 11, 2008, 07:47:15 am »
Have you been applying patches or full installation kits for new builds? I wonder if your EAExample project has somehow gotten out of date.
No, you can't have it!

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: CSV export failure
« Reply #5 on: September 11, 2008, 10:13:48 am »
It sounds like you may not have defined the CSV import/export specification.  See:
http://www.sparxsystems.com/EAUserGuide/csvspecifications.htm

Without a specification, nothing will be output to the file.

OwenInCanada

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
  • have the right tool for the job
    • View Profile
Re: CSV export failure
« Reply #6 on: September 11, 2008, 10:42:24 am »
Aaron is correct. When I put in a spec, it all works. I was under the mistaken impression that without a spec there would be a (non-trivial) default behaviour.

Thank you Aaron, and everyone for your input.

Regards,

Owen

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: CSV export failure
« Reply #7 on: September 11, 2008, 10:45:31 am »
Quote
It sounds like you may not have defined the CSV import/export specification.  See:
http://www.sparxsystems.com/EAUserGuide/csvspecifications.htm

Without a specification, nothing will be output to the file.
In that case, EA should say that the specification is missing and NOTHING will be output...

Owen's expectation is, in my view, reasonable, but, in this case wrong.  If it is reasonable, but wrong, the program should give an indication.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: CSV export failure
« Reply #8 on: September 11, 2008, 12:21:25 pm »
Yup!
No, you can't have it!