All of a sudden I just started getting error like:
The error Internal Error: AttributeError: 'NoneType' object has no attribute '__dict__' indicates that a NoneType object is being accessed in your code where an object with the __dict__ attribute is expected. This is likely due to a variable or result being None and not properly handled.
Suggestion:
This is an internal error in Foundry, and you may not have direct access to the underlying issue. I suggest contacting Palantir support for further assistance. They can analyze the environment setup and configuration to identify the root cause.
If possible, ensure that any function or variable in your code is properly validated and isn't returning None unexpectedly. If it is related to your code, review areas where objects are being created or fetched.
If you suspect an issue in your environment setup, ensure proper configuration as mentioned in the documentation around retries or schema extraction:
Documentation Links Used:
Retries - Foundry APIs Local Environment
Retries - Dataset Metadata Operations Local Environment
Next Steps:
Since this appears internal, reach out to Palantir support for a detailed resolution.
Dismiss
Missing transform attribute
A NoneType object does not have an attribute __dict__'. Did you mean: '__dir__. Please check the spelling and/or the datatype of the object.
Details
Jump to line
foundry_pyls.utils.DiagnosticException: Internal Error: AttributeError: 'NoneType' object has no attribute '__dict__'. Did you mean: '__dir__'?
And
The Code Workspace has an egress policy (or source) applied to it which doesn't allow exporting one of the markings of the previewed datasets.
We cannot allow previewing with this dataset as it may result in unintended data exfiltration.
Please restart your workspace without checkpoint if you previously previewed a different transform in order to reset the workspace's egress policies.
Otherwise, make sure to allow the dataset's markings in the Source's export control settings.
(errorInstanceId=6e090abc-d300-4ca9-bdcf-ee619b1d7c07)
For transforms that were previously working just fine. Are you applying some kind on maintenance?
