Dear Luca,
I changed your commands slightly, to be consistent with the paths made by the
installer, and to explicitly launch pypepad (with "--ui pad")
(Called from the directory "C:\Program Files\vmtk\Install" ) to:
rem @echo off
set VMTK_DIR=%~dp0
set PATH=%VMTK_DIR%bin;%VMTK_DIR%bin\Python;%PATH%
set
PYTHONPATH=%VMTK_DIR%lib\vmtk\vmtk;%VMTK_DIR%lib\vtk-5.8;%VMTK_DIR%bin\Python\vtk
cd %VMTK_DIR%
python bin\vmtk-exe.py --ui pad
Which will not launch pypepad but vmtk in the console...
I tried to debug vmtk-exe.py a bit and found that the problem of launching
pypepad originates here:
else:
ui = 'pad'
if '--ui' in sys.argv and sys.argv.index('--ui') != len(sys.argv)-1:
ui = sys.argv[sys.argv.index('--ui')+1]
if ui == 'pad':
try:
from vmtk import pypepad
except ImportError:
print 'ImportError while trying to import pypepad: falling back
to ui console'
ui = 'console'
else:
pypepad.RunPypeTkPad()
if ui == 'console':
I added the line "print 'ImportError while trying to import pypepad: falling
back to ui console'" and that is what it returns in my command window;
Thus the command 'from vmtk import pypepad' is raising an ImportError.
What could cause the importerror; pypepad.py is rather large so if you have
another pointer?
Best,
Hugo
PS Is it correct that I see no ITK files or libraries in the whole 'C:\Program
Files\vmtk\' directory apart from only .\Install\bin\ITKCommon.dll ? I am
building VTK now also from source to see what I should get with the installler
;-)
From: Luca Antiga [mailto:luca.ant...@orobix.com]
Sent: vrijdag 6 juli 2012 11:16
To: Hugo A.F. Gratama van Andel
Cc: Eleni Metaxa; vmtk-users@lists.sourceforge.net
Subject: Re: [vmtk-users] vmtk-1.0.1 on winXP-32bit doesn't run after
installation
Hi everybody,
(by the way, Hugo, nice to see you're back!)
the Windows installer was tested on fresh Windows 7 and XP boxes and it worked
for us.
However, I can't exclude that there is some heterogeneity in the state of
machines.
This is what the launcher executes. You can desume the environment variables
from here.
rem @echo off
set VMTK_DIR=%~dp0
set PATH=%VMTK_DIR%bin;%VMTK_DIR%lib\InsightToolkit;%VMTK_DIR%lib\Python;%PATH%
set
PYTHONPATH=%VMTK_DIR%lib\site-packages;%VMTK_DIR%lib\vtk-5.6;%VMTK_DIR%lib\vmtk
cd %VMTK_DIR%
python bin\vmtk-exe.py
maybe this can give you a pointer. Also, make sure that 32 bit vs 64 bit
versions of all installed
components match (the 64 bit installer needs 64 bit python installed).
As for the XP issue, it may be a different issue: Eleni, please manually
install python 2.7.3 32 bit.
The program now should be recognized.
If it still doesn't work, also install vcredist_x86.exe (you can download it
from here
http://www.microsoft.com/en-us/download/details.aspx?id=5555).
Best,
Luca
From: Hugo A.F. Gratama van Andel [mailto:h...@milabs.com]
Sent: donderdag 5 juli 2012 17:02
To: Eleni Metaxa; vmtk-users@lists.sourceforge.net
Subject: Re: [vmtk-users] vmtk-1.0.1 on winXP-32bit doesn't run after
installation
Dear Eleni,
I changed the name of "vmtk-exe.pyw" to "vmtk-exe.py" and now it launches a
commandline window with 'vmtk> ' and I am able to run vmtk commands.
However, I am missing the usual Pypepad, anyone a clue?
Best,
Hugo
On Jul 5, 2012, at 4:38 PM, Hugo A.F. Gratama van Andel wrote:
Dear Eleni and other users,
I had today the same experience with the 64-bit windows 7 installer for VMTK
version 1.0.1 and also version 1.0.0. Installation seems to work correctly, but
clicking afterwards on the VMTK shortcut in the menu does result in nothing.
Nothing launches.
Could it be that something is wrong in my PATH settings? I also have subversion
edge installed which defined a path to c:\csvn\Python25. I already changed it
to c:\Python27, but it did not solve it.
Could I run some commands directly from the Python command line to see what is
wrong?
Best regards,
Hugo
From: Eleni Metaxa
[mailto:emmet...@gmail.com]<mailto:[mailto:emmet...@gmail.com]>
Sent: woensdag 4 juli 2012 15:30
To: vmtk-users@lists.sourceforge.net<mailto:vmtk-users@lists.sourceforge.net>
Subject: [vmtk-users] vmtk-1.0.1 on winXP-32bit doesn't run after installation
Hello,
I was using the vmtk 9 and now that I am trying to install the vmtk 10.0.1 (or
10.0.1) on windows 32bit, after downloading and installing it, the shortcut
vmtk-exe.pyw is not recognized by any Windows program.
I must note that the installation does not take much time, compared to that of
vmtk 9. I am wondering if the required programs for vmtk are installed...
Do you have any suggestions of what I am doing wrong?
Thank you,
Eleni Metaxa
Postdoctoral Researcher
Foundation for Research and Technology - Hellas
________________________________
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com<http://www.avg.com>
Versie: 2012.0.2193 / Virusdatabase: 2437/5109 - datum van uitgifte: 07/03/12
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net<mailto:vmtk-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/vmtk-users
________________________________
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com<http://www.avg.com>
Versie: 2012.0.2195 / Virusdatabase: 2437/5112 - datum van uitgifte: 07/05/12
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users