Weird error Lookup Error: URL

For the last hour all of my apps we’re basically unusable.

When I go to the apps I get this error.

Any info on this, would be appreciated.

We experienced this error as well and fixed it by upgrading our anvil-extras dependencies to v2.6.2 (we were on v2.5.3).

Edit: to be clear, in our case, this error was triggered by from anvil_extras import routing.

thanks for reporting - we’ll get that fixed

1 Like

I am also experiencing this issue. I am currently on version 2.2.3 of anvil_extras btw.

I am having the same issue,

If you’re able to bump anvil extras to 2.6+ it should fix the issue

Stu,

What was it a chrome browser update that caused the issue? I find it odd it would occur when dependent on a fixed version of anvil_extras.

I also get the same error on Safari.

I am now having issues using this cloned app. Can anyone tell me what I need to do to fix the routing issue I am currently experiencing.

LookupError: url
at app/anvil_extras/routing/_navigation.py:18
called from app/anvil_extras/routing/__init__.py:12
called from Startup, line 3

Ok we think we’ve fixed the issue in anvil extras. We’ve back ported the fix to tagged versions of anvil-extras (v2+)


if you are using a cloned version you may need to get the fix from the relevant version you cloned.

you’ll need to change the code in the routing._navigation module

https://github.com/anvilistas/anvil-extras/blob/v2.2.3/client_code/routing/_navigation.py

adjust the above link with the version you’re using and the fix should be there


(We’re still investigating the root cause)


Edit: we’ve found the issue and will push the necessary fix - hopefully the tagged versions have stopped the issue already

3 Likes

version 2.5.3 still has issues but converting to a 2.7 dependency does fix the issue.

1 Like

thanks @anthonys - that should be updated now - sorry about that

(Edt - and the root cause is now also fixed - so all versions should work as they did before this bug report)

1 Like

Is everyone seeing this issue. think it might be related to anvil.extras. ModuleNotFoundError: No module named ‘_thread’

@alexpetrone - I don’t think that’s related to this thread. Please start a new topic with more information