Open npinto opened 12 years ago
Same issue here :+1:
Just saw this myself. In some cases the python interpreter appears to be looking for task
from within your shovel.py
itself, rather than looking for the global shovel
module.
You can resolve this by creating a shovel
directory and moving your shovel.py
into it:
mkdir shovel
mv shovel.py
shovel <your_task> # should work now
In hindsight, it was probably not a good idea to have the module named the same as where it tries to load tasks, but @cory-klein -- that is the best work-around.
could it be renamed to something like shovellib/
?
Steps to reproduce:
Output: