home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1114097888

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/6542#issuecomment-1114097888 https://api.github.com/repos/pydata/xarray/issues/6542 1114097888 IC_kwDOAMm_X85CZ8jg 3698640 2022-05-01T01:47:27Z 2022-05-01T01:47:27Z CONTRIBUTOR

sorry I know I said I'd fix this but I'm having a very hard time figuring out what is wrong and how to build the docs. I had to set up a docker image to build them because I couldn't get the ipython directive to use the right conda env on my laptop, and now I'm getting a version error when pandas encounters the default build number on my fork. I'm a bit embarrassed that I can't figure this out, but... I think I might need a hand getting this across the finish line 😕

``` ....

13 1597.6 reading sources... [ 97%] getting-started-guide/faq

13 1600.8 reading sources... [ 97%] getting-started-guide/index

13 1600.8 reading sources... [ 97%] getting-started-guide/installing

13 1601.0 reading sources... [ 97%] getting-started-guide/quick-overview

13 1609.3 WARNING:

13 1609.3 >>>-------------------------------------------------------------------------

13 1609.3 Exception in /xarray/doc/getting-started-guide/quick-overview.rst at block ending on line 169

13 1609.3 Specify :okexcept: as an option in the ipython:: block to suppress this message

13 1609.3 ---------------------------------------------------------------------------

13 1609.3 ImportError Traceback (most recent call last)

13 1609.3 Input In [40], in <cell line: 1>()

13 1609.3 ----> 1 series.to_xarray()

13 1609.3

13 1609.3 File /srv/conda/envs/xarray-doc/lib/python3.9/site-packages/pandas/core/generic.py:3173, in NDFrame.to_xarray(self)

13 1609.3 3096 @final

13 1609.3 3097 def to_xarray(self):

13 1609.3 3098 """

13 1609.3 3099 Return an xarray object from the pandas object.

13 1609.3 3100

13 1609.3 (...)

13 1609.3 3171 speed (date, animal) int64 350 18 361 15

13 1609.3 3172 """

13 1609.3 -> 3173 xarray = import_optional_dependency("xarray")

13 1609.3 3175 if self.ndim == 1:

13 1609.3 3176 return xarray.DataArray.from_series(self)

13 1609.3

13 1609.3 File /srv/conda/envs/xarray-doc/lib/python3.9/site-packages/pandas/compat/_optional.py:164, in import_optional_dependency(name, extra, errors, min_version)

13 1609.3 162 return None

13 1609.3 163 elif errors == "raise":

13 1609.3 --> 164 raise ImportError(msg)

13 1609.3 166 return module

13 1609.3

13 1609.3 ImportError: Pandas requires version '0.15.1' or newer of 'xarray' (version '0.1.dev1+gfdf7303' currently installed).

13 1609.3

13 1609.3 <<<-------------------------------------------------------------------------

13 1609.3

13 1609.3 Exception occurred:

13 1609.3 File "/srv/conda/envs/xarray-doc/lib/python3.9/site-packages/IPython/sphinxext/ipython_directive.py", line 584, in process_input

13 1609.3 raise RuntimeError('Non Expected exception in {} line {}'.format(filename, lineno))

13 1609.3 RuntimeError: Non Expected exception in /xarray/doc/getting-started-guide/quick-overview.rst line 169

13 1609.3 The full traceback has been saved in /tmp/sphinx-err-a01y480j.log, if you want to report the issue to the developers.

13 1609.3 Please also report this if it was a user error, so that a better error message can be provided next time.

13 1609.3 A bug report can be filed in the tracker at https://github.com/sphinx-doc/sphinx/issues. Thanks!

13 1611.4 make: *** [Makefile:58: html] Error 2

13 1611.6 ERROR conda.cli.main_run:execute(41): conda run /bin/bash -c make html failed. (See above for error)

13 ERROR: executor failed running [conda run --no-capture-output -n xarray-doc /bin/bash -c make html]: exit code: 2


> [10/10] RUN make html:

executor failed running [conda run --no-capture-output -n xarray-doc /bin/bash -c make html]: exit code: 2 ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1221393104
Powered by Datasette · Queries took 0.73ms · About: xarray-datasette