RedHatSatellite / sat6_scripts

Scripts to automate various Satellite 6 content related tasks, including disconnected export/import, publish, promote, cleanup and more...
GNU General Public License v3.0
54 stars 33 forks source link

No module named helpers #59

Open khamidziyo opened 5 years ago

khamidziyo commented 5 years ago

"Traceback (most recent call last):", " File \"/home/kziyoev-a/.ansible/tmp/ansible-tmp-1565102328.316747-98431241407339/sat_export.py\", line 18, in ", " import helpers", "ImportError: No module named helpers"

ozchrisishere commented 4 years ago

Hi, Are you able to post some more information what you were trying to do with the exports?

Cheers

Chris

caitelatte commented 4 years ago

@khamidziyo This looks like you could have been running the sat_export.py script in a different location - it needs to be located next to its helper.py module as well, and the config file accessible by relative path config/config.yml from whereever the script is running. You should modify your ansible play to use the sat_export.py script from its configured or installed location.

If that's not an accurate summary of how you raised this issue, please provide more information.