-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load() is failing for some jobs #29
Comments
I'm pushing this back to 6.1.15 as I'm keen to get 6.1.14 into a releasable state asap. This was was crashing due to the assignment of a protected attribute at runtime. Hiding the protected attribute 'is_prepared' which was protected fixed the problems here but caused problems elsewhere. Until this is more completely understood I'm unhiding these attributes and will look into modifying VPrinter in 6.1.15. Now that there is a separation between VPrinter and VPrinterPrep the VPrinter can be made to treat protected attributes in the same way as hidden ones when printing out the contents of a GangaObject file. More on this to come but until then export works as expected and if a user wants to 'load' a Job into interactive Ganga the solution is to remove any lines containing 'is_prepared'. Given the export/load functionality is inferior to using the JobTemplate repo imo I'd advise using this anyway to store/persist jobs and export/load should only be to share jobs between users. |
I think this may be fixed elsewhere I'll check shortly and make a test to verify |
This should be fixed properly by #646 in that construction of an object which is locked immediately after construction should be possible. |
This is now working at the cost that we don't crash when users attempt to use kwds which aren't in the schema of object construction. This is viewed more as a cost of backwards compatibility so I can close this as fixed. |
load() function fails for multiple reasons in latest release.
This should be looked at as it's bit of a pain from a user perspective.
There is also the problem that protected attributes can't be assigned during a load. This should be addressed by not exporting protected attributes imo.
Rob
Original backtrace from Chris Jones below:
The text was updated successfully, but these errors were encountered: