# Processing Crashes upon start (macOS Ventura)

**URL:** <https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689>\
**Category:** Processing\
**Created:** [January 23, 2023, 2:24pm UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689 "2023-01-23T14:24:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorenz](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@Lorenz](https://discourse.processing.org/u/Lorenz)\
**Post date:** [January 23, 2023, 2:24pm UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689/1 "2023-01-23T14:24:21Z")

</div>

Hello,

Since a couple of days the newly installed processing 4 crashes on start-up and shows the following error:

“There is a Problem with the “permission” for the sketchbook folder”.

It is suggested to get rid of the problem entering the following code line in the terminal:

tccutil reset All org.processing.four

Unfortunately entering this line of code does solve the problem.

Has anybody a suggestion?

Tech stack:

Chip: Apple M1 Pro  
macOs Ventura 13.1  
Processing 4

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [January 23, 2023, 10:14pm UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689/2 "2023-01-23T22:14:53Z")

</div>

Hi @Lorenz,

Welcome to the forum! 😉

Can you provide the link to the fix you found? Is it an issue on GitHub? (I can’t find it on the Processing 4 [issues](https://github.com/processing/processing4/issues))

---

<div class="post-metadata">

**Author:** ![Lorenz](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@Lorenz](https://discourse.processing.org/u/Lorenz)\
**Post date:** [January 24, 2023, 10:03am UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689/3 "2023-01-24T10:03:56Z")

</div>

Hi Joseph,

Thanks for your reply.

I can’t find it on GitHub either.

The fix is suggested in the pop-up window that appears after Processing crashed. Therefore I assume the fix is suggested by Processing.

When I enter the suggested line of code (tccutil reset All org.processing.four) into the Terminal, it returns the following:

Successfully reset All approval status for org.processing.four

But when I restart processing the problem persists.

Any suggestion?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [January 24, 2023, 10:21am UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689/4 "2023-01-24T10:21:18Z")

</div>

Ok, I found the original issue:

> <https://github.com/processing/processing4/issues/581#issuecomment-1309957024>
>
> Hi!
> I have an issue with Processing
> 
> \*\*Description\*\*
> I have installed Proces…sing 4.0.1. When I close the program and restart again, it shows me this error message:
> 
> !\[error\](https://user-images.githubusercontent.com/46849400/197497193-e0103693-ef5a-43d4-98d0-3120a825803a.png)
> 
> I have changed permission for /Documents/Processing/modes folder, allowing to everybody to write and read, but it doesn't work.
> 
> After trying different things, I have found a way to make it work:
> 
> 1. Uninstall Processing.
> 2. Delete /Documents/Processing folder.
> 3. Install Processing.
> 4. Run Processing - it says to me that there is no /Documents/Processing folder, so it's going to create it.
> 5. While running Processing, I go and change permission allowing to everybody write and read to /Documents/Processing folder. I do the same with every folder that is contained in it.
> 6. Now, I can close Processing and restarting with no problem.
> 
> I have opened this issue as @SableRaf told me. I think that it's a good idea because, if you fix it, some users will not have this problem.
> 
> \*\*My Environment\*\*
> \* Processing version: 4.0.1
> \* Operating System and OS version: macOS Big Sur
> 
> \*\*Possible Solution\*\*
> Can't you modify /Processing folder permission when Processing creates them?
> 
> Thanks.

From the source code:

> <https://github.com/processing/processing4/blob/f5205636b5e27bef832a21d0f4c42d4d2706b475/app/src/processing/app/contrib/ContributionManager.java#L584>

Try the fix SmantikVJ found at the end of the issue and let me know if it works. Or reinstall Processing and allow access to the sketchbook folder. (if it doesn’t work, try to run the`tccutil` as root with `sudo`?)

---

<div class="post-metadata">

**Author:** ![Lorenz](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@Lorenz](https://discourse.processing.org/u/Lorenz)\
**Post date:** [January 24, 2023, 2:09pm UTC](https://discourse.processing.org/t/processing-crashes-upon-start-macos-ventura/40689/5 "2023-01-24T14:09:00Z")

</div>

Thanks!

I reinstalled processing and gave it the permissions as suggested. For now it is running (fingers crossed).  
Hopfully the problem will not reoccur.
