Script report error

Hello All,
   We have added a script report for customer, this report have around 60000+ rows , when i run this report it displays following error on javascript console.

  1. Uncaught RangeError: Maximum call stack size exceeded
    1. p.extend.map
    2. wn.views.QueryReport.Class.extend.make_data
    3. wn.views.QueryReport.Class.extend.make_results
    4. wn.call.callback
    5. ajax_args.success
    6. k
    7. l.fireWith
    8. y
    9. d
what should i do?

Thanks and regards,
Gangadhar kadam



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

    For more options, visit https://groups.google.com/groups/opt_out.
sorry I forget to add link to pastebin code "http://pastebin.com/jhGcViCa" I have paste my report code .

Thanks and regards,
Gangadhar kadam


On 23 August 2013 10:12, gangadhar kadam <em...@gmail.com> wrote:
Hello All,
We have added a script report for customer, this report have around 60000+ rows , when i run this report it displays following error on javascript console.

  1. Uncaught RangeError: Maximum call stack size exceeded
    1. p.extend.map
    2. wn.views.QueryReport.Class.extend.make_data
    3. wn.views.QueryReport.Class.extend.make_results
    4. wn.call.callback
    5. ajax_args.success
    6. k
    7. l.fireWith
    8. y
    9. d
what should i do?

Thanks and regards,
Gangadhar kadam



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

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




--
Thanks & Regards,
Mr.Gangadhar N.Kadam.
Cell: +91 9960066444
Software Engineer,
New Indictrans Technologies Pvt. Ltd., Pune


P SAVE TREES - Please consider the environment before printing this email.

SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping prevent global warming by reducing consumption of power... ARE YOU?



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

    For more options, visit https://groups.google.com/groups/opt_out.
It is going into recursion. Without your code, we can't guess any further. 

Sent from my phone

On 23-Aug-2013, at 10:12 AM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,
   We have added a script report for customer, this report have around 60000+ rows , when i run this report it displays following error on javascript console.

  1. Uncaught RangeError: Maximum call stack size exceeded
    1. p.extend.map
    2. wn.views.QueryReport.Class.extend.make_data
    3. wn.views.QueryReport.Class.extend.make_results
    4. wn.call.callback
    5. ajax_args.success
    6. k
    7. l.fireWith
    8. y
    9. d
what should i do?

Thanks and regards,
Gangadhar kadam



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

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



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

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Gangadhar,

We found the issue and fixed it. Please pull latest updates.

Thanks,
Anand.

On 23-Aug-2013, at 10:44 AM, Anand Doshi <an...@iwebnotes.com> wrote:

It is going into recursion. Without your code, we can't guess any further. 

Sent from my phone

On 23-Aug-2013, at 10:12 AM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,
   We have added a script report for customer, this report have around 60000+ rows , when i run this report it displays following error on javascript console.

  1. Uncaught RangeError: Maximum call stack size exceeded
    1. p.extend.map
    2. wn.views.QueryReport.Class.extend.make_data
    3. wn.views.QueryReport.Class.extend.make_results
    4. wn.call.callback
    5. ajax_args.success
    6. k
    7. l.fireWith
    8. y
    9. d
what should i do?

Thanks and regards,
Gangadhar kadam



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

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



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

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Anand,
Thanks a lot for your reply.
Since the code base for this project is not up-to-date and is little old, it is not possible right now to pull updates as suggested by you.

May I request you to let us know which revision/commit has necessary changes if possible? We will do those changes manually for now. In future, we will be creating a fork for this project.

Thanks and regards,
Gangadhar kadam


On 23 August 2013 11:30, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Gangadhar,

We found the issue and fixed it. Please pull latest updates.

Thanks,
Anand.

On 23-Aug-2013, at 10:44 AM, Anand Doshi <an...@iwebnotes.com> wrote:

It is going into recursion. Without your code, we can't guess any further.

Sent from my phone

On 23-Aug-2013, at 10:12 AM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,
We have added a script report for customer, this report have around 60000+ rows , when i run this report it displays following error on javascript console.

  1. Uncaught RangeError: Maximum call stack size exceeded
    1. p.extend.map
    2. wn.views.QueryReport.Class.extend.make_data
    3. wn.views.QueryReport.Class.extend.make_results
    4. wn.call.callback
    5. ajax_args.success
    6. k
    7. l.fireWith
    8. y
    9. d
what should i do?

Thanks and regards,
Gangadhar kadam



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

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




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

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




--
Thanks & Regards,
Mr.Gangadhar N.Kadam.
Cell: +91 9960066444
Software Engineer,
New Indictrans Technologies Pvt. Ltd., Pune


P SAVE TREES - Please consider the environment before printing this email.

SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping prevent global warming by reducing consumption of power... ARE YOU?



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

    For more options, visit https://groups.google.com/groups/opt_out.
Check the latest commit for query_report.js file.

Thanks,
Anand.

On 23-Aug-2013, at 5:48 PM, gangadhar kadam <em...@gmail.com> wrote:

Hi Anand,
Thanks a lot for your reply.
Since the code base for this project is not up-to-date and is little old, it is not possible right now to pull updates as suggested by you. 

May I request you to let us know which revision/commit has necessary changes if possible? We will do those changes manually for now. In future, we will be creating a fork for this project.

Thanks and regards,
Gangadhar kadam


On 23 August 2013 11:30, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Gangadhar,

We found the issue and fixed it. Please pull latest updates.

Thanks,
Anand.

On 23-Aug-2013, at 10:44 AM, Anand Doshi <an...@iwebnotes.com> wrote:

It is going into recursion. Without your code, we can't guess any further. 

Sent from my phone

On 23-Aug-2013, at 10:12 AM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,
   We have added a script report for customer, this report have around 60000+ rows , when i run this report it displays following error on javascript console.

  1. Uncaught RangeError: Maximum call stack size exceeded
    1. p.extend.map
    2. wn.views.QueryReport.Class.extend.make_data
    3. wn.views.QueryReport.Class.extend.make_results
    4. wn.call.callback
    5. ajax_args.success
    6. k
    7. l.fireWith
    8. y
    9. d
what should i do?

Thanks and regards,
Gangadhar kadam



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

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





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

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




--
Thanks & Regards,
Mr.Gangadhar N.Kadam.
Cell: +91 9960066444
Software Engineer,
New Indictrans Technologies Pvt. Ltd., Pune

SAVE TREES - Please consider the environment before printing this email.
SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping  prevent global warming by reducing consumption of power... ARE YOU?



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

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



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

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