Adeel,

I have been starting OMEdit from a Bash session with the environment variables 
defined in my .profile.   Your reminder to include the / was the answer.  I 
only had /opt/local.

It works fine now.

Thanks for you help.


Lewis

On 24/12/2010, at 11:15 PM, Adeel Asghar wrote:

> Hi Lewis,
> 
> It would be great if you can tell me how you are starting up OMEdit? 
> 
> Also in order to overcome the problem you have described me, you can create a 
> folder called .MacOSX in your home folder and then create a file called 
> environment.plist in that folder. Open this file and add the variable in it. 
> The variable name should be OPENMODELICAHOME and its value should be 
> /opt/local/ (i am assuming your omc is placed at /opt/local/bin/ if not then 
> change the value according to the location). Make sure the / at the end of 
> value.
> 
> You need to logoff and login again in order to have these changes implemented.
> 
> Regards,
> Adeel.
> 
> On 24 December 2010 06:53, Lewis Jeffery <[email protected]> wrote:
> 
> Adeel,
> 
> Thanks for you quick response.
> 
> I have not been able to run OMEdit in any of the recent versions.   I have 
> just built 7567.  On starting OMEdit is get a message "Unable to find OMEdit 
> server, Object reference file 
> /var/folders/Cu.../openmodelica.lewis.objid.OMEdit154458 not created".
> 
> Appreciate your advice.
> 
> 
> Regards,
> Lewis
> 
> 
> 
> 
> On 22/12/2010, at 10:39 PM, Adeel Asghar wrote:
> 
>> Hi Martin,
>> 
>> Have you tried the new code from the trunk revision 7548. I am able to do 
>> drag and expand/collapse. I have tested it on MAC OS X Version 10.6.4.
>> 
>> Regards,
>> Adeel.
>> 
>> On 22 December 2010 06:49, Martin Sjölund <[email protected]> wrote:
>> The drag issue has not yet been fixed. It works fine to begin with but after 
>> a while clicking the plus (or minus) stops doing anything (not dragging or 
>> expanding/collapsing).
>> Using left/right-arrow still works though.
>> 
>> --
>> Martin Sjölund
>> 
>> 
>> On 2010-12-22 01:27 , Adeel Asghar wrote:
>> Hi Lewis,
>> 
>> I have committed the new code to trunk. If you can use that code and
>> rebuild the OMEdit, you can browse Modelica library without any problem.
>> 
>> I will check the plot problem and let you know the solution ASAP.
>> 
>> Regards,
>> Adeel.
>> 
>> On 22 December 2010 00:20, Lewis Jeffery <[email protected]
>> <mailto:[email protected]>> wrote:
>> 
>> 
>>    Dear OM-Interested,
>> 
>>    I am running OMEdit on OSX 10.6.5 and have a few questions.
>> 
>>    I can see the Modelica library in the components pane, complete with
>>    the plus sign against the name.  Touching the plus sign does
>>    nothing.  I would have expected this would make the contents of the
>>    library visible.  Have I misunderstood the intent?
>> 
>>    Also,  I can run simple test simulations and can see the result in
>>    the .plt file.   If I check a variable in the plot pane I can see
>>    the command passed to OMC on the log and even see a "true" response,
>>    but I do not see a plot window.
>> 
>>    Any advice appreciated.
>> 
>>    Regards,
>>    Lewis
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

Reply via email to