home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1155784284

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/439#issuecomment-1155784284 https://api.github.com/repos/simonw/sqlite-utils/issues/439 1155784284 IC_kwDOCGYnMM5E495c 9599 2022-06-14T22:51:03Z 2022-06-14T22:52:13Z OWNER

Yes, this is the problem. The progress bar length is set to the length in bytes of the file - os.path.getsize(file.name) - but it's then incremented by the length of each DECODED line in turn.

So if the file is in utf-16-le (twice the size of utf-8) the progress bar will finish at 50%!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1250495688  
Powered by Datasette · Queries took 1.179ms · About: github-to-sqlite