I''ve installed snv_44 X86 on a Dell server with 4GB RAM. This is an x86, not x64. I''ve followed the "How To" guide and successfully booted my dom0, however "xm create" command (actually any xm command) just returns: Traceback (most recent call last): File "/usr/sbin/xm", line 8, in ? from xen.xm import main File "/usr/lib/python/xen/xm/main.py", line 31, in ? warnings.filterwarnings(''ignore'', category=FutureWarning) NameError: name ''FutureWarning'' is not defined I noticed that one of the required packages is SUNWPython64 (and the devel version). It appears these are only the 64 bit versions, but I don''t have a 64 bit machine. Are there 32 bit libraries available?
On Mon, Oct 23, 2006 at 09:53:48PM +0000, Bernd Schemmer wrote:> AFAIK the SUNWPython64 packages work in 32 Bit Mode and 64 Bit ModeNope, SUNWPython64 is an additionall installation of Python that''s only used in 64-bit mode. We''re busy working on integrating a version of python that can do both 32 and 64 bit mode ''naturally'', without the need for this extra package. regads john
Looks like 64 bit only: # ls -l /opt/SUNWPython64/bin total 58 -rwxr-xr-x 1 root bin 103 Jun 2 12:41 idle -rwxr-xr-x 1 root bin 88 Jun 2 12:41 pydoc lrwxrwxrwx 1 root root 9 Oct 18 21:08 python -> python2.4 -rwxr-xr-x 1 root bin 7952 Jun 2 12:41 python2.4 -rwxr-xr-x 1 root bin 18024 Jun 2 12:41 smtpd.py # file /opt/SUNWPython64/bin/* /opt/SUNWPython64/bin/idle: executable /opt/SUNWPython64/bin/python script /opt/SUNWPython64/bin/pydoc: executable /opt/SUNWPython64/bin/python script /opt/SUNWPython64/bin/python: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped, no debugging information available /opt/SUNWPython64/bin/python2.4: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped, no debugging information available /opt/SUNWPython64/bin/smtpd.py: executable /opt/SUNWPython64/bin/python script # file /opt/SUNWPython64/lib/libpython2.4.so /opt/SUNWPython64/lib/libpython2.4.so: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging information available The stock version is 2.2 which doesn''t work either. Bernd Schemmer wrote:> Brian Kolaci wrote: > >> I''ve installed snv_44 X86 on a Dell server with 4GB RAM. >> This is an x86, not x64. I''ve followed the "How To" guide >> and successfully booted my dom0, however "xm create" command >> (actually any xm command) just returns: >> >> Traceback (most recent call last): >> File "/usr/sbin/xm", line 8, in ? >> from xen.xm import main >> File "/usr/lib/python/xen/xm/main.py", line 31, in ? >> warnings.filterwarnings(''ignore'', category=FutureWarning) >> NameError: name ''FutureWarning'' is not defined >> > You get this error message if you''re using a not supported Python Version > >> I noticed that one of the required packages is SUNWPython64 >> (and the devel version). It appears these are only the 64 >> bit versions, but I don''t have a 64 bit machine. Are there 32 >> bit libraries available? > > > AFAIK the SUNWPython64 packages work in 32 Bit Mode and 64 Bit Mode > regards > > Bernd > >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >> >> > >
It appears my PATH put the companion CD (/opt/sfw/bin) before /usr/bin which has an older version of python. I updated my PATH and we''re back in business. Bernd Schemmer wrote:> John Levon wrote: > >> On Mon, Oct 23, 2006 at 09:53:48PM +0000, Bernd Schemmer wrote: >> >> >> >>> AFAIK the SUNWPython64 packages work in 32 Bit Mode and 64 Bit Mode >> >> >> Nope, SUNWPython64 is an additionall installation of Python that''s >> only used in >> 64-bit mode. >> >> > > Mmmh, but I did run Xen in 32 Bit also with the packages and the bfu > from the Xen download page. > > So it looks like the SUNWPython64 package is note neccessary for using > Xen on 32 Bit only? > > regards > > Bernd > > > >> We''re busy working on integrating a version of python that can do >> both 32 and >> 64 bit mode ''naturally'', without the need for this extra package. >> >> regads >> john >> >> >> > > >
On Mon, Oct 23, 2006 at 10:42:07PM +0000, Bernd Schemmer wrote:> So it looks like the SUNWPython64 package is note neccessary for using > Xen on 32 Bit only?That''s correct. regards john
Brian Kolaci wrote:> I''ve installed snv_44 X86 on a Dell server with 4GB RAM. > This is an x86, not x64. I''ve followed the "How To" guide > and successfully booted my dom0, however "xm create" command > (actually any xm command) just returns: > > Traceback (most recent call last): > File "/usr/sbin/xm", line 8, in ? > from xen.xm import main > File "/usr/lib/python/xen/xm/main.py", line 31, in ? > warnings.filterwarnings(''ignore'', category=FutureWarning) > NameError: name ''FutureWarning'' is not defined >You get this error message if you''re using a not supported Python Version> I noticed that one of the required packages is SUNWPython64 > (and the devel version). It appears these are only the 64 > bit versions, but I don''t have a 64 bit machine. Are there 32 > bit libraries available?AFAIK the SUNWPython64 packages work in 32 Bit Mode and 64 Bit Mode regards Bernd> _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org > >-- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html Más temprano que tarde el mundo cambiará. Fidel Castro
John Levon wrote:> On Mon, Oct 23, 2006 at 09:53:48PM +0000, Bernd Schemmer wrote: > > >> AFAIK the SUNWPython64 packages work in 32 Bit Mode and 64 Bit Mode >> > > Nope, SUNWPython64 is an additionall installation of Python that''s only used in > 64-bit mode. > >Mmmh, but I did run Xen in 32 Bit also with the packages and the bfu from the Xen download page. So it looks like the SUNWPython64 package is note neccessary for using Xen on 32 Bit only? regards Bernd> We''re busy working on integrating a version of python that can do both 32 and > 64 bit mode ''naturally'', without the need for this extra package. > > regads > john > > >-- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html Más temprano que tarde el mundo cambiará. Fidel Castro