# system.report.executeAndDistribute() NO imprime

**URL:** <https://forum.inductiveautomation.com/t/system-report-executeanddistribute-no-imprime/66087>\
**Category:** Ignition\
**Created:** [November 3, 2022, 6:40pm UTC](https://forum.inductiveautomation.com/t/system-report-executeanddistribute-no-imprime/66087 "2022-11-03T18:40:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JHON\_FLOREZ](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@JHON\_FLOREZ](https://forum.inductiveautomation.com/u/JHON_FLOREZ)\
**Post date:** [November 3, 2022, 6:40pm UTC](https://forum.inductiveautomation.com/t/system-report-executeanddistribute-no-imprime/66087/1 "2022-11-03T18:40:59Z")

</div>

Saludos  
Tengo un codigo el cual me permite imprimir datos de una Power Table  
table = event.source.parent.getComponent('PROX\_MANTENIMIENTOS')  
rows = table.getSelectedRows()

if rows:  
dataIn = system.dataset.toPyDataSet(table.data)  
headers = list(table.data.getColumnNames())  
dataOut =

```
for i,row in enumerate(dataIn):
	if i in rows:
		dataOut.append(row)
		
printData = system.report.executeAndDistribute(path = "Reports", project = "PRUEBA_PLANILLA" , action = "print")	

```

pero al ejecutarlo tengo este error:

Traceback (most recent call last):

File "event:mouseClicked", line 13, in

com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: In system.report.executeReport(), project PRUEBA\_PLANILLA not found.

```
caused by GatewayException: In system.report.executeReport(), project PRUEBA_PLANILLA not found.
caused by IllegalArgumentException: In system.report.executeReport(), project PRUEBA_PLANILLA not found.

```

Ignition v7.9.7 (b2018032914)  
Java: Oracle Corporation 1.8.0\_211

su ayuda por favor

---

<div class="post-metadata">

**Author:** ![Jacob\_Klever](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@Jacob\_Klever](https://forum.inductiveautomation.com/u/Jacob_Klever)\
**Post date:** [November 10, 2022, 10:18pm UTC](https://forum.inductiveautomation.com/t/system-report-executeanddistribute-no-imprime/66087/2 "2022-11-10T22:18:17Z")

</div>

Hello John, based on the error message it looks like your are referencing the wrong project name in your code on line 13. Can you confirm the name of your project and the name of the report.

Hola John, según el mensaje de error, parece que estás haciendo referencia al nombre de proyecto incorrecto en tu código en la línea 13. ¿Puedes confirmar el nombre de tu proyecto y el nombre del informe?
