Title: Firebird 4: "timezone not set or does not have a name" when TZ=UTC · Issue #19 · FirebirdSQL/python3-driver · GitHub
Open Graph Title: Firebird 4: "timezone not set or does not have a name" when TZ=UTC · Issue #19 · FirebirdSQL/python3-driver
X Title: Firebird 4: "timezone not set or does not have a name" when TZ=UTC · Issue #19 · FirebirdSQL/python3-driver
Description: Working on a new Dialect for SQLALchemy using firebird-driver I've been stuck with this error: Datatimezone not set or does not have a name which is being raised by this code because timestamp.tzinfo doesn't have a _timezone_ attribute. ...
Open Graph Description: Working on a new Dialect for SQLALchemy using firebird-driver I've been stuck with this error: Datatimezone not set or does not have a name which is being raised by this code because timestamp.tzin...
X Description: Working on a new Dialect for SQLALchemy using firebird-driver I've been stuck with this error: Datatimezone not set or does not have a name which is being raised by this code because timestamp....
Opengraph URL: https://github.com/FirebirdSQL/python3-driver/issues/19
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Firebird 4: \"timezone not set or does not have a name\" when TZ=UTC","articleBody":"Working on a new Dialect for SQLALchemy using `firebird-driver` I've been stuck with this error:\r\n\r\n`Datatimezone not set or does not have a name`\r\n\r\nwhich is being raised by [this code](https://github.com/FirebirdSQL/python3-driver/blob/master/src/firebird/driver/interfaces.py#L1634) because `timestamp.tzinfo` doesn't have a `_timezone_` attribute.\r\n\r\nAnd, indeed, the debugger shows me that it doesn't have this attribute:\r\n\r\n\r\n\r\nBut I can't see what I'm missing here. It seems a perfectly valid timestamp with a well defined timezone to me. Why is this exception being raised?\r\n\r\nFor reference: [this](https://github.com/sqlalchemy/sqlalchemy/blob/main/lib/sqlalchemy/testing/suite/test_types.py#L554) is the test from SQLAlchemy test suite. It's a very simple one, just testing a roundtrip value to/from Firebird.","author":{"url":"https://github.com/fdcastel","@type":"Person","name":"fdcastel"},"datePublished":"2023-04-25T19:52:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/19/python3-driver/issues/19"}
| 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:39e59f29-08df-edfa-930c-7a6faaa291d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEBE:1A4AD6:1D7C18A:270D274:6971A67E |
| html-safe-nonce | dba0fe22db76fe5878c9214d45ae310e4f469529f8f657c0aaf1f21a068bc145 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUJFOjFBNEFENjoxRDdDMThBOjI3MEQyNzQ6Njk3MUE2N0UiLCJ2aXNpdG9yX2lkIjoiNzg1MjA0MDg2NDIxNTk2NzM1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bff95e8f22166acac28ba90f7445512228ba8b9cfcfed1b4ddcebcdbbc0fe603 |
| hovercard-subject-tag | issue:1683768956 |
| 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/FirebirdSQL/python3-driver/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/57e5f7c989a18d197b6668e2cbea093a4e62a068017532c7cc1952d6a92d91e1/FirebirdSQL/python3-driver/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/57e5f7c989a18d197b6668e2cbea093a4e62a068017532c7cc1952d6a92d91e1/FirebirdSQL/python3-driver/issues/19 |
| og:image:alt | Working on a new Dialect for SQLALchemy using firebird-driver I've been stuck with this error: Datatimezone not set or does not have a name which is being raised by this code because timestamp.tzin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fdcastel |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdfdce9cd4f6ab85dca2b0d11264270829297c962dd5a79df449062d7822258f |
| turbo-cache-control | no-preview |
| go-import | github.com/FirebirdSQL/python3-driver git https://github.com/FirebirdSQL/python3-driver.git |
| octolytics-dimension-user_id | 6057940 |
| octolytics-dimension-user_login | FirebirdSQL |
| octolytics-dimension-repository_id | 260167348 |
| octolytics-dimension-repository_nwo | FirebirdSQL/python3-driver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 260167348 |
| octolytics-dimension-repository_network_root_nwo | FirebirdSQL/python3-driver |
| 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 | 51c736e60b302bd039c9d5164573d176ceb24bb2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width