getlogbook / logbook

A cool logging replacement for Python.
http://logbook.readthedocs.org
Other
1.48k stars 165 forks source link

bug(python 3.7): RuntimeWarning: greenlet.greenlet size changed #270

Closed Kristinita closed 6 years ago

Kristinita commented 6 years ago

1. Summary

If Python 3.7:

    I get unexpected output in my scripts with Logbook.

2. Steps to reproduce

D:\SashaDebugging>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import logbook
C:\Python37\lib\importlib\_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144, got 128
  return f(*args, **kwds)
C:\Python37\lib\importlib\_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144, got 128
  return f(*args, **kwds)
C:\Python37\lib\importlib\_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144, got 128
  return f(*args, **kwds)
C:\Python37\lib\importlib\_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144, got 128
  return f(*args, **kwds)
C:\Python37\lib\importlib\_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144, got 128
  return f(*args, **kwds)
C:\Python37\lib\importlib\_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144, got 128
  return f(*args, **kwds)
>>>

3. Environment

Thanks.

vmalloc commented 6 years ago

Do you manage to just import gevent without logbook? Do you still get these warnings

jstewmon commented 6 years ago

Known issue with gevent: https://github.com/gevent/gevent/issues/1260

The issue describes a workaround until the next gevent release

vmalloc commented 6 years ago

Ok. Closing this one as this is not an issue with Logbook.

Thanks for reporting!