How to debug erpnext

Hi All,

I am new on erpnext.
I want to debug and add few more forms and reports in the system.
Please help me how can i do this.

Thanks



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/6785dad0-5761-4b37-855b-91120f267cca%40googlegroups.com.

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


On 26-Aug-2014, at 4:15 pm, Abdur Rehman Habib <ab...@gmail.com> wrote:

Hi All,

I am new on erpnext.
I want to debug and add few more forms and reports in the system.
Please help me how can i do this.

You will have to create your own app / plugin. More here:

https://frappe.io/developers


Thanks



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/6785dad0-5761-4b37-855b-91120f267cca%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/191A5DBC-847E-451C-BF09-7923BC141A2C%40gmail.com.

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

On Tuesday, 26 August 2014 17:33:51 UTC+5, rushabh wrote:


On 26-Aug-2014, at 4:15 pm, Abdur Rehman Habib <ab...@gmail.com> wrote:

Hi All,

I am new on erpnext.
I want to debug and add few more forms and reports in the system.
Please help me how can i do this.

You will have to create your own app / plugin. More here:



Thanks



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/6785dad0-5761-4b37-855b-91120f267cca%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/fed36349-d842-4066-9fdf-9214ebdf350c%40googlegroups.com.

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

actually i am very new on this and i want to debug some scripts please guide how can i do this. 
 



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/ca7c35d6-a195-4c99-bed5-506fc5d63a3e%40googlegroups.com.

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

Please refer to our developer guide for help in customizing creating ERPNext as per your requirement.



On Fri, Aug 29, 2014 at 3:03 PM, Abdur Rehman Habib <ab...@gmail.com> wrote:
hi rushabh,

actually i am very new on this and i want to debug some scripts please guide how can i do this.



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/ca7c35d6-a195-4c99-bed5-506fc5d63a3e%40googlegroups.com.

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



--
Thanks and Regards,
Umair Sayyed
www.erpnext.com



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/CAJ33fAsJR3E_fXekskjTrTQCC%3DQp8%3DDUZayB6KgM8c-mp%3D-5Jw%40mail.gmail.com.

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

Please refer to our developer guide for help in customizing creating ERPNext as per your requirement.

https://frappe.io/developers

For help in debugging, you should provide more details. Like what is the context, your custom script, and indicate what exactly is not working. Also provide browser console message when getting errors.


On Fri, Aug 29, 2014 at 3:03 PM, Abdur Rehman Habib <ab...@gmail.com> wrote:
hi rushabh,

actually i am very new on this and i want to debug some scripts please guide how can i do this.



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/ca7c35d6-a195-4c99-bed5-506fc5d63a3e%40googlegroups.com.

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



--
Thanks and Regards,
Umair Sayyed
www.erpnext.com



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/CAJ33fAvPYqYfxoSUHe7zxHLfCVvsK3PxEzeoY47zCSjp%2BiX6xA%40mail.gmail.com.

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

Actually i want to debug stock balance report it is showing wrong balance after creating landed cost voucher.
Console is not showing any error.

and can you please hints how to create new reports on erpnext.

Regards,
Abdur Rehman

On Friday, 29 August 2014 15:41:25 UTC+5, Umair Sayyed wrote:
Hello Abdul,

Please refer to our developer guide for help in customizing creating ERPNext as per your requirement.

https://frappe.io/developers

For help in debugging, you should provide more details. Like what is the context, your custom script, and indicate what exactly is not working. Also provide browser console message when getting errors.


On Fri, Aug 29, 2014 at 3:03 PM, Abdur Rehman Habib <ab...@gmail.com> wrote:
hi rushabh,

actually i am very new on this and i want to debug some scripts please guide how can i do this. 
 



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/ca7c35d6-a195-4c99-bed5-506fc5d63a3e%40googlegroups.com.

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



--
Thanks and Regards,
Umair Sayyed
www.erpnext.com



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/3b99e86f-f1c0-47c0-a3f0-76a8a05be532%40googlegroups.com.

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

I suggest checking Stock Ledger report than Stock Balance report to see data for specific transaction.

By wrong balance, do you mean wrong stock balance or wrong valuation of item? Landed Cost Voucher only affects valuation of items in Purchase Receipt, and not their stock level. Please check Stock Ledger report for the transaction in question.


On Mon, Sep 1, 2014 at 3:16 PM, Abdur Rehman Habib <ab...@gmail.com> wrote:
HI Umair,

Actually i want to debug stock balance report it is showing wrong balance after creating landed cost voucher.
Console is not showing any error.

and can you please hints how to create new reports on erpnext.

Regards,
Abdur Rehman

On Friday, 29 August 2014 15:41:25 UTC+5, Umair Sayyed wrote:
Hello Abdul,

Please refer to our developer guide for help in customizing creating ERPNext as per your requirement.

https://frappe.io/developers

For help in debugging, you should provide more details. Like what is the context, your custom script, and indicate what exactly is not working. Also provide browser console message when getting errors.


On Fri, Aug 29, 2014 at 3:03 PM, Abdur Rehman Habib <ab...@gmail.com> wrote:
hi rushabh,

actually i am very new on this and i want to debug some scripts please guide how can i do this.



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/ca7c35d6-a195-4c99-bed5-506fc5d63a3e%40googlegroups.com.

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



--
Thanks and Regards,

Umair Sayyed
www.erpnext.com



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/3b99e86f-f1c0-47c0-a3f0-76a8a05be532%40googlegroups.com.

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



--
Thanks and Regards,
Umair Sayyed
www.erpnext.com



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/CAJ33fAtP2b864yC3807CA%2Bf26t3A5c%3DeKU278CfEmY6nnuf_zg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
In PHP world, there are open source debug bar, which shows in browser along with the website, it shows sqls executed, time executed etc. Suppose Abdur Rehman Habib  was asking this. http://phpdebugbar.com/

now, while working with erpnext, we generally want to see which part(s), execution flows etc. which we could find useful resources, though in developer site has a guide, however that is far
enough away from a developer to work with frappe or erpnect.

在 2014年8月26日星期二UTC+8下午6时45分51秒,Abdur Rehman Habib写道:
Hi All,

I am new on erpnext.
I want to debug and add few more forms and reports in the system.
Please help me how can i do this.

Thanks



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/c6a3a38b-57a2-448e-ba36-df0cc8dc9481%40googlegroups.com.

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

Try settings "logging": 1 in site_config.json. It will show all queries that are being executed in the javascript console.

-Anand.



On Mon, Sep 1, 2014 at 3:28 PM, Y Y <ya…@gmail.com> wrote:

In PHP world, there are open source debug bar, which shows in browser along with the website, it shows sqls executed, time executed etc. Suppose Abdur Rehman Habib was asking this. http://phpdebugbar.com/


now, while working with erpnext, we generally want to see which part(s), execution flows etc. which we could find useful resources, though in developer site has a guide, however that is far

enough away from a developer to work with frappe or erpnect.

在 2014年8月26日星期二UTC+8下午6时45分51秒,Abdur Rehman Habib写道:
Hi All,

I am new on erpnext.
I want to debug and add few more forms and reports in the system.
Please help me how can i do this.

Thanks



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/c6a3a38b-57a2-448e-ba36-df0cc8dc9481%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/CAAQzbF0gbT%3D1Xdk7tDOy7YX7tL4A3purL43OQOnz4xyTSfSsuw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Great, Thanks,@Anand

在 2014年9月1日星期一UTC+8下午6时04分02秒,Anand Doshi写道:
YY,

Try settings "logging": 1 in site_config.json. It will show all queries that are being executed in the javascript console.

-Anand.



On Mon, Sep 1, 2014 at 3:28 PM, Y Y <ya…@gmail.com> wrote:

In PHP world, there are open source debug bar, which shows in browser along with the website, it shows sqls executed, time executed etc. Suppose Abdur Rehman Habib  was asking this. http://phpdebugbar.com/


now, while working with erpnext, we generally want to see which part(s), execution flows etc. which we could find useful resources, though in developer site has a guide, however that is far

enough away from a developer to work with frappe or erpnect.

在 2014年8月26日星期二UTC+8下午6时45分51秒,Abdur Rehman Habib写道:
Hi All,

I am new on erpnext.
I want to debug and add few more forms and reports in the system.
Please help me how can i do this.

Thanks



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/c6a3a38b-57a2-448e-ba36-df0cc8dc9481%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/60441346-414b-4a4c-a10b-c3cc0db20c90%40googlegroups.com.

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

I have added   "logging": 1 to site_config.json file and restarted the server. But I don't see any sql query being logged into the javascript console. Could you please check at your end to see if it is logging the sql query to the console? Thanks.

Kind regards,
Mayur Patel



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/85bc9c42-4b13-48cc-b97b-e6801a27283d%40googlegroups.com.

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

I suppose it used to. Now it just records the request and response data.

You can always trace error in a particular query by passing debug=1 to frappe.db.sql method.

-Anand.


On Tue, Sep 2, 2014 at 3:31 PM, MP <ma...@gmail.com> wrote:
Hi Anand,

I have added "logging": 1 to site_config.json file and restarted the server. But I don't see any sql query being logged into the javascript console. Could you please check at your end to see if it is logging the sql query to the console? Thanks.


Kind regards,
Mayur Patel



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/85bc9c42-4b13-48cc-b97b-e6801a27283d%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/CAAQzbF0DqD%2B%2B%2BqBtRwvyAke3J5GDg9KVk0SnOA8QoSHoX-%3DkRw%40mail.gmail.com.

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

Yes, this used to be there in version 3 and it was very helpful. It will be very useful to have in version 4 too.

Kind regards,
Mayur Patel



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/b884421a-a085-45f4-8164-e0281cf24c6a%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Is it possible, if add debug = 1 in site config json, then it will auto output sql in browser console?

在 2014年9月2日星期二UTC+8下午11时48分11秒,MP写道:
Thanks Anand.

Yes, this used to be there in version 3 and it was very helpful. It will be very useful to have in version 4 too.

Kind regards,
Mayur Patel



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/38e9f87d-1778-4d97-a651-85c337323936%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
now you can debug by using pycharm

On Wednesday, 3 September 2014 05:41:15 UTC+5, Y Y wrote:
Is it possible, if add debug = 1 in site config json, then it will auto output sql in browser console?

在 2014年9月2日星期二UTC+8下午11时48分11秒,MP写道:
Thanks Anand.

Yes, this used to be there in version 3 and it was very helpful. It will be very useful to have in version 4 too.

Kind regards,
Mayur Patel


  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/6e20ce22-e56a-445f-8a58-0fd5b79d05ca%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Looks like a advertisement, SEO reply.

在 2014年9月24日星期三UTC+8下午3时21分29秒,Abdur Rehman Habib写道:
now you can debug by using pycharm

On Wednesday, 3 September 2014 05:41:15 UTC+5, Y Y wrote:
Is it possible, if add debug = 1 in site config json, then it will auto output sql in browser console?

在 2014年9月2日星期二UTC+8下午11时48分11秒,MP写道:
Thanks Anand.

Yes, this used to be there in version 3 and it was very helpful. It will be very useful to have in version 4 too.

Kind regards,
Mayur Patel


  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/538b78e4-be3b-4f0d-8417-96894072cf94%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
it is not an advertisement i am debugging erpnext with pycharm

On Wednesday, 24 September 2014 14:52:14 UTC+5, Y Y wrote:
Looks like a advertisement, SEO reply.

在 2014年9月24日星期三UTC+8下午3时21分29秒,Abdur Rehman Habib写道:
now you can debug by using pycharm

On Wednesday, 3 September 2014 05:41:15 UTC+5, Y Y wrote:
Is it possible, if add debug = 1 in site config json, then it will auto output sql in browser console?

在 2014年9月2日星期二UTC+8下午11时48分11秒,MP写道:
Thanks Anand.

Yes, this used to be there in version 3 and it was very helpful. It will be very useful to have in version 4 too.

Kind regards,
Mayur Patel


  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/ebf26e14-db00-47bb-b93d-cfc6a241ab33%40googlegroups.com.

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

Hi abdurrehman82,

Could you kindly share the debug configurations you did to enable debugging using Pycharm. I am on Pycharm 4.5 and Erpnext V6

Thanks

i am using the following script to run erpnext and use breakpoint in pycharm like normal py module.

author = ‘ar’
from frappe import app
def main():
app.serve(site=‘site_name’, sites_path=‘site_path’)

if name == “main”:
main()