Book a Demo

Author Topic: boolean ImportDirectory  (Read 3346 times)

jeanfrancois

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
boolean ImportDirectory
« on: August 04, 2010, 06:46:39 pm »
Hi

When specifically does project.ImportDirectory return false?

I've gotten a false and calling project.GetLastError() remains empty.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: boolean ImportDirectory
« Reply #1 on: August 05, 2010, 08:21:27 am »
Basically if your arguments are invalid.  One of:
  • If it can't find the package (or not specified).
  • No language specified.
  • No directory specified.

jeanfrancois

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: boolean ImportDirectory
« Reply #2 on: August 05, 2010, 08:33:11 am »
Hi Simon, thanks for reply :)

In my case, the import was already very far along, it already imported a whole lot before it returned false somewhere midway. Meaning my directory, language, and package was ok. Why possibly would it return a false so far along?

On a mysql database repository this happens, not on a sql, which has always worked.
« Last Edit: August 05, 2010, 08:34:26 am by hdjjqj »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: boolean ImportDirectory
« Reply #3 on: August 05, 2010, 09:23:28 am »
Quote
[size=18]...[/size]On a mysql database repository this happens, not on a sql, which has always worked.
I, too, am finding problems with my Add-In and MySQL.  The Add-In works OK on EAPs and MS SQL but returns non-sensical exceptions under MySQL (for one of my users).  I'm setting up a  MySQL server to test it out.

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