question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Have you seen this weird error before?

See original GitHub issue

`--------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-2-bda6c4325f04> in <module> 1 from geetools import ui 2 ----> 3 Map = ui.Map() 4 Map.show()

~/anaconda3/lib/python3.7/site-packages/geetools/ui/ipymap.py in init(self, tabs, **kwargs) 79 80 # Asset Manager Widget —> 81 asset_manager = ipytools.AssetManager(self) 82 83 # Layers

~/anaconda3/lib/python3.7/site-packages/geetools/ui/ipytools.py in init(self, map, **kwargs) 310 # Thumb height 311 self.thumb_height = kwargs.get(‘thumb_height’, 300) –> 312 self.root_path = ee.data.getAssetRoots()[0][‘id’] 313 314 # Map

IndexError: list index out of range`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
torresruacommented, Feb 7, 2020

Just for anybody who comes up with this error (like 5 students of mine). If print(ee.data.getAssetRoots()) returns [] or ipygee Map show fails, then go to the javascript web earth engine console, click on the asset tab (on the right) and make sure your asset folder exists (e.g. user/yourname/)

0reactions
arkanoid87commented, May 21, 2022

this issue il live and kicking and should not be closed

the solution proposed by @torresrua is not working in my context. I have print(ee.data.getAssetRoots()) correctly returning list of length 1 in web editor, but ee.data.getAssetRoots() returns [] in python API, and apparently there no issue with credential permissions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weird Error Messages - Wiki
Here are some weird error messages and the mistakes that cause them. ... The most amusing error message I have ever seen was...
Read more >
Error Messages: Examples, Best Practices & Common Mistakes
Useful error messages can keep users on your site and increase conversions. See examples and learn the best practices.
Read more >
Unusual traffic from your computer network - Google Support
If devices on your network seem to be sending automated traffic to Google, you might see "Our systems have detected unusual traffic from...
Read more >
Missing number, treated as zero - Overleaf, Online LaTeX Editor
Missing number, treated as zero. This error appears when you have written something inside a count, dimension or skip entry which isn't a...
Read more >
What weird error messages have you seen? - Call of Duty
Once a game closed, due to bad or missing character animation and it was in red text as well. Never had that one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found