Quick-Start using templates troubles

20 views
Skip to first unread message

Eugene Prokopiev

unread,
Oct 15, 2018, 4:46:54 AM10/15/18
to Crossbar
Hi,

I've read https://crossbar.io/docs/Quick-Start/ and tried to create simple application:

$ crossbar version

    :::::::::::::::::
          :::::          _____                      __
    :::::   :   :::::   / ___/____ ___   ___  ___  / /  ___ _ ____
    :::::::   :::::::  / /__ / __// _ \ (_-< (_-< / _ \/ _ `// __/
    :::::   :   :::::  \___//_/   \___//___//___//_.__/\_,_//_/
          :::::
    :::::::::::::::::   Crossbar v18.9.2

    Copyright (c) 2013-2018 Crossbar.io Technologies GmbH, licensed under AGPL 3.0.

 Crossbar.io        : 18.9.2
   Autobahn         : 18.9.2
   Twisted          : 18.7.0-EPollReactor
   LMDB             : 0.94/lmdb-0.9.22
   Python           : 3.6.5/CPython
 Frozen executable  : no
 Operating system   : Linux-4.9.78-std-def-alt0.M80P.1-x86_64-with-centos-7.5.1804-Core
 Host machine       : x86_64
 Release key        : RWSDSZzMhv9utm/rhC+IL0t74bE6vQpI/gZuztT6MciW0/mzmijWMt9f

$ crossbar init --template hello:python --appdir hello
usage: crossbar [-h] [--debug-lifecycle] [--debug-programflow]
                {init,start,stop,status,check,convert,upgrade,keys,version,legal,_exec_worker}
                ...
crossbar: error: unrecognized arguments: --template hello:python

$ crossbar templates
usage: crossbar [-h] [--debug-lifecycle] [--debug-programflow]
                {init,start,stop,status,check,convert,upgrade,keys,version,legal,_exec_worker}
                ...
crossbar: error: argument command: invalid choice: 'templates' (choose from 'init', 'start', 'stop', 'status', 'check', 'convert', 'upgrade', 'keys', 'version', 'legal', '_exec_worker')

Why I can't use template param with init command?

Can anybody send or show me autogenerated application source / archive?

Eugene Prokopiev

unread,
Oct 15, 2018, 6:59:55 AM10/15/18
to Crossbar
first answer from https://github.com/crossbario/crossbar/issues/1020 helps

понедельник, 15 октября 2018 г., 11:46:54 UTC+3 пользователь Eugene Prokopiev написал:
Reply all
Reply to author
Forward
0 new messages