Title: BlenderBim - Work schedule task error when attempting to edit time · Issue #3091 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: BlenderBim - Work schedule task error when attempting to edit time · Issue #3091 · IfcOpenShell/IfcOpenShell
X Title: BlenderBim - Work schedule task error when attempting to edit time · Issue #3091 · IfcOpenShell/IfcOpenShell
Description: When attempting to edit the time of one task I get this error: Python: Traceback (most recent call last): File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blenderbim\libs\site\packages\isodate\isodatetime...
Open Graph Description: When attempting to edit the time of one task I get this error: Python: Traceback (most recent call last): File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blenderbi...
X Description: When attempting to edit the time of one task I get this error: Python: Traceback (most recent call last): File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blen...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/3091
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BlenderBim - Work schedule task error when attempting to edit time","articleBody":"When attempting to edit the time of one task I get this error:\r\n\r\nPython: Traceback (most recent call last):\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\libs\\site\\packages\\isodate\\isodatetime.py\", line 51, in parse_datetime\r\n datestring, timestring = datetimestring.split('T')\r\nValueError: not enough values to unpack (expected 2, got 1)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\tool\\ifc.py\", line 136, in execute\r\n IfcStore.execute_ifc_operator(self, context)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\bim\\ifc.py\", line 410, in execute_ifc_operator\r\n result = getattr(operator, \"_execute\")(context)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\bim\\module\\sequence\\operator.py\", line 260, in _execute\r\n core.enable_editing_task_time(tool.Ifc, tool.Sequence, task=tool.Ifc.get().by_id(self.task))\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\core\\sequence.py\", line 184, in enable_editing_task_time\r\n sequence.load_task_time_attributes(task_time)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\tool\\sequence.py\", line 364, in load_task_time_attributes\r\n blenderbim.bim.helper.import_attributes2(task_time, props.task_time_attributes, callback)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\bim\\helper.py\", line 91, in import_attributes2\r\n import_attribute(attribute, props, element.get_info(), callback=callback)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\bim\\helper.py\", line 105, in import_attribute\r\n is_handled_by_callback = callback(attribute.name(), new, data) if callback else None\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\tool\\sequence.py\", line 354, in callback\r\n for key, value in helper.parse_duration_as_blender_props(data[name]).items():\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\bim\\module\\sequence\\helper.py\", line 51, in parse_duration_as_blender_props\r\n dt = ifcdateutils.ifc2datetime(dt)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcopenshell\\util\\date.py\", line 45, in ifc2datetime\r\n duration = isodate.parse_duration(element)\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\libs\\site\\packages\\isodate\\isoduration.py\", line 91, in parse_duration\r\n durdt = parse_datetime(datestring[1:])\r\n File \"C:\\Users\\USER\\AppData\\Roaming\\Blender Foundation\\Blender\\3.5\\scripts\\addons\\blenderbim\\libs\\site\\packages\\isodate\\isodatetime.py\", line 53, in parse_datetime\r\n raise ISO8601Error(\"ISO 8601 time designator 'T' missing. Unable to\"\r\nisodate.isoerror.ISO8601Error: ISO 8601 time designator 'T' missing. Unable to parse datetime string ''\r\n","author":{"url":"https://github.com/Plae-Blue-Dot","@type":"Person","name":"Plae-Blue-Dot"},"datePublished":"2023-05-02T15:43:28Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/3091"}
| 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:15f0e3ba-8d2f-3ec0-24c8-0124df6bc0bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B52A:1BE13B:7895B0:A2C5E1:6B04A700 |
| html-safe-nonce | 1d887b665ac2c85ecc29b535eea60ea617c2abbc848700eb5ba1d3fb025a6ebb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTJBOjFCRTEzQjo3ODk1QjA6QTJDNUUxOjZCMDRBNzAwIiwidmlzaXRvcl9pZCI6IjgwMjkyMjY0NzE1Njg3NDYyNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 78037a286686dd1199bf700ebc46de91065e7eb9674ac7478bf46c54711df61b |
| hovercard-subject-tag | issue:1692660543 |
| 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/IfcOpenShell/IfcOpenShell/3091/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df39a71141266e953414d7ca2d211327cdcb8fb461d21dc7f8680e1053c92cdf/IfcOpenShell/IfcOpenShell/issues/3091 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df39a71141266e953414d7ca2d211327cdcb8fb461d21dc7f8680e1053c92cdf/IfcOpenShell/IfcOpenShell/issues/3091 |
| og:image:alt | When attempting to edit the time of one task I get this error: Python: Traceback (most recent call last): File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\blenderbi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Plae-Blue-Dot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width