Comments (3)
I am receiving the same error when I request http://localhost:3000/help. Looks like shovel can't find or can't access the help template.
$ shovel-server
Bottle server starting up (using WSGIRefServer())...
Listening on http://:3000/
Hit Ctrl-C to quit.
Traceback (most recent call last):
File "/usr/local/bin/bottle.py", line 737, in _handle
return route.call(**args)
File "/usr/local/bin/bottle.py", line 1456, in wrapper
rv = callback(*a, **ka)
File "/usr/local/lib/python2.7/dist-packages/shovel-0.1.9-py2.7.egg/EGG-INFO/scripts/shovel-server", line 139, in _help
return bottle.template(pkgutil.get_data('shovel', 'templates/help.tpl'), tasks=[{
File "/usr/lib/python2.7/pkgutil.py", line 583, in get_data
return loader.get_data(resource_name)
File "/usr/lib/python2.7/pkgutil.py", line 247, in get_data
$ cd /usr/local/lib/python2.7/dist-packages/shovel-0.1.9-py2.7.egg/shovel/templates
$ ls
help.tpl results.tpl
from shovel.
This comes from the fact that pkgutil.get_data()
resolves shovel to your shovel.py
file. A fix would be to use a different name for the shovel file or module.
from shovel.
Closing this out as well since shovel-server is not part of shovel anymore.
from shovel.
Related Issues (20)
- Fails to recognize arguments HOT 1
- PyPI Source Distribution Missing Templates / CSS HOT 1
- There is no .exe in scripts for windows installations. HOT 15
- Pypi version doesn't support Python 3 HOT 2
- Directory-resident tasks and global context? HOT 5
- Document differences with invoke
- Call an executable task file without shovel command HOT 6
- RuntimeWarning: Parent module '' not found while handling absolute import HOT 3
- ModuleNotFoundError. Shovel can't find relative modules HOT 3
- pip install shovel does not work HOT 4
- How do I denote dependencies? HOT 3
- Shovel can't find modules inside virtual environment HOT 1
- Ideas on how to create Shovel modules for packaged or bundled tasks?
- Proposing a PR to fix a few small typos
- error in shovel setup command: use_2to3 is invalid
- Convert shovel to use nose2 for testing
- pip install git+... fails with "error: invalid command 'egg_info'" HOT 1
- "shovel help" fails with "ImportError: cannot import name task" (filename conflict) HOT 4
- Invalid specific argument , args, and kwargs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shovel.