Pyrevit: Manage Keynotes: Update Keynote

Created on 11 Feb 2019  路  8Comments  路  Source: eirannejad/pyRevit

Manage Keynotes: when editing keynotes, finalizing the edit by selecting "update keynote" yields the following error message: "Record does not exist in table 'keynotes'." The edited keynote is not updated and is then locked for editing by my username, but I cannot go back and re-edit.

image

Benign Bug Enhancement

All 8 comments

This seems to be a bug specifically in keynotes without a parent.

@alexdaversa How are you creating a keynote with no parent??

@eirannejad the keynotes were imported from a working keynote file used on a previous project. The import worked successfully, but editing keynotes without a parent resulted in the same error message as in the screenshot as above.

@eirannejad We worked around the issue by adding a parent to all keynotes manually before adding them to Revit using the Manage Keynotes tool--but wouldn't at least one keynote in the list not have a parent?

@alexdaversa Any keynote with no parent is a Category. Move those to the @table(categories... table

Can not replicate the error using the import keynotes tool. The import assumes any keynote without a parent is actually a category and works fine.

The only explanation is that a special character is used for the keynote parent.

00_RevitKeynotes_Imperial_532_old.txt
This is the keynote file in question that caused the error message. I'm not suggesting that the plugin should be updated to deal with this sort of poorly formatted file--rather, we (me and braab1) should work from a known well-formatted base file to avoid these issues.

@alexdaversa Okay thanks a lot for this. The issue was something else completely and I fixed it. The problem was the GUI would allow you to edit a category when in ALL CATEGORIES listing mode using the edit keynote button.

I'll push the changes this weekend.

Was this page helpful?
0 / 5 - 0 ratings