Problem with Fido.fetch (wait() got an unexpected keyword argument 'verbose')

I’m trying to run the example " Requesting cutouts of AIA images from the JSOC" from Example Gallery, and when running the cell:
“files = Fido.fetch(query)
files.sort()”
there is the error:
“TypeError: wait() got an unexpected keyword argument ‘verbose’”

Can someone explain to me why it’s happening and how to solve it? Thanks in advance.

Detailed error: "---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[15], line 1
----> 1 files = Fido.fetch(query)
2 files.sort()

File ~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/sunpy/net/fido_factory.py:428, in UnifiedDownloaderFactory.fetch(self, path, max_conn, progress, overwrite, downloader, *query_results, **kwargs)
425 raise ValueError(f"Query result has an unrecognized type: {type(query_result)} "
426 “Allowed types are QueryResponseRow, QueryResponseTable or UnifiedResponse.”)
427 for block in responses:
→ 428 result = block.client.fetch(block, path=path,
429 downloader=downloader,
430 wait=False, **kwargs)
431 if result not in (NotImplemented, None):
432 reslist.append(result)

File ~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/sunpy/net/base_client.py:324, in convert_row_to_table..wrapper(self, query_results, **kwargs)
322 if isinstance(query_results, QueryResponseRow):
323 query_results = query_results.as_table()
→ 324 return func(self, query_results, **kwargs)

File ~/.pyenv/versions/3.9.2/lib/python3.9/site-packages/sunpy/net/jsoc/jsoc.py:441, in JSOCClient.fetch(self, jsoc_response, path, progress, overwrite, downloader, wait, sleep, max_conn, **kwargs)
438 time.sleep(sleep/2.)
440 for response in responses:
→ 441 response.wait(verbose=progress)
443 return self.get_request(responses, path=path, overwrite=overwrite,
444 progress=progress, downloader=downloader,
445 wait=wait, max_conn=max_conn, **defaults)

TypeError: wait() got an unexpected keyword argument ‘verbose’
"

Hello @d.gutierrezs,

This looks like an incompatible version of python DRMS and sunpy.

Can you tell me what version of sunpy an drms you are running?

import sunpy; print(sunpy.__version)
import drms; print(drms.__version)

I think the answer will be to install drms <0.7.0.
We did pin it in the sunpy package but it seems we missed some places.
Hopefully that helps.

Solved! Thank you very much. When installing drms version 0.6.4. it works.

The version of sunpy and drms asked were respectively:

5.1.1
0.7.1