Bench error when creating new apps

Hi everyone,

how to create new apps with frappe bench, i already following the tutorial and typing "<bench dir>/bench new-app apps" to create new app, but i get this error

"apps/apps should either be path to a local project or a VCS  url beginning with svn+, git+, hg+, or bzr+"

this error generated by pip when executing "./env/bin/pip install -e apps/apps"

is something wrong with my configuration or something ?

I'am using Ubuntu 14.04.1


Best Regards.





Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2c92de91-5063-4f3e-ad9d-9d28530b04db%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Run this command from the bench dir itself. the target path should be the "apps" folder


On 17-Aug-2014, at 1:59 pm, Erwan Tanajaya <er...@gmail.com> wrote:

Hi everyone,

how to create new apps with frappe bench, i already following the tutorial and typing "<bench dir>/bench new-app apps" to create new app, but i get this error

"apps/apps should either be path to a local project or a VCS  url beginning with svn+, git+, hg+, or bzr+"

this error generated by pip when executing "./env/bin/pip install -e apps/apps"

is something wrong with my configuration or something ?

I'am using Ubuntu 14.04.1


Best Regards.






Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2c92de91-5063-4f3e-ad9d-9d28530b04db%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/AD0C7B45-DFC9-42C9-85E0-71E00DC98A94%40gmail.com.

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

i already run this in bench dir itself(dir that created from "bench init <name>"), can you give me some example how i set the target path ?, there only "bench new-app [options] appname" in --help (Options list not available).

Best Regards,



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/449abcfd-8ea6-43ec-a459-c7a003d9d185%40googlegroups.com.

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

Hi Erwan,

Thanks for reporting this bug!

It seems that the “App Name” and app_name in the bench command have to match.

Please try,

% bench new-app myawesomeapp # same as App Name below
App Name: myawesomeapp
App Title:
App Description:
App Publisher:

Will fixit soon.

On Mon, Aug 18, 2014 at 9:09 PM, Erwan Tanajaya
er...@gmail.com wrote:

hi,

i already run this in bench dir itself(dir that created from “bench init
”), can you give me some example how i set the target path ?, there
only “bench new-app [options] appname” in --help (Options list not
available).

Best Regards,


Note:

If you are posting an issue,

  1. ERPNext is a free and open source software and support is given on this
    forum by a team (https://frappe.io/webnotes). So please consider donating if
    you find this forum useful (https://frappe.io/buy). Even a small amount
    would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  4. 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-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/449abcfd-8ea6-43ec-a459-c7a003d9d185%40googlegroups.com.

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


Pratik
erpnext

Thanks for your help to,

yes, you right i put same name in "App Name" and app_name in bench command, and it's works :)

Best Regards



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/de477855-a408-41a9-a1b4-d08d2c209e4e%40googlegroups.com.

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