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

"Your sketch has been modified externally" with encrypted OS X volumes #3650

Closed
1deadpixl opened this Issue Aug 17, 2015 · 13 comments

Comments

Projects
None yet
2 participants
@1deadpixl

1deadpixl commented Aug 17, 2015

Everytime I open an example from the Examples menu, Stop the execution of a running example sketch or the Processing regains focus with an example sketch open, the warning "Your sketch has been modified externally." appears and prompts me to reload the sketch. Clicking Yes results in an endless loop as it reloads the sketch (without any changes occurring in the code) and then tells me the same thing again. Clicking No dismisses the dialog until the next action which causes Processing to think that the sketch has changed.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 17, 2015

Member

Is Processing on a USB drive, i.e. #3387 ?

Member

benfry commented Aug 17, 2015

Is Processing on a USB drive, i.e. #3387 ?

@benfry benfry added the macosx label Aug 17, 2015

@1deadpixl

This comment has been minimized.

Show comment
Hide comment
@1deadpixl

1deadpixl Aug 18, 2015

No. Processing is stored in ~/Applications/ and the sketchbook is in ~/Development/Processing 3. New sketchbook got created when first launching the new Processing.

1deadpixl commented Aug 18, 2015

No. Processing is stored in ~/Applications/ and the sketchbook is in ~/Development/Processing 3. New sketchbook got created when first launching the new Processing.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 18, 2015

Member

And this is beta 4 on OS X 10.10 and just standard formatting for the drive (i.e. Journaled, not case-sensitive)?

Member

benfry commented Aug 18, 2015

And this is beta 4 on OS X 10.10 and just standard formatting for the drive (i.e. Journaled, not case-sensitive)?

@1deadpixl

This comment has been minimized.

Show comment
Hide comment
@1deadpixl

1deadpixl Aug 18, 2015

Yea, running OS X 10.10.4. The file system is Mac OS Extended (Journaled, Encrypted) per Disk Utility; untouched from Apple.
I've been trying to get beta 4 this morning, on a terrible internet connection right now though. I get the error as reported on beta 3. Once I get b4 up and running I will report back.

1deadpixl commented Aug 18, 2015

Yea, running OS X 10.10.4. The file system is Mac OS Extended (Journaled, Encrypted) per Disk Utility; untouched from Apple.
I've been trying to get beta 4 this morning, on a terrible internet connection right now though. I get the error as reported on beta 3. Once I get b4 up and running I will report back.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 18, 2015

Member

Ah, the “encrypted” may be the thing... That would make (some) sense.

Member

benfry commented Aug 18, 2015

Ah, the “encrypted” may be the thing... That would make (some) sense.

@1deadpixl

This comment has been minimized.

Show comment
Hide comment
@1deadpixl

1deadpixl Aug 18, 2015

Encrypting the file system was the default option from Apple during system setup. I've been running Processing 1 and 2 with no problems on the same configuration. Just been having the problem with 3. And beta 4 still has the same problem.

1deadpixl commented Aug 18, 2015

Encrypting the file system was the default option from Apple during system setup. I've been running Processing 1 and 2 with no problems on the same configuration. Just been having the problem with 3. And beta 4 still has the same problem.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 18, 2015

Member

Yup, aware of it being the default; will look into it. For now, just turn off the auto-detect.

Member

benfry commented Aug 18, 2015

Yup, aware of it being the default; will look into it. For now, just turn off the auto-detect.

@1deadpixl

This comment has been minimized.

Show comment
Hide comment
@1deadpixl

1deadpixl Aug 18, 2015

Sounds good. Thanks for the help. Really appreciate your responsiveness.

1deadpixl commented Aug 18, 2015

Sounds good. Thanks for the help. Really appreciate your responsiveness.

@1deadpixl

This comment has been minimized.

Show comment
Hide comment
@1deadpixl

1deadpixl Aug 18, 2015

Actually, couldn't find the option for turning off auto-detect, but set editor.watcher to false in preferences.txt. That did fix the problem with the prompts. Is that the setting you're referring to?

1deadpixl commented Aug 18, 2015

Actually, couldn't find the option for turning off auto-detect, but set editor.watcher to false in preferences.txt. That did fix the problem with the prompts. Is that the setting you're referring to?

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 18, 2015

Member

Yes, that's the one. I'd intended to add it to Preferences because we were having so many problems with it, but apparently I didn't get around to doing so. The original submitter has rewritten the detection code four or five times but it's still (apparently) problematic. I thought we'd sorted everything out except for this case, but apparently not.

Member

benfry commented Aug 18, 2015

Yes, that's the one. I'd intended to add it to Preferences because we were having so many problems with it, but apparently I didn't get around to doing so. The original submitter has rewritten the detection code four or five times but it's still (apparently) problematic. I thought we'd sorted everything out except for this case, but apparently not.

@benfry benfry changed the title from "Your sketch has been modified externally." appearing when opening Examples on OS X to "Your sketch has been modified externally" with encrypted OS X volumes Sep 15, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 15, 2015

Member

Can you try this pre-release and report back the results?
http://download.processing.org/processing-150915b-macosx.zip

It should fix the infinite loop problem, and also print messages to the console about why it's updating the file. Could you paste them here?

Member

benfry commented Sep 15, 2015

Can you try this pre-release and report back the results?
http://download.processing.org/processing-150915b-macosx.zip

It should fix the infinite loop problem, and also print messages to the console about why it's updating the file. Could you paste them here?

@1deadpixl

This comment has been minimized.

Show comment
Hide comment
@1deadpixl

1deadpixl Sep 16, 2015

Looks like it's fixed! No more dialog box complaining about the example being modified. I tried some of the included examples as well as a contributed example.
I didn't see any console messages, so nothing to report there.

1deadpixl commented Sep 16, 2015

Looks like it's fixed! No more dialog box complaining about the example being modified. I tried some of the included examples as well as a contributed example.
I didn't see any console messages, so nothing to report there.

@1deadpixl 1deadpixl closed this Sep 16, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 16, 2015

Member

Great! Thanks for trying it out.

That version has "debug" mode turned on, so when there are external changes you'll see things in the console. But the final release won't have that.

Member

benfry commented Sep 16, 2015

Great! Thanks for trying it out.

That version has "debug" mode turned on, so when there are external changes you'll see things in the console. But the final release won't have that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment