Johan Legrand
Johan Legrand
Unfortunately I'm working on a project that is already taking all my time :( I thought it would be easy to add a watcher to the translate function of the...
I use uWSGI and gevent but it's the 'gevent' async driver which is selected -> "**Server initialized for gevent.**" ```python uWSGI http bound on :5000 fd 6 uwsgi socket 0...
```python a = importlib.import_module('engineio.async_drivers.' + 'gevent_uwsgi')._async ``` ```python Traceback (most recent call last): File "", line 1, in File "/usr/local/Cellar/[email protected]/3.8.11/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "",...
I think it's the problem, i use gevent 1.4.0 / 1.5.0, i tried the 21.x.x build and it's seem to be ok but ... uWSGI documentation recommends 1.x.x releases (https://uwsgi-docs.readthedocs.io/en/latest/Gevent.html)...
@miguelgrinberg I haven't read any claim that it works with versions above 1.x.x, surely a question of interpretation but a warning about the gevent versions could be nice instead of...
Thank you :)
Another problem: CodeMirror.autoLoadMode(instance, mode) must be called but `this.codeMirror.codeMirror.autoLoadMode is not a function` After reading code of loadmode.js: https://github.com/codemirror/CodeMirror/blob/29e338b8c1f27ade4502839877df7afd49584479/addon/mode/loadmode.js#L58 The function seems to not be declared properly on codeMirror instance
I think is related to: https://github.com/codemirror/CodeMirror/issues/5484 Your import seems to be the same as described: https://github.com/TypeCtrl/ngx-codemirror/blob/d5cafceb528b8b95643bd0fa3a7ff858a5c63582/src/lib/codemirror.component.ts#L23 and nothing is correctly declared to the "fake" instance described.
_console.log(this.codeMirror.codeMirror)_, instance is ok. Viewer is ok, but when addons are loaded, no functions are inherited Same problem with the meta mod: Just for information, I use angular 6
This seems to be the case for all the addons