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 - bknoth2

Pages: [1] 2 3 4
Glad to hear it! Thanks.

I want to get some experience with 14 before I have others do the upgrade.

Thanks for your reply.

Three of us are using EA13.5 with a Postgres database. I'm considering running phasing in version 14, so we'd have 13.5 and 14 using the same DB. Is anyone doing that? Any problems?


Thanks Simon and qwerty,

I figured there was a simple answer.

- Bruce

I tried installing V14 on two machines with V13.5 on them and V14 overwrote V13.5 both time. It seems like others have installed both on the same machine. Is it possible? Did I miss an option during installation? (Win 10 platform)


General Board / Re: From UML to SysML for Systems Architecture
« on: May 03, 2018, 10:01:59 am »
If the system is software-only, then UML probably has everything you need. If there is a significant hardware aspect to it as well, then SysML constructs can be helpful as well. For example, specifying and designing the software for a medical device can be done well with UML. If you also want to model the hardware, then SysmML BDD's and IBD's add value beyond UML for modeling the hardware aspects of the system.

General Board / EAUML Information?
« on: April 28, 2018, 01:49:41 am »
I'm using EAREQ which seems to be part of EAUML. I can't find any documentation on EAUML or EAREQ. I'd like to understand it better. Is there any information anywhere?


You are probably right, but that won't work for me. I just want to turn it off, backup, and turn it on and that's only because EA won't let me backup through a script when auditing is on. I'll go to plan B, whatever that is.

Thanks again for your help. I learned a few things.


I looked into it a bit.

The record for auditing reads: reveng=0;xmiimport=0;xmiexport=0;auditLevel=131072;auditOptions=4;dbtimestamp=0;enabled=0;

Enabling and disabling auditing toggles the enabled (at the end of the string) field to 1 and then 0. Sadly, disabling auditing by changing that 1 to a 0 doesn't provide a work-around for my original problem (details here:,39455.msg243549.html#msg243549

The gist of it is that ProjectTransfer fails if auditing is enabled (the fifth line below) but works if disabled.  Transferring the project manually through the UI works with auditing on, though.

   dim repository
   dim projectInterface
   set repository = GetObject(, "EA.App").Repository
   set projectInterface = repository.GetProjectInterface()
   projectInterface.ProjectTransfer eapString, TargetFilePath, LogFilePath

Maybe I'll play around a bit more, but that's it for now.

Thanks again for your help

Any thoughts on how to do that in a script? I see (based on what I think is your book) that there's an undocumented Execute() function for executing SQL. I can try that, but I'd appreciate suggestions.

Needless to say, I'll work with a copy of my model!

Thanks for your help.

I'd like to disable and enable auditing through a script (as a workaround for an EA bug that prevents transferring a project through a script when auditing is enabled). Is there an interface for enabling and disabling auditing? I found the ClearAuditLogs() method in the repository class, but I can't find anything about turning auditing on and off.


It appears that enabling auditing causes the failure. I had enabled auditing around the same time the problem started (which I then forgot about).

If I disable auditing, the problem goes away. When I enable it, the problem comes back. I don't have to clear the logs, just enable and disable auditing. I'm suspecting a bug.

General Board / Re: ProjectTransfer stopped working - aaargh
« on: March 24, 2018, 02:20:05 am »
No good idea to run production with a beta. Use a backup and/or contact Sparx to see if they can help.

I only put the Beta on the same machine. I didn't open the production model with it. That turns out not be the cause, though. See my next comment.

General Board / Re: ProjectTransfer stopped working - aaargh
« on: March 24, 2018, 02:02:15 am »
Have you tried running a Project Integrity Check?
Yes, I did. I cleaned the repository and it didn't make a difference.

Thanks for the suggestion.

I have a script that backs up my PostGres-hosted EA repo. It has been completely reliable until it started reporting through a message box:
    "An error has occurred: Encountered an improper argument. Press OK to continue the table upgrade..." which I have to cancel out of.

The log file reports:
    (after messages about removing data)...  Copying project information for: t_xref   ERROR: *** t_xref - record no: 1

The problem may have started after I installed and then removed the Version 14 Beta. I did not open the Postgres-hosted model with the Beta, I installed the Beta, opened an unrelated .EAP file, and then uninstalled the Beta and reinstalled EA version 13.5 (build 1352). I've tried uninstalling and reinstalling EA and I even ran EA.exe /unregister and then /register.

I can do a manual backup just fine (create an empty project and transfer the DBMS model to the empty .EAP file using Configure/Transfer/Project Transer

Relevant lines of my script are:
   dim repository
   dim projectInterface
   set repository = GetObject(, "EA.App").Repository

   set projectInterface = repository.GetProjectInterface()

   projectInterface.ProjectTransfer eapString, TargetFilePath, LogFilePath

Any ideas?


Pages: [1] 2 3 4