Title: inconsistent interface for sess.data_objects.get and sess.collecctions.get · Issue #11 · iPlantCollaborativeOpenSource/python-irodsclient · GitHub
Open Graph Title: inconsistent interface for sess.data_objects.get and sess.collecctions.get · Issue #11 · iPlantCollaborativeOpenSource/python-irodsclient
X Title: inconsistent interface for sess.data_objects.get and sess.collecctions.get · Issue #11 · iPlantCollaborativeOpenSource/python-irodsclient
Description: When fetching a non-existant resource: sess.collections.get ('/iplant/home/ZZZ') raises CollectionDoesNotExist BUT a non-existant file gets a weird error sess.data_objects.get ('/iplant/home/ZZZ') AttributeError: 'iRODSDataObject' object...
Open Graph Description: When fetching a non-existant resource: sess.collections.get ('/iplant/home/ZZZ') raises CollectionDoesNotExist BUT a non-existant file gets a weird error sess.data_objects.get ('/iplant/home/ZZZ') ...
X Description: When fetching a non-existant resource: sess.collections.get ('/iplant/home/ZZZ') raises CollectionDoesNotExist BUT a non-existant file gets a weird error sess.data_objects.get ('/iplant...
Opengraph URL: https://github.com/iPlantCollaborativeOpenSource/python-irodsclient/issues/11
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"inconsistent interface for sess.data_objects.get and sess.collecctions.get","articleBody":"When fetching a non-existant resource:\n\n```\nsess.collections.get ('/iplant/home/ZZZ')\n```\n\nraises CollectionDoesNotExist \n\nBUT a non-existant file gets a weird error\n\n```\nsess.data_objects.get ('/iplant/home/ZZZ')\n```\n\nAttributeError: 'iRODSDataObject' object has no attribute 'id'\n\nExpected to get an exception DataObjectDoesNotExist\n","author":{"url":"https://github.com/kgk","@type":"Person","name":"kgk"},"datePublished":"2015-09-03T19:35:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11/python-irodsclient/issues/11"}
| 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:e95f6f1c-129a-800c-afcf-6826ed4ac520 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88CE:11A717:128366:18F090:6A4D94A6 |
| html-safe-nonce | caa7c235b2505a5080b929b67d3b71ace9cc4f70241586bfe57b0ffbda36715b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OENFOjExQTcxNzoxMjgzNjY6MThGMDkwOjZBNEQ5NEE2IiwidmlzaXRvcl9pZCI6IjEyNjU5MTA3NDg2NDQ0ODAxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9bf7d8f22091ca0ba6cc21b7154bf5dcedc8778efac9814c0cfb828afc5c4cbd |
| hovercard-subject-tag | issue:104766201 |
| 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/iPlantCollaborativeOpenSource/python-irodsclient/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3a71e97fdc48c4d6cbe762742a6fe44b222ab659d119588bee46973d5eab5718/iPlantCollaborativeOpenSource/python-irodsclient/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a71e97fdc48c4d6cbe762742a6fe44b222ab659d119588bee46973d5eab5718/iPlantCollaborativeOpenSource/python-irodsclient/issues/11 |
| og:image:alt | When fetching a non-existant resource: sess.collections.get ('/iplant/home/ZZZ') raises CollectionDoesNotExist BUT a non-existant file gets a weird error sess.data_objects.get ('/iplant/home/ZZZ') ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kgk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/iPlantCollaborativeOpenSource/python-irodsclient git https://github.com/iPlantCollaborativeOpenSource/python-irodsclient.git |
| octolytics-dimension-user_id | 669032 |
| octolytics-dimension-user_login | iPlantCollaborativeOpenSource |
| octolytics-dimension-repository_id | 8812869 |
| octolytics-dimension-repository_nwo | iPlantCollaborativeOpenSource/python-irodsclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8812869 |
| octolytics-dimension-repository_network_root_nwo | iPlantCollaborativeOpenSource/python-irodsclient |
| 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 | 74e2a9c78f1e38588de4f25885878349d721eedf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width