anvil-works / anvil-runtime

The runtime engine for hosting Anvil web apps
https://anvil.works/open-source
Other
904 stars 117 forks source link

Issue when using anvil-extras v1.6 as a dependency : module 'js' has no attribute 'await_promise' #48

Closed sebasm611 closed 2 years ago

sebasm611 commented 3 years ago

Hi! I've previously posted this issue in the anvil-extras repo.

As instructed by the team over there I solved the issue temporarily by using a previous version of that repo (1.5.2 instead of 1.6).

I was told by them the issue is the app server is not updated. I figured it's worth raising the issue here in case anyone else runs into it while this gets solved (I guess you guys must have your hands full with that new awesome editor!).

The error thrown when starting the app server was the following:

[ERROR anvil.app-server.run] Error report from client code:
AttributeError: module 'js' has no attribute 'await_promise'
Traceback:
app/anvil_extras/utils/_component_helpers.py:56

app/anvil_extras/MultiSelectDropDown/init.py:32

app/gen_propuestas_anvil/Home/init.py:18

Thanks!

meredydd commented 2 years ago

This is now updated in v1.7.0, so it should be compatible with the latest version of anvil-extras.