Internal Server Error while Setting up a App

Hi Pratik,

I am trying to setup new app named as 'church_management'. After setting up app I am getting error message "Internal Server Error".

Steps I have followed:

1. Logged in as user erpnext
2. cloned church_management app under app folder
3. activated environment `env/bin/activate`
4. setup app, `python setup.py develop`
5. added church_management app to apps.txt under sites directory

Last time, restarting gunicorn have resolved this issue. 
Please assist me to resolve this issue and please let me know the steps to avoid such error in future.

Thanks,
Saurabh



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/72320199-ccac-47ea-b448-333559f69192%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Can you share your repo?


On 10-Sep-2014, at 3:29 pm, saurabh palande <sa...@gmail.com> wrote:

Hi Pratik,

I am trying to setup new app named as 'church_management'. After setting up app I am getting error message "Internal Server Error".

Steps I have followed:

1. Logged in as user erpnext
2. cloned church_management app under app folder
3. activated environment `env/bin/activate`
4. setup app, `python setup.py develop`
5. added church_management app to apps.txt under sites directory

Last time, restarting gunicorn have resolved this issue. 
Please assist me to resolve this issue and please let me know the steps to avoid such error in future.

Thanks,
Saurabh



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/72320199-ccac-47ea-b448-333559f69192%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/206922FE-5D8E-4EDC-8167-D8BFAD7074F4%40gmail.com.

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

Please Consider following repo,


Regards,

On Wed, Sep 10, 2014 at 4:07 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Can you share your repo?



On 10-Sep-2014, at 3:29 pm, saurabh palande <sa...@gmail.com> wrote:

Hi Pratik,

I am trying to setup new app named as 'church_management'. After setting up app I am getting error message "Internal Server Error".

Steps I have followed:

1. Logged in as user erpnext
2. cloned church_management app under app folder
3. activated environment `env/bin/activate`
4. setup app, `python setup.py develop`
5. added church_management app to apps.txt under sites directory

Last time, restarting gunicorn have resolved this issue.
Please assist me to resolve this issue and please let me know the steps to avoid such error in future.

Thanks,
Saurabh



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/72320199-ccac-47ea-b448-333559f69192%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/206922FE-5D8E-4EDC-8167-D8BFAD7074F4%40gmail.com.


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



--
S.S.Palande



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/CAGCrPP8YyJXPR0qxjw5G7awSF9KqsFSw%2Bhh%3DDqv_mytC6RQrYg%40mail.gmail.com.

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

On Wed, Sep 10, 2014 at 3:29 PM, saurabh palande sa...@gmail.com wrote:

Hi Pratik,

I am trying to setup new app named as ‘church_management’. After setting up
app I am getting error message “Internal Server Error”.

Steps I have followed:

  1. Logged in as user erpnext
  2. cloned church_management app under app folder
  3. activated environment env/bin/activate
  4. setup app, python setup.py develop
  5. added church_management app to apps.txt under sites directory

Last time, restarting gunicorn have resolved this issue.
Please assist me to resolve this issue and please let me know the steps to
avoid such error in future.

Thanks,
Saurabh


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/72320199-ccac-47ea-b448-333559f69192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Just checked in this patch

We have a different deployment process, so didn’t hit this limitation.

Thanks,

Pratik
erpnext