1

テストフレームワークを設定すると、このエラーを乗り越えることができないようです。

Traceback (most recent call last):
  File "/usr/local/bin/nosetests", line 8, in <module>
    load_entry_point('nose==1.1.2', 'console_scripts', 'nosetests')()
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/core.py", line 118, in __init__
    **extra_args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/core.py", line 135, in parseArgs
    self.config.configure(argv, doc=self.usage())
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/config.py", line 338, in configure
    self.plugins.configure(options, self)
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/manager.py", line 271, in configure
    cfg(options, config)
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/manager.py", line 94, in __call__
    return self.call(*arg, **kw)
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/manager.py", line 162, in simple
    result = meth(*arg, **kw)
  File "build/bdist.macosx-10.7-intel/egg/nosegae.py", line 80, in configure
  File "/usr/local/bin/dev_appserver.py", line 76, in <module>
    DIR_PATH = get_dir_path(os.path.join('lib', 'ipaddr'))
  File "/usr/local/bin/dev_appserver.py", line 66, in get_dir_path
    'file and %s.' % sibling)
ValueError: Could not determine directory that contains both, this file and lib/ipaddr.

これは正しいエラーdev_appserver.pyです...ディレクトリlib/ipaddrにありません。/usr/local/bin

なぜnosetestsこのエラーの発生をトリガーするのですか?そもそもなぜdev_appengine探そうとするのか?lib/ipaddr

4

0 に答える 0