ERPNEXT Customization error

77 views
Skip to first unread message

Manish Shah

unread,
Aug 15, 2014, 8:11:22 AM8/15/14
to erpnext-developer-forum
Team,

I am facing error while trying to create new form in ERPNEXT

http://dpaste.com/0251XC3

Regards
Manish

Rushabh Mehta

unread,
Aug 15, 2014, 12:52:03 PM8/15/14
to erpnext-dev...@googlegroups.com
On 15-Aug-2014, at 5:41 pm, Manish Shah <shah...@gmail.com> wrote:

Team,

I am facing error while trying to create new form in ERPNEXT

http://dpaste.com/0251XC3

There is an error in your json syntax of your site_config.json

Read the trace!


Regards
Manish

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJgXDfvchZKfZPuQsh4tE6WJCEh%2BirWuniGV6F%3D09mH6bum29Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Manish Shah

unread,
Aug 16, 2014, 8:04:00 AM8/16/14
to erpnext-dev...@googlegroups.com
Hi Rushabh,

Thanks for your response, I was able to fix this. Now, I am facing new
error. This is happening when I try to create new form with only one
field of data type text. Refer to the url for tracelog

http://dpaste.com/2SMAG5M

Regards
Manish
> https://groups.google.com/d/msgid/erpnext-developer-forum/06B97FD2-5F8F-4150-8A9F-8D44752DAA28%40gmail.com.

Rushabh Mehta

unread,
Aug 16, 2014, 8:11:09 AM8/16/14
to erpnext-dev...@googlegroups.com

On 16-Aug-2014, at 5:33 pm, Manish Shah <shah...@gmail.com> wrote:

> Hi Rushabh,
>
> Thanks for your response, I was able to fix this. Now, I am facing new
> error. This is happening when I try to create new form with only one
> field of data type text. Refer to the url for tracelog
>
> http://dpaste.com/2SMAG5M

Maybe you have not run ```python setup.py develop``` in your app.
> To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJgXDftY374xssXcZkxU8PL0BqC4jZ2_XhLLz7gNDUCtE9uLVw%40mail.gmail.com.

Anand Doshi

unread,
Aug 16, 2014, 10:46:27 AM8/16/14
to ERPNext Developer's Forum
What's the modules.txt for your app.

-Anand


Manish Shah

unread,
Aug 17, 2014, 2:21:27 AM8/17/14
to erpnext-dev...@googlegroups.com
Hi Anand/Rushabh,

Thanks for your response.
I was getting the error even after executing python setup.py develop
command. Finally, I found the reason. I was trying to create new form
in the new module "Sample Module". Once I changed the module to one of
the existing one then the error got resolved.
Request to share steps to be followed to create new module.

Thanks & Regards
Manish
>> https://groups.google.com/d/msgid/erpnext-developer-forum/CAJgXDftY374xssXcZkxU8PL0BqC4jZ2_XhLLz7gNDUCtE9uLVw%40mail.gmail.com
>> .
>> https://groups.google.com/d/msgid/erpnext-developer-forum/D181591A-0665-4EA7-902F-30DE309A78FB%40gmail.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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF3uWfDq0DuO1U7djx%3DjR_1-w6ANe4mtrMMv3%2Bb68FmY%3Dg%40mail.gmail.com.

Rushabh Mehta

unread,
Aug 18, 2014, 12:27:55 AM8/18/14
to erpnext-dev...@googlegroups.com
Manish,

please answer Anand's earlier question. check the modules.txt file




Manish Shah

unread,
Aug 18, 2014, 9:25:49 AM8/18/14
to erpnext-dev...@googlegroups.com
Hi Rushabh,

Placed below the contents in the three different modules.txt

ERPNEXT:
Accounts
Buying
Home
HR
Manufacturing
Projects
Selling
Setup
Stock
Support
Utilities
Contacts

Shopping_Cart:
Shopping Cart

Frappe:
Core
Website

Regards
Manish
> https://groups.google.com/d/msgid/erpnext-developer-forum/120744CB-FAD7-45A6-8946-48759AD1D267%40gmail.com.

Rushabh Mehta

unread,
Aug 18, 2014, 12:37:16 PM8/18/14
to erpnext-dev...@googlegroups.com
Manish - your custom module must be present in the modules.txt of your app. Check if it is there.


Reply all
Reply to author
Forward
0 new messages