Author Topic: Sparx EA 13.5 broken openFile2 with login and password doesn't work  (Read 6338 times)

slookin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
I have previously  13.0.xxxx and use following script for open cloud model:

eaApp = win32com.client.Dispatch("EA.App")
eaRep = eaApp.Repository
eaRep.OpenFile2(path, login, password)


Everything was ok.

after upgrade to 13.5 this doesn't work, I should enter password manually (login dialog appears).


 eaRep.SuppressSecurityDialog = True - also doesn't help.

Arshad

  • EA User
  • **
  • Posts: 281
  • Karma: +19/-1
    • View Profile
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #1 on: June 30, 2018, 04:04:14 am »
Hi

If the password given is wrong then I think it will show an pop up . Dis you check the pwd ?

Arshad

slookin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #2 on: July 02, 2018, 04:48:38 am »
Of course checked.

It works with 13.0.1305.  (I downgrade and check again)

But not working with 13.5.

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #3 on: July 02, 2018, 09:30:56 am »
Are you using the default 'admin' user, we've seen that failing lately. If yes, please try another user.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8074
  • Karma: +118/-20
    • View Profile
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #4 on: July 02, 2018, 11:51:56 am »
The scenario I've seen reported before is that it is showing the https authentication dialog, which is separate from the EA security. Is that your issue?

slookin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #5 on: July 02, 2018, 04:07:29 pm »
[quote authread only rights ic=40067.msg246270#msg246270 date=1530487856]
Are you using the default 'admin' user, we've seen that failing lately. If yes, please try another user.
[/quote]

I'm using separate user with read only rights

slookin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile

slookin

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #7 on: July 02, 2018, 04:36:02 pm »
The scenario I've seen reported before is that it is showing the https authentication dialog, which is separate from the EA security. Is that your issue?

No. it is login dialog from Sparx EA.

crequena

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Sparx EA 13.5 broken openFile2 with login and password doesn't work
« Reply #8 on: July 15, 2018, 02:11:53 am »
Dears,

We are having the very same issue: EA Automation just skips the Password parameter.
In our case, this happens both from a Java application and in PowerShell with EA 14.

The username (easervice in this case) goes though the API and is displayed in the model authentication popup... Which obviously lacks the password.

I think this screenshot may provide some clarification of this OpenFile2 method bug:


Regards,
crequena