fix 'make rpm'
fix import
add a temporary workaround for Report.frames
also add source_path and line_number when saving python