Thanks to Clay who got a simple workaround :

   touch /usr/lib/python2.4/vendor-packages/osol_install/__init__.py

  gets things going again.  Bug is updated with this info too.

Sean.
.
Sean McGrath stated:
< 
<  Using last nights (installed[1] on March 10th) installadm tools we ran 
<   into this:
< 
< installadm add -m /export/install/config/oaf539/ai/c.manifest.xml -n 
i86pc_osol_0906-108_is 
< Traceback (most recent call last):
<   File "/usr/lib/installadm/publish-manifest", line 42, in ?
<     import osol_install.auto_install.verifyXML as verifyXML
< ImportError: No module named osol_install.auto_install.verifyXML
< 
< [1] installed on snv_107 via pkgadd, but similar thing happens on 
osol_0906-108
< 
<   Logging this as: 
<    7254 python can't find osol_install modules
<    http://defect.opensolaris.org/bz/show_bug.cgi?id=7254
< 
<   From publish-manifest we have:
< 
< ..
< import osol_install.auto_install.verifyXML as verifyXML
< import osol_install.auto_install.AI_database as AIdb
< ..
< 
< 
<  Seems python2.4 isn't able to search the subdirectories:
< 
<   trying this via python2.4 interactive mode and trussing it:
< 
< seanmcg at smg:~$ cat /etc/release
<                          OpenSolaris 2009.06 snv_108 X86
<            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
<                         Use is subject to license terms.
<                            Assembled 17 February 2009
< 
< seanmcg at smg:~$ /usr/bin/python2.4
< Python 2.4.4 (#1, Jan 26 2009, 16:49:18) [C] on sunos5
< Type "help", "copyright", "credits" or "license" for more information.
< >>> import os.path
< >>> import sys
< >>> import osol_install.auto_install.verifyXML as verifyXML
< Traceback (most recent call last):
<   File "<stdin>", line 1, in ?
< ImportError: No module named auto_install.verifyXML
< >>> import osol_install.auto_install.verifyXML as verifyXML
< Traceback (most recent call last):
<   File "<stdin>", line 1, in ?
< ImportError: No module named auto_install.verifyXML
< >>>>
< 
< 
<   and the truss output:
< 
< read(0, " i m p o r t   o s o l _".., 1024)     = 56
< stat64("/usr/lib/python2.4/vendor-packages/osol_install/auto_install", 
0x08046CB0) = 0
< 
stat64("/usr/lib/python2.4/vendor-packages/osol_install/auto_install/__init__.py",
 0x080467B0) Err#2 ENOENT
< 
stat64("/usr/lib/python2.4/vendor-packages/osol_install/auto_install/__init__.pyc",
 0x080467B0) Err#2 ENOENT
< open64("/usr/lib/python2.4/vendor-packages/osol_install/auto_install.so", 
O_RDONLY) Err#2 ENOENT
< 
open64("/usr/lib/python2.4/vendor-packages/osol_install/auto_installmodule.so", 
O_RDONLY) Err#2 ENOENT
< open64("/usr/lib/python2.4/vendor-packages/osol_install/auto_install.py", 
O_RDONLY) Err#2 ENOENT
< open64("/usr/lib/python2.4/vendor-packages/osol_install/auto_install.pyc", 
O_RDONLY) Err#2 ENOENT
< write(2, " T r a c e b a c k   ( m".., 35)      = 35
< 
< 
< Changing the publish-manifest and delete-manifest back to using the below 
works
< [ publish-manifest ]
< 
sys.path.append("/usr/lib/python2.4/vendor-packages/osol_install/auto_install")
< import verifyXML as verifyXML
< import AI_database as AIdb
< 
< [ delete-manifest ]
< 
sys.path.append("/usr/lib/python2.4/vendor-packages/osol_install/auto_install")
< import AI_database as AIdb
< 
< 
< -- 
< Sean.
< .
< _______________________________________________
< caiman-discuss mailing list
< caiman-discuss at opensolaris.org
< http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

-- 
Sean.
.

Reply via email to