-
Notifications
You must be signed in to change notification settings - Fork 41
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
Reinstate the documentation generation routines #3132
Comments
Note - I also had a documentation issue on OSX at the SAS2024 tutorial. |
What specifically was the problem? I just tried it on the Mac we have in our team, and I could access the documentation from Help -> Documentation but I couldn't access the model documentation from clicking the Help button in the fitting window. I got the following error instead
I was curious as to whether you got the same problem, something additional that doesn't work, or if its completely different on your machine? |
In principle this should not cause the problem pointed out by @ehb54. This should only have prevented plugin model docs from generating (which has always been the case - this was to add a new feature that compiled plugin model docs on the fly). But it is possible that it is due to some of the folder location changes in 6.0. In which case, were this "doc regeneration" working, it would have dealt with that problem? @krzywon would be most likely to know. I'm curious @jamescrake-merani - the error you show is looking at |
Yes I was looking at the sphere model which should be a builtin model to my understanding. Looking at the error, this is the line in plugin_names = [name for name, enabled in self.master_category_dict[CATEGORY_CUSTOM]] This seems to be the function where that def readCategoryInfo(self):
"""
Reads the categories in from file
"""
self.master_category_dict = defaultdict(list)
self.by_model_dict = defaultdict(list)
self.model_enabled_dict = defaultdict(bool)
categorization_file = CategoryInstaller.get_user_file()
if not os.path.isfile(categorization_file):
categorization_file = CategoryInstaller.get_default_file()
with open(categorization_file, 'rb') as cat_file:
self.master_category_dict = json.load(cat_file)
self.regenerateModelDict()
# Load the model dict
models = load_standard_models()
for model in models:
self.models[model.name] = model
self.readCustomCategoryInfo() I don't have a debugger to play around with on the Mac but I wonder if it is something to do with this |
Describe the bug
Due to some late issues related to the documentation generation processes, they were disabled for the final v6.0.0 release. This is to track and note this all should be reinstated, as early as v6.0.1.
The text was updated successfully, but these errors were encountered: