Michael Schwendt wrote:
On Wed, 5 Nov 2008 16:22:48 -0900, Jeff Spaleta wrote:On Wed, Nov 5, 2008 at 3:10 PM, Seann ClarkWed Nov 05-18:08:56-root@haruhi:nombrandue> rpm -V python |grep loggingNow I'm really confused. the logging module that comes with python is there. In python do: import logging.config get a backtrace?Also interesting because of more details: python -v -c 'import logging.config' &> output.txt
Here is the output of the command : # installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/lib64/python2.5/site.pyc matches /usr/lib64/python2.5/site.py import site # precompiled from /usr/lib64/python2.5/site.pyc # /usr/lib64/python2.5/os.pyc matches /usr/lib64/python2.5/os.py import os # precompiled from /usr/lib64/python2.5/os.pyc import posix # builtin# /usr/lib64/python2.5/posixpath.pyc matches /usr/lib64/python2.5/posixpath.py
import posixpath # precompiled from /usr/lib64/python2.5/posixpath.pyc # /usr/lib64/python2.5/stat.pyc matches /usr/lib64/python2.5/stat.py import stat # precompiled from /usr/lib64/python2.5/stat.pyc # /usr/lib64/python2.5/UserDict.pyc matches /usr/lib64/python2.5/UserDict.py import UserDict # precompiled from /usr/lib64/python2.5/UserDict.pyc # /usr/lib64/python2.5/copy_reg.pyc matches /usr/lib64/python2.5/copy_reg.py import copy_reg # precompiled from /usr/lib64/python2.5/copy_reg.pyc # /usr/lib64/python2.5/types.pyc matches /usr/lib64/python2.5/types.py import types # precompiled from /usr/lib64/python2.5/types.pyc import _types # builtin # /usr/lib64/python2.5/new.pyc matches /usr/lib64/python2.5/new.py import new # precompiled from /usr/lib64/python2.5/new.pyc # /usr/lib64/python2.5/warnings.pyc matches /usr/lib64/python2.5/warnings.py import warnings # precompiled from /usr/lib64/python2.5/warnings.pyc# /usr/lib64/python2.5/linecache.pyc matches /usr/lib64/python2.5/linecache.py
import linecache # precompiled from /usr/lib64/python2.5/linecache.pyc import encodings # directory /usr/lib64/python2.5/encodings# /usr/lib64/python2.5/encodings/__init__.pyc matches /usr/lib64/python2.5/encodings/__init__.py import encodings # precompiled from /usr/lib64/python2.5/encodings/__init__.pyc
# /usr/lib64/python2.5/codecs.pyc matches /usr/lib64/python2.5/codecs.py import codecs # precompiled from /usr/lib64/python2.5/codecs.pyc import _codecs # builtin# /usr/lib64/python2.5/encodings/aliases.pyc matches /usr/lib64/python2.5/encodings/aliases.py import encodings.aliases # precompiled from /usr/lib64/python2.5/encodings/aliases.pyc # /usr/lib64/python2.5/encodings/utf_8.pyc matches /usr/lib64/python2.5/encodings/utf_8.py import encodings.utf_8 # precompiled from /usr/lib64/python2.5/encodings/utf_8.pyc
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:56) [GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2 Type "help", "copyright", "credits" or "license" for more information.# /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/logging.pyc matches /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/logging.py import logging # precompiled from /usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/logging.pyc
import trac # directory /usr/lib/python2.5/site-packages/trac# /usr/lib/python2.5/site-packages/trac/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/__init__.py import trac # precompiled from /usr/lib/python2.5/site-packages/trac/__init__.pyc # /usr/lib/python2.5/site-packages/trac/core.pyc matches /usr/lib/python2.5/site-packages/trac/core.py import trac.core # precompiled from /usr/lib/python2.5/site-packages/trac/core.pyc
import webadmin # directory /usr/lib/python2.5/site-packages/webadmin# /usr/lib/python2.5/site-packages/webadmin/__init__.pyc matches /usr/lib/python2.5/site-packages/webadmin/__init__.py import webadmin # precompiled from /usr/lib/python2.5/site-packages/webadmin/__init__.pyc # /usr/lib/python2.5/site-packages/webadmin/web_ui.pyc matches /usr/lib/python2.5/site-packages/webadmin/web_ui.py import webadmin.web_ui # precompiled from /usr/lib/python2.5/site-packages/webadmin/web_ui.pyc
# /usr/lib64/python2.5/re.pyc matches /usr/lib64/python2.5/re.py import re # precompiled from /usr/lib64/python2.5/re.pyc# /usr/lib64/python2.5/sre_compile.pyc matches /usr/lib64/python2.5/sre_compile.py
import sre_compile # precompiled from /usr/lib64/python2.5/sre_compile.pyc import _sre # builtin# /usr/lib64/python2.5/sre_constants.pyc matches /usr/lib64/python2.5/sre_constants.py import sre_constants # precompiled from /usr/lib64/python2.5/sre_constants.pyc # /usr/lib64/python2.5/sre_parse.pyc matches /usr/lib64/python2.5/sre_parse.py
import sre_parse # precompiled from /usr/lib64/python2.5/sre_parse.pyc# /usr/lib/python2.5/site-packages/trac/perm.pyc matches /usr/lib/python2.5/site-packages/trac/perm.py import trac.perm # precompiled from /usr/lib/python2.5/site-packages/trac/perm.pyc # /usr/lib/python2.5/site-packages/trac/config.pyc matches /usr/lib/python2.5/site-packages/trac/config.py import trac.config # precompiled from /usr/lib/python2.5/site-packages/trac/config.pyc # /usr/lib64/python2.5/ConfigParser.pyc matches /usr/lib64/python2.5/ConfigParser.py
import ConfigParser # precompiled from /usr/lib64/python2.5/ConfigParser.pyc import trac.util # directory /usr/lib/python2.5/site-packages/trac/util# /usr/lib/python2.5/site-packages/trac/util/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/util/__init__.py import trac.util # precompiled from /usr/lib/python2.5/site-packages/trac/util/__init__.pyc
# /usr/lib64/python2.5/locale.pyc matches /usr/lib64/python2.5/locale.py import locale # precompiled from /usr/lib64/python2.5/locale.pyc dlopen("/usr/lib64/python2.5/lib-dynload/_localemodule.so", 2);import _locale # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_localemodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/operator.so", 2);import operator # dynamically loaded from /usr/lib64/python2.5/lib-dynload/operator.so
# /usr/lib64/python2.5/md5.pyc matches /usr/lib64/python2.5/md5.py import md5 # precompiled from /usr/lib64/python2.5/md5.pyc # /usr/lib64/python2.5/hashlib.pyc matches /usr/lib64/python2.5/hashlib.py import hashlib # precompiled from /usr/lib64/python2.5/hashlib.pyc dlopen("/usr/lib64/python2.5/lib-dynload/_hashlib.so", 2);import _hashlib # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_hashlib.so
dlopen("/usr/lib64/python2.5/lib-dynload/timemodule.so", 2);import time # dynamically loaded from /usr/lib64/python2.5/lib-dynload/timemodule.so
# /usr/lib64/python2.5/tempfile.pyc matches /usr/lib64/python2.5/tempfile.py import tempfile # precompiled from /usr/lib64/python2.5/tempfile.pyc import errno # builtin # /usr/lib64/python2.5/random.pyc matches /usr/lib64/python2.5/random.py import random # precompiled from /usr/lib64/python2.5/random.pyc dlopen("/usr/lib64/python2.5/lib-dynload/mathmodule.so", 2);import math # dynamically loaded from /usr/lib64/python2.5/lib-dynload/mathmodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/binascii.so", 2);import binascii # dynamically loaded from /usr/lib64/python2.5/lib-dynload/binascii.so
dlopen("/usr/lib64/python2.5/lib-dynload/_randommodule.so", 2);import _random # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_randommodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/fcntlmodule.so", 2);import fcntl # dynamically loaded from /usr/lib64/python2.5/lib-dynload/fcntlmodule.so
import thread # builtin # /usr/lib64/python2.5/urllib.pyc matches /usr/lib64/python2.5/urllib.py import urllib # precompiled from /usr/lib64/python2.5/urllib.pyc # /usr/lib64/python2.5/string.pyc matches /usr/lib64/python2.5/string.py import string # precompiled from /usr/lib64/python2.5/string.pyc dlopen("/usr/lib64/python2.5/lib-dynload/stropmodule.so", 2);import strop # dynamically loaded from /usr/lib64/python2.5/lib-dynload/stropmodule.so
# /usr/lib64/python2.5/socket.pyc matches /usr/lib64/python2.5/socket.py import socket # precompiled from /usr/lib64/python2.5/socket.pyc dlopen("/usr/lib64/python2.5/lib-dynload/_socketmodule.so", 2);import _socket # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_socketmodule.so
dlopen("/usr/lib64/python2.5/lib-dynload/_ssl.so", 2);import _ssl # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_ssl.so
# /usr/lib64/python2.5/urlparse.pyc matches /usr/lib64/python2.5/urlparse.py import urlparse # precompiled from /usr/lib64/python2.5/urlparse.pyc# /usr/lib/python2.5/site-packages/trac/util/html.pyc matches /usr/lib/python2.5/site-packages/trac/util/html.py import trac.util.html # precompiled from /usr/lib/python2.5/site-packages/trac/util/html.pyc # /usr/lib64/python2.5/htmlentitydefs.pyc matches /usr/lib64/python2.5/htmlentitydefs.py import htmlentitydefs # precompiled from /usr/lib64/python2.5/htmlentitydefs.pyc # /usr/lib64/python2.5/HTMLParser.pyc matches /usr/lib64/python2.5/HTMLParser.py
import HTMLParser # precompiled from /usr/lib64/python2.5/HTMLParser.pyc# /usr/lib64/python2.5/markupbase.pyc matches /usr/lib64/python2.5/markupbase.py
import markupbase # precompiled from /usr/lib64/python2.5/markupbase.pyc # /usr/lib64/python2.5/StringIO.pyc matches /usr/lib64/python2.5/StringIO.py import StringIO # precompiled from /usr/lib64/python2.5/StringIO.pyc# /usr/lib/python2.5/site-packages/trac/util/text.pyc matches /usr/lib/python2.5/site-packages/trac/util/text.py import trac.util.text # precompiled from /usr/lib/python2.5/site-packages/trac/util/text.pyc # /usr/lib/python2.5/site-packages/trac/util/datefmt.pyc matches /usr/lib/python2.5/site-packages/trac/util/datefmt.py import trac.util.datefmt # precompiled from /usr/lib/python2.5/site-packages/trac/util/datefmt.pyc
import trac.web # directory /usr/lib/python2.5/site-packages/trac/web# /usr/lib/python2.5/site-packages/trac/web/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/web/__init__.py import trac.web # precompiled from /usr/lib/python2.5/site-packages/trac/web/__init__.pyc # /usr/lib/python2.5/site-packages/trac/web/api.pyc matches /usr/lib/python2.5/site-packages/trac/web/api.py import trac.web.api # precompiled from /usr/lib/python2.5/site-packages/trac/web/api.pyc # /usr/lib64/python2.5/BaseHTTPServer.pyc matches /usr/lib64/python2.5/BaseHTTPServer.py import BaseHTTPServer # precompiled from /usr/lib64/python2.5/BaseHTTPServer.pyc # /usr/lib64/python2.5/mimetools.pyc matches /usr/lib64/python2.5/mimetools.py
import mimetools # precompiled from /usr/lib64/python2.5/mimetools.pyc # /usr/lib64/python2.5/rfc822.pyc matches /usr/lib64/python2.5/rfc822.py import rfc822 # precompiled from /usr/lib64/python2.5/rfc822.pyc# /usr/lib64/python2.5/SocketServer.pyc matches /usr/lib64/python2.5/SocketServer.py
import SocketServer # precompiled from /usr/lib64/python2.5/SocketServer.pyc # /usr/lib64/python2.5/Cookie.pyc matches /usr/lib64/python2.5/Cookie.py import Cookie # precompiled from /usr/lib64/python2.5/Cookie.pyc dlopen("/usr/lib64/python2.5/lib-dynload/cPickle.so", 2); dlopen("/usr/lib64/python2.5/lib-dynload/cStringIO.so", 2);import cStringIO # dynamically loaded from /usr/lib64/python2.5/lib-dynload/cStringIO.so import cPickle # dynamically loaded from /usr/lib64/python2.5/lib-dynload/cPickle.so
# /usr/lib64/python2.5/cgi.pyc matches /usr/lib64/python2.5/cgi.py import cgi # precompiled from /usr/lib64/python2.5/cgi.pyc# /usr/lib64/python2.5/mimetypes.pyc matches /usr/lib64/python2.5/mimetypes.py
import mimetypes # precompiled from /usr/lib64/python2.5/mimetypes.pyc# /usr/lib/python2.5/site-packages/trac/web/href.pyc matches /usr/lib/python2.5/site-packages/trac/web/href.py import trac.web.href # precompiled from /usr/lib/python2.5/site-packages/trac/web/href.pyc # /usr/lib/python2.5/site-packages/trac/web/chrome.pyc matches /usr/lib/python2.5/site-packages/trac/web/chrome.py import trac.web.chrome # precompiled from /usr/lib/python2.5/site-packages/trac/web/chrome.pyc import trac.mimeview # directory /usr/lib/python2.5/site-packages/trac/mimeview # /usr/lib/python2.5/site-packages/trac/mimeview/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/mimeview/__init__.py import trac.mimeview # precompiled from /usr/lib/python2.5/site-packages/trac/mimeview/__init__.pyc # /usr/lib/python2.5/site-packages/trac/mimeview/api.pyc matches /usr/lib/python2.5/site-packages/trac/mimeview/api.py import trac.mimeview.api # precompiled from /usr/lib/python2.5/site-packages/trac/mimeview/api.pyc # /usr/lib/python2.5/site-packages/trac/env.pyc matches /usr/lib/python2.5/site-packages/trac/env.py import trac.env # precompiled from /usr/lib/python2.5/site-packages/trac/env.pyc # /usr/lib/python2.5/site-packages/trac/db_default.pyc matches /usr/lib/python2.5/site-packages/trac/db_default.py import trac.db_default # precompiled from /usr/lib/python2.5/site-packages/trac/db_default.pyc
import trac.db # directory /usr/lib/python2.5/site-packages/trac/db# /usr/lib/python2.5/site-packages/trac/db/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/db/__init__.py import trac.db # precompiled from /usr/lib/python2.5/site-packages/trac/db/__init__.pyc # /usr/lib/python2.5/site-packages/trac/db/api.pyc matches /usr/lib/python2.5/site-packages/trac/db/api.py import trac.db.api # precompiled from /usr/lib/python2.5/site-packages/trac/db/api.pyc # /usr/lib/python2.5/site-packages/trac/db/pool.pyc matches /usr/lib/python2.5/site-packages/trac/db/pool.py import trac.db.pool # precompiled from /usr/lib/python2.5/site-packages/trac/db/pool.pyc # /usr/lib64/python2.5/threading.pyc matches /usr/lib64/python2.5/threading.py
import threading # precompiled from /usr/lib64/python2.5/threading.pyc# /usr/lib64/python2.5/traceback.pyc matches /usr/lib64/python2.5/traceback.py
import traceback # precompiled from /usr/lib64/python2.5/traceback.pyc dlopen("/usr/lib64/python2.5/lib-dynload/collectionsmodule.so", 2);import collections # dynamically loaded from /usr/lib64/python2.5/lib-dynload/collectionsmodule.so # /usr/lib/python2.5/site-packages/trac/db/util.pyc matches /usr/lib/python2.5/site-packages/trac/db/util.py import trac.db.util # precompiled from /usr/lib/python2.5/site-packages/trac/db/util.pyc # /usr/lib/python2.5/site-packages/trac/db/schema.pyc matches /usr/lib/python2.5/site-packages/trac/db/schema.py import trac.db.schema # precompiled from /usr/lib/python2.5/site-packages/trac/db/schema.pyc import trac.versioncontrol # directory /usr/lib/python2.5/site-packages/trac/versioncontrol # /usr/lib/python2.5/site-packages/trac/versioncontrol/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/versioncontrol/__init__.py import trac.versioncontrol # precompiled from /usr/lib/python2.5/site-packages/trac/versioncontrol/__init__.pyc # /usr/lib/python2.5/site-packages/trac/versioncontrol/api.pyc matches /usr/lib/python2.5/site-packages/trac/versioncontrol/api.py import trac.versioncontrol.api # precompiled from /usr/lib/python2.5/site-packages/trac/versioncontrol/api.pyc
# /usr/lib64/python2.5/heapq.pyc matches /usr/lib64/python2.5/heapq.py import heapq # precompiled from /usr/lib64/python2.5/heapq.pyc dlopen("/usr/lib64/python2.5/lib-dynload/itertoolsmodule.so", 2);import itertools # dynamically loaded from /usr/lib64/python2.5/lib-dynload/itertoolsmodule.so
# /usr/lib64/python2.5/bisect.pyc matches /usr/lib64/python2.5/bisect.py import bisect # precompiled from /usr/lib64/python2.5/bisect.pyc dlopen("/usr/lib64/python2.5/lib-dynload/_bisect.so", 2);import _bisect # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_bisect.so
dlopen("/usr/lib64/python2.5/lib-dynload/_heapq.so", 2);import _heapq # dynamically loaded from /usr/lib64/python2.5/lib-dynload/_heapq.so
import trac.wiki # directory /usr/lib/python2.5/site-packages/trac/wiki# /usr/lib/python2.5/site-packages/trac/wiki/__init__.pyc matches /usr/lib/python2.5/site-packages/trac/wiki/__init__.py import trac.wiki # precompiled from /usr/lib/python2.5/site-packages/trac/wiki/__init__.pyc # /usr/lib/python2.5/site-packages/trac/wiki/api.pyc matches /usr/lib/python2.5/site-packages/trac/wiki/api.py import trac.wiki.api # precompiled from /usr/lib/python2.5/site-packages/trac/wiki/api.pyc # /usr/lib/python2.5/site-packages/trac/wiki/formatter.pyc matches /usr/lib/python2.5/site-packages/trac/wiki/formatter.py import trac.wiki.formatter # precompiled from /usr/lib/python2.5/site-packages/trac/wiki/formatter.pyc # /usr/lib/python2.5/site-packages/trac/wiki/model.pyc matches /usr/lib/python2.5/site-packages/trac/wiki/model.py import trac.wiki.model # precompiled from /usr/lib/python2.5/site-packages/trac/wiki/model.pyc # /usr/lib/python2.5/site-packages/trac/wiki/intertrac.pyc matches /usr/lib/python2.5/site-packages/trac/wiki/intertrac.py import trac.wiki.intertrac # precompiled from /usr/lib/python2.5/site-packages/trac/wiki/intertrac.pyc # /usr/lib/python2.5/site-packages/trac/siteconfig.pyc matches /usr/lib/python2.5/site-packages/trac/siteconfig.py import trac.siteconfig # precompiled from /usr/lib/python2.5/site-packages/trac/siteconfig.pyc
Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named config # clear __builtin__._ # clear sys.path # clear sys.argv # clear sys.ps1 # clear sys.ps2 # clear sys.exitfunc # clear sys.exc_type # clear sys.exc_value # clear sys.exc_traceback # clear sys.last_type # clear sys.last_value # clear sys.last_traceback # clear sys.path_hooks # clear sys.path_importer_cache # clear sys.meta_path # restore sys.stdin # restore sys.stdout # restore sys.stderr # cleanup __main__ # cleanup[1] random # cleanup[1] heapq # cleanup[1] tw # cleanup[1] collections # cleanup[1] webadmin # cleanup[1] zipimport # cleanup[1] ConfigParser # cleanup[1] trac # cleanup[1] bisect # cleanup[1] signal # cleanup[1] cStringIO # cleanup[1] HTMLParser # cleanup[1] BaseHTTPServer # cleanup[1] mwlib # cleanup[1] new # cleanup[1] math # cleanup[1] trac.wiki # cleanup[1] trac.web # cleanup[1] _locale # cleanup[1] trac.wiki.formatter # cleanup[1] logging # cleanup[1] StringIO # cleanup[1] traceback # cleanup[1] itertools # cleanup[1] trac.config # cleanup[1] _heapq # cleanup[1] binascii # cleanup[1] sre_constants # cleanup[1] Cookie # cleanup[1] webadmin.web_ui # cleanup[1] trac.web.href # cleanup[1] trac.env # cleanup[1] cPickle # cleanup[1] _codecs # cleanup[1] _types # cleanup[1] hashlib # cleanup[1] trac.wiki.intertrac # cleanup[1] markupbase # cleanup[1] _bisect # cleanup[1] posix # cleanup[1] exceptions # cleanup[1] _hashlib # cleanup[1] _random # cleanup[1] site # cleanup[1] trac.db # cleanup[1] strop # cleanup[1] trac.wiki.model # cleanup[1] trac.web.chrome # cleanup[1] paste # cleanup[1] warnings # cleanup[1] peak # cleanup[1] tw.mods # cleanup[1] linecache # cleanup[1] trac.db.pool # cleanup[1] trac.siteconfig # cleanup[1] trac.mimeview # cleanup[1] trac.mimeview.api # cleanup[1] trac.web.api # cleanup[1] trac.versioncontrol # cleanup[1] SocketServer # cleanup[1] trac.perm # cleanup[1] trac.wiki.api # cleanup[1] trac.core # cleanup[1] cgi # cleanup[1] mimetypes # cleanup[1] trac.db.schema # cleanup[1] trac.db.util # cleanup[1] peak.util # cleanup[1] trac.db_default # cleanup[1] trac.util # cleanup[1] trac.util.html # cleanup[1] trac.db.api # cleanup[1] mimetools # cleanup[1] trac.util.datefmt # cleanup[1] htmlentitydefs # cleanup[1] urlparse # cleanup[1] trac.versioncontrol.api # cleanup[1] trac.util.text # cleanup[1] tempfile # cleanup[1] threading # cleanup[1] locale # cleanup[1] encodings # cleanup[1] rfc822 # cleanup[1] urllib # cleanup[1] fcntl # cleanup[1] md5 # cleanup[1] socket # cleanup[1] thread # cleanup[1] operator # cleanup[1] errno # cleanup[1] _socket # cleanup[1] encodings.aliases # cleanup[1] _ssl # cleanup[1] time # cleanup[1] types # cleanup[1] string # cleanup[1] encodings.utf_8 # cleanup[1] re # cleanup[1] codecs # cleanup[1] sre_parse # cleanup[1] sre_compile # cleanup[1] _sre # cleanup[2] UserDict # cleanup[2] os # cleanup[2] posixpath # cleanup[2] copy_reg # cleanup[2] stat # cleanup[2] os.path # cleanup sys # cleanup __builtin__ # cleanup ints: 45 unfreed ints in 10 out of 21 blocks # cleanup floats: 30 unfreed floats in 1 out of 3 blocks
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines