Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ChrisM

Pages: [1] 2
1
Bugs and Issues / Timeout with SVN when adding a new package to VC
« on: December 05, 2012, 10:47:41 pm »
I am using EA version 9, collabnet SVN client version 1.7.5, VisualSVN server and an SQL database.
The version control settings are setup to point to svn.exe in the default installation directory.
When this was first setup, it worked without problems.
After updating the SVN client, I now get a timeout message when adding a new package to version control - timeout while waiting for an SVN log command to complete.

If I try the command manually from a command window, it works fine.

I started investigating by calling a batch file that then calls svn.exe after logging the current directory and the SVN command that EA is requesting. With the batch file in place, the operation worked!
If I simply ignore the timeout, the other commands to add the package to version control still work. Only the log command fails.

Anyone any ideas?

2
Bugs and Issues / Re: EA8 - SVN Check Out Problem
« on: September 06, 2010, 07:17:22 pm »
Maybe mine is a different problem then - I created a configuration then added the project to version control and that all worked. I would have expected that to fail if the setup was wrong.

3
Bugs and Issues / Re: EA8 - SVN Check Out Problem
« on: September 06, 2010, 05:23:19 pm »
I have the same problem using CVS on a local repository - I have added the project to source control and that worked fine - I can bring up the status and Get Latest but when attempting to checkout or re-sync with VC status, it always reports as uncontrolled but the package symbol stays as locked. I am using version 8 build 857

4
Bugs and Issues / Re: problem with Chinese regional option and MySQL
« on: July 10, 2009, 07:16:54 pm »
Thanks. I have raised a bug report.

5
Bugs and Issues / Re: problem with Chinese regional option and MySQL
« on: July 08, 2009, 06:22:49 pm »
Thanks for the reply. I tried the updated driver but got the same response.
Using an ODBC sniffer showed that the import failed when trying to update the connectors. It looks like the SourceStyle and DestStyle are being incorrectly read (or converted) from the XML file.
Examination of the xml file shows no Unicode characters (and definitely no Chinese characters).
Are there any settings in EA I can check as it looks like the conversion is down to EA and not the driver?

6
Bugs and Issues / problem with Chinese regional option and MySQL
« on: July 08, 2009, 02:21:55 am »
Hi there. We have a problem where if the Advanced regional language setting 'Language for non-unicode programs' is set to Chinese PRC (the other settings are both set to UK), we get an error when trying to import a package into the MySQL repository.
The error is 'multiple-step operation generated errors. check status of each value'.
If a local EAP file is used instead it works fine.

We are using EA 7.5.845, Windows XP SP3, MySQL server 5.0.51b, ODBC connector 3.51.25.

Any ideas? Someone suggested changing the SQL tables to use utf8 encoding instead of latin1, but so far that has made no difference.

7
Bugs and Issues / Re: Unhandled COM exception at DiagramObject.Updat
« on: June 16, 2009, 02:44:54 am »
I think I tried most of the Refresh* and Reload* commands but they didn't work. Only closing the diagram first worked.

8
Bugs and Issues / Re: Unhandled COM exception at DiagramObject.Updat
« on: June 03, 2009, 06:40:24 pm »
Hi there. I had a similar problem trying to resize diagram objects.
Not sure if its the same issue but the diagram objects didn't change after the resize. It turns out my issue was that the diagram was open. Closing the diagram, making the changes, then opening the diagram worked for me.

I had originally gone down the same route of deleting the old diagram object and creating a new one too, until I found the close diagram command  :).

9
Bugs and Issues / Re: Error when using RunHTMLReport C# EA 7.5
« on: June 03, 2009, 06:55:50 pm »
Hi there. Have you had any luck finding a solution.

We have the same error code from EA while trawling through our model to create a report. All we are doing is iterating through elements to get the data.

It works when run in debug and seems to work if we add enough delay while iterating through the elements using a list box to report the progress - the act of outputting strings to the form seems to make it work :o

Chris


EDIT: we found that using for loop instead of a foreach, then using the GetAt() method to get the object, it worked for us

10
I have an automation interface function that calls VersionControlAdd  with the KeepCheckedOut parameter set to true. When the function finishes executing, the package is still checkedout under clearcase but EA reports it as checked in. :(

I am using 7.5 build 849 under windows XP and using Clearcase for version control.

Has anyone else experienced this problem?

11
Thanks for the response. I am testing running multiple models in a single project and yes, we will not have avoid circular references in the real project.
Loading the first model a second time simply makes things disappear from second model!

But even in a situation where the referencing is one way, I would have to know which model to perform the load controlled package on first.
I wanted the plugin to iterate through the whole project without having to set a specific order. I know the Get Latest command works regardless of the order I choose, so it must be doing something different. I just don't know what. I can but hope a new version is released soon with support for Get Latest in the Automation interface.

12
Is there something extra that the GUI Get Latest command does that LoadControlledPackage doesn't?
I have a project containing two version controlled models. The models each have diagrams containing elements that are located in the other model.
I have a plugin that calls LoadControlledPackage to update each of the models in turn so they load the latest packages from the version controlled files. When I do this, some of the diagram objects and links are lost in the first model to be updated.
If I use Get Latest on the packages of the model with the lost items, the diagram objects and links reappear.
Is there anyway to fully simulate a Get Latest command in the automation interface?
I was told the Get Latest command is being included as a feature of the automation interface in the future but no date was given .

13
I am not sure what you mean. I call to get reference to an element from the repository. I then change some of the values of the element and call update().
After that, I call GetElementByGuid from the repository again. All of the element changes have taken effect with the exception of the ExtensionPoints string. No collections involved!

Is the ExtensionPoints string converted to a collection internally? I am still struggling to find where the ExtensionPoints field is stored in the database tables. Any ideas?

14
I am changing other fields of the element at the same time and calling update. The other fields (e.g. Alias) are updated fine, but not the ExtensionPoints :'(

15
Hi there. I am trying to set the value of ExtensionPoints programmatically. I set the value to a string, call update on the element, but when I read back the element (using Repository.GetElementByGuid) the value is back as an empty string.
Does anyone know where in the database tables this value is being stored or why the update call would not store the change?
Thanks,
Chris

Pages: [1] 2