[ python-Bugs-1194497 ] ImportError: No module named os

SourceForge.net noreply at sourceforge.net
Tue May 3 16:51:48 CEST 2005


Bugs item #1194497, was opened at 2005-05-03 14:50
Message generated for change (Settings changed) made by diskman
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1194497&group_id=5470

Category: Build
Group: Python 2.4
Status: Open
Resolution: None
>Priority: 7
Submitted By: Will L G (diskman)
Assigned to: Nobody/Anonymous (nobody)
Summary: ImportError: No module named os

Initial Comment:
Compiling on the following system:
Redhat 7.2 [alpha]
Kernel-2.6.11.4
Compaq C 6.5.9
GLIBC-2.3.2
Make-2.80
Binutils-2.15

Receiving the following error:
/usr/share/printconf/util/queueTree.py:89: GtkWarning: 
gtk_label_set_use_underline: assertion `GTK_IS_LABEL 
(label)' failed
  domain = domain)
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-printer-gui", line 7, in ?
    import queueTree
  File "/usr/share/printconf/util/queueTree.py", line 1091, 
in ?
    queueTree()
  File "/usr/share/printconf/util/queueTree.py", line 128, 
in __init__
    if cups_import.import_needed ():
  File "/usr/share/printconf/util/cups_import.py", line 200, 
in import_needed
    which = which_spooler ()
  File "/usr/share/printconf/util/cups_import.py", line 195, 
in which_spooler
    return which
UnboundLocalError: local variable 'which' referenced 
before assignment

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1194497&group_id=5470


More information about the Python-bugs-list mailing list