Git Product home page Git Product logo

cvu's People

Contributors

aestrivex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cvu's Issues

unable to start cvu, SyntaxError: invalid syntax

hi there,

I got the following error when I tried to start CVU. I've installed all the dependencies except freesurfer

Traceback (most recent call last):
File "/usr/local/bin/cvu", line 4, in
import('pkg_resources').run_script('cvu==0.5.2', 'cvu')
File "/home/junhong/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/junhong/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 1462, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/EGG-INFO/scripts/cvu", line 33, in
from cvu.main import main
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/init.py", line 20, in
from .main import load_adj, load_parc, usage, main
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/main.py", line 20, in
from gui import CvuGUI,ErrorHandler
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/gui.py", line 24, in
from dataset import Dataset
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/dataset.py", line 26, in
from dataview import (DataView,DVMayavi,DVMatrix,DVCircle)
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/dataview.py", line 32, in
import circle_plot
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/circle_plot.py", line 25, in
from mne.fixes import tril_indices
File "/usr/local/lib/python2.7/dist-packages/mne/init.py", line 22, in
from .utils import (set_log_level, set_log_file, verbose, set_config,
File "/usr/local/lib/python2.7/dist-packages/mne/utils/init.py", line 19, in
from .config import (set_config, get_config, get_config_path, set_cache_dir,
File "/usr/local/lib/python2.7/dist-packages/mne/utils/config.py", line 539
print(out, end='', file=fid)
^
SyntaxError: invalid syntax

Problem installed cvu in mac under Anaconda virtual environment

Hello,

I am trying to install CVU on a Mac. I use Anaconda with python 2.7 as my python. I create a python environment where I think I have installed all necessary packages. When I try to run cvu from a shell, I get the following error:

Traceback (most recent call last):
File "/Users/javiergc/anaconda/envs/cvu/bin/cvu", line 33, in
from cvu.main import main
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/cvu/init.py", line 20, in
from .main import load_adj, load_parc, usage, main
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/cvu/main.py", line 20, in
from gui import CvuGUI,ErrorHandler
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/cvu/gui.py", line 24, in
from dataset import Dataset
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/cvu/dataset.py", line 24, in
from color_legend import (ColorLegend,LegendEntry)
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/cvu/color_legend.py", line 40, in
class ColorLegendWindow(HasTraits):
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/cvu/color_legend.py", line 48, in ColorLegendWindow
selection_bg_color=None,),show_label=False),
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/traitsui/editor_factory.py", line 94, in init
HasPrivateTraits.init( self, **traits )
File "/Users/javiergc/anaconda/envs/cvu/lib/python2.7/site-packages/traits/trait_handlers.py", line 172, in error
value )
traits.trait_errors.TraitError: The 'selection_bg_color' trait of a ToolkitEditorFactory instance must be an integer which in hex is of the form 0xRRGGBB, where RR is red, GG is green, and BB is blue or 'aquamarine' or 'black' or 'blue violet' or 'blue' or 'brown' or 'cadet blue' or 'coral' or 'cornflower blue' or 'cyan' or 'dark green' or 'dark grey' or 'dark olive green' or 'dark orchid' or 'dark slate blue' or 'dark slate grey' or 'dark turquoise' or 'dim grey' or 'firebrick' or 'forest green' or 'gold' or 'goldenrod' or 'green yellow' or 'green' or 'grey' or 'indian red' or 'khaki' or 'light blue' or 'light grey' or 'light steel' or 'lime green' or 'magenta' or 'maroon' or 'medium aquamarine' or 'medium blue' or 'medium forest green' or 'medium goldenrod' or 'medium orchid' or 'medium sea green' or 'medium slate blue' or 'medium spring green' or 'medium turquoise' or 'medium violet red' or 'midnight blue' or 'navy' or 'orange red' or 'orange' or 'orchid' or 'pale green' or 'pink' or 'plum' or 'purple' or 'red' or 'salmon' or 'sea green' or 'sienna' or 'sky blue' or 'slate blue' or 'spring green' or 'steel blue' or 'tan' or 'thistle' or 'turquoise' or 'violet red' or 'violet' or 'wheat' or 'white' or 'yellow green' or 'yellow', but a value of None <type 'NoneType'> was specified.

Could you please let me know how to solve this issue.

Thanks a lot,

Javier.

nodes from mni-coordinates

Hi all
I'd would like to visualize my connectivity data in 3d using CVU. However, I have a somewhat idiosyncratic parcellation of 10 nodes for which I have created a coorrdinate file as a 10*3 numpy-array (coordinates). I have also created a labels-txt file with 10 anatomical descriptors. Based on wiki and the buttons, I thought I can load this parcellation. Thus, I enter the load parcellation dialogue and fill out everything (new dataset, subject, subjs-dir,). I use as SUBJECT fsavg5 and the registration matrix mni152.register.dat. However, somehow nothing gets loaded. Is there maybe an example set of coordinate/label files that I could use as a start. Or am I totally awry?
Best, Ralf.

Installation issue?

Hi Roan,
I heard about your toolbox (from Sepideh Sadaghiani at an advanced neuroimaging course -- congrats!) and thought I'd give it a whirl. I got stuck during the install unfortunately...
I think I install all dependencies.
When I launch cvu (either directly by typing 'cmu', or in the download folder './run'), I get:
*** Error in `python': malloc(): memory corruption: 0x0000000004407350 **
I am running Ubuntu 14.04 on a ThinkPad W530.
Let me know if you have any idea what I should do to troubleshoot this.

  • Julien

question: Plotting a weighted graph

Hi @aestrivex , I just discovered your repository and am curious to know how your are making the graph plots with weighed edges. What I am doing at the moment is to plot the cortical surfaces with pysurfer, and then:

pts = mlab.points3d(xyz)
pts.mlab_source.dataset.lines = edges
tube = mlab.pipeline.tube(args)
mlab.pipeline.surface(args).

This is fast, but I have not been able to figure out how to modify the edge properties. I tried to loop thorough the edges and add every line individually, and could indeed modify the line properties to get the weighted effect, but it was painfully slow. Can you give me few pointers as to how you do this?
Thanks!

ImportError on launching cvu

Hi there,

I've been having trouble starting cvu after installing the package, along with an academic version of Enthought Canopy. I think I've satisfied all the dependencies, but get the error below upon starting cvu. Not sure if this problem is peculiar to my system (64-bit iMac running OS X v. 10.10.3), but it seems like there's an import call made to "mne.fixes" that directly results in the error. Any suggestions you have would be very much appreciated. Thanks!

Traceback (most recent call last):
File "/Users/blah/Library/Enthought/Canopy_64bit/User/bin/cvu", line 4, in
import('pkg_resources').run_script('cvu==0.4.3', 'cvu')
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pkg_resources/init.py", line 735, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pkg_resources/init.py", line 1652, in run_script
exec(code, namespace, namespace)
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/EGG-INFO/scripts/cvu", line 33, in
from cvu.main import main
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/cvu/init.py", line 20, in
from .main import load_adj, load_parc, usage, main
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/cvu/main.py", line 20, in
from gui import CvuGUI,ErrorHandler
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/cvu/gui.py", line 24, in
from dataset import Dataset
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/cvu/dataset.py", line 26, in
from dataview import (DataView,DVMayavi,DVMatrix,DVCircle)
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/cvu/dataview.py", line 32, in
import circle_plot
File "/Users/blah/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cvu-0.4.3-py2.7.egg/cvu/circle_plot.py", line 25, in
from mne.fixes import tril_indices
ImportError: No module named fixes

Buttons on cvu

Hello,

I have managed to get cvu up and running on ubuntu .

when I click the Load parcellation button i get the following error:

**Exception occurred in traits notification handler for object: <cvu.gui.CvuGUI object at 0x7fe696086050>, trait: load_parcellation_button, old value: , new value: 0
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/traits-4.5.0-py2.7-linux-x86_64.egg/traits/trait_notifiers.py", line 340, in call
self.handler( args )
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/gui.py", line 245, in _load_parcellation_button_fired
self.parcellation_chooser_window.edit_traits()
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/handler.py", line 445, in edit_traits
self.trait_view_elements(), handler, id, scrollable, args )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/view.py", line 433, in ui
ui.ui( parent, kind )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/ui.py", line 221, in ui
self.rebuild( self, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/toolkit.py", line 140, in ui_live
ui_live.ui_live( ui, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 68, in ui_live
ui_dialog( ui, parent, NONMODAL )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 99, in ui_dialog
ui.owner.init( ui, parent, style )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 223, in init
sw = panel( ui, window )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 338, in panel
content[0], ui )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 659, in init
self.add_groups( content, panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 811, in add_groups
fill_panel_for_group( panel, subgroup, self.ui )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 661, in init
self.add_items(content, panel, self.sizer)
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 1020, in add_items
editor.prepare( item_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/editor.py", line 158, in prepare
self.update_editor()
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 161, in update_editor
set_text(self, self.value)
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 110, in set_text
if _tk == 'wx': return editor.text_control.SetValue(text)
AttributeError: 'NoneType' object has no attribute 'SetValue'
Exception occurred in traits notification handler for object: <cvu.gui.CvuGUI object at 0x7fe696086050>, trait: load_parcellation_button, old value: , new value: 0
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/traits-4.5.0-py2.7-linux-x86_64.egg/traits/trait_notifiers.py", line 340, in call
self.handler( args )
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/gui.py", line 245, in _load_parcellation_button_fired
self.parcellation_chooser_window.edit_traits()
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/handler.py", line 445, in edit_traits
self.trait_view_elements(), handler, id, scrollable, args )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/view.py", line 433, in ui
ui.ui( parent, kind )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/ui.py", line 221, in ui
self.rebuild( self, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/toolkit.py", line 140, in ui_live
ui_live.ui_live( ui, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 68, in ui_live
ui_dialog( ui, parent, NONMODAL )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 99, in ui_dialog
ui.owner.init( ui, parent, style )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 223, in init
sw = panel( ui, window )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 338, in panel
content[0], ui )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 659, in init
self.add_groups( content, panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 811, in add_groups
fill_panel_for_group( panel, subgroup, self.ui )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 661, in init
self.add_items(content, panel, self.sizer)
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 1020, in add_items
editor.prepare( item_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/editor.py", line 158, in prepare
self.update_editor()
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 161, in update_editor
set_text(self, self.value)
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 110, in set_text
if _tk == 'wx': return editor.text_control.SetValue(text)
AttributeError: 'NoneType' object has no attribute 'SetValue'

when I click the load an adjacency matrix button I get the following error:

*Exception occurred in traits notification handler for object: <cvu.gui.CvuGUI object at 0x7fe696086050>, trait: load_adjmat_button, old value: , new value: 0
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/traits-4.5.0-py2.7-linux-x86_64.egg/traits/trait_notifiers.py", line 340, in call
self.handler( args )
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/gui.py", line 288, in _load_adjmat_button_fired
self.adjmat_chooser_window.edit_traits()
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/handler.py", line 445, in edit_traits
self.trait_view_elements(), handler, id, scrollable, args )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/view.py", line 433, in ui
ui.ui( parent, kind )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/ui.py", line 221, in ui
self.rebuild( self, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/toolkit.py", line 140, in ui_live
ui_live.ui_live( ui, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 68, in ui_live
ui_dialog( ui, parent, NONMODAL )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 99, in ui_dialog
ui.owner.init( ui, parent, style )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 223, in init
sw = panel( ui, window )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 350, in panel
nb = create_notebook_for_items( content, ui, parent, None )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 391, in create_notebook_for_items
is_dock_window = True )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 661, in init
self.add_items(content, panel, self.sizer)
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 1020, in add_items
editor.prepare( item_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/editor.py", line 158, in prepare
self.update_editor()
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 161, in update_editor
set_text(self, self.value)
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 110, in set_text
if _tk == 'wx': return editor.text_control.SetValue(text)
AttributeError: 'NoneType' object has no attribute 'SetValue'

and also when I click on load tractography

*Exception occurred in traits notification handler for object: <cvu.gui.CvuGUI object at 0x7fe696086050>, trait: load_tractography_button, old value: , new value: 0
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/traits-4.5.0-py2.7-linux-x86_64.egg/traits/trait_notifiers.py", line 340, in call
self.handler( args )
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/gui.py", line 307, in _load_tractography_button_fired
self.tractography_chooser_window.edit_traits()
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/handler.py", line 445, in edit_traits
self.trait_view_elements(), handler, id, scrollable, args )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/view.py", line 433, in ui
ui.ui( parent, kind )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/ui.py", line 221, in ui
self.rebuild( self, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/toolkit.py", line 140, in ui_live
ui_live.ui_live( ui, parent )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 68, in ui_live
ui_dialog( ui, parent, NONMODAL )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 99, in ui_dialog
ui.owner.init( ui, parent, style )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_live.py", line 223, in init
sw = panel( ui, window )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 338, in panel
content[0], ui )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 659, in init
self.add_groups( content, panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 811, in add_groups
fill_panel_for_group( panel, subgroup, self.ui )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 512, in fill_panel_for_group
create_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 661, in init
self.add_items(content, panel, self.sizer)
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/wx/ui_panel.py", line 1020, in add_items
editor.prepare( item_panel )
File "/usr/local/lib/python2.7/dist-packages/traitsui-5.1.0-py2.7.egg/traitsui/editor.py", line 158, in prepare
self.update_editor()
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 161, in update_editor
set_text(self, self.value)
File "/usr/local/lib/python2.7/dist-packages/cvu-0.5.2-py2.7.egg/cvu/custom_file_editor.py", line 110, in set_text
if _tk == 'wx': return editor.text_control.SetValue(text)
AttributeError: 'NoneType' object has no attribute 'SetValue'

Whats the best way to solve this?

Best,

Chux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.