Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefill Libraries for classroom usage not working in macOS #866

Open
pnerum opened this issue Dec 2, 2024 · 6 comments
Open

Prefill Libraries for classroom usage not working in macOS #866

pnerum opened this issue Dec 2, 2024 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@pnerum
Copy link

pnerum commented Dec 2, 2024

Most appropriate sub-area of Processing 4?

Other (specify if possible)

Processing version

4.3

Operating system

macOS Sonoma and Sequoia

Steps to reproduce this

  1. Install libraries as current logged in user
  2. Capture the contents of ~/Documents/Processing to a "shared" template folder
  3. Log in as another local user
  4. Copy the contents from template folder to current ~/Documents/Processing folder
  5. Open Processing app and check if the Libraries are marked as installed
  6. Libraries aren't noted as installed in Processing 4

Additional context

We're using your software in our classroom labs where we give Processing lessons. Our lab macOS devices are shared between a lot of students and therefore we need to delete all the home folders with reboots to prevent storage problems and to (pre)deploy preferences for all kinds of software titles that are teached in those classroom labs.

We would like to be able to also pre-deploy (copy) Processing 4 libraries when a random student logs in. When we can’t pre deploy those preferences it takes a teacher an additional 10-15 minutes of their lesson when the teacher needs to ask all the students in the classroom to install those libraries using the GUI in the Processing.app. And they have to perform this procedure every time a macOS computer reboots.

Background:
These preferences we capture from all kinds of software titles and copy those to a template folder. When a new student logs in a new local home directory is created (by the OS) and preference files are copied to the corresponding local homefolder directory using a script.

We were already using that for Arduino and Processing 3 for example. But for Processing 4 this doesn’t work anymore and therefore this seems like a bug.

Do you have a workaround for this problem, or is there an additional folder that we need to copy to the template folder directory?

@pnerum pnerum added the bug Something isn't working label Dec 2, 2024
@pnerum
Copy link
Author

pnerum commented Dec 2, 2024

I've have 2 screenshot examples where we pre-populated the ~/Documents/Processing folder to a newly created user (log in)

Processing 3 example Processing 4 example

@pnerum
Copy link
Author

pnerum commented Dec 2, 2024

One thing O forgot to mention: I don't use the same Processing 3 and 4 versions of the Libraries for Processing 4.

@SableRaf SableRaf added enhancement New feature or request and removed bug Something isn't working labels Dec 2, 2024
@SableRaf
Copy link
Collaborator

SableRaf commented Dec 2, 2024

Thank you for sharing the details of your setup—it’s clear this workflow is important for your classroom environment and I'm sorry that you can't replicate it in Processing 4.3.

I encourage you to post your question on the Processing forum, where other educators and advanced users might share ideas or collaborate on a solution.

Processing is a community project, so if you or someone in your community has the capacity, you’re welcome to contribute a fix for this use case by submitting a pull request.

@SableRaf SableRaf added the help wanted Extra attention is needed label Dec 2, 2024
@SableRaf
Copy link
Collaborator

@Stefterv
Copy link
Collaborator

I just tried this on my local machine and it works just fine... Anything special about the user setup?

@Stefterv
Copy link
Collaborator

In any case, it might be helpful to also copy the ~/Library/Processing folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

3 participants