Title: Errors handling nan values in IFC file · Issue #6409 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Errors handling nan values in IFC file · Issue #6409 · IfcOpenShell/IfcOpenShell
X Title: Errors handling nan values in IFC file · Issue #6409 · IfcOpenShell/IfcOpenShell
Description: os: Windows os_version: 10.0.22631 python_version: 3.11.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 183 Stepping 1, GenuineIntel blender_version: 4.3.2 bonsai_version: 0.8.1 bonsai_commit_hash:...
Open Graph Description: os: Windows os_version: 10.0.22631 python_version: 3.11.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 183 Stepping 1, GenuineIntel blender_version: 4.3.2 b...
X Description: os: Windows os_version: 10.0.22631 python_version: 3.11.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 183 Stepping 1, GenuineIntel blender_...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6409
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Errors handling nan values in IFC file","articleBody":"```\nos: Windows\nos_version: 10.0.22631\npython_version: 3.11.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 183 Stepping 1, GenuineIntel\nblender_version: 4.3.2\nbonsai_version: 0.8.1\nbonsai_commit_hash: None\nlast_actions: \n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 462375, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'kmAnfang': nan}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 462375, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'kmEnde': nan}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 462375, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'PUID': nan}\"}\n# ifcopenshell.api: pset.add_pset\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 6562, \"Name\": \"NSHV-LS-Feld:LS-Feld\"}, \"name\": \"OEBBset_Referenzen\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.assign_pset\n>>> {}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 462388, \"Name\": \"OEBBset_Referenzen\"}, \"properties\": \"{'SAPAnlagennummer': nan}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459288, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'kmAnfang': '45,380000'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459288, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'kmEnde': '45,380000'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459288, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'PUID': 'BT-KAT-QS09-QSS-UB-01'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459232, \"Name\": \"OEBBset_Links\"}, \"properties\": \"{'Anlagenfoto': 'https://msp.oebb.at/projekte/BAUI.NAA730/680BIMAnlagenfotos/Zubehoer_Doppelboden_ET.jpg'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459214, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'kmAnfang': '45,380000'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459214, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'kmEnde': '45,380000'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459214, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'PUID': 'BT-KAT-QS09-01'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459380, \"Name\": \"OEBBset_Links\"}, \"properties\": \"{'Anlagenfoto': 'https://msp.oebb.at/projekte/BAUI.NAA730/680BIMAnlagenfotos/Zubehoer_Gitterwand_ET.jpg'}\"}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 459362, \"Name\": \"OEBBset_Semantik_Topologie\"}, \"properties\": \"{'PUID': 'BT-KAT-QS09-02'}\"}\n# operator: BIM_OT_save_project\n# operator: BIM_OT_load_type_thumbnails\n# operator: BIM_OT_load_type_thumbnails\n# operator: BIM_OT_import_ifccsv\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 442, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\csv\\operator.py\", line 323, in _execute\n ifc_csv.Import(\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 423, in Import\n self.import_xlsx(ifc_file, table, attributes, null, empty, bool_true, bool_false, concat)\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 452, in import_xlsx\n self.import_pd(ifc_file, df, attributes, null, empty, bool_true, bool_false)\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 469, in import_pd\n self.process_row(ifc_file, row.tolist(), headers, attributes, null, empty, bool_true, bool_false, concat)\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 500, in process_row\n ifcopenshell.util.selector.set_element_value(ifc_file, element, key, value, concat=concat)\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\selector.py\", line 639, in set_element_value\n result = ifcopenshell.util.element.get_pset(element, key)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\element.py\", line 101, in get_pset\n type_pset = get_pset(element_type, name, prop, should_inherit=False, verbose=verbose)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\element.py\", line 136, in get_pset\n return get_property_definition(pset, verbose=verbose)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\element.py\", line 246, in get_property_definition\n props.update(get_properties(definition[4], verbose=verbose))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\element.py\", line 383, in get_properties\n results[prop_name] = v.wrappedValue if (v := prop[2]) else None\n ^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\entity_instance.py\", line 190, in __getattr__\n return entity_instance.wrap_value(self.wrapped_data.get_argument(idx), self.wrapped_data.file)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\AnasEissa\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\ifcopenshell_wrapper.py\", line 5976, in get_argument\n return _ifcopenshell_wrapper.entity_instance_get_argument(self, *args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: An unknown error occurred\n\nifc: KAT_TB_O_QS_Q09_B.ifc\nschema: IFC2X3\npreprocessor_version: IfcOpenShell 0.8.1\noriginating_system: Bonsai 0.8.1\n```","author":{"url":"https://github.com/Eis87","@type":"Person","name":"Eis87"},"datePublished":"2025-03-21T11:25:37Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6409"}
| 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:36f648d6-40eb-bbe5-ddf8-cb84578943ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE88:1CBBDB:2285B:2FD24:6B04A994 |
| html-safe-nonce | df74fad1fec8b360189d15efa2a6bdc8f4878cfdd276952331425b491bb1daed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTg4OjFDQkJEQjoyMjg1QjoyRkQyNDo2QjA0QTk5NCIsInZpc2l0b3JfaWQiOiI2MTczOTk1MjQzMzE5NjM0MzI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3bbd44fcb4a44bfff2bca39bcf8c372621a6e03883612e564d86b30e0709771a |
| hovercard-subject-tag | issue:2938096165 |
| 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/6409/issue_layout |
| twitter:image | https://opengraph.githubassets.com/75345db3627f05955792b52f233a2021b09e4f87851bc0e598e6ae37ea005b45/IfcOpenShell/IfcOpenShell/issues/6409 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75345db3627f05955792b52f233a2021b09e4f87851bc0e598e6ae37ea005b45/IfcOpenShell/IfcOpenShell/issues/6409 |
| og:image:alt | os: Windows os_version: 10.0.22631 python_version: 3.11.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 183 Stepping 1, GenuineIntel blender_version: 4.3.2 b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eis87 |
| 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