That is strange, could you please try to install the latest version?
Here is my test code:
#!/usr/bin/python3
# Location of the extension (if need)
import sys
sys.path.append('./..')
# Import extension
import valentina
# Open local project
project = valentina.project.connect('file://c:/Users/sergey/Documents/Paradigma Software/VPython_x64_12/Examples/valentina_sakila_reports.vsp')
# Make report instance
report = project.report(name='Report_FilmList', dsn='sqlite://c:/Users/sergey/Documents/Paradigma Software/VPython_x64_12/Examples/sqlite_sakila.db')
report.setParameterValue( 'pFilmID', '5' )
# Print result as PDF
report.printToDisk('./Report_FilmList.pdf')
# Cleanup
report.close()
project.close()
Also, maybe you can start a new discussion with a more narrow topic for easier navigation?