ilastik / ilastik-0.5

Interactive Learning and Segmentation Toolkit
ilastik.org
Other
24 stars 5 forks source link

Mac bundle not working on snow leopard 10.6.8 #93

Closed sommerc closed 12 years ago

sommerc commented 12 years ago

on our MacOSX snow leopard 10.6.8 test machine the ilastik bundle (from the website) is not running. Starting the app gives a hanging window asking for 'Open console' or 'Terminate'. Neither clicking does anything.

I tried to find the bundled python interpreter and found it in /Content/MacOS/. Starting that one yields:

./Contents/MacOS/python Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] ImportError: No module named site

lfiaschi commented 12 years ago

Hi Christoph, it works soothly on my machine with mac 10.6.8, on a clean machine with 10.6.3 and on oli's machine with Lion...

Could you please try the following? 1) print your enviroment 2) Click on /Content/MacOS/ilastikMain and send me the traceback of any error

On Oct 11, 2011, at 6:56 PM, Christoph Sommer wrote:

on our MacOSX snow leopard 10.6.8 test machine the ilastik bundle (from the website) is not running. Starting the app gives a hanging window asking for 'Open console' or 'Terminate'. Neither clicking does anything.

I tried to find the bundled python interpreter and found it in /Content/MacOS/. Starting that one yields:

./Contents/MacOS/python Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] ImportError: No module named site

Reply to this email directly or view it on GitHub: https://github.com/Ilastik/ilastik/issues/93

lfiaschi commented 12 years ago

Please send me also the print out of the ilastik pre louncher that you will get double clicking on the MacOsX/ilastikMain On Oct 11, 2011, at 6:56 PM, Christoph Sommer wrote:

on our MacOSX snow leopard 10.6.8 test machine the ilastik bundle (from the website) is not running. Starting the app gives a hanging window asking for 'Open console' or 'Terminate'. Neither clicking does anything.

I tried to find the bundled python interpreter and found it in /Content/MacOS/. Starting that one yields:

./Contents/MacOS/python Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] ImportError: No module named site

Reply to this email directly or view it on GitHub: https://github.com/Ilastik/ilastik/issues/93

lfiaschi commented 12 years ago

Hi Cristoph I just checked, this is actually normal On Oct 11, 2011, at 6:56 PM, Christoph Sommer wrote:

./Contents/MacOS/python Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] ImportError: No module named site

if you want to use python you have to set up the environment correctly this is the task of the executable ilastikMain. The python executable on its own will never works (even though there are some tricks to make it work)

sommerc commented 12 years ago

here comes the trace back of (looks like an OpenGL (hardware?) thing:

2) Click on /Content/MacOS/ilastikMain and send me the traceback of any error

Last login: Tue Oct 11 18:38:34 on ttys000 /Users/analyzer/Desktop/ilastik.app/Contents/MacOS/ilastikMain ; exit; bclever:~ analyzer$ /Users/analyzer/Desktop/ilastik.app/Contents/MacOS/ilastikMain ; exit; PYTHON ILASTIK PRE-LAUNCHER *** {'LC_CTYPE': 'en_US.UTF-8', 'TERM_PROGRAM_VERSION': '273.1', 'PYTHONHOME': '/Users/analyzer/Desktop/ilastik.app/Contents/Resources', 'LOGNAME': 'analyzer', 'USER': 'analyzer', 'PATH': '/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Users/analyzer/bin:/usr/local/bin:/usr/bin:/usr/local/graphviz-2.12/bin:/sw/bin:/opt/intel/cc/9.1.035/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin', 'HOME': '/Users/analyzer', 'ARGVZERO': '/Users/analyzer/Desktop/ilastik.app/Contents/MacOS/ilastikMain', 'DISPLAY': ':0.0', 'TERM_PROGRAM': 'Apple_Terminal', 'TERM': 'xterm-color', 'Apple_PubSub_Socket_Render': '/tmp/launch-IY4aYo/Render', 'SHLVL': '1', 'MACOSX_DEPLOYMENTTARGET': '10.5', '': '/Users/analyzer/Desktop/ilastik.app/Contents/MacOS/ilastikMain', 'MANPATH': '/opt/local/share/man:/usr/local/man:', 'SVN_EDITOR': 'vi', 'DYLD_FALLBACK_LIBRARY_PATH': '/Users/analyzer/Desktop/ilastik.app/Contents/Resources/lib:/Users/analyzer/Desktop/ilastik.app/ContentsResources/lib/python2.7/lib-dynload/vigra', 'PYRO_PORT': '7766', 'PYTHONPATH': '/Users/analyzer/Desktop/ilastik.app/Contents/Resources', 'SSH_AUTH_SOCK': '/tmp/launch-o6x9ig/Listeners', 'DYLD_LIBRARY_PATH': '/Users/analyzer/Desktop/ilastik.app/Contents/Resources/lib:/Users/analyzer/Desktop/ilastik.app/ContentsResources/lib/python2.7/lib-dynload/vigra', 'SHELL': '/bin/bash', 'PYRO_NS_HOSTNAME': 'bcute.ethz.ch', 'PYRO_NS_PORT': '9090', 'TMPDIR': '/var/folders/6b/6bDvI0AnEuewyM2+QJdTb++++TQ/-Tmp-/', 'EXECUTABLEPATH': '/Users/analyzer/Desktop/ilastik.app/Contents/MacOS/ilastikMain', 'SRC_PATH': '/Users/analyzer/src', 'RESOURCEPATH': '/Users/analyzer/Desktop/ilastik.app/Contents/Resources', 'CF_USER_TEXT_ENCODING': '0x1F7:0:0', 'PWD': '/Users/analyzer', 'COMMAND_MODE': 'unix2003'} END ILASIK PRE-LAUNCHER **** Using vigra version 1.8.0 ... ok Using numpy version 1.6.1 ... ok Load ilastik Core Loading modules core functionality... Adding Hessian matrix of Gaussian to Group Orientation Adding Eigenvalues of Hessian matrix of Gaussian to Group Texture Adding Eigenvalues of structure tensor to Group Texture Adding Gradient Magnitude of Gaussian to Group Edge Adding Gaussian Smoothing to Group Color Adding Structure Tensor to Group Orientation Adding Laplacian of Gaussian to Group Edge Adding Difference of Gaussians to Group Edge Loaded classifier: Random forest classifier Loaded classifier: Random forest classifier with variable importance Loaded core part of module classification Loaded core part of module connected_components Loaded core part of module example_module Loaded core part of module help Load ilastik GUI Loaded core part of module object_picking Loaded core part of module project_gui Loading modules GUI functionality... Loading modules core functionality... Loaded core part of module classification Loaded core part of module connected_components Loaded core part of module example_module Loaded core part of module help Loaded core part of module object_picking Loaded core part of module project_gui Loaded GUI part of module: classification Loaded GUI part of module: connected_components Loaded GUI part of module: example_module Loaded GUI part of module: help Loaded GUI part of module: object_picking Loaded GUI part of module: project_gui Adding ribbon Project Adding ribbon Classification Adding ribbon Connected Components Adding ribbon Objects Adding ribbon Automate Adding ribbon Help QGLContext::chooseMacVisual: Unable to choose a pixel format QGLContext::makeCurrent: Cannot make invalid context current Traceback (most recent call last): File "/Users/analyzer/Desktop/ilastik.app/Contents/Resources/boot.py", line 75, in _run('ilastikMain.py') File "/Users/analyzer/Desktop/ilastik.app/Contents/Resources/boot.py", line 28, in _run execfile(path, globals(), globals()) File "/Users/analyzer/Desktop/ilastik.app/Contents/Resources/ilastikMain.py", line 532, in mainwindow = MainWindow(sys.argv) File "/Users/analyzer/Desktop/ilastik.app/Contents/Resources/ilastikMain.py", line 233, in init__ dlg = RenderChoiceDialog() File "/Users/analyzer/Desktop/ilastik.app/Contents/Resources/ilastikMain.py", line 118, in init raise RuntimeError("Absolutely no OpenGL available") RuntimeError: Absolutely no OpenGL available 2011-10-12 18:10:34.618 ilastikMain[30827:903] ilastikMain Error ^C logout

[Process completed]

sommerc commented 12 years ago

You also asked for the hardware of our machine. Here some snipets of the output of 'system_profiler'

Hardware Overview:

  Model Name: Mac Pro
  Model Identifier: MacPro4,1
  Processor Name: Quad-Core Intel Xeon
  Processor Speed: 2.26 GHz
  Number Of Processors: 2
  Total Number Of Cores: 8
  L2 Cache (per core): 256 KB
  L3 Cache (per processor): 8 MB
  Memory: 16 GB
  Processor Interconnect Speed: 5.86 GT/s
  Boot ROM Version: MP41.0081.B07
  SMC Version (system): 1.39f5
  SMC Version (processor tray): 1.39f5
  Serial Number (system): CK9110KA20H
  Serial Number (processor tray): J5917005Z1LUC     
  Hardware UUID: 328B363E-C0F5-57F4-BFFC-41CBA45AB92C

System Software Overview:

  System Version: Mac OS X 10.6.8 (10K549)
  Kernel Version: Darwin 10.8.0
  Boot Volume: MacOS 10.6
  Boot Mode: Normal
  Computer Name: bclever SnowLeopard
  User Name: analyzer (analyzer)
  Secure Virtual Memory: Not Enabled
  64-bit Kernel and Extensions: No
  Time since boot: 9 days 1:48

Graphics/Displays:

NVIDIA GeForce GT 120:

  Chipset Model: NVIDIA GeForce GT 120
  Type: GPU
  Bus: PCIe
  Slot: Slot-1
  PCIe Lane Width: x16
  VRAM (Total): 512 MB
  Vendor: NVIDIA (0x10de)
  Device ID: 0x0640
  Revision ID: 0x00a1
  ROM Revision: 3386
  Displays:
    Display Connector:
    Display Connector:
sommerc commented 12 years ago

I think with the latest version of Olli, Thorben and Luca we can close this. Also it is working now on the MacPro workstation.