Benc start: ERROR: profile doesn't exist or not a file

Dear Team,

What's the possible reason for this?

thanks,
Yang


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a02137fd-4a34-4fc3-8e04-22e24c225111%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Try, `bench setup procfile`

On 25 Sep 2014 15:35, "Y Y" <ya...@gmail.com> wrote:
Dear Team,

What's the possible reason for this?

thanks,
Yang


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a02137fd-4a34-4fc3-8e04-22e24c225111%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
is that after change .py file need to run supervisor restart? how to make it take affect immediately?

1. after change py
2. after change js(as it is minimized after frappe build)

what shall we do for development?


在 2014年9月25日星期四UTC+8下午8时19分33秒,Pratik Vyas写道:

Try, `bench setup procfile`

On 25 Sep 2014 15:35, "Y Y" <ya...@gmail.com> wrote:
Dear Team,

What's the possible reason for this?

thanks,
Yang


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a02137fd-4a34-4fc3-8e04-22e24c225111%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/6d976c99-cd7a-4da4-9f9a-e58407d81083%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
1 Like

On Thu, Sep 25, 2014 at 8:25 PM, Y Y ya...@gmail.com wrote:

is that after change .py file need to run supervisor restart?

Yes

how to make it
take affect immediately?

  1. after change py
  2. after change js(as it is minimized after frappe build)

what shall we do for development?

For development, don’t setup supervisor/nginx and just use bench start (it would reload on py change).

Also, if you’re changing JS, run bench frappe -w in another term, it
will rebuild unminified JS if you change a JS file?

oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

You will have to stop supervisor as bench start listens on port 8000 by default.

On 25 Sep 2014 20:44, "Y Y" <ya...@gmail.com> wrote:
oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Thanks, it is working on 8000 now.

for bench frappe -w, could you explain a bit more?

say i modified prettydate.js, can local development load prettydate.js in browser directly intead of minimized into frappe.min.js?

Thanks.

在 2014年9月25日星期四UTC+8下午11时17分57秒,Pratik Vyas写道:

You will have to stop supervisor as bench start listens on port 8000 by default.

On 25 Sep 2014 20:44, "Y Y" <ya...@gmail.com> wrote:
oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a49ea3e9-cfd1-4238-9db9-834a9e6f81be%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
To update  frappe.min.js you need to run.

frappe --build 

from your terminal.

On Thursday, September 25, 2014 6:38:54 PM UTC+3, Y Y wrote:
Thanks, it is working on 8000 now.

for bench frappe -w, could you explain a bit more?

say i modified prettydate.js, can local development load prettydate.js in browser directly intead of minimized into frappe.min.js?

Thanks.

在 2014年9月25日星期四UTC+8下午11时17分57秒,Pratik Vyas写道:

You will have to stop supervisor as bench start listens on port 8000 by default.

On 25 Sep 2014 20:44, "Y Y" <ya...@gmail.com> wrote:
oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/45e611af-5174-435b-9a70-f81fe90cd2e4%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
it is generally not a good idea to work with frappe.min.js in development environment, my question is how to get real js load...

在 2014年9月26日星期五UTC+8上午2时12分38秒,Bahaa Salama写道:
To update  frappe.min.js you need to run.

frappe --build 

from your terminal.

On Thursday, September 25, 2014 6:38:54 PM UTC+3, Y Y wrote:
Thanks, it is working on 8000 now.

for bench frappe -w, could you explain a bit more?

say i modified prettydate.js, can local development load prettydate.js in browser directly intead of minimized into frappe.min.js?

Thanks.

在 2014年9月25日星期四UTC+8下午11时17分57秒,Pratik Vyas写道:

You will have to stop supervisor as bench start listens on port 8000 by default.

On 25 Sep 2014 20:44, "Y Y" <ya...@gmail.com> wrote:
oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b35b7b39-9131-49c6-b6e6-11070d20e52e%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

With `frappe -w` (w is for watch) JS is concatenated but not minified. Also it is regenerated if a file is changed.

On 26 Sep 2014 06:45, "Y Y" <ya...@gmail.com> wrote:
it is generally not a good idea to work with frappe.min.js in development environment, my question is how to get real js load...

在 2014年9月26日星期五UTC+8上午2时12分38秒,Bahaa Salama写道:
To update frappe.min.js you need to run.

frappe --build

from your terminal.

On Thursday, September 25, 2014 6:38:54 PM UTC+3, Y Y wrote:
Thanks, it is working on 8000 now.

for bench frappe -w, could you explain a bit more?

say i modified prettydate.js, can local development load prettydate.js in browser directly intead of minimized into frappe.min.js?

Thanks.

在 2014年9月25日星期四UTC+8下午11时17分57秒,Pratik Vyas写道:

You will have to stop supervisor as bench start listens on port 8000 by default.

On 25 Sep 2014 20:44, "Y Y" <ya...@gmail.com> wrote:
oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b35b7b39-9131-49c6-b6e6-11070d20e52e%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
oh..., that's why after i've execute the command, the window seems halt there..., it is watching.

thanks.

在 2014年9月26日星期五UTC+8上午11时56分45秒,Pratik Vyas写道:

With `frappe -w` (w is for watch) JS is concatenated but not minified. Also it is regenerated if a file is changed.

On 26 Sep 2014 06:45, "Y Y" <ya...@gmail.com> wrote:
it is generally not a good idea to work with frappe.min.js in development environment, my question is how to get real js load...

在 2014年9月26日星期五UTC+8上午2时12分38秒,Bahaa Salama写道:
To update  frappe.min.js you need to run.

frappe --build 

from your terminal.

On Thursday, September 25, 2014 6:38:54 PM UTC+3, Y Y wrote:
Thanks, it is working on 8000 now.

for bench frappe -w, could you explain a bit more?

say i modified prettydate.js, can local development load prettydate.js in browser directly intead of minimized into frappe.min.js?

Thanks.

在 2014年9月25日星期四UTC+8下午11时17分57秒,Pratik Vyas写道:

You will have to stop supervisor as bench start listens on port 8000 by default.

On 25 Sep 2014 20:44, "Y Y" <ya...@gmail.com> wrote:
oh.., I've already setup supervisor and nginx.

can i use bench start to do development? thanks.

在 2014年9月25日星期四UTC+8下午10时57分55秒,Pratik Vyas写道:
On Thu, Sep 25, 2014 at 8:25 PM, Y Y <ya...@gmail.com> wrote:
> is that after change .py file need to run supervisor restart?

Yes

> how to make it
> take affect immediately?
>
> 1. after change py
> 2. after change js(as it is minimized after frappe build)
>
> what shall we do for development?
>

For development, don't setup supervisor/nginx and just use `bench
start` (it would reload on py change).

Also, if you're changing JS, run `bench frappe -w` in another term, it
will rebuild unminified JS if you change a JS file?


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+unsubscr…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/89b3855d-73a4-4d39-a91e-1d2bee3b96b8%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b35b7b39-9131-49c6-b6e6-11070d20e52e%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7b6812a0-74ce-4467-8eb2-594d4b629471%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.