CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 13:30:16 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=183.518253,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=632.782134,nginx;desc="NGINX";dur=0.867207,glb;desc="GLB";dur=137.854145
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: aab62e3
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=4JH6LmxpGZyYQ5UCGDktm27yG6peong2kEeZvmtrNaGCWMxv4N5cDmvLEq2%2FcwnOiAjqVy2c2yHv8im30HsjzISG5rKiq6qCw17%2FDWgYeC0RB9QLrMiO67DDpzgoPCl2V%2BLeyUxNC%2BgMPGCIt01OcyZcgBrsv9EUjDf95X1DVoUWxswgnwasU%2F8HKRcdpUgYQodqsIfGxvai1TDJtfQe93phSQ%2FgvzMNQIkqd3ydJ1qCdB9DJL%2FGrl%2Bnz4Y3%2BID3wQ0p0qmQC8bwjcDJZaTdvA%3D%3D--nyfuhCsE4%2Fcy2slk--2ZXWLXa3ssz7W8j6ZeWf1w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.262846974.1760275815; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 13:30:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 13:30:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D148:2EED0:52C35B:6E58A8:68EBAD67
Canned queries with named parameters fail with error against SQLite 3.46.0 · Issue #2353 · simonw/datasette · GitHub
No one assignedNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 779
Closed
Labels
Description
Reported on Discord: https://discord.com/channels/823971286308356157/823971286941302908/1248924498128932914
I managed to replicate it locally using this trick https://til.simonwillison.net/sqlite/sqlite-version-macos-python
DYLD_LIBRARY_PATH=$PWD datasette fixtures.db -c datasette.yml --pdb
Where datasette.yml
has this:
databases:
fixtures:
queries:
demo: select * from sqlite_master where tbl_name = :table
Then navigate to https://127.0.0.1:8001/fixtures/demo
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.10/site-packages/datasette/utils/__init__.py", line 1147, in derive_named_parameters
return [row["p4"].lstrip(":") for row in results if row["opcode"] == "Variable"]
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.10/site-packages/datasette/utils/__init__.py", line 1147, in <listcomp>
return [row["p4"].lstrip(":") for row in results if row["opcode"] == "Variable"]
AttributeError: 'NoneType' object has no attribute 'lstrip'
Within the --pdb
debugger I could see this:
(Pdb) pprint([dict(r) for r in results.rows])
[{'addr': 0,
'comment': None,
'opcode': 'Init',
'p1': 0,
'p2': 13,
'p3': 0,
'p4': None,
'p5': 0},
{'addr': 1,
'comment': None,
'opcode': 'OpenRead',
'p1': 0,
'p2': 1,
'p3': 0,
'p4': '5',
'p5': 0},
{'addr': 2,
'comment': None,
'opcode': 'Rewind',
'p1': 0,
'p2': 12,
'p3': 0,
'p4': None,
'p5': 0},
{'addr': 3,
'comment': None,
'opcode': 'Column',
'p1': 0,
'p2': 2,
'p3': 1,
'p4': None,
'p5': 0},
{'addr': 4,
'comment': None,
'opcode': 'Ne',
'p1': 2,
'p2': 11,
'p3': 1,
'p4': 'BINARY-8',
'p5': 82},
{'addr': 5,
'comment': None,
'opcode': 'Column',
'p1': 0,
'p2': 0,
'p3': 3,
'p4': None,
'p5': 0},
{'addr': 6,
'comment': None,
'opcode': 'Column',
'p1': 0,
'p2': 1,
'p3': 4,
'p4': None,
'p5': 0},
{'addr': 7,
'comment': None,
'opcode': 'Column',
'p1': 0,
'p2': 2,
'p3': 5,
'p4': None,
'p5': 0},
{'addr': 8,
'comment': None,
'opcode': 'Column',
'p1': 0,
'p2': 3,
'p3': 6,
'p4': None,
'p5': 0},
{'addr': 9,
'comment': None,
'opcode': 'Column',
'p1': 0,
'p2': 4,
'p3': 7,
'p4': None,
'p5': 0},
{'addr': 10,
'comment': None,
'opcode': 'ResultRow',
'p1': 3,
'p2': 5,
'p3': 0,
'p4': None,
'p5': 0},
{'addr': 11,
'comment': None,
'opcode': 'Next',
'p1': 0,
'p2': 3,
'p3': 0,
'p4': None,
'p5': 1},
{'addr': 12,
'comment': None,
'opcode': 'Halt',
'p1': 0,
'p2': 0,
'p3': 0,
'p4': None,
'p5': 0},
{'addr': 13,
'comment': None,
'opcode': 'Transaction',
'p1': 0,
'p2': 0,
'p3': 35,
'p4': '0',
'p5': 1},
{'addr': 14,
'comment': None,
'opcode': 'Variable',
'p1': 1,
'p2': 2,
'p3': 0,
'p4': None,
'p5': 0},
{'addr': 15,
'comment': None,
'opcode': 'Goto',
'p1': 0,
'p2': 1,
'p3': 0,
'p4': None,
'p5': 0}]
Note that the Variable
opcode now has p4
as None
- and the name of the variable no longer appears in any of the opcodes!
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.