Hello, I’m pretty new, started following this guide Not Found and everything worked fine until I tried to save a record. I got the next message.
2014-08-15 00:08:36,701 Request Error
site: library
form: {‘action’: u’Save’,
‘cmd’: u’frappe.widgets.form.save.savedocs’,
‘doc’: u’{“docstatus”:0,“doctype”:“Library Member”,“name”:“New Library Member 1",“__islocal”:1,“__unsaved”:1,“owner”:"ex...@example.com”,“first_name”:“Gerardo”,“last_name”:“Rendon”,“email”:“asdf”}'}
Traceback (innermost last):
File “/home/vagrant/frappe-bench/apps/frappe/frappe/app.py”, line 49, in application
response = frappe.handler.handle()
File “/home/vagrant/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/vagrant/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/vagrant/frappe-bench/apps/frappe/frappe/init.py”, line 526, in call
return fn(*args, **newargs)
File “/home/vagrant/frappe-bench/apps/frappe/frappe/widgets/form/save.py”, line 12, in savedocs
doc = frappe.get_doc(json.loads(frappe.form_dict.doc))
File “/home/vagrant/frappe-bench/apps/frappe/frappe/init.py”, line 347, in get_doc
return frappe.model.document.get_doc(arg1, arg2)
File “/home/vagrant/frappe-bench/apps/frappe/frappe/model/document.py”, line 24, in get_doc
controller = get_controller(doctype)
File “/home/vagrant/frappe-bench/apps/frappe/frappe/model/document.py”, line 43, in get_controller
raise ImportError, doctype
ImportError: Library Member
Any idea?
–
Note:
If you are posting an issue,
- 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.
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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/785b2cc4-6b97-4138-9fb5-0ed8ef5037bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.