error running connectomemapper after install

21 views
Skip to first unread message

Ariana Familiar

unread,
Jan 13, 2020, 1:53:13 PM1/13/20
to cmtk-users
I ran the setup.py install successfully on MacOS for the 2.x beta version.

However when I try to run "connectomemapper" on the command line I'm getting the following error:

/Users/afam/anaconda/lib/python2.7/site-packages/pyface-6.1.2-py2.7.egg/pyface/wx/drag_and_drop.py:99: wxPyDeprecationWarning: Call to deprecated item. Use wx.DataFormat instead.

  PythonObject = wx.CustomDataFormat('PythonObject')

Traceback (most recent call last):

  File "/Users/afam/anaconda/bin/connectomemapper", line 10, in <module>

    import traitsui.wx

  File "/Users/afam/anaconda/lib/python2.7/site-packages/traitsui-6.1.3-py2.7.egg/traitsui/wx/__init__.py", line 27, in <module>

    from . import toolkit

  File "/Users/afam/anaconda/lib/python2.7/site-packages/traitsui-6.1.3-py2.7.egg/traitsui/wx/toolkit.py", line 48, in <module>

    from .constants import WindowColor, screen_dx, screen_dy

  File "/Users/afam/anaconda/lib/python2.7/site-packages/traitsui-6.1.3-py2.7.egg/traitsui/wx/constants.py", line 81, in <module>

    scrollbar_dx = wx.SystemSettings.GetMetric(wx.SYS_VSCROLL_X)

wx._core.PyNoAppError: The wx.App object must be created first!




Any insight on how to fix this would be greatly appreciated!!

Sebastien Tourbier

unread,
Jan 14, 2020, 2:46:39 AM1/14/20
to cmtk-users
Hi Ariana,

I am sorry to tell you but connectomemapper 1 hosted @ https://github.com/LTS5/cmp, and connectomemapper 2 hosted @ https://github.com/LTS5/cmp_nipype, which were using the wx graphical backend, are now deprecated. 

I would recommend you rather to use connectomemapper 3 hosted @ https://github.com/connectomicslab/connectomemapper3. which is now based on the PyQt backend.
Following new advances in data organization and processing standardization, this new version works with BIDS dataset (https://bids.neuroimaging.io/), the processing pipelines are containerized and packaged as a BIDS App (https://bids-apps.neuroimaging.io/) where all dependencies such as FSL, Freesurfer,... are already installed.
We have also improved the generation of Lausanne2008 parcellation from the cortical surfaces estimated by Freesurfer, which is referred as Lausanne2018.

Installation instructions are available @ https://connectome-mapper-3.readthedocs.io .

Please do not hesitate to open a new topic if you need any further support.

Best,

Sebastien
Reply all
Reply to author
Forward
0 new messages