rh-lab-q / rpg

RPG is tool, that guides people through the creation of a RPM package
GNU General Public License v2.0
22 stars 11 forks source link

load_module throws exception #286

Open ignatenkobrain opened 8 years ago

ignatenkobrain commented 8 years ago
[16:38:52] {/home/brain/git/upstream/rpg/rpg/plugin_engine.py:43} WARNING - error during executing plugin PythonPlugin:
  File "/home/brain/git/upstream/rpg/rpg/plugin_engine.py", line 38, in execute_phase
    method(project_dir, self.spec, self.sack)
  File "/home/brain/git/upstream/rpg/rpg/plugins/lang/python.py", line 13, in patched
    mod.run_script(str(item))
  File "/usr/lib64/python3.4/modulefinder.py", line 111, in run_script
    self.load_module('__main__', fp, pathname, stuff)
  File "/usr/lib64/python3.4/modulefinder.py", line 289, in load_module
    co = compile(fp.read()+'\n', pathname, 'exec')
onionka commented 8 years ago

How did you manage to produce that error?