CarreraSlice Error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CarreraSlice Error

Kenji Tsumura

Hi,

 

I have tried to run CarreraSlice, but it is not successful at the moment.

I got the following error.

I would appreciate greatly if someone tells me how to make it work.

 

Switch to module:  "CarreraSlice"

Switch to module:  "Editor"

Made a KSliceEffectOptions

Made a KSliceEffectOptions

entered 'onStartBot'

Preparing Growcut interaction

keys for reset init, run GC, edit seed, and smooth are R,G, S, M

Traceback (most recent call last):

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 175, in onStartBot

    KSliceBot(self)

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 221, in __init__

    self.start()

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 225, in start

    self.logic = KSliceEffectLogic( self.redSliceWidget.sliceLogic() )

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 366, in __init__

    self.init_fGrwoCut()

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 426, in init_fGrwoCut

    s = qt.QShortcut(keydef[0], mainWindow()) # connect this qt event to mainWindow focus

NameError: global name 'mainWindow' is not defined

Switch to module:  ""

Switch to module:  ""

 

I tried CarreraSlice in three different operating systems (Window 7, Mac, and Ubuntu 16.10)

The version of 3D slicer is the latest (4.6.0).

 

Thank you,

 

Kenji

Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: CarreraSlice Error

Andras Lasso-2

Hi Kenji,

 

Probably you don’t need CarreraSlice anymore. The new Segment Editor has an optimized fast grow cut implementation with real-time automatic preview. It should be faster and easier to use.

 

Open the Segment Editor module, choose auto-complete effect, and select Grow from seeds method. Initial segmentation may take up to a minute but then further updates only take seconds. You can enable auto-update to see results updating immediately as you edit the inputs.

 

Andras

 

From: [hidden email]
Sent: Tuesday, October 25, 2016 17:13
To: [hidden email]
Subject: [slicer-users] CarreraSlice Error

 

Hi,

 

I have tried to run CarreraSlice, but it is not successful at the moment.

I got the following error.

I would appreciate greatly if someone tells me how to make it work.

 

Switch to module:  "CarreraSlice"

Switch to module:  "Editor"

Made a KSliceEffectOptions

Made a KSliceEffectOptions

entered 'onStartBot'

Preparing Growcut interaction

keys for reset init, run GC, edit seed, and smooth are R,G, S, M

Traceback (most recent call last):

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 175, in onStartBot

    KSliceBot(self)

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 221, in __init__

    self.start()

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 225, in start

    self.logic = KSliceEffectLogic( self.redSliceWidget.sliceLogic() )

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 366, in __init__

    self.init_fGrwoCut()

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 426, in init_fGrwoCut

    s = qt.QShortcut(keydef[0], mainWindow()) # connect this qt event to mainWindow focus

NameError: global name 'mainWindow' is not defined

Switch to module:  ""

Switch to module:  ""

 

I tried CarreraSlice in three different operating systems (Window 7, Mac, and Ubuntu 16.10)

The version of 3D slicer is the latest (4.6.0).

 

Thank you,

 

Kenji

Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.

_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: CarreraSlice Error

Kenji Tsumura
In reply to this post by Kenji Tsumura

Hi Andras,

 

Thank you!

FastGrowCut works pretty good.

It would be great if I can compare CarreraSlice and FastGrowCut.

 

Kenji

 

From: Andras Lasso [mailto:[hidden email]]
Sent: Tuesday, October 25, 2016 4:29 PM
To: Kenji Tsumura; SPL Slicer Users
Subject: RE: [slicer-users] CarreraSlice Error

 

Hi Kenji,

 

Probably you don’t need CarreraSlice anymore. The new Segment Editor has an optimized fast grow cut implementation with real-time automatic preview. It should be faster and easier to use.

 

Open the Segment Editor module, choose auto-complete effect, and select Grow from seeds method. Initial segmentation may take up to a minute but then further updates only take seconds. You can enable auto-update to see results updating immediately as you edit the inputs.

 

Andras

 

From: [hidden email]
Sent: Tuesday, October 25, 2016 17:13
To: [hidden email]
Subject: [slicer-users] CarreraSlice Error

 

Hi,

 

I have tried to run CarreraSlice, but it is not successful at the moment.

I got the following error.

I would appreciate greatly if someone tells me how to make it work.

 

Switch to module:  "CarreraSlice"

Switch to module:  "Editor"

Made a KSliceEffectOptions

Made a KSliceEffectOptions

entered 'onStartBot'

Preparing Growcut interaction

keys for reset init, run GC, edit seed, and smooth are R,G, S, M

Traceback (most recent call last):

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 175, in onStartBot

    KSliceBot(self)

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 221, in __init__

    self.start()

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 225, in start

    self.logic = KSliceEffectLogic( self.redSliceWidget.sliceLogic() )

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 366, in __init__

    self.init_fGrwoCut()

  File "/home/neosoft/.config/NA-MIC/Extensions-25441/CarreraSlice/lib/Slicer-4.6/qt-scripted-modules/CarreraSliceEffect.py", line 426, in init_fGrwoCut

    s = qt.QShortcut(keydef[0], mainWindow()) # connect this qt event to mainWindow focus

NameError: global name 'mainWindow' is not defined

Switch to module:  ""

Switch to module:  ""

 

I tried CarreraSlice in three different operating systems (Window 7, Mac, and Ubuntu 16.10)

The version of 3D slicer is the latest (4.6.0).

 

Thank you,

 

Kenji

Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.

Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ