Book a Demo

Author Topic: Unable to check in/out modules  (Read 3759 times)

Mister

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Unable to check in/out modules
« on: May 31, 2006, 07:55:03 am »
Hi,  
I'm trying to set up CVS for a shared model stored in a mysql database.

I'm using EA 6.1 build 790, mySQL 5 with InnoDB and MySQL 3.51 ODBC Driver.  

When i'm trying to check out module I've got a warning like "The ability to import is currently locked by user :Machine_Name", with the possibility to skip this warning box.

After during the import module and when EA check for the Diagram I've got an Error for each diagram like "Microsoft OLE DB Provider for ODBC Drivers [-2147467259]. Field 'Diagram_Types' doesn't have a default value"


Does anyone know why this is?

Thanks
Olivier

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Unable to check in/out modules
« Reply #1 on: May 31, 2006, 08:22:27 am »
Have you done a data transfer to your model before setting it up for source control?
No, you can't have it!

Mister

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Unable to check in/out modules
« Reply #2 on: May 31, 2006, 08:30:11 am »
I use the full model data transfer from EAP to DBMS and the project was already setting up in CVS on EAP file.

I'm not sure if the process is correct but when I done the transfer I open the new project on MySQL repository and everything was setting on source control as usual.

Do you thing I have to setting up on source control with the new file ?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Unable to check in/out modules
« Reply #3 on: May 31, 2006, 08:50:50 am »
Olivier,

I am not sure about how and when you need to set up source control. There was a discussion in the forum in the last few days (this week I think) about something related to this.

The bottom line is that perhaps you can only use source control on an EAP file. If nobody can clarify this in the next day or two, you'll have to ask Sparx about this.

I wanted to be sure you weren't trying to read anything from a DBMS model that had not yet been set up. EA treats this as an error, but does not issue a meaningful message. It passes through the messages from the DBMS, which tend to be vague. That could easily have been what you saw, but it seems to me that you have done the initial set up correctly.

In the meantime, check out the controlled package function within EA. This may be enough for you to share your model, and if source control is for EAP files only, it may be your only option.

David
No, you can't have it!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Unable to check in/out modules
« Reply #4 on: May 31, 2006, 12:33:45 pm »
Olivier,

Take a look at this thread:
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1149014151

There is a post made today that should be of help. There is also a link to the correct Sparx white paper to get you started.

David
No, you can't have it!

GarryH

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Unable to check in/out modules
« Reply #5 on: December 06, 2006, 02:40:29 am »
Hello,
I'm having similar problems as discussed in this post.

I'm using 6.1.786 Build 786 and have my EA repository in a SQL Server 2005 Express database, and source control via CVS.
This has been working fine until yesterday, when a user reported that he got the error message "the ability to import is currently locked by user: XYZ". Now when any other user tries to checkout any other package they get the same message.

I've read the white papers etc and as i say, it was working fine.

CVS edit of packages from command line works fine, suggesting problem is within the database.

Anyone have any ideas, or how i can unlock?


Cheers