prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  sample_data try/except import wrapper fails
  #### ALL software version info
  hvplot: 0.7.3
  
  #### Description of expected behavior and the observed behavior
  The following import fails, despite the all-catching `except` in the code?? (Honestly stumped)
  
  ```python
  from hvplot.sample_data import us_crime, airline_flights
  ```
  ```python
  ---------------------------------------------------------------------------
  ValueError                                Traceback (most recent call last)
  /tmp/ipykernel_3185062/1788543639.py in <module>
  ----> 1 from hvplot.sample_data import us_crime, airline_flights
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/hvplot/sample_data.py in <module>
       23 # Add catalogue entries to namespace
       24 for _c in catalogue:
  ---> 25     globals()[_c] = catalogue[_c]
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/base.py in __getitem__(self, key)
      398             if e.container == 'catalog':
      399                 return e(name=key)
  --> 400             return e()
      401         if isinstance(key, str) and '.' in key:
      402             key = key.split('.')
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/entry.py in __call__(self, persist, **kwargs)
       75             raise ValueError('Persist value (%s) not understood' % persist)
       76         persist = persist or self._pmode
  ---> 77         s = self.get(**kwargs)
       78         if persist != 'never' and isinstance(s, PersistMixin) and s.has_been_persisted:
       79             from ..container.persist import store
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in get(self, **user_parameters)
      287             return self._default_source
      288 
  --> 289         plugin, open_args = self._create_open_args(user_parameters)
      290         data_source = plugin(**open_args)
      291         data_source.catalog_object = self._catalog
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in _create_open_args(self, user_parameters)
      261 
      262         if len(self._plugin) == 0:
  --> 263             raise ValueError('No plugins loaded for this entry: %s\n'
      264                              'A listing of installable plugins can be found '
      265                              'at https://intake.readthedocs.io/en/latest/plugin'
  
  ValueError: No plugins loaded for this entry: parquet
  A listing of installable plugins can be found at https://intake.readthedocs.io/en/latest/plugin-directory.html .
  ```
  For reference, this is the code in 0.7.3:
  ```python
  import os
  
  try:
      from intake import open_catalog
  except:
      raise ImportError('Loading hvPlot sample data requires intake '
                        'and intake-parquet. Install it using conda or '
                        'pip before loading data.')
  ```
  How can intake throw a ValueError??
  
  #### Complete, minimal, self-contained example code that reproduces the issue
  
  * Have only the package `intake` installed, no other intake-subpackages.
  * Execute : `from hvplot.sample_data import us_crime, airline_flights`
  
  ```
  # code goes here between backticks
  from hvplot.sample_data import us_crime, airline_flights
  ```
  
  #### Stack traceback and/or browser JavaScript console output
  ```python
  ---------------------------------------------------------------------------
  ValueError                                Traceback (most recent call last)
  /tmp/ipykernel_3185062/1788543639.py in <module>
  ----> 1 from hvplot.sample_data import us_crime, airline_flights
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/hvplot/sample_data.py in <module>
       23 # Add catalogue entries to namespace
       24 for _c in catalogue:
  ---> 25     globals()[_c] = catalogue[_c]
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/base.py in __getitem__(self, key)
      398             if e.container == 'catalog':
      399                 return e(name=key)
  --> 400             return e()
      401         if isinstance(key, str) and '.' in key:
      402             key = key.split('.')
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/entry.py in __call__(self, persist, **kwargs)
       75             raise ValueError('Persist value (%s) not understood' % persist)
       76         persist = persist or self._pmode
  ---> 77         s = self.get(**kwargs)
       78         if persist != 'never' and isinstance(s, PersistMixin) and s.has_been_persisted:
       79             from ..container.persist import store
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in get(self, **user_parameters)
      287             return self._default_source
      288 
  --> 289         plugin, open_args = self._create_open_args(user_parameters)
      290         data_source = plugin(**open_args)
      291         data_source.catalog_object = self._catalog
  
  ~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in _create_open_args(self, user_parameters)
      261 
      262         if len(self._plugin) == 0:
  --> 263             raise ValueError('No plugins loaded for this entry: %s\n'
      264                              'A listing of installable plugins can be found '
      265                              'at https://intake.readthedocs.io/en/latest/plugin'
  
  ValueError: No plugins loaded for this entry: parquet
  A listing of installable plugins can be found at https://intake.readthedocs.io/en/latest/plugin-directory.html .
  ```
  #### Additional info
  The list of required package is now this:
  
  * intake-parquet
  * intake-xarray
  * s3fs
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `hvplot/sample_data.py`
  Content:
  ```
  1 """
  2 Loads hvPlot sample data using intake catalogue.
  3 """
  4 
  5 import os
  6 
  7 try:
  8     from intake import open_catalog
  9 except:
  10     raise ImportError('Loading hvPlot sample data requires intake '
  11                       'and intake-parquet. Install it using conda or '
  12                       'pip before loading data.')
  13 
  14 _file_path = os.path.dirname(__file__)
  15 if os.path.isdir(os.path.join(_file_path, 'examples')):
  16     _cat_path = os.path.join(_file_path, 'examples', 'datasets.yaml')
  17 else:
  18     _cat_path = os.path.join(_file_path, '..', 'examples', 'datasets.yaml')
  19 
  20 # Load catalogue
  21 catalogue = open_catalog(_cat_path)
  22 
  23 # Add catalogue entries to namespace
  24 for _c in catalogue:
  25     globals()[_c] = catalogue[_c]
  26
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/hvplot/sample_data.py b/hvplot/sample_data.py
  --- a/hvplot/sample_data.py
  +++ b/hvplot/sample_data.py
  @@ -6,10 +6,18 @@
   
   try:
       from intake import open_catalog
  +    import intake_parquet  # noqa
  +    import intake_xarray   # noqa
  +    import s3fs  # noqa
   except:
  -    raise ImportError('Loading hvPlot sample data requires intake '
  -                      'and intake-parquet. Install it using conda or '
  -                      'pip before loading data.')
  +    raise ImportError(
  +        """Loading hvPlot sample data requires:
  +                * intake
  +                * intake-parquet
  +                * intake-xarray
  +                * s3fs
  +             Install these using conda or pip before loading data."""
  +    )
   
   _file_path = os.path.dirname(__file__)
   if os.path.isdir(os.path.join(_file_path, 'examples')):
  
verification_info: {"golden_diff": "diff --git a/hvplot/sample_data.py b/hvplot/sample_data.py\n--- a/hvplot/sample_data.py\n+++ b/hvplot/sample_data.py\n@@ -6,10 +6,18 @@\n \n try:\n     from intake import open_catalog\n+    import intake_parquet  # noqa\n+    import intake_xarray   # noqa\n+    import s3fs  # noqa\n except:\n-    raise ImportError('Loading hvPlot sample data requires intake '\n-                      'and intake-parquet. Install it using conda or '\n-                      'pip before loading data.')\n+    raise ImportError(\n+        \"\"\"Loading hvPlot sample data requires:\n+                * intake\n+                * intake-parquet\n+                * intake-xarray\n+                * s3fs\n+             Install these using conda or pip before loading data.\"\"\"\n+    )\n \n _file_path = os.path.dirname(__file__)\n if os.path.isdir(os.path.join(_file_path, 'examples')):\n", "issue": "sample_data try/except import wrapper fails\n#### ALL software version info\r\nhvplot: 0.7.3\r\n\r\n#### Description of expected behavior and the observed behavior\r\nThe following import fails, despite the all-catching `except` in the code?? (Honestly stumped)\r\n\r\n```python\r\nfrom hvplot.sample_data import us_crime, airline_flights\r\n```\r\n```python\r\n---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n/tmp/ipykernel_3185062/1788543639.py in <module>\r\n----> 1 from hvplot.sample_data import us_crime, airline_flights\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/hvplot/sample_data.py in <module>\r\n     23 # Add catalogue entries to namespace\r\n     24 for _c in catalogue:\r\n---> 25     globals()[_c] = catalogue[_c]\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/base.py in __getitem__(self, key)\r\n    398             if e.container == 'catalog':\r\n    399                 return e(name=key)\r\n--> 400             return e()\r\n    401         if isinstance(key, str) and '.' in key:\r\n    402             key = key.split('.')\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/entry.py in __call__(self, persist, **kwargs)\r\n     75             raise ValueError('Persist value (%s) not understood' % persist)\r\n     76         persist = persist or self._pmode\r\n---> 77         s = self.get(**kwargs)\r\n     78         if persist != 'never' and isinstance(s, PersistMixin) and s.has_been_persisted:\r\n     79             from ..container.persist import store\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in get(self, **user_parameters)\r\n    287             return self._default_source\r\n    288 \r\n--> 289         plugin, open_args = self._create_open_args(user_parameters)\r\n    290         data_source = plugin(**open_args)\r\n    291         data_source.catalog_object = self._catalog\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in _create_open_args(self, user_parameters)\r\n    261 \r\n    262         if len(self._plugin) == 0:\r\n--> 263             raise ValueError('No plugins loaded for this entry: %s\\n'\r\n    264                              'A listing of installable plugins can be found '\r\n    265                              'at https://intake.readthedocs.io/en/latest/plugin'\r\n\r\nValueError: No plugins loaded for this entry: parquet\r\nA listing of installable plugins can be found at https://intake.readthedocs.io/en/latest/plugin-directory.html .\r\n```\r\nFor reference, this is the code in 0.7.3:\r\n```python\r\nimport os\r\n\r\ntry:\r\n    from intake import open_catalog\r\nexcept:\r\n    raise ImportError('Loading hvPlot sample data requires intake '\r\n                      'and intake-parquet. Install it using conda or '\r\n                      'pip before loading data.')\r\n```\r\nHow can intake throw a ValueError??\r\n\r\n#### Complete, minimal, self-contained example code that reproduces the issue\r\n\r\n* Have only the package `intake` installed, no other intake-subpackages.\r\n* Execute : `from hvplot.sample_data import us_crime, airline_flights`\r\n\r\n```\r\n# code goes here between backticks\r\nfrom hvplot.sample_data import us_crime, airline_flights\r\n```\r\n\r\n#### Stack traceback and/or browser JavaScript console output\r\n```python\r\n---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n/tmp/ipykernel_3185062/1788543639.py in <module>\r\n----> 1 from hvplot.sample_data import us_crime, airline_flights\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/hvplot/sample_data.py in <module>\r\n     23 # Add catalogue entries to namespace\r\n     24 for _c in catalogue:\r\n---> 25     globals()[_c] = catalogue[_c]\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/base.py in __getitem__(self, key)\r\n    398             if e.container == 'catalog':\r\n    399                 return e(name=key)\r\n--> 400             return e()\r\n    401         if isinstance(key, str) and '.' in key:\r\n    402             key = key.split('.')\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/entry.py in __call__(self, persist, **kwargs)\r\n     75             raise ValueError('Persist value (%s) not understood' % persist)\r\n     76         persist = persist or self._pmode\r\n---> 77         s = self.get(**kwargs)\r\n     78         if persist != 'never' and isinstance(s, PersistMixin) and s.has_been_persisted:\r\n     79             from ..container.persist import store\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in get(self, **user_parameters)\r\n    287             return self._default_source\r\n    288 \r\n--> 289         plugin, open_args = self._create_open_args(user_parameters)\r\n    290         data_source = plugin(**open_args)\r\n    291         data_source.catalog_object = self._catalog\r\n\r\n~/miniconda3/envs/py39/lib/python3.9/site-packages/intake/catalog/local.py in _create_open_args(self, user_parameters)\r\n    261 \r\n    262         if len(self._plugin) == 0:\r\n--> 263             raise ValueError('No plugins loaded for this entry: %s\\n'\r\n    264                              'A listing of installable plugins can be found '\r\n    265                              'at https://intake.readthedocs.io/en/latest/plugin'\r\n\r\nValueError: No plugins loaded for this entry: parquet\r\nA listing of installable plugins can be found at https://intake.readthedocs.io/en/latest/plugin-directory.html .\r\n```\r\n#### Additional info\r\nThe list of required package is now this:\r\n\r\n* intake-parquet\r\n* intake-xarray\r\n* s3fs\r\n\r\n\n", "before_files": [{"content": "\"\"\"\nLoads hvPlot sample data using intake catalogue.\n\"\"\"\n\nimport os\n\ntry:\n    from intake import open_catalog\nexcept:\n    raise ImportError('Loading hvPlot sample data requires intake '\n                      'and intake-parquet. Install it using conda or '\n                      'pip before loading data.')\n\n_file_path = os.path.dirname(__file__)\nif os.path.isdir(os.path.join(_file_path, 'examples')):\n    _cat_path = os.path.join(_file_path, 'examples', 'datasets.yaml')\nelse:\n    _cat_path = os.path.join(_file_path, '..', 'examples', 'datasets.yaml')\n\n# Load catalogue\ncatalogue = open_catalog(_cat_path)\n\n# Add catalogue entries to namespace\nfor _c in catalogue:\n    globals()[_c] = catalogue[_c]\n", "path": "hvplot/sample_data.py"}], "after_files": [{"content": "\"\"\"\nLoads hvPlot sample data using intake catalogue.\n\"\"\"\n\nimport os\n\ntry:\n    from intake import open_catalog\n    import intake_parquet  # noqa\n    import intake_xarray   # noqa\n    import s3fs  # noqa\nexcept:\n    raise ImportError(\n        \"\"\"Loading hvPlot sample data requires:\n                * intake\n                * intake-parquet\n                * intake-xarray\n                * s3fs\n             Install these using conda or pip before loading data.\"\"\"\n    )\n\n_file_path = os.path.dirname(__file__)\nif os.path.isdir(os.path.join(_file_path, 'examples')):\n    _cat_path = os.path.join(_file_path, 'examples', 'datasets.yaml')\nelse:\n    _cat_path = os.path.join(_file_path, '..', 'examples', 'datasets.yaml')\n\n# Load catalogue\ncatalogue = open_catalog(_cat_path)\n\n# Add catalogue entries to namespace\nfor _c in catalogue:\n    globals()[_c] = catalogue[_c]\n", "path": "hvplot/sample_data.py"}]}