home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where issue = 1010112818 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 5

  • simonw 3
  • hcarter333 1
  • soobrosa 1
  • Rik-de-Kort 1
  • kirajano 1

author_association 2

  • NONE 4
  • OWNER 3

issue 1

  • Win32 "used by another process" error with datasette publish · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1709373304 https://github.com/simonw/datasette/issues/1479#issuecomment-1709373304 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c5l4vd4 hcarter333 363004 2023-09-07T02:14:15Z 2023-09-07T02:14:15Z NONE

I ran into the same issue on Windows using

datasette publish cloudrun mydatabase.db --service=my-database do do a google cloud publish.

@Rik-de-Kort your fix worked perfectly! Thanks!

I can always go back and delete the temp directories myself :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
1114601882 https://github.com/simonw/datasette/issues/1479#issuecomment-1114601882 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c5Cb3ma Rik-de-Kort 32839123 2022-05-02T08:10:27Z 2022-05-02T11:54:49Z NONE

Also ran into this issue today using datasette package. The stack trace takes up my whole PowerShell history, though (recursionerror), but it also concerns the temporary directory. Our development machines have a very zealous scanner that appears to insert itself between every call to the filesystem. I suspected that was causing some racing, but this turned out not to be the case: inserting time.sleep(3) on line 451 of datasette/datasette/utils/__init__.py does not make the problem go away. Commenting out the tmp.cleanup() line does.

The next error I get is docker-specific, so that probably does resolve the Datasette error here.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
932808216 https://github.com/simonw/datasette/issues/1479#issuecomment-932808216 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c43mYYY simonw 9599 2021-10-02T19:25:09Z 2021-10-02T19:25:09Z OWNER

Actually no, from that stack trace you provided: File "c:\users\grott\anaconda3\lib\site-packages\click\core.py", line 610, in invoke return callback(*args, **kwargs) File "c:\users\grott\anaconda3\lib\site-packages\datasette\cli.py", line 283, in package call(args) File "c:\users\grott\anaconda3\lib\contextlib.py", line 119, in __exit__ next(self.gen) File "c:\users\grott\anaconda3\lib\site-packages\datasette\utils\__init__.py", line 451, in temporary_docker_directory tmp.cleanup() It looks like the problem occurs here: https://github.com/simonw/datasette/blob/b1fed48a95516ae84c0f020582303ab50ab817e2/datasette/utils/init.py#L449-L452

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
932808043 https://github.com/simonw/datasette/issues/1479#issuecomment-932808043 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c43mYVr simonw 9599 2021-10-02T19:23:52Z 2021-10-02T19:23:52Z OWNER

I suspect the root cause of this may be in this code: https://github.com/simonw/datasette/blob/63886178a649586b403966a27a45881709d2b868/datasette/utils/init.py#L673-L677

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
932807859 https://github.com/simonw/datasette/issues/1479#issuecomment-932807859 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c43mYSz simonw 9599 2021-10-02T19:22:35Z 2021-10-02T19:22:35Z OWNER

I'm pretty sure this is a Windows issue, not a Fly issue. I imagine it affects other forms of datasette publish too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
930071625 https://github.com/simonw/datasette/issues/1479#issuecomment-930071625 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c43b8RJ kirajano 76450761 2021-09-29T11:01:30Z 2021-09-29T11:01:30Z NONE

Thanks, but this one has a different error type. Unfortunately, still not working.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  
929927144 https://github.com/simonw/datasette/issues/1479#issuecomment-929927144 https://api.github.com/repos/simonw/datasette/issues/1479 IC_kwDOBm6k_c43bY_o soobrosa 1244799 2021-09-29T07:49:40Z 2021-09-29T07:49:40Z NONE

My search yielded these four entries: https://github.com/simonw/datasette/issues?q=PermissionError%3A+%5BWinError+32%5D+

Maybe this is the closet hit? https://github.com/simonw/datasette/issues/744

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Win32 "used by another process" error with datasette publish 1010112818  

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,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
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 16.61ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows