--make_app

40 views
Skip to first unread message

Marta Ross

unread,
May 14, 2014, 12:02:32 PM5/14/14
to erpnext-dev...@googlegroups.com
Hello fellas,

Ive made a fresh install from git frappe, erpnext & shopping_cart. 
Installed three testing sites, one with frappe only, the other two including all three apps.
Everything sweet until trying to make a new app:

frappe --make_app apps

and after filling the questionnaire: 

Traceback (most recent call last):

  File "/usr/local/bin/frappe", line 9, in <module>

    load_entry_point('frappe==4.0.0', 'console_scripts', 'frappe')()

  File "/usr/erpnext/14-05-bench/frappe/frappe/cli.py", line 51, in main

    return run(fn, parsed_args)

  File "/usr/erpnext/14-05-bench/frappe/frappe/cli.py", line 77, in run

    out = globals().get(fn)(*args.get(fn), **args)

  File "/usr/erpnext/14-05-bench/frappe/frappe/cli.py", line 63, in new_fn

    return fn(*args, **new_kwargs)

  File "/usr/erpnext/14-05-bench/frappe/frappe/cli.py", line 273, in make_app

    make_boilerplate(destination)

  File "/usr/erpnext/14-05-bench/frappe/frappe/utils/boilerplate.py", line 68, in make_boilerplate

    f.write(hooks_template.format(**hooks))

KeyError: u'\n#\t"Role"'

Any suggestion?

In the other hand: i was wondering shall we have a stable version we can install and be sure everything works?

Thanx!

M

Pratik Vyas

unread,
May 14, 2014, 12:05:16 PM5/14/14
to erpnext-dev...@googlegroups.com
Hi Marta,

Found the bug, will push a fix soon.

>
> In the other hand: i was wondering shall we have a stable version we can
> install and be sure everything works?
>
> Thanx!
>
> M
>
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/c50a0d9a-f32e-4b2c-ac85-a9922f604121%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Pratik
erpnext

Pratik Vyas

unread,
May 14, 2014, 12:09:56 PM5/14/14
to erpnext-dev...@googlegroups.com
Fixed

https://github.com/frappe/frappe/commit/18f897aa0eddfe7ceb59ef75b69980a8e39e5db4

For bugs, please use github issues, would be easy to track and assign
to developers.

Thanks,
--
Pratik
erpnext

Marta Ross

unread,
May 14, 2014, 12:56:25 PM5/14/14
to erpnext-dev...@googlegroups.com
Thank you Pratik!
Reply all
Reply to author
Forward
0 new messages