Title: Guess "OLD" server only if /config endpoint does not exists · Issue #279 · MerginMaps/python-api-client · GitHub
Open Graph Title: Guess "OLD" server only if /config endpoint does not exists · Issue #279 · MerginMaps/python-api-client
X Title: Guess "OLD" server only if /config endpoint does not exists · Issue #279 · MerginMaps/python-api-client
Description: there is a bug in the evaluation of the server type (here: python-api-client/mergin/client.py Line 389 in d6e8a16 except (ClientError, KeyError): ) - can you please fix it for this release? The problem is that ServerType.OLD is returned ...
Open Graph Description: there is a bug in the evaluation of the server type (here: python-api-client/mergin/client.py Line 389 in d6e8a16 except (ClientError, KeyError): ) - can you please fix it for this release? The pro...
X Description: there is a bug in the evaluation of the server type (here: python-api-client/mergin/client.py Line 389 in d6e8a16 except (ClientError, KeyError): ) - can you please fix it for this release? The pro...
Opengraph URL: https://github.com/MerginMaps/python-api-client/issues/279
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Guess \"OLD\" server only if /config endpoint does not exists","articleBody":"there is a bug in the evaluation of the server type (here: https://github.com/MerginMaps/python-api-client/blob/d6e8a1676b962024009210a2057241bd8f1b093a/mergin/client.py#L389) - can you please fix it for this release? The problem is that ServerType.OLD is returned in case there is any error with the network request. This is wrong though, e.g. in the maintenance mode we return 503 - it does not mean the server is old, it only means that the server is down for maintenance. The function should return OLD only if the server returns 404.","author":{"url":"https://github.com/MarcelGeo","@type":"Person","name":"MarcelGeo"},"datePublished":"2025-09-24T05:30:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/279/python-api-client/issues/279"}
| 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:7d040537-0ef2-20b0-9666-8d23953f671c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8F0:BE44B:187DB52:20A0555:6981AD3E |
| html-safe-nonce | 6ea3c19ccc440b4d9c14bfa069737123e9ef580ae6b27cd3c3a6729d125fa927 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEYwOkJFNDRCOjE4N0RCNTI6MjBBMDU1NTo2OTgxQUQzRSIsInZpc2l0b3JfaWQiOiI4NDQ1MzE3MDg3Nzk0MTQ2NjIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ced3a7fba0dbfd225ca072930ef94b53c0ed9ef7aa56978106d77c51a1c9f0d |
| hovercard-subject-tag | issue:3447724544 |
| 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/MerginMaps/python-api-client/279/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44c361b4218d0b9a909ca05fd29b1a942206d4f712c4804c837c433ea7dd4f30/MerginMaps/python-api-client/issues/279 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44c361b4218d0b9a909ca05fd29b1a942206d4f712c4804c837c433ea7dd4f30/MerginMaps/python-api-client/issues/279 |
| og:image:alt | there is a bug in the evaluation of the server type (here: python-api-client/mergin/client.py Line 389 in d6e8a16 except (ClientError, KeyError): ) - can you please fix it for this release? The pro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MarcelGeo |
| hostname | github.com |
| expected-hostname | github.com |
| None | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| turbo-cache-control | no-preview |
| go-import | github.com/MerginMaps/python-api-client git https://github.com/MerginMaps/python-api-client.git |
| octolytics-dimension-user_id | 88134486 |
| octolytics-dimension-user_login | MerginMaps |
| octolytics-dimension-repository_id | 182099139 |
| octolytics-dimension-repository_nwo | MerginMaps/python-api-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 182099139 |
| octolytics-dimension-repository_network_root_nwo | MerginMaps/python-api-client |
| 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 | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width