home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

9 rows where issue = 337619718 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 4

  • Hoeze 4
  • shoyer 3
  • dcherian 1
  • fmaussion 1

author_association 2

  • MEMBER 5
  • NONE 4

issue 1

  • [bug] Exception ignored in generator object Variable · 9 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
456624391 https://github.com/pydata/xarray/issues/2263#issuecomment-456624391 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQ1NjYyNDM5MQ== dcherian 2448579 2019-01-23T00:56:18Z 2019-01-23T00:56:18Z MEMBER

@Hoeze let's reopen this when you have a reproducible example. Thanks.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
403110781 https://github.com/pydata/xarray/issues/2263#issuecomment-403110781 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMzExMDc4MQ== Hoeze 1200058 2018-07-06T18:19:59Z 2018-07-06T18:19:59Z NONE

Thank you very much for trying to help :)

It's no big problem at the moment, as it only comes up when I'm debugging. If this should really get a big problem I'll try to publish a test script here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
403099278 https://github.com/pydata/xarray/issues/2263#issuecomment-403099278 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMzA5OTI3OA== shoyer 1217238 2018-07-06T17:31:45Z 2018-07-06T17:31:45Z MEMBER

Sorry, I'm stumped.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
402700723 https://github.com/pydata/xarray/issues/2263#issuecomment-402700723 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMjcwMDcyMw== Hoeze 1200058 2018-07-05T12:06:21Z 2018-07-05T12:08:07Z NONE

```

X.variable._data array([[ 3478., 9079., 51928., ..., 34312., 11081., 79157.], [ 6976., 14495., 64495., ..., 30606., 12816., 157080.], [ 4260., 10066., 47271., ..., 47332., 14947., 118562.], ..., [ 12976., 9201., 31295., ..., 22093., 8846., 96991.], [ 7033., 8238., 22521., ..., 20476., 9051., 67057.], [ 13566., 10308., 28916., ..., 15529., 7426., 84852.]], dtype=float32) type(X.variable._data) <class 'numpy.ndarray'> idx array([ 705, 753, 342, 398, 688, 661, 630, 624, 668, 669, 631, 430, 54, 828, 478, 912, 772, 78, 627, 164, 557, 393, 1019, 559, 440, 290, 226, 299, 870, 718, 603, 947, 800, 483, 66, 453, 485, 919, 671, 213, 877, 126, 684, 600, 146, 1008, 496, 1028, 196, 51, 749, 971, 779, 232, 918, 608, 72, 707, 58, 1014, 1043, 370, 185, 818, 378, 315, [... i deleted here ...] 81, 145, 1053, 839, 466, 901, 1017, 48, 521, 162, 773, 170, 846, 1091, 1361, 1257, 1249, 1163, 1166, 634, 907, 1349, 432, 304, 1417, 1343, 424, 520, 1206, 1370, 23, 1477, 1047, 1407, 1314, 69, 1197, 1443, 261, 1479, 539, 675, 47, 619, 455, 1224, 513, 667, 894], dtype=int32) type(idx) <class 'numpy.ndarray'>

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
402514303 https://github.com/pydata/xarray/issues/2263#issuecomment-402514303 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMjUxNDMwMw== shoyer 1217238 2018-07-04T15:48:53Z 2018-07-04T15:48:53Z MEMBER

Oops, I meant X.variable._data On Wed, Jul 4, 2018 at 4:01 AM Hoeze notifications@github.com wrote:

There is no X._data, but X.values is a simple ndarray.

I pickled X and idx: unit_test.zip https://github.com/pydata/xarray/files/2162950/unit_test.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/2263#issuecomment-402445256, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKS1r9A8Prx620-TFC33-3fo2w9pqJ0ks5uDKBugaJpZM4U_wV4 .

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
402445256 https://github.com/pydata/xarray/issues/2263#issuecomment-402445256 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMjQ0NTI1Ng== Hoeze 1200058 2018-07-04T11:01:02Z 2018-07-04T11:01:02Z NONE

There is no X._data, but X.values is a simple ndarray.

I pickled X and idx: unit_test.zip

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
402206207 https://github.com/pydata/xarray/issues/2263#issuecomment-402206207 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMjIwNjIwNw== shoyer 1217238 2018-07-03T15:54:53Z 2018-07-03T15:54:53Z MEMBER

Can you share what X and X._data look like?

My guess is that this is a bug of some sort in a lower level library like NumPy or TensorFlow. This sort of error is basically impossible to trigger unless you are using the CPython C-API directly, which we don't do in xarray. Xarray itself is pure Python.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
402099108 https://github.com/pydata/xarray/issues/2263#issuecomment-402099108 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMjA5OTEwOA== Hoeze 1200058 2018-07-03T10:30:45Z 2018-07-03T10:31:45Z NONE

I tried to, but I'm not sure whats the root cause of this problem. This problem occures as part of my Tensorflow input pipeline (it's called by a py_func) and it's hard to reproduce without Tensorflow.

Maybe this helps?

It might also be possible that this is some problem with python itself or some multithreading issue. I just found this issue which exactly describes my problem: https://github.com/ContinuumIO/anaconda-issues/issues/8737

There's also the hint that this problem only occurs in debug mode. I'm always running my unit tests in debug mode, that's why I did not realize this.

Having that said, it's maybe not worth to change this in xarray and wait for a python solution to this. However, since two brackets would solve this issue, it might not be too invasive to simply fix this one line :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718
402069310 https://github.com/pydata/xarray/issues/2263#issuecomment-402069310 https://api.github.com/repos/pydata/xarray/issues/2263 MDEyOklzc3VlQ29tbWVudDQwMjA2OTMxMA== fmaussion 10050469 2018-07-03T09:13:56Z 2018-07-03T09:13:56Z MEMBER

Thanks for the report!

I'm afraid I don't fully understand the problem. Do you think that you can come up with a minimal bug report example?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [bug] Exception ignored in generator object Variable 337619718

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 17.45ms · About: xarray-datasette