Closed AndresOrtegaGuerrero closed 4 weeks ago
This bug is a bit tricky, as it seems to be related to a node where the property label may have changed or the plugin was uninstalled. The only solution is to identify and delete the node causing the issue. It’s become more troublesome because now I can no longer access my other nodes in the app.
i did something like this just to get to see the jobs again ,
property_checkboxes = [
ipw.Checkbox(
value=False,
description=prop if not (isinstance(prop, float) and math.isnan(prop)) else "unknown",
layout=ipw.Layout(description_width="initial"),
indent=False,
)
for prop in unique_properties
]
or just
unique_properties = set(self.df["Properties"].explode().dropna())
Automated report
This issue was created with the app's automated bug reporting feature. Attached to this issue is the full traceback as well as an environment fingerprint that contains information about the operating system as well as all installed libraries.
Additional comments (optional):
Example: I submitted a band structure calculation for Silica.
Attachments
Traceback
```python-traceback ~/.local/lib/python3.9/site-packages/traitlets/traitlets.py in __set__(self, obj, value) 730 raise TraitError('The "%s" trait is read-only.' % self.name) 731 else: --> 732 self.set(obj, value) 733 734 def _validate(self, obj, value): ~/.local/lib/python3.9/site-packages/traitlets/traitlets.py in set(self, obj, value) 704 705 def set(self, obj, value): --> 706 new_value = self._validate(obj, value) 707 try: 708 old_value = obj._trait_values[self.name] ~/.local/lib/python3.9/site-packages/traitlets/traitlets.py in _validate(self, obj, value) 736 return value 737 if hasattr(self, "validate"): --> 738 value = self.validate(obj, value) 739 if obj._cross_validation_lock is False: 740 value = self._cross_validate(obj, value) ~/.local/lib/python3.9/site-packages/traitlets/traitlets.py in validate(self, obj, value) 2534 msg = "Could not decode {!r} for unicode trait '{}' of {} instance." 2535 raise TraitError(msg.format(value, self.name, class_of(obj))) from e -> 2536 self.error(obj, value) 2537 2538 def from_string(self, s): ~/.local/lib/python3.9/site-packages/traitlets/traitlets.py in error(self, obj, value, error, info) 842 describe("the", value), 843 ) --> 844 raise TraitError(e) 845 846 def get_metadata(self, key, default=None): TraitError: The 'description' trait of a Checkbox instance expected a unicode string, not the float nan. ```Environment fingerprint
By submitting this issue I confirm that I am aware that this information can potentially be used to determine what kind of calculation was performed at the time of error.