[New-bugs-announce] [issue1877] unhelpful error when calling "python <dirname>"

Georg Brandl report at bugs.python.org
Sun Jan 20 15:48:08 CET 2008


New submission from Georg Brandl:

gbr at lap ~/devel/python> ./python Lib
Traceback (most recent call last):
  File "Lib/runpy.py", line 99, in _run_module_as_main
    loader, code, fname = _get_module_details(mod_name)
  File "Lib/runpy.py", line 86, in _get_module_details
    raise ImportError("No code object available for %s" % mod_name)
ImportError: No code object available for __main__

----------
assignee: ncoghlan
messages: 61303
nosy: georg.brandl, ncoghlan
severity: normal
status: open
title: unhelpful error when calling "python <dirname>"

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1877>
__________________________________


More information about the New-bugs-announce mailing list