Hi
>>Can you show the output of 'echo $PYTHONPATH', 'pkg list SUNWPython*'
(if pkg list works), and the output of
>>/usr/lib/python2.4/vendor-packages/pkg?
PYTHONPATH is empty:
xtrn...@t61p:/data/www/ARCOR$ echo $PYTHONPATH
pkg list does not work:
xtrn...@t61p:/data/www/ARCOR$ pkg list SUNWPython
Traceback (most recent call last):
File "/usr/bin/pkg", line 61, in ?
import pkg.actions as actions
File "/usr/lib/python2.4/vendor-packages/pkg/actions/__init__.py",
line 144, in ?
from _actions import _fromstr
ImportError: No module named _actions
The files in that directory are:
xtrn...@t61p:/data/www/ARCOR$ ls /usr/lib/python2.4/vendor-packages/pkg
actions client fmri.pyc
misc.pyc publish smf.pyc Uuid25.pyc
arch.so cpiofile.py gui
pkggzip.py query_parser.py sysvpkg.py version.py
bundle cpiofile.pyc indexer.py
pkggzip.pyc query_parser.pyc sysvpkg.pyc version.pyc
catalog.py dependency.py indexer.pyc
pkgsubprocess.py search_errors.py um
catalog.pyc dependency.pyc __init__.py
pkgsubprocess.pyc search_errors.pyc updatelog.py
cfgfiles.py depotcontroller.py __init__.pyc
pkgtarfile.py search_storage.py updatelog.pyc
cfgfiles.pyc depotcontroller.pyc manifest.py
pkgtarfile.pyc search_storage.pyc urlhelpers.py
choose.py elf.so manifest.pyc
portable server urlhelpers.pyc
choose.pyc fmri.py misc.py
pspawn.so smf.py Uuid25.py
xtrn...@t61p:/data/www/ARCOR$
>>Also, have you uninstalled any packages recently?
No OpenSolaris packages, I only installed and uninstalled some SVR4
packages but these packages were not python related.
regards
Bernd
Brock Pytlik wrote:
Can you show the output of 'echo $PYTHONPATH', 'pkg list SUNWPython*'
(if pkg list works), and the output of
/usr/lib/python2.4/vendor-packages/pkg?
Also, have you uninstalled any packages recently?
Thanks,
Brock
Bernd Schemmer wrote:
Hi
since recently I can not execute phyton programs anymore ,e.g.
Hitting the button Preference in the tab "Visual Effects" of in the
appearance dialog for the desktop leads to the error message:
xtrn...@t61p:~$ gnome-appearance-properties
Traceback (most recent call last):
File "/usr/bin/ccsm", line 25, in ?
import gtk
File "/usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/__init__.py",
line 38, in ?
import gobject as _gobject
File
"/usr/lib/python2.4/vendor-packages/gtk-2.0/gobject/__init__.py",
line 33, in ?
from glib import spawn_async, idle_add, timeout_add,
timeout_add_seconds, \
File "/usr/lib/python2.4/vendor-packages/gtk-2.0/glib/__init__.py",
line 30, in ?
from glib._glib import *
ImportError: No module named _glib
xtrn...@t61p:~$
And a pkg search resuts in
xtrn...@t61p:~$ pkg search "*_glib*"
Traceback (most recent call last):
File "/usr/bin/pkg", line 61, in ?
import pkg.actions as actions
File "/usr/lib/python2.4/vendor-packages/pkg/actions/__init__.py",
line 144, in ?
from _actions import _fromstr
ImportError: No module named _actions
I' m no python expert so I don't know where to look for the error ...
These programs worked as expected before and I'm pretty sure that I
did not change anything phyton related (at least nothing I'm aware
off) ...
I'm using OpenSolaris
xtrn...@t61p:~$ uname -a
SunOS t61p 5.11 snv_111 i86pc i386 i86pc
xtrn...@t61p:~$ cat /etc/release
OpenSolaris 2009.06 snv_111 X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 March 2009
on a Thinkpad T61p in 64-bit mode.
regards
Bernd
--
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html
M s temprano que tarde el mundo cambiar .
Fidel Castro
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss