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

GanttProject is blocked by GateKeeper on Mac OSX Mountain Lion #557

Closed
GoogleCodeExporter opened this issue Jun 28, 2015 · 26 comments
Closed

Comments

@GoogleCodeExporter
Copy link

i work well with gantt 2.5.3 and 2.5.4 on lion but installing both of them 
under mountain lion always ends up with "file seems to be damaged. please 
remove" 
will there be a fix?

Original issue reported on code.google.com by christia...@gmail.com on 26 Jul 2012 at 5:42

@GoogleCodeExporter
Copy link
Author

When exactly this message shows up?

Original comment by dbarashev on 26 Jul 2012 at 5:47

@GoogleCodeExporter
Copy link
Author

It happens for me after downloading and then trying to install the software.  
Screencapture attached


Original comment by davidlad...@gmail.com on 27 Jul 2012 at 7:58

Attachments:

@GoogleCodeExporter
Copy link
Author

Just to be sure: you downloaded it from our Google code site, right? 
http://code.google.com/p/ganttproject/downloads/list

Would you mind testing an updated version?

Original comment by dbarashev on 27 Jul 2012 at 8:09

@GoogleCodeExporter
Copy link
Author

I just got the same problem.
A workaround is to use the Linux version and start it via the included shell 
script in Terminal.
When trying to launch the application bundle of the Mac version, I get an error 
dialog as stated above. Also, the Console logs the following messages (using a 
german system):


30.07.12 19:37:27,081 CoreServicesUIAgent[2025]: Error SecAssessmentCreate: Der 
Vorgang konnte nicht abgeschlossen werden. (OSStatus-Fehler -67061.)
30.07.12 19:37:28,780 com.apple.launchd.peruser.502[158]: 
([0x0-0x1c81c8].net.sourceforge.ganttproject[2023]) Exited: Killed: 9

Original comment by sil...@isg-software.de on 30 Jul 2012 at 5:39

@GoogleCodeExporter
Copy link
Author

So, any volunteer to test an updated package?

Original comment by dbarashev on 30 Jul 2012 at 5:40

@GoogleCodeExporter
Copy link
Author

No problem, I'd test an update.

Original comment by sil...@isg-software.de on 30 Jul 2012 at 5:42

@GoogleCodeExporter
Copy link
Author

So, here is an update: http://dl.dropbox.com/u/5454466/GanttProject%202.5.4.zip
It is just a zipped GanttProject.app, not a dmg file. You should be able to 
unzip it and just double-click. Let me know if it runs fine or not. 

Thanks for volunteering!

Original comment by dbarashev on 31 Jul 2012 at 11:19

@GoogleCodeExporter
Copy link
Author

I just tested it, the problem persisted.

31.07.12 14:02:19,482 CoreServicesUIAgent[3674]: Error SecAssessmentCreate: Der 
Vorgang konnte nicht abgeschlossen werden. (OSStatus-Fehler -67061.)
31.07.12 14:02:27,073 com.apple.launchd.peruser.502[158]: 
([0x0-0x30e30e].net.sourceforge.ganttproject[3679]) Exited: Killed: 9

I just found out that the problem is related to Mountain Lion's new GateKeeper 
feature. Normally, GateKeeper should just say the App is unsigned and starting 
it via context menu should offer the option to open it nonetheless. Instead we 
get a totally irritating message and no option to open the app while GateKeeper 
is active.
BUT: If you switch off GateKeeper in System Preferences, GanttProject (the 
official version as well as the update above) starts fine. Also, the system 
remembers the App was launched: re-enabling GateKeeper after the successful 
execution of the app is safe, it may be launched again regardless of 
GateKeeper's state.

Original comment by sil...@isg-software.de on 31 Jul 2012 at 12:12

@GoogleCodeExporter
Copy link
Author

Oh, thanks for this investigation. At least I understand now that I need to 
sign GanttProject.app. Let's do another try a little bit later

Original comment by dbarashev on 31 Jul 2012 at 12:17

@GoogleCodeExporter
Copy link
Author

Apparently, Apple decided to earn some money by forcing developers to get 
Developer ID for the sole purpose of signing apps. So it will take a little bit 
longer.

Original comment by dbarashev on 31 Jul 2012 at 12:44

@GoogleCodeExporter
Copy link
Author

Even open source/ non-profit developers need to pay to get an ID??

Original comment by maarten....@gmail.com on 31 Jul 2012 at 12:50

@GoogleCodeExporter
Copy link
Author

Yet, it should also be possible to execute non-signed apps with GateKeeper 
enabled:
Normally, the user should be able to start the app initially by right-clicking 
it, choosing "open" from the context menu, confirm that he wants to open an 
unsigned app and in case of a non-admin account enter admin credentials in 
order to save the permanent clearance for the app.

The problem here is, that this process does not work correctly, and I've got no 
idea why. Maybe it's a bug in GateKeeper.

Nonetheless a signed app would, of course, be preferable.

In the meantime, the workaround of switching GateKeeper off when launching 
GattProject for the first time (and turning it back on afterwards) works fine.

Original comment by sil...@isg-software.de on 31 Jul 2012 at 12:54

@GoogleCodeExporter
Copy link
Author

@maarten: I didn't see any exceptions, so I believe, yes. Even sysadmins who 
deploy their one-off scripts.

@silent: we're not going to make so much troubles with switching Gate Keeper on 
and off to our users.

Original comment by dbarashev on 31 Jul 2012 at 1:00

  • Changed title: GanttProject is blocked by GateKeeper on Mac OSX Mountain Lion
  • Changed state: Accepted
  • Added labels: Installation, OpSys-OSX, Type-Defect, __Target-Praha
  • Removed labels: Type-Discussion

@GoogleCodeExporter
Copy link
Author

Okay, it took just 5 days to get the certificates. I've signed 
GanttProject.app. Can you please test it again?
It is still here: http://dl.dropbox.com/u/5454466/GanttProject%202.5.4.zip


Original comment by dbarashev on 7 Aug 2012 at 11:15

@GoogleCodeExporter
Copy link
Author

Sorry to inform you that the problem still persists. Only the error code in the 
log message changed to a different value:
08.08.12 09:12:43,695 CoreServicesUIAgent[619]: Error SecAssessmentCreate: Der 
Vorgang konnte nicht abgeschlossen werden. (OSStatus-Fehler -2147409622.)
08.08.12 09:12:46,835 com.apple.launchd.peruser.502[158]: 
([0x0-0x6b06b].net.sourceforge.ganttproject[622]) Exited: Killed: 9

The problem is definitely related to Gatekeeper, since the app works fine if 
Gatekeeper is turned off during the first launch and regardless of Gatekeeper's 
state once the quarantine flag got removed. It also works if I remove the 
quarantine flag manually after uncompressing the downloaded zip:
xattr -d com.apple.quarantine GanttProject\ 2.5.4.app

Yet the real problem obviously wasn't the missing signature in the first place 
(which seems logical in so far as an unsigned app should behave different and 
allow for launching via context menu without switching Gatekeeper off).

Original comment by sil...@isg-software.de on 8 Aug 2012 at 7:26

@GoogleCodeExporter
Copy link
Author

I just found a different Project on Google Code which appears to have solved 
the same issue:
http://code.google.com/p/processing/issues/detail?id=1134

Original comment by sil...@isg-software.de on 8 Aug 2012 at 7:37

@GoogleCodeExporter
Copy link
Author

It seems that I've managed to get through this. Now I have Mountain Lion 
running in a virtual machine on Snow Leopard host, and after some fight with 
certificates, I have a properly signed GanttProject.app. At least my virtual 
Mountain Lion doesn't suggest me to move it to the trash anymore. I'll publish 
Praha 2.5.5 in the next few days, and will appreciate if you test the distro 
before publishing.

Original comment by dbarashev on 9 Aug 2012 at 8:26

@GoogleCodeExporter
Copy link
Author

Hey guys, can you test this package: 
http://dl.dropbox.com/u/5454466/ganttproject-2.5.5-r1253.dmg ?
It works fine on my virtual Mountain Lion, but I want to be sure that it works 
not only for me.

Original comment by dbarashev on 10 Aug 2012 at 11:53

@GoogleCodeExporter
Copy link
Author

Works for me too. Good job!

Original comment by sil...@isg-software.de on 11 Aug 2012 at 6:21

@GoogleCodeExporter
Copy link
Author

Works fine also for me. Thanks, great job.

Original comment by zrenard on 11 Aug 2012 at 8:57

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 12 Aug 2012 at 11:33

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 12 Aug 2012 at 11:33

  • Changed state: FeelFreeToTest

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 12 Aug 2012 at 11:35

  • Added labels: __Fixed-In_2.5.5

@GoogleCodeExporter
Copy link
Author

I downloaded ganttproject-2.5.5-r1256.dmg for my Mac running OSX 10.5.8 and it 
wouldn't run. I then downloaded JRE 1.6 and installed that, and it still won't 
run. When I try to run it, the app name appears in the menu bar for about a 
second and then disapperas, and nothing happens. Help please?

Original comment by chanel.c...@gmail.com on 17 Aug 2012 at 12:14

@GoogleCodeExporter
Copy link
Author

@24: Is it Intel Mac or Power PC? And can you please start another discussion 
thread, since it is clearly not related to Gatekeep?

Original comment by dbarashev on 17 Aug 2012 at 6:43

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 22 Sep 2014 at 12:20

  • Changed state: Verified

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

No branches or pull requests

1 participant