It seems it works. I get one more error, but that one should be solved.
samiam@penrose: ~/Documents/TESI/gui_python > python vmtkgui.pyTraceback > (most recent call last): > File "vmtkgui.py", line 15, in <module> > import vmtkinterface > File "/home/samiam/Documents/TESI/gui_python/vmtkinterface.py", line 19, > in <module> > import vmtkcenterlineswithrenderer > File > "/home/samiam/Documents/TESI/gui_python/vmtkcenterlineswithrenderer.py", > line 27, in <module> > class vmtkCenterlinesWithRenderer(vmtkcenterlines.vmtkCenterlines): > AttributeError: 'str' object has no attribute 'vmtkCenterlines' > [1]+ Done gedit vmtkcenterlineswithrenderer.py > Thanks a lot, Samuele. On Fri, Feb 25, 2011 at 3:53 PM, Luca Antiga <luca.ant...@gmail.com> wrote: > Ok, so the following should work: > > replace from vmtk import * with > from vmtk.vmtkscripts import * > > for example inside vmtkcenterlineswithrenderer.py > > Let me know if it works > > Luca > > On Feb 25, 2011, at 3:49 PM, Samuele Zampini wrote: > > No output.. It seems that everything is ok.. > > samiam@penrose: ~ > python >> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) >> [GCC 4.4.5] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> from vmtk import vmtkcenterlines >> >>> >> >>> >> >>> >> >>> >> > > And the same happens if I digit from vmtk import *, always in the Python > shell > > > > On Fri, Feb 25, 2011 at 3:46 PM, Luca Antiga <luca.ant...@gmail.com>wrote: > >> Samuele, >> we're just thinking out loud :-) >> Can you try to enter the python shell and type >> >> from vmtk import vmtkcenterlines >> >> and post the resulting message? (please do it in the python shell) >> >> >> Luca >> >> >> On Feb 25, 2011, at 3:42 PM, Samuele Zampini wrote: >> >> > Dear Luca, Dear Johannes, >> > >> > I am finding it difficult to follow you.. >> > >> > So, what should I do? >> > >> > Thanks, Samuele >> >> > > > -- > > Samuele Zampini > > ________________________________________________________________________________ > > 01001001001000000110000101101101001000000110100001100001011100000111000001111001 > .~. > /V\ L I N U X > // \\ I S T H E > /( )\ W A Y > ^^-^^ > cell phone: +39 347 342 6510 > home: +39 0331 823 927 > e.mail: samuele.zamp...@gmail.com > www: samiam1000.spaces.live.com > skype: samiam85 > > > -- Samuele Zampini ________________________________________________________________________________ 01001001001000000110000101101101001000000110100001100001011100000111000001111001 .~. /V\ L I N U X // \\ I S T H E /( )\ W A Y ^^-^^ cell phone: +39 347 342 6510 home: +39 0331 823 927 e.mail: samuele.zamp...@gmail.com www: samiam1000.spaces.live.com skype: samiam85
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users