Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 300 forks source link

OSX KomodoIDE requires firewall approval on startup because codesign verification fails #313

Closed dch closed 8 years ago

dch commented 9 years ago

IIRC this is a regression but the old bugzilla seems to be very hard to find.

Issue

When starting Komodo IDE on OSX, the debugger starts and listens on a given network port. The OS prompts the user to accept this access. Normally an app only needs this once and then the approval is remembered. However as Komodo creates *.pyo files that are not present in the original distributed .dmg archive, this approval needs to be done on every startup.

Repro

Download latest master e.g. from http://downloads.activestate.com/Komodo/nightly/komodoide/latest-master/ but don't run it yet.

After installing latest Komodo-IDE-9.1.0-87333-macosx-x86_64.dmg codesign -vvv gives:

--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozglue.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozglue.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/dependentlibs.list
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/dependentlibs.list
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libclearkey.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libclearkey.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libfreebl3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libfreebl3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozalloc.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozalloc.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/js
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/js
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/crashreporter.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/crashreporter.app
--prepared:/Users/dch/Applications/Komodo.app/Contents/Frameworks/Python.framework/Versions/Current/.
--validated:/Users/dch/Applications/Komodo.app/Contents/Frameworks/Python.framework/Versions/Current/.
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnss3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnss3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libplugin_child_interpose.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libplugin_child_interpose.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssdbm3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssdbm3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libpyxpcom.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libpyxpcom.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/plugin-container.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/plugin-container.app
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/updater.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/updater.app
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libsoftokn3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libsoftokn3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssckbi.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssckbi.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/XUL
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/XUL
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/xpcshell
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/xpcshell
/Users/dch/Applications/Komodo.app: valid on disk
/Users/dch/Applications/Komodo.app: satisfies its Designated Requirement

codesign after first run:

--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozglue.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozglue.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/dependentlibs.list
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/dependentlibs.list
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/crashreporter.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/crashreporter.app
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/js
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/js
--prepared:/Users/dch/Applications/Komodo.app/Contents/Frameworks/Python.framework/Versions/Current/.
--validated:/Users/dch/Applications/Komodo.app/Contents/Frameworks/Python.framework/Versions/Current/.
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libclearkey.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libclearkey.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libfreebl3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libfreebl3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozalloc.dylib--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnss3.dylib

--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libmozalloc.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnss3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssckbi.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssckbi.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssdbm3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libnssdbm3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libsoftokn3.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libsoftokn3.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libpyxpcom.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libpyxpcom.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/plugin-container.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/plugin-container.app
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/updater.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/updater.app
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/libplugin_child_interpose.dylib
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/libplugin_child_interpose.dylib
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/xpcshell
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/xpcshell
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/XUL
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/XUL
/Users/dch/Applications/Komodo.app: a sealed resource is missing or invalid
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koAppInfo.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koAsyncOperations.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koCodeBrowser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koCodeIntel.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koCodeIntelXPCOMSupport.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koCommandmentService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koConsoleLogger.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koCVS.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koDBGP.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koDirs.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koDocument.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koDocumentService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koDocumentSettingsManager.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koEncoding.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koEnviron.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koEncodingServices.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koErrorLanguage.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFileEx.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFileNotificationService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFileService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFileStatusService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFindContext.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFinder.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFindResultsView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFindSession.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koHistory.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koInfoService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koIniLanguage.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koInitService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koKeybindingSchemeService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koKPFTreeView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koLanguage.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koLanguageCommandHandler.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koLastErrorService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koLintService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koLoggingService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koMarkdownLanguage.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koMemoryReporter.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koNotificationManager.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koObserverService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koOs.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koP4.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koPrefs.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koProject.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koProjectService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koRemoteConnectionService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koRunTerminal.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koScintillaController.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koScintillaSchemeService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koSleuth.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koSleuthTreeView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koSVN.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koSysUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koTemplateService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koTextLanguage.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koToolbox2Components.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koToolbox2HTreeView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koTools.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koViewService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/xpcomJSElements.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/django_language@ActiveState.com/pylib/lang_django.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/html_language@ActiveState.com/pylib/lang_html.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/html_language@ActiveState.com/pylib/lang_html5.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/mason_language@ActiveState.com/pylib/lang_mason.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/mxml_language@ActiveState.com/pylib/codeintel_mxml.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/php_language@ActiveState.com/pylib/lang_php.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/places@activestate.com/components/koPlaceTreeView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/rhtml_language@ActiveState.com/pylib/lang_rhtml.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/smarty_language@ActiveState.com/pylib/lang_smarty.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/templatetoolkit_language@ActiveState.com/pylib/lang_templatetoolkit.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/twig_language@ActiveState.com/pylib/lang_twig.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/xbl_language@ActiveState.com/pylib/lang_xbl.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/xml_language@ActiveState.com/pylib/lang_xml.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/xslt_language@ActiveState.com/pylib/lang_xslt.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/distribution/bundles/xul_language@ActiveState.com/pylib/lang_xul.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/bazaar@ActiveState.com/components/koBzr.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/bazaar@ActiveState.com/pylib/koBzrlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/dbexplorer@ActiveState.com/components/koDatabaseExplorerTreeView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/dbexplorer@ActiveState.com/components/koDBXLoginManager.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/git@ActiveState.com/components/koGit.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/git@ActiveState.com/pylib/gitlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/golang@activestate.com/pylib/codeintel_go.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/golang@activestate.com/pylib/langinfo_go.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/mercurial@ActiveState.com/components/koHg.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/mercurial@ActiveState.com/pylib/hglib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/publishing@ActiveState.com/components/koPublishing.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/publishing@ActiveState.com/components/koPublishingStatus.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/refactoring@activestate.com/components/koMiscRefactoringLanguageService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/refactoring@activestate.com/pylib/koRefactoringLanguageServiceBase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/scope-files@activestate.com/components/koScopeFiles.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/trackchanges@activestate.com/components/koChangeTracker.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/extensions/zendframework@ActiveState.com/pylib/codeintel_zend.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/applib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/accessor.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/buffer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/citadel.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/citadel_common.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/common.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/catalog.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/database.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/langlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/langlibbase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/multilanglib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/projlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/resource.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/stdlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/database/util.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/environment.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/gencix_utils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/hooks.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/indexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/jsdoc.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_css.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_javascript.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_less.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_nodejs.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_python3.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_perl.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_python.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_ruby.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_ruby_common.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/lang_tcl.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/langintel.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/manager.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/oop/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/oop/codebrowser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/oop/controller.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/oop/driver.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/parser_cix.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/parser_data.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/parseutil.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/perl_lexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/perlcile.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/perl_parser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/phpdoc.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/pythoncile.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/pythoncile1.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/ruby_lexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/ruby_parser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/rubycile.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/shared_lexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/shared_parser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tcl_lexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tcl_parser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tclcile.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tdparser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tree.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tree_javascript.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tree_perl.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tree_php.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tree_python.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/tree_ruby.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/udl.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/codeintel2/util.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/cvslib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/dbgp/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/dbgp/common.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/dbgp/listcmd.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/dbgp/server.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/dbgp/serverBase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/difflibex.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/directoryServiceUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/editorhistory.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/elementtree/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/elementtree/ElementPath.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/elementtree/ElementTree.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/elementtree/XMLTreeBuilder.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/eollib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/fileStatusUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/fileutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/findlib2.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/perl/register_perl_tap.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/php/register_php_phpunit.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/python/register_python_unittest.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/python3/register_python3_unittest.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/ruby/register_ruby_rake.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/ruby/register_ruby_testunit.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/harnesses/tcl/register_tcl_tcltest.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/HTMLTreeParser.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koCatalog.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/invocationutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koAsyncOperationUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koDTD.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koLanguageServiceBase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koLintResult.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koLintResults.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koMigrateV5Toolboxes.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koNotification.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koprocessutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koRNGElementTree.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koSCCBase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koSimpleLexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/kotaclib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koToolbox2.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koTreeView.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koUDLLanguageBase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koUnicodeEncoding.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koXMLDatasetInfo.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koXMLPrefs.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/koXMLTreeService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_binary.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_doc.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_komodo.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_mozilla.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_other.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_prog.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_template.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/langinfo_tiny.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/mozutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/osFileNotificationUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/osFilePollingNotifier.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/p4lib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/pathtools/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/pathtools/path.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/process.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/pathtools/patterns.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/projectUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/scimozindent.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/scandir.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/schemebase.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/sciutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/CPP.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/CSS.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/DispatchHandler.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/HTMLGenerator.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/HyperText.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/JavaScript.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/Keywords.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/LanguageInfo.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/Lexer.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/NULL.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/Perl.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/PostScript.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/Python.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/Ruby.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/ScintillaConstants.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/SQL.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/Utils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/XML.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/XSLT.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/SilverCity/YAML.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/sitepyxpcom.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/sleuth.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/styles.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/subprocess32.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/svnlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/textinfo.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/textutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/thread_helper.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/upgradeutils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/URIlib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/uriparse.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/events.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/observers/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/observers/api.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/observers/fsevents.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/observers/inotify.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/utils/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/utils/bricks.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/utils/dirsnapshot.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog/utils/platform.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdog_patches.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/watchdogFileNotifications.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/which.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/zope/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/zope/cachedescriptors/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/zope/cachedescriptors/property.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/client/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/components.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/nsError.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/server/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/server/enumerator.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/server/factory.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/server/loader.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/server/module.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/server/policy.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/shutdown.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/xpcom_consts.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/xpcom/xpt.pyo

NB find ~/Applications/Komodo.app |grep pyo$ | xargs rm removes the .pyo files and the signature passes again.

I assume a possible solution is to include the .pyo files in the .dmg bundle and sign them by default?

I currently self-sign by sudo codesign --force --deep --sign - ~/Applications/Komodo.app. Hacky.

Naatan commented 9 years ago

I've never seen this issue on OSX. What firewall are you using? Anything special about your config?

mook-as commented 9 years ago

For historical note: We used to use a CodeResources file, but it was dropped in b6d58360aa5bd780bf31a6183a30d7e69b9f77cc - not sure why since there wasn't very much information (or any bug references) in the commit message.

dch commented 9 years ago

@Naatan builtin OSX firewall, box config is plenty boring. This happens on 2 OSX boxes.

If there's a way to disable the debugger listener by default that would also do, but the Debug menu only works for the current session.

Here's the .pyo files that today's starting komodo created:


/Users/dch/Applications/Komodo.app: a sealed resource is missing or invalid
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koCatalogsTree.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koErlangLanguage.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koFormatterService.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koGenericFormatter.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koPHPConfigurator.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koPythonStdLib.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koTextUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koWindowManagerUtils.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/python/komodo/reflow.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/ashes.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/atelierdune.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/atelierforest.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/atelierheath.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/bespin.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/chalk.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/default.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/eighties.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/embers.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/grayscale.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/greenscreen.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/isotope.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/londontube.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/marrakesh.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/mocha.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/monokai.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/ocean.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/paraiso.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/railscasts.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/s3024.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/solarized.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/tomorrow.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/schemes/twilight.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/templates/__init__.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/templates/common.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/templates/dark.pyo
file added: /Users/dch/Applications/Komodo.app/Contents/SharedSupport/schemes/templates/light.pyo
jarnoldtti commented 9 years ago

Same thing happens on OSX 10.9.5 on MBP Retina, 15-inch, Mid 2014.

dch commented 9 years ago

BTW this happens every time I open Komodo. It's extremely frustrating and slow to add my admin password and click away a couple of dialogue boxes. If there's a way to disable the debugger (and avoid the port open problem) please let us know as a simple work-around.

Today's random changes, presumably as I was working on files of different types again.

...
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/XUL
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/XUL
/Users/dch/Applications/Komodo.app: a sealed resource is missing or invalid
file added: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koApacheLanguage.pyo
file modified: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koErlangLanguage.pyo
file modified: /Users/dch/Applications/Komodo.app/Contents/Resources/components/koStatusMessage.pyo
luc-j-bourhis commented 8 years ago

This happens to me as well on MacOS 10.11.4 with Komodo 9.3.2. For the record, here is a screenshot of the dialogue which has to be cleared away every time Komodo starts:

screen shot 2016-04-05 at 11 46 15

Naatan commented 8 years ago

Do you have some sort of extra strong security settings on your OSX? I use OSX daily and have never seen this.

th3coop commented 8 years ago

I use OSX daily and have never seen this.

Me as well.

luc-j-bourhis commented 8 years ago

I have just got the Firewall on:

screen shot 2016-04-05 at 17 48 23

If I turn it off, the dialogue shown earlier does not appear. Then here are the "Firewall Options…"

screen shot 2016-04-05 at 17 45 58

th3coop commented 8 years ago

So this was relatively easy to trace. Firewalls on OSX appear to be turned off by default so both @Naatan and I weren't seeing this message. Everyone who has commented here must have turned on their Firewalls.

I'm following up with Todd about his commit from Jan (mentioned by mook above that appears to have removed the config file that would have removed this issue (not sure about that, haven't tested it) .

@dch thought turning off the debugger at startup would seem to fix this, as soon as you turn it on you will have to give Komodo permission to start again. The best workaround at this point is the one you're already using: sudo codesign --force --deep --sign - ~/Applications/Komodo.app

th3coop commented 8 years ago

@luc-j-bourhis Looks like you did the same digging. Thanks for posting. See the last line in my last comment. For now that is the workaround.

It should be possible to create a script that will run that line then start Komodo so it's a less bothersome process.

luc-j-bourhis commented 8 years ago

@cgchoffman

It should be possible to create a script that will run that line then start Komodo so it's a less bothersome process.

I don't think that would work nicely. The problem, as explained by @dch, is that Komodo creates .pyc and .pyo after installation: those files aren't part of the signature and therefore this breaks OS X trust. Unless I am missing something, you would need to run that "sudo codesign …" every time Komodo is started, therefore asking the user's admin credential every time. Rather not nice. I concur with @dch that the only solution would be to generate all those .pyc and .pyo and whatnot needed by other languages on your side, then bundle them all into the dmg that you would then sign.

th3coop commented 8 years ago

The method I mentioned is a workaround @dch @luc-j-bourhis. It's NOT a fix. There is noway that I am suggesting that you live with running a sudo command to start Komdo for the rest of your Komodo using days (which I don't think would be many more if I said that was the solution).

The fix will likely be reverting the commit that has already been mentioned twice. I am currently in the process of following up on that commit with the dev who made it as this will effect more than just the running Komodo but also our build system.

luc-j-bourhis commented 8 years ago

@cgchoffman Sorry, I misunderstood then. Thanks a lot for addressing this!

th3coop commented 8 years ago

Done some follow up now. Here is what I've found:

Workaround

import compileall as ca
ca.compile_dir("/Application/Komod Install dir.app") # change to match komodo app name
exit()

You should no longer need to approve changed files in the Komodo directory. Let me know if that doesn't work for you. Unfortunately this will mean you need to allow "unknown applications" to run (OSX Prefs > Security & Privacy > General Tab > Allow apps downloaded from: Anywhere) on your computer. If you're a developer, you likely already have this enabled though.

th3coop commented 8 years ago

I've thought about this a bit more and it occurs to me that it's crazy that OSX forces application developers to include pre-compile dynamic language files in their build (which is implies). Is anyone aware of a solution like the old one (the commit I can't revert) where you can tell codesign to ignore certain types of files? @dch you seem to be a codesign pro. Any thoughts?

Naatan commented 8 years ago

The problem is that we're doing it in the app directory itself, I think most OSX apps that have a need for this type of thing generate these files somewhere in your Library directory.

th3coop commented 8 years ago

Good point @Naatan, it doesn't look like Python supports that in Python < 3.2 though. I can't seem to find anything that says it's possible in Python < 3.2 (FYI we're running Python 2.7, for people that don't know).

Naatan commented 8 years ago

I think it would require us to "install" our Python dependencies to a different folder, all in all not a simple task.

th3coop commented 8 years ago

We'd have to do that for all the shipped addons too, or strip their Python files.

Naatan commented 8 years ago

Right, it would have to be for all Python files anywhere in the project.

I'm not convinced it's worth doing personally.

th3coop commented 8 years ago

I'm not convinced it's worth doing personally

If you're talking about moving all python files into a special "install" folder, then I totally agree it's not worth doing. At this point, the build step to pre-compile will be our best option.

th3coop commented 8 years ago

The fix above will be in Komodo 10. We won't be back porting this to a Komodo 9 nightly. Please get a hold of us for assistance with the workaround I provided above: https://github.com/Komodo/KomodoEdit/issues/313#issuecomment-205957735

dch commented 8 years ago

thanks folks! I'm really pleased to be starting on 10 without this, and I really appreciate the digging that went into fixing it for Komodo IDE 10.

th3coop commented 8 years ago

@dch are you using Komodo 10? Is it working as you hoped? We also appreciate the digging YOU did. You really went above and beyond by giving us details that pointed to exactly what was wrong.

dch commented 8 years ago

@cgchoffman thanks I switched over to 10 already as soon as I saw you'd fixed this bug! It feels faster already, although I am using a brand new profile. It's time to dump my accumulated years of komodo cruft in there..

tonyattwood commented 8 years ago

Yo!

I've found a very easy tutorial on the stuff we were talking about, look here http://advantage.tech-mac.com/e4oqb

All the best, tony.attwood

tonyattwood commented 8 years ago

Hello,

I left you a message on your voice mail, have you listened to it already? If not, here is the link http://white.dipeq.com/e4hkabcx

Cheers, tony.attwood

tonyattwood commented 8 years ago

Hey!

Look what I've just found on the web, that really cool, yeah, more info here http://byquecupru.antientitlement.com/e4hopu

Sincerely, tony.attwood

tonyattwood commented 8 years ago

Hey,

I'm planning a summer trip and I just wanted to ask to look at my route, what do you think? Here it is http://hestindore.chicagoendoscopy.org/e4iibl

Yours faithfully, tony.attwood

tonyattwood commented 8 years ago

Hey!

Just look at that interesting stuff, I love it! I think you're gonna like it too, take a look here http://lofikylo.devicehut.org/e4ilo

All the best, tony.attwood

tonyattwood commented 8 years ago

Hi!

There are so many cool things that you have see! I was really surprised, just take a look http://experience.elponchin.com/e4xwiw

tony.attwood

dch commented 7 years ago

BTW this is back again:

 ~ codesign -vvv ~/Applications/Komodo.app                                                                                                                (1)
--prepared:/Users/dch/Applications/Komodo.app/Contents/Frameworks/Python.framework/Versions/Current/.
--validated:/Users/dch/Applications/Komodo.app/Contents/Frameworks/Python.framework/Versions/Current/.
--prepared:/Users/dch/Applications/Komodo.app/Contents/MacOS/crashreporter.app
--validated:/Users/dch/Applications/Komodo.app/Contents/MacOS/crashreporter.app
/Users/dch/Applications/Komodo.app: code object is not signed at all
In subcomponent: /Users/dch/Applications/Komodo.app/Contents/MacOS/dependentlibs.list
Naatan commented 7 years ago

That's a related but slightly different bug, which you've already found - #1729