< Back to IRCAM Forum

Error "graphicsPort"

Hello Karim,

I encountered the error message while trying to open a workspace in OM 7.4, and the Terminal popped up with the same error. I’m attaching it below:


This happens to two workspaces of mine: an older one I built on OM 7.3 (and cannot be opened in 7.3 now! With the same error…), and a new one just built on OM 7.4.
The older workspace kinda contains my previous work, so it frustrates me if it cannot be opened again…
I’m using Ventura 13.5 on the M2 chip.
Please help!

Thank you,
Yulin

Hi Yulin,

One thing to do, is:

  1. copy your workspace
  2. work on the copy but before opening the new wrksp, remove (delete) the preferences.lisp file inside your copied workspace.
  3. launch OM and open the copied workspace.

Tell me if this works.

Best
K

Hi Karim,

It works for my older workspace and only at the first open! After copying and deleting, I can successfully launch the workspace. But after I closed it and tried to reopen it again, the same error came out again.

Also, for the new workspace with the same error, this method doesn’t work…

Y

Dear yulin

Can you open a terminal, cd to where your workspace is and type:

ls -l@

and send me the result. It seems a permission error again.

Best
K

Dear Karim,

Here is the result of the new workspace:

yulin@Mac-mini ~ % cd /Users/yulin/Desktop/Yulin_test_wksp 
yulin@Mac-mini Yulin_test_wksp % ls -l@
total 16
drwxr-xr-x@ 5 yulin  staff   160  8 Mar 10:33 elements
	com.apple.provenance	  11 
drwxr-xr-x@ 2 yulin  staff    64  7 Mar 10:55 globals
	com.apple.provenance	  11 
drwxr-xr-x@ 3 yulin  staff    96  7 Mar 11:25 in-files
	com.apple.provenance	  11 
drwxr-xr-x@ 3 yulin  staff    96  7 Mar 11:31 out-files
	com.apple.provenance	  11 
-rw-r--r--@ 1 yulin  staff  3643 10 Mar 17:45 preferences.lisp
	com.apple.provenance	  11 
drwxr-xr-x@ 4 yulin  staff   128  7 Mar 10:55 resources
	com.apple.provenance	  11 
drwxr-xr-x@ 3 yulin  staff    96  7 Mar 10:55 user
	com.apple.provenance	  11 
-rw-r--r--@ 1 yulin  staff    90  7 Mar 11:26 wsparams.lisp
	com.apple.provenance	  11

And for the older workspace, strangely, I can open it now, but when I saved it again, the same error appears. (then later after I force quit OM, it works again…) Here is the result in terminal of it:

yulin@Mac-mini YulinY_Composition % ls -l@
total 16
drwxr-xr-x@ 6 yulin  staff   192  4 Mar 18:49 elements
	com.apple.provenance	  11 
drwxr-xr-x@ 2 yulin  staff    64 12 Jan 12:16 globals
	com.apple.provenance	  11 
drwxr-xr-x@ 2 yulin  staff    64 12 Jan 12:16 in-files
	com.apple.provenance	  11 
drwxr-xr-x@ 2 yulin  staff    64 12 Jan 12:16 out-files
	com.apple.provenance	  11 
-rw-r--r--@ 1 yulin  staff  3643 10 Mar 17:45 preferences.lisp
	com.apple.provenance	  11 
drwxr-xr-x@ 5 yulin  staff   160 16 Jan 12:30 resources
	com.apple.provenance	  11 
drwxr-xr-x@ 3 yulin  staff    96 16 Jan 12:30 user
	com.apple.provenance	  11 
-rw-r--r--@ 1 yulin  staff    88 10 Mar 17:35 wsparams.lisp
	com.apple.provenance	  11

Thank you!

Yulin

Thanx a lot Yulin,

It seems there is something very strange with ventura and com.apple.provenance attribute.

I will keep investigating this. I think we are close to a solution here.
If you happen to have another machine with sonoma, i believe it will not have this problem. But not yet sure. Maybe an Apple issue,…

Best
K

Hello Karim,

Thanks for your advice!

I updated my laptop to Sonoma this week and tried again. The launch is still a bit weird but better than it was on Ventura. Most of the time when I open the workspace, the error still comes out. But when I force quit it and open it again from another option (jumped between “open a new workspace” and “open the previous workspace”), it normally works. Otherwise, I tried the trick you mentioned (delete the “preference.lisp”), and sometimes it works too.

Anyway, I get my workspace opened now. Just the launching process is not very stable…

Best,
Y

Hi Y

what do you mean by “launching process is not very stable…” ?
Best
K

Hi Karim,

I tried again today and it works most of the time. The error pops up once and it happens normally when I force quit OM (maybe that’s the problem? cannot be force quited)

When there’s an error, I have to force quit OM and reopen it. In this case, it normally takes a few tries to open the workspace by clicking “Open previous workspace” and “Open a workspace”, and normally it succeeds after two or three tries (honestly I don’t get its regularity here…)

But now, it seems quite stable when I quit OM normally and reopen it, as long as the error message does not come back.

Thanks,
Yulin

Dear Yulin,

This seems an error related to a certain patch/workspace. Can you send more information?

Best
K

Hi Karim,

The weird thing, that I tried several times on Ventura today (from “Open previous workspace”) and it works fine, with no errors. (Sonoma works too.)

But when I open it from root directory, the error comes again with terminal pops up:

However, after I force quit it and reopen it (I tried both way, from “previous” and from root), it works again!.. Very strange, but it can be opened anyway.

Best,
Y

Hi Yulin,

What do you mean by “open it from root directory” ?

Oh I mean open the workspace by clicking “Open new workspace”, rather than “Open previous workspace”!

Hi Yulin,

Just to be sure, you mean “Open a workspace”
There is no “Open new workspace” , instead there is “Create a new workspace”

So which is it?
There must be still a problem with permissions and preferences.

Best
K

Hi Karim,

Sorry about the typo… I mean “Open a workspace” !

Best,
Y

No problem,
Thank you
That way i can look into what’s really generating the error.

Best
K