You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run modRSRC.py -f -m ..\ScriptSubVIs\ReadScriptFile.xml this error occurs:
Error: 'NoneType' object has no attribute 'findall'
Traceback (most recent call last):
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7715, in main()
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7701, in main checkBlocksAvailable(root, po)
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7587, in checkBlocksAvailable
makeUidsUnique(FPHP, BDHP, ver, fo, po)
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7476, in makeUidsUnique
zPlaneList_elems = ddo.findall("./paneHierarchy/zPlaneList/SL__arrayElement[@Class][@uid]")
AttributeError: 'NoneType' object has no attribute 'findall'
The text was updated successfully, but these errors were encountered:
I added a check on ddo variable: if ddo is not None:
Now when I try to recreate the vi, sadly I have this error: Inintialization from XML is not implemented
What should I do?
For Inintialization from XML is not implemented - well, you'd have to implement it. From call stack, you should be able to figure out which block (which python class) raised the exception.
When I run modRSRC.py -f -m ..\ScriptSubVIs\ReadScriptFile.xml this error occurs:
Error: 'NoneType' object has no attribute 'findall'
Traceback (most recent call last):
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7715, in main()
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7701, in main checkBlocksAvailable(root, po)
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7587, in checkBlocksAvailable
makeUidsUnique(FPHP, BDHP, ver, fo, po)
File "C:\Users\ccsoper\Downloads\simucam\pylabview-master\modRSRC.py", line 7476, in makeUidsUnique
zPlaneList_elems = ddo.findall("./paneHierarchy/zPlaneList/SL__arrayElement[@Class][@uid]")
AttributeError: 'NoneType' object has no attribute 'findall'
The text was updated successfully, but these errors were encountered: