Closed tomchadwin closed 6 years ago
Detecting the map seems to work fine, but I'm having problems with detecting the extent. I think I need to separate out the import from the detect. I'll try connecting import to the Save button.
Detect and import now separate, and things do seem to have improved. Will leave open for a bit, awaiting feedback.
This url is detected, but crashes repeatedly on 'save', throwing
AttributeError: 'NoneType' object has no attribute 'split'
I thought that issue had called down a bit. It's only where it tries to import the view (ie the extent). For the moment, I'll wrap it in atry:
until we can figure out what the underlying fault is.
As far as I can tell, this is not an async issue. The problem arises when the JS executed gives an error, or in any way doesn't give the expected output. I'll close this issue for now, and will open more specific ones as appropriate.
Suspect this could be an async issue: need to await
evaluateJavaScript()
result (no idea how yet).