remote server repo.query_metrics() raises AttributeError: 'NoneType' object has no attribute 'caches'
See original GitHub issue🐛 Bug
Repo.query_metrics
for an aim server repo raises:
AttributeError: 'NoneType' object has no attribute 'caches'
To reproduce
import aim
# Choose one:
repo_path = "/path/to/aim/repo" # Good.
repo_path = "aim://localhost:53666" # Bad.
repo = aim.Repo(repo_path) # , read_only=True)
query = "run.model.name == 'example-model'"
runs = list(repo.iter_runs()) # This works.
runs = list(repo.query_metrics(query).iter_runs())
runs = list(repo.query_runs(query).iter_runs())
Side note: I’m not sure what the difference between query_metrics
and query_runs
is.
Expected behavior
No AttributeError.
Environment
- Aim Version: 3.11.1
- Python version: 3.8.10
- pip version: 22.0.4
- OS: Linux
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
unexpected error - 'NoneType' object has no attribute 'cache ...
I can confirm that 1.1.7 is in our deb repo already. 1
Read more >AttributeError: 'NoneType' object has no attribute 'find', cache ...
The error was that I didn't have memcached installed in the first place; even though I used this command to install it: pip3...
Read more >unexpected error - 'NoneType' object has no attribute 'flush ...
Hi, Trying to use DVC on windows, got the error below when trying to track a data file with DVC. Any idea of...
Read more >Traceback error "AttributeError: 'NoneType' object has no ...
Traceback error "AttributeError: 'NoneType' object has no attribute 'read' " when adding packages to Satellite channel.
Read more >AttributeError: 'NoneType' object has no attribute 'getReleases'
Hi there, I am currently trying to get my experiment to integrate with our Biopac shock hardware via parallel port. I am running...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @YodaEmbedding! Thanks a lot for the report. We’ll provide the fix with
aim v3.12.0
.Closing the issue as the main bug was resolved. @YodaEmbedding could you please submit a separate issue (if it still appears) to track its progress there?