Title: Importing Records With Existing Data Creates 'Invalid File Format' Error And Hangs DB4S · Issue #1590 · sqlitebrowser/sqlitebrowser · GitHub
Open Graph Title: Importing Records With Existing Data Creates 'Invalid File Format' Error And Hangs DB4S · Issue #1590 · sqlitebrowser/sqlitebrowser
X Title: Importing Records With Existing Data Creates 'Invalid File Format' Error And Hangs DB4S · Issue #1590 · sqlitebrowser/sqlitebrowser
Description: Details for the issue This semi-relates to an issue raised in #1585. Upon further testing, a reproducible set of steps was identified. When importing data into a table, if an imported record fails a constraint check (eg, primary key viol...
Open Graph Description: Details for the issue This semi-relates to an issue raised in #1585. Upon further testing, a reproducible set of steps was identified. When importing data into a table, if an imported record fails ...
X Description: Details for the issue This semi-relates to an issue raised in #1585. Upon further testing, a reproducible set of steps was identified. When importing data into a table, if an imported record fails ...
Opengraph URL: https://github.com/sqlitebrowser/sqlitebrowser/issues/1590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Importing Records With Existing Data Creates 'Invalid File Format' Error And Hangs DB4S","articleBody":"\u003c!--\r\nThanks for coming here to report a bug. :)\r\n\r\nPlease describe it in this section, fill out the correct check boxes\r\nbelow with an \"x\", then click the \"Submit new issue\" button at the bottom\r\n-->\r\n\r\nDetails for the issue\r\n--------------------\r\nThis semi-relates to an issue raised in #1585. Upon further testing, a reproducible set of steps was identified.\r\n\r\nWhen importing data into a table, if an imported record fails a constraint check (eg, primary key violation, eg, importing record #1 again) DB4S throws up a 'invalid file format' error, then a further 'the system is busy - do you want to cancel?' dialog. If the user presses No, DB4S locks up*.\r\n\r\n*DB4S didn't come out of the 'not responding state'\r\n\r\nTried the alpha, nightly, and the recent 'special build' for #1575.\r\nSee screencast: https://screencast-o-matic.com/watch/cF60IJYAsP\r\n\r\nIf record #1 is removed from the table and the import retried, then DB4S reports the same error, but this time on record #2. This confirms something. Not sure what. But something.\r\n\r\n\r\n\r\n\r\n#### What did you do?\r\nImported records from a CSV file, which was from an exported table. The import was into the same table, so records were known to violate the primary key.\r\n\r\n\r\n#### What did you expect to see?\r\nThe records known to violate the primary key would be ignored.\r\n\r\n\r\n#### What did you see instead?\r\nDB4S got kicked in the nuts, fell down on its knees and didn't get back up again.\r\n\r\n\r\nUseful extra information\r\n-------------------------\r\nPlease see the below screencast:\r\nhttps://screencast-o-matic.com/watch/cF60IJYAsP\r\n\r\nNote clicking Yes or No both locks up DB4S. So you're stuffed either way. 😆 \r\n\r\nThe info below often helps, please fill it out if you're able to. :)\r\n\r\n#### What operating system are you using?\r\n\r\n- [x] Windows: ( _version:_ _10__ )\r\n- [ ] Linux: ( _distro:_ ___ )\r\n- [ ] Mac OS: ( _version:_ ___ )\r\n- [ ] Other: ___\r\n\r\n#### What is your DB4S version?\r\n\r\n- [x] 3.11.0-alpha*\r\n- [ ] 3.10.1\r\n- [x] Other: ___\r\n\r\n#### Did you also\r\n\r\n- [x] Try out the latest nightly version: https://github.com/sqlitebrowser/sqlitebrowser#nightly-builds\r\n- [ ] Search for an existing similar issue: https://github.com/sqlitebrowser/sqlitebrowser/issues?utf8=%E2%9C%93&q=is%3Aissue%20\r\n","author":{"url":"https://github.com/chrisjlocke","@type":"Person","name":"chrisjlocke"},"datePublished":"2018-10-23T13:56:49Z","url":"https://github.com/sqlitebrowser/sqlitebrowser/issues/1590"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:616c0898-a633-3c3c-064a-0d2c401d8752 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFA4:2CE323:C197F4:108FEE4:6AFD30F0 |
| html-safe-nonce | 7635533d945cafde86cb6a786942f71a0fd7e31f437e2596a8648cebee68f995 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkE0OjJDRTMyMzpDMTk3RjQ6MTA4RkVFNDo2QUZEMzBGMCIsInZpc2l0b3JfaWQiOiIyNTQ5MDIzMzQ2MzQzNjIwODQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9a3ea12c9f0059dca029e75041a436b334806de3e30eed4bef0899c3ce858fc6 |
| hovercard-subject-tag | issue:373014116 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlitebrowser/sqlitebrowser/1590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c2b940c382c2c9f118f0c6dd9c6088cad4c6ac693d6faa5abf033e626cf6cfbd/sqlitebrowser/sqlitebrowser/issues/1590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c2b940c382c2c9f118f0c6dd9c6088cad4c6ac693d6faa5abf033e626cf6cfbd/sqlitebrowser/sqlitebrowser/issues/1590 |
| og:image:alt | Details for the issue This semi-relates to an issue raised in #1585. Upon further testing, a reproducible set of steps was identified. When importing data into a table, if an imported record fails ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrisjlocke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/sqlitebrowser/sqlitebrowser git https://github.com/sqlitebrowser/sqlitebrowser.git |
| octolytics-dimension-user_id | 7454271 |
| octolytics-dimension-user_login | sqlitebrowser |
| octolytics-dimension-repository_id | 19416551 |
| octolytics-dimension-repository_nwo | sqlitebrowser/sqlitebrowser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 19416551 |
| octolytics-dimension-repository_network_root_nwo | sqlitebrowser/sqlitebrowser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width