Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Am Getting

Hi,
I am getting

 line 57, in get_local_copy
    if helper.base_url == "file://":
AttributeError: 'NoneType' object has no attribute 'base_url' 

when trying to run Dataset.get even though I am passing correct dataset project, name and version arguments.
In the source code I can see that it is because helper object which is created from helper = StorageHelper.get(remote_url) is None, but I have no idea why is that since the remote_url is pointing to correct location. Any hints?

  
  
Posted 2 years ago
Votes Newest

Answers 11


Dataset.get only fetches the dataset object, it doesn't try accessing files yet. What else are you doing in your code that reproduces your issue?

  
  
Posted 2 years ago

Nothing else, is just import and this one line of Dataset.get

  
  
Posted 2 years ago

and previously I was able to retrieve it, I think the trouble started after I finalized dataset.

  
  
Posted 2 years ago

What version of clearml are you using?

  
  
Posted 2 years ago

1.10.3

  
  
Posted 2 years ago

Yes, I can see it in the blob and it is not empty:
image

  
  
Posted 2 years ago

from clearml import Dataset
dataset = Dataset.get(
        dataset_project,
        dataset_name,
        dataset_version)

It is just that - the Dataset is stored in Azure Storage Account.

  
  
Posted 2 years ago

I also checked the account_name and account_key from clearml.conf file but it seems fine.

  
  
Posted 2 years ago

And you made sure that the file is on the blob?

  
  
Posted 2 years ago

I reinstalled clearml and it works

  
  
Posted 2 years ago

Hi @<1566596960691949568:profile|UpsetWalrus59> , can you add a standalone code snippet that reproduces this behavior?

  
  
Posted 2 years ago
2K Views
11 Answers
2 years ago
2 years ago
Tags