Open j0se7 opened 4 years ago
Hi there,
Perhaps 2020.2.2 has introduced a breaking change regarding the BasicFileInfo data structure (but I would have thought it was accounted for already given it works on prior versions of Revit 2020...
Did you confirm that with 2020.2.1 it does work for you?
Also can I ask what version of RBP are you using?
What's bizarre here is that when I look at the code in question, it looks like it should be handling that case for Revit 2020+ (which it normally would). So there's some context missing here that will help explain why it's misbehaving but I'm not sure what exactly.
Hi Dan,
Thanks a lot for this awesome tool! I stumbled upon an issue with Revit 2020.2.2, please find below the scenarios I used for testing and the recurrent output I get. Do you have any idea of what may be happening?
Testing scenarios applied include all combinations of the following aspects:
The output below occurs consistently ONLY when using Revit 2020.2.2
04/06/2020 16:03:47 : Monitoring host Revit process (PID: 20636) 04/06/2020 16:03:47 : 04/06/2020 16:03:53 : - [ REVIT ERROR MESSAGE ] : [0604/160352.360:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context. 04/06/2020 16:03:53 : - [ REVIT ERROR MESSAGE ] : 04/06/2020 16:03:53 : - [ REVIT ERROR MESSAGE ] : DevTools listening on ws://127.0.0.1:8088/devtools/browser/451563491-3449-483d-bfc5-81d368d409a3s3322 04/06/2020 16:04:24 : - 04/06/2020 16:04:25 : - ERROR: An error occurred while processing the file! 04/06/2020 16:04:25 : - 04/06/2020 16:04:25 : - Exception: [AttributeError] 'BasicFileInfo' object has no attribute 'SavedInVersion' 04/06/2020 16:04:25 : - .NET exception: [MissingMemberException] 'BasicFileInfo' object has no attribute 'SavedInVersion' 04/06/2020 16:04:25 : - 04/06/2020 16:04:25 : - Further exception information: 04/06/2020 16:04:25 : - 04/06/2020 16:04:25 : - GetRevitFileVersion$96: 51: [289-289] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_file_util.py' 04/06/2020 16:04:25 : - GetSnapshotData$83: 175: [48-48] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\snapshot_data_exporter.py' 04/06/2020 16:04:25 : - ExportSnapshotDataInternal$82: 110: [92-100] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\snapshot_data_exporter.py' 04/06/2020 16:04:25 : - ExportTemporarySnapshotData$80: 91: [135-144] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\snapshot_data_exporter.py' 04/06/2020 16:04:25 : - RunBatchTaskScript$63: 490: [137-145] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - <lambda$3>$62: 30: [347-347] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - WithErrorHandling$25: 89: [49-49] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\script_host_error.py' 04/06/2020 16:04:25 : - DoRevitSessionProcessing$46: 316: [346-351] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - <lambda$4>$45: 36: [382-388] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - WithErrorHandling$25: 89: [49-49] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\script_host_error.py' 04/06/2020 16:04:25 : - outputStreamWriterAction$42: 66: [381-392] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - UsingStream$39: 61: [84-84] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\stream_io_util.py' 04/06/2020 16:04:25 : - outputStreamAction$40: 73: [395-395] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - UsingStream$39: 61: [84-84] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\stream_io_util.py' 04/06/2020 16:04:25 : - Main$26: 205: [398-398] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py' 04/06/2020 16:04:25 : - WithErrorHandling$25: 89: [49-49] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\script_host_error.py' 04/06/2020 16:04:25 : -: 451: [410-414] 'C:\Users\Jose\AppData\Local\RevitBatchProcessor\Scripts\revit_script_host.py'
04/06/2020 16:04:35 :
04/06/2020 16:04:35 : Revit process (PID: 20636) has exited!
Thanks in advance!