Project

General

Profile

バグ #505

CircleCI にて自動デプロイした場合、サードパーティライブラリを格納するディレクトリ `lib` が無いため、しりとりアプリが起動できない

Added by みぞ @mizo0203 over 2 years ago. Updated over 2 years ago.

Status:
完了
Priority:
通常
Target version:
Start date:
12/07/2018
Due date:
03/02/2019
% Done:

100%

Estimated time:
Spent time:

Description

 (/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
Traceback (most recent call last):
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_lib/versions/1/google/appengine/api/lib_config.py", line 358, in __getattr__
    self._update_configs()
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_lib/versions/1/google/appengine/api/lib_config.py", line 294, in _update_configs
    self._registry.initialize()
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_lib/versions/1/google/appengine/api/lib_config.py", line 165, in initialize
    import_func(self._modname)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_dist/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/base/data/home/apps/b~api-project-379224789817/1.416461935691641653/appengine_config.py", line 6, in <module>
    vendor.add('lib')
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/b3d733487011db10/python27/python27_lib/versions/1/google/appengine/ext/vendor/__init__.py", line 44, in add
    'No such virtualenv or site directory' % path)
ValueError: virtualenv: cannot access lib: No such virtualenv or site directory

Related issues

Follows 機能 #473: Python 標準ライブラリ urllib から サードパーティの requests ライブラリに切替完了みぞ @mizo020312/06/2018

Actions
#1

Updated by みぞ @mizo0203 over 2 years ago

  • Due date set to 12/07/2018
  • Start date changed from 03/02/2019 to 12/07/2018
  • Follows 機能 #473: Python 標準ライブラリ urllib から サードパーティの requests ライブラリに切替 added
#2

Updated by みぞ @mizo0203 over 2 years ago

#473 にて、サードパーティの requests ライブラリを追加設定したことが原因
CircleCI では、サードパーティライブラリを使用するための下記設定ができていない

Using third-party libraries - https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27

#3

Updated by みぞ @mizo0203 over 2 years ago

  • Status changed from 新規 to 解決
  • % Done changed from 0 to 80

更新履歴 github|3d933cd497c8c1082e5bf30b080a100b27003a4c で適用されました。

#4

Updated by みぞ @mizo0203 over 2 years ago

  • Due date changed from 12/07/2018 to 03/02/2019
#5

Updated by みぞ @mizo0203 over 2 years ago

  • Status changed from 解決 to 完了
  • % Done changed from 80 to 100

Also available in: Atom PDF