Форум сайта python.su
Добрый день!
установил winpdb
1.прога запускается но в консоли вот такая красота
c:\test\src\liveproject>winpdb
C:\Python26\lib\site-packages\rpdb2.py:308: DeprecationWarning: the sets module
is deprecated
import sets
C:\Python26\lib\site-packages\rpdb2.py:313: DeprecationWarning: The popen2 modul
e is deprecated. Use the subprocess module.
import popen2
handlers = config.get('handlers', EMPTY_DICT)
for name in sorted(handlers):
try:
handler = self.configure_handler(handlers[name])
handler.name = name
handlers[name] = handler
except StandardError, e:
raise ValueError('Unable to configure handler '
'%r: %s' % (name, e))
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\rpdb2.py", line 14499, in <module>
ret = rpdb2.main()
File "C:\Python26\lib\site-packages\rpdb2.py", line 14470, in main
StartServer(_rpdb2_args, fchdir, _rpdb2_pwd, fAllowUnencrypted, fAllowRemote
, secret)
File "C:\Python26\lib\site-packages\rpdb2.py", line 14220, in StartServer
imp.load_source('__main__', _path)
File "c:\test\src\liveproject\manage.py", line 11, in <module>
execute_manager(settings)
File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line
438, in execute_manager
utility.execute()
File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line
379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line
252, in fetch_command
app_name = get_commands()[subcommand]
File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line
101, in get_commands
apps = settings.INSTALLED_APPS
File "C:\Python26\lib\site-packages\django\utils\functional.py", line 276, in
__getattr__
self._setup()
File "C:\Python26\lib\site-packages\django\conf\__init__.py", line 41, in _set
up
self._wrapped = Settings(settings_module)
File "C:\Python26\lib\site-packages\django\conf\__init__.py", line 126, in __i
nit__
logging_config_func(self.LOGGING)
File "C:\Python26\lib\site-packages\django\utils\dictconfig.py", line 553, in
dictConfig
dictConfigClass(config).configure()
File "C:\Python26\lib\site-packages\django\utils\dictconfig.py", line 352, in
configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'mail_admins': __import__() argument 1 m
ust be string, not DictConfigurator
Отредактировано (Ноя. 30, 2010 13:25:24)
Офлайн