Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么执行sea new helloworld 报错呢? #132

Open
a410202049 opened this issue Sep 16, 2019 · 2 comments
Open

为什么执行sea new helloworld 报错呢? #132

a410202049 opened this issue Sep 16, 2019 · 2 comments

Comments

@a410202049
Copy link

Traceback (most recent call last):
File "d:\anaconda\envs\python3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\anaconda\envs\python3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\anaconda\envs\python3\Scripts\sea.exe_main
.py", line 9, in
File "d:\anaconda\envs\python3\lib\site-packages\sea\cli.py", line 113, in main
return _run(root)
File "d:\anaconda\envs\python3\lib\site-packages\sea\cli.py", line 100, in _run
return handler(**kwargs)
File "d:\anaconda\envs\python3\lib\site-packages\sea\cmds.py", line 126, in new
_gen_project(path, skip=_build_skip_files(extra), ctx=ctx)
File "d:\anaconda\envs\python3\lib\site-packages\sea\cmds.py", line 114, in _gen_project
tmpl = env.get_template(relfn)
File "d:\anaconda\envs\python3\lib\site-packages\jinja2\environment.py", line 830, in get_template
return self._load_template(name, self.make_globals(globals))
File "d:\anaconda\envs\python3\lib\site-packages\jinja2\environment.py", line 804, in _load_template
template = self.loader.load(self, name, globals)
File "d:\anaconda\envs\python3\lib\site-packages\jinja2\loaders.py", line 113, in load
source, filename, uptodate = self.get_source(environment, name)
File "d:\anaconda\envs\python3\lib\site-packages\jinja2\loaders.py", line 168, in get_source
pieces = split_template_path(template)
File "d:\anaconda\envs\python3\lib\site-packages\jinja2\loaders.py", line 31, in split_template_path
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: app\extensions.py.tmpl

@zengzhengrong
Copy link

hi, I meet the same issues with new project by commd
"sea new --skip-peewee --skip-cache --skip-async_task --skip-bus --skip-sentry helloworld"
But There are noting return , Not any folder be created

below pip list

blinker 1.4
grpcio 1.12.1
grpcio-tools 1.12.1
Jinja2 2.10.1
MarkupSafe 1.1.1
pendulum 2.0.5
pip 19.2.3
protobuf 3.10.0rc1
python-dateutil 2.8.0
pytzdata 2019.2
sea 2.0.0
setuptools 41.2.0
six 1.12.0
wheel 0.33.6

@gukz
Copy link
Contributor

gukz commented Sep 25, 2019

@zengzhengrong can you give more details? like show me the output of command sea ?
here is my output:

$ sea
usage: sea [-h] {server,s,console,c,generate,g,test,new,n,async_task,bus} ...

positional arguments:
  {server,s,console,c,generate,g,test,new,n,async_task,bus}
    server (s)          Run Server
    console (c)         Run Console
    generate (g)        Generate RPC
    test                run test
    new (n)             Create Sea Project
    async_task          invoke celery cmds for async tasks
    bus                 invoke celery cmds for bus

optional arguments:
  -h, --help            show this help message and exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants