Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

(Colab) error while downloading voice model

Open simotukiminato opened this issue 1 year ago • 4 comments


JSONDecodeError Traceback (most recent call last) in <cell line: 31>() 31 if os.path.exists(config_path): 32 # File exists, proceed with creation of creds and client ---> 33 creds = Credentials.from_service_account_file(config_path, scopes=scope) 34 client = gspread.authorize(creds) 35 else:

/usr/local/lib/python3.10/dist-packages/google/oauth2/service_account.py in from_service_account_file(cls, filename, **kwargs) 255 credentials. 256 """ --> 257 info, signer = _service_account_info.from_filename( 258 filename, require=["client_email", "token_uri"] 259 )

/usr/local/lib/python3.10/dist-packages/google/auth/_service_account_info.py in from_filename(filename, require, use_rsa_signer) 77 """ 78 with io.open(filename, "r", encoding="utf-8") as json_file: ---> 79 data = json.load(json_file) 80 return data, from_dict(data, require=require, use_rsa_signer=use_rsa_signer)

/usr/lib/python3.10/json/init.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) 291 kwarg; otherwise JSONDecoder is used. 292 """ --> 293 return loads(fp.read(), 294 cls=cls, object_hook=object_hook, 295 parse_float=parse_float, parse_int=parse_int,

/usr/lib/python3.10/json/init.py in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) 344 parse_int is None and parse_float is None and 345 parse_constant is None and object_pairs_hook is None and not kw): --> 346 return _default_decoder.decode(s) 347 if cls is None: 348 cls = JSONDecoder

/usr/lib/python3.10/json/decoder.py in decode(self, s, _w) 335 336 """ --> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 338 end = _w(s, end).end() 339 if end != len(s):

/usr/lib/python3.10/json/decoder.py in raw_decode(self, s, idx) 353 obj, end = self.scan_once(s, idx) 354 except StopIteration as err: --> 355 raise JSONDecodeError("Expecting value", s, err.value) from None 356 return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

simotukiminato avatar Mar 20 '24 08:03 simotukiminato

it seems that peppy-generator-388800-07722f17a188.json is empty.

simotukiminato avatar Mar 20 '24 14:03 simotukiminato

it seems that peppy-generator-388800-07722f17a188.json is empty.

how were you able to resolve this?

Kareem21 avatar Apr 08 '24 17:04 Kareem21

Im having the same exact problem using Goolge Collab. The file is empty.

Miapata avatar Apr 24 '24 06:04 Miapata

same problem here any one solved it ??

Rahand92 avatar May 06 '24 10:05 Rahand92