I’m trying to print a report from a client running on a RPi using executeandDistribute. If I don’t supply the parameters field it runs fine, if I include it I get this error
com.inductiveautomation.ignition.client.gateway_interface.GatewayException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: ImportError: No module named factorypmi
caused by GatewayException: ImportError: No module named factorypmi
caused by ImportError: No module named factorypmi
dayTable = event.source.parent.getComponent('dayTable')
weekTable = event.source.parent.getComponent('weekTable')
if dayTable.visible:
tableData = dayTable.data
else:
tableData = weekTable.data
params = {'tableData':tableData}
system.report.executeAndDistribute(path='historyPrint',
project='SewingStation',
parameters = params,
action='print',
actionSettings = {'primaryPrinterName':'P1Engineer',
'copies':1})
EDIT: v7.9.12 Java: Rasbian 11.0.3