yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45432
[Bug 1538117] [NEW] glance-api failed to start with pypy
Public bug reported:
I'm trying to run glance with pypy, and found one compatibility problem.
The error message:
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m return cls(app)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/api/middleware/cache_manage.py", line 34, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m resource = cached_images.create_resource()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/api/cached_images.py", line 125, in create_resource^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m return wsgi.Resource(Controller(), deserializer, serializer)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/api/cached_images.py", line 35, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.cache = image_cache.ImageCache()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/__init__.py", line 61, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.init_driver()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/__init__.py", line 83, in init_driver^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.configure_driver()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/__init__.py", line 92, in configure_driver^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.driver.configure()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/drivers/sqlite.py", line 107, in configure^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.initialize_db()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/drivers/sqlite.py", line 114, in initialize_db^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m factory=SqliteConnection)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/pypy-4.0.1-src-pxwang-20160106/lib_pypy/_sqlite3.py", line 154, in connect^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m check_same_thread, factory, cached_statements)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/drivers/sqlite.py", line 65, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m sqlite3.Connection.__init__(self, *args, **kwargs)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00mTypeError: __init__() got multiple values for keyword argument 'timeout'^
** Affects: glance
Importance: Undecided
Assignee: Yongfeng Du (dolpherdu)
Status: New
** Changed in: glance
Assignee: (unassigned) => Yongfeng Du (dolpherdu)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1538117
Title:
glance-api failed to start with pypy
Status in Glance:
New
Bug description:
I'm trying to run glance with pypy, and found one compatibility
problem.
The error message:
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m return cls(app)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/api/middleware/cache_manage.py", line 34, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m resource = cached_images.create_resource()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/api/cached_images.py", line 125, in create_resource^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m return wsgi.Resource(Controller(), deserializer, serializer)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/api/cached_images.py", line 35, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.cache = image_cache.ImageCache()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/__init__.py", line 61, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.init_driver()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/__init__.py", line 83, in init_driver^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.configure_driver()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/__init__.py", line 92, in configure_driver^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.driver.configure()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/drivers/sqlite.py", line 107, in configure^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m self.initialize_db()^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/drivers/sqlite.py", line 114, in initialize_db^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m factory=SqliteConnection)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/pypy-4.0.1-src-pxwang-20160106/lib_pypy/_sqlite3.py", line 154, in connect^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m check_same_thread, factory, cached_statements)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m File "/home/ubuntu/testenv/site-packages/glance/image_cache/drivers/sqlite.py", line 65, in __init__^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00m sqlite3.Connection.__init__(self, *args, **kwargs)^M
^[[01;31m2016-01-26 06:02:27.091 TRACE glance ^[[01;35m^[[00mTypeError: __init__() got multiple values for keyword argument 'timeout'^
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1538117/+subscriptions