–
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 post to this group, send email to er...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/9sBrUg7mNowJ.
For more options, visit https://groups.google.com/groups/opt_out.
hi all,i have updated erp next after two months and got the below error during update. Pls help. thanks in advance.madhan.[ro...@erp erpnext]# lib/wnf.py --update origin master* branch master -> FETCH_HEADAlready up-to-date.* branch master -> FETCH_HEADAlready up-to-date.Executing execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19 in erpnextTraceback (innermost last):File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 72, in execute_patchexec patchmodule.split("execute:")[1] in globals()File "<string>", line 1, in <module>File "/var/www/erpnext/lib/webnotes/__init__.py", line 343, in reload_docreturn webnotes.modules.reload_doc(module, dt, dn)File "/var/www/erpnext/lib/webnotes/modules/__init__.py", line 73, in reload_docreturn import_files(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 35, in import_filesreturn import_file(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 45, in import_fileret = import_file_by_path(path, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 63, in import_file_by_pathimport_doclist(doclist)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 110, in import_doclistnew_bean.insert()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 271, in insertreturn self.save()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 282, in saveself.save_main()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 232, in save_mainself.doc.save(check_links = False, ignore_fields = self.ignore_fields)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 408, in savekeep_timestamps=keep_timestamps)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 362, in _update_values(self.doctype, ', '.join(update_str), "%s"), values)File "/var/www/erpnext/lib/webnotes/db.py", line 130, in sqlraise eOperationalError: (1054, "Unknown column 'print_format_type' in 'field list'")execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19: failed: STOPPEDBuilding js and css files...Wrote public/js/report-legacy.min.js - 43kWrote public/css/all-web.css - 150kWrote public/css/all-app.css - 196kWrote public/js/all-web.min.js - 33kWrote public/js/all-app.min.js - 547kWrote public/js/slickgrid.min.js - 108k–
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 post to this group, send email to er…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/9sBrUg7mNowJ.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<type 'exceptions.TypeError'> |
Python 2.6.6: /usr/bin/python Thu May 2 16:54:04 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/erpnext/public/web.py in () |
43 return webnotes.webutils.render(webnotes.form_dict.get('page')) |
44 |
45 if __name__=="__main__": |
46 init() |
47 respond() |
respond = <function respond> |
/var/www/erpnext/public/web.py in respond() |
41 import webnotes |
42 import webnotes.webutils |
43 return webnotes.webutils.render(webnotes.form_dict.get('page')) |
44 |
45 if __name__=="__main__": |
webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.webutils = <module 'webnotes.webutils' from '../lib/webnotes/webutils.pyc'>, webnotes.webutils.render = <function render>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object> |
/var/www/erpnext/lib/webnotes/webutils.py in render(page_name=None) |
15 html = get_html('index') |
16 except Exception: |
17 html = get_html('error') |
18 |
19 from webnotes.handler import eprint, print_zip |
html undefined, global get_html = <function get_html> |
/var/www/erpnext/lib/webnotes/webutils.py in get_html(page_name=u'error') |
38 |
39 #webnotes.connect() |
40 html = load_into_cache(page_name) |
41 from_cache = False |
42 |
html = u'', global load_into_cache = <function load_into_cache>, page_name = u'error' |
/var/www/erpnext/lib/webnotes/webutils.py in load_into_cache(page_name=u'error') |
92 |
93 def load_into_cache(page_name): |
94 args = prepare_args(page_name) |
95 if not args: |
96 return "" |
args undefined, global prepare_args = <function prepare_args>, page_name = u'error' |
/var/www/erpnext/lib/webnotes/webutils.py in prepare_args(page_name=u'error') |
140 return False |
141 |
142 update_template_args(page_name, args) |
143 |
144 return args |
global update_template_args = <function update_template_args>, page_name = u'error', args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>} |
/var/www/erpnext/app/startup/website.py in update_template_args(page_name=u'error', args={'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}) |
72 args[k] = cint(args.get(k) or 0) |
73 |
74 args.url = quote(cstr(get_request_site_address(full_address=True)), cstr("")) |
75 args.encoded_title = quote(cstr(args.title or ""), cstr("")) |
76 |
args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}, args.url = None, quote = <function quote>, global cstr = <function cstr>, get_request_site_address = <function get_request_site_address>, full_address undefined, builtin True = True |
/usr/lib/python2.6/urllib.py in quote(s=u'http://122.165.227.199/', safe=u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-') |
1232 for i in range(256): |
1233 c = chr(i) |
1234 safe_map[c] = (c in safe) and c or ('%%%02X' % i) |
1235 _safemaps[cachekey] = safe_map |
1236 res = map(safe_map.__getitem__, s) |
safe_map = {'\x00': '%00', '\x01': '%01', '\x02': '%02', '\x03': '%03', '\x04': '%04', '\x05': '%05', '\x06': '%06', '\x07': '%07', '\x08': '%08', '\t': '%09', ...}, c = '\x80', safe = u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-', i = 128 |
<type 'exceptions.TypeError'>: 'in <string>' requires string as left operand
args =
("'in <string>' requires string as left operand",)
message =
"'in <string>' requires string as left operand"
Hi,Please update again. We have released a fix.Thanks,Anand.On 02-May-2013, at 4:35 PM, Madhan kumar <ma...@gmail.com> wrote:
hi all,i have updated erp next after two months and got the below error during update. Pls help. thanks in advance.madhan.[ro...@erp erpnext]# lib/wnf.py --update origin master* branch master -> FETCH_HEADAlready up-to-date.* branch master -> FETCH_HEADAlready up-to-date.Executing execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19 in erpnextTraceback (innermost last):File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 72, in execute_patchexec patchmodule.split("execute:")[1] in globals()File "<string>", line 1, in <module>File "/var/www/erpnext/lib/webnotes/__init__.py", line 343, in reload_docreturn webnotes.modules.reload_doc(module, dt, dn)File "/var/www/erpnext/lib/webnotes/modules/__init__.py", line 73, in reload_docreturn import_files(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 35, in import_filesreturn import_file(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 45, in import_fileret = import_file_by_path(path, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 63, in import_file_by_pathimport_doclist(doclist)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 110, in import_doclistnew_bean.insert()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 271, in insertreturn self.save()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 282, in saveself.save_main()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 232, in save_mainself.doc.save(check_links = False, ignore_fields = self.ignore_fields)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 408, in savekeep_timestamps=keep_timestamps)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 362, in _update_values(self.doctype, ', '.join(update_str), "%s"), values)File "/var/www/erpnext/lib/webnotes/db.py", line 130, in sqlraise eOperationalError: (1054, "Unknown column 'print_format_type' in 'field list'")execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19: failed: STOPPEDBuilding js and css files...Wrote public/js/report-legacy.min.js - 43kWrote public/css/all-web.css - 150kWrote public/css/all-app.css - 196kWrote public/js/all-web.min.js - 33kWrote public/js/all-app.min.js - 547kWrote public/js/slickgrid.min.js - 108k–
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 post to this group, send email to er…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/9sBrUg7mNowJ.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Madhan
–
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 post to this group, send email to er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<type 'exceptions.TypeError'>Python 2.6.6: /usr/bin/python
Thu May 2 16:54:04 2013
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/erpnext/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get('page'))
44
45 if __name__=="__main__":
46 init()
47 respond()
respond = <function respond>
/var/www/erpnext/public/web.py in respond() 41 import webnotes
42 import webnotes.webutils
43 return webnotes.webutils.render(webnotes.form_dict.get('page'))
44
45 if __name__=="__main__":
webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.webutils = <module 'webnotes.webutils' from '../lib/webnotes/webutils.pyc'>, webnotes.webutils.render = <function render>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/erpnext/lib/webnotes/webutils.py in render(page_name=None) 15 html = get_html('index')
16 except Exception:
17 html = get_html('error')
18
19 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/erpnext/lib/webnotes/webutils.py in get_html(page_name=u'error') 38
39 #webnotes.connect()
40 html = load_into_cache(page_name)
41 from_cache = False
42
html = u'', global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/erpnext/lib/webnotes/webutils.py in load_into_cache(page_name=u'error') 92
93 def load_into_cache(page_name):
94 args = prepare_args(page_name)
95 if not args:
96 return ""
args undefined, global prepare_args = <function prepare_args>, page_name = u'error'
/var/www/erpnext/lib/webnotes/webutils.py in prepare_args(page_name=u'error') 140 return False
141
142 update_template_args(page_name, args)
143
144 return args
global update_template_args = <function update_template_args>, page_name = u'error', args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}
/var/www/erpnext/app/startup/website.py in update_template_args(page_name=u'error', args={'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}) 72 args[k] = cint(args.get(k) or 0)
73
74 args.url = quote(cstr(get_request_site_address(full_address=True)), cstr(""))
75 args.encoded_title = quote(cstr(args.title or ""), cstr(""))
76
args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}, args.url = None, quote = <function quote>, global cstr = <function cstr>, get_request_site_address = <function get_request_site_address>, full_address undefined, builtin True = True
/usr/lib/python2.6/urllib.py in quote(s=u'http://122.165.227.199/', safe=u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-') 1232 for i in range(256):
1233 c = chr(i)
1234 safe_map[c] = (c in safe) and c or ('%%%02X' % i)
1235 _safemaps[cachekey] = safe_map
1236 res = map(safe_map.__getitem__, s)
safe_map = {'\x00': '%00', '\x01': '%01', '\x02': '%02', '\x03': '%03', '\x04': '%04', '\x05': '%05', '\x06': '%06', '\x07': '%07', '\x08': '%08', '\t': '%09', ...}, c = '\x80', safe = u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-', i = 128 <type 'exceptions.TypeError'>: 'in <string>' requires string as left operand
args = ("'in <string>' requires string as left operand",)
message = "'in <string>' requires string as left operand"
--On Thu, May 2, 2013 at 4:42 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi,Please update again. We have released a fix.Thanks,Anand.On 02-May-2013, at 4:35 PM, Madhan kumar <ma...@gmail.com> wrote:
hi all,i have updated erp next after two months and got the below error during update. Pls help. thanks in advance.madhan.[ro…@erp erpnext]# lib/wnf.py --update origin master
* branch master -> FETCH_HEADAlready up-to-date.* branch master -> FETCH_HEADAlready up-to-date.Executing execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19 in erpnextTraceback (innermost last):File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 72, in execute_patchexec patchmodule.split("execute:")[1] in globals()File "<string>", line 1, in <module>File "/var/www/erpnext/lib/webnotes/__init__.py", line 343, in reload_docreturn webnotes.modules.reload_doc(module, dt, dn)File "/var/www/erpnext/lib/webnotes/modules/__init__.py", line 73, in reload_docreturn import_files(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 35, in import_filesreturn import_file(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 45, in import_fileret = import_file_by_path(path, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 63, in import_file_by_path
import_doclist(doclist)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 110, in import_doclistnew_bean.insert()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 271, in insertreturn self.save()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 282, in saveself.save_main()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 232, in save_mainself.doc.save(check_links = False, ignore_fields = self.ignore_fields)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 408, in savekeep_timestamps=keep_timestamps)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 362, in _update_values(self.doctype, ', '.join(update_str), "%s"), values)File "/var/www/erpnext/lib/webnotes/db.py", line 130, in sqlraise eOperationalError: (1054, "Unknown column 'print_format_type' in 'field list'")execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19: failed: STOPPEDBuilding js and css files...Wrote public/js/report-legacy.min.js - 43kWrote public/css/all-web.css - 150kWrote public/css/all-app.css - 196kWrote public/js/all-web.min.js - 33kWrote public/js/all-app.min.js - 547kWrote public/js/slickgrid.min.js - 108k–
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 post to this group, send email to er…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/9sBrUg7mNowJ.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Madhan
Madhan
–
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 post to this group, send email to er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
i get this in browser after the second updateOn Thu, May 2, 2013 at 5:02 PM, Madhan Kumar <ma...@gmail.com> wrote:
<type 'exceptions.TypeError'>Python 2.6.6: /usr/bin/python
Thu May 2 16:54:04 2013
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/var/www/erpnext/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get('page'))
44
45 if __name__=="__main__":
46 init()
47 respond()
respond = <function respond>
/var/www/erpnext/public/web.py in respond() 41 import webnotes
42 import webnotes.webutils
43 return webnotes.webutils.render(webnotes.form_dict.get('page'))
44
45 if __name__=="__main__":
webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.webutils = <module 'webnotes.webutils' from '../lib/webnotes/webutils.pyc'>, webnotes.webutils.render = <function render>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/erpnext/lib/webnotes/webutils.py in render(page_name=None) 15 html = get_html('index')
16 except Exception:
17 html = get_html('error')
18
19 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/erpnext/lib/webnotes/webutils.py in get_html(page_name=u'error') 38
39 #webnotes.connect()
40 html = load_into_cache(page_name)
41 from_cache = False
42
html = u'', global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/erpnext/lib/webnotes/webutils.py in load_into_cache(page_name=u'error') 92
93 def load_into_cache(page_name):
94 args = prepare_args(page_name)
95 if not args:
96 return ""
args undefined, global prepare_args = <function prepare_args>, page_name = u'error'
/var/www/erpnext/lib/webnotes/webutils.py in prepare_args(page_name=u'error') 140 return False
141
142 update_template_args(page_name, args)
143
144 return args
global update_template_args = <function update_template_args>, page_name = u'error', args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}
/var/www/erpnext/app/startup/website.py in update_template_args(page_name=u'error', args={'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}) 72 args[k] = cint(args.get(k) or 0)
73
74 args.url = quote(cstr(get_request_site_address(full_address=True)), cstr(""))
75 args.encoded_title = quote(cstr(args.title or ""), cstr(""))
76
args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}, args.url = None, quote = <function quote>, global cstr = <function cstr>, get_request_site_address = <function get_request_site_address>, full_address undefined, builtin True = True
/usr/lib/python2.6/urllib.py in quote(s=u'http://122.165.227.199/', safe=u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-') 1232 for i in range(256):
1233 c = chr(i)
1234 safe_map[c] = (c in safe) and c or ('%%%02X' % i)
1235 _safemaps[cachekey] = safe_map
1236 res = map(safe_map.__getitem__, s)
safe_map = {'\x00': '%00', '\x01': '%01', '\x02': '%02', '\x03': '%03', '\x04': '%04', '\x05': '%05', '\x06': '%06', '\x07': '%07', '\x08': '%08', '\t': '%09', ...}, c = '\x80', safe = u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-', i = 128 <type 'exceptions.TypeError'>: 'in <string>' requires string as left operand
args = ("'in <string>' requires string as left operand",)
message = "'in <string>' requires string as left operand"
--On Thu, May 2, 2013 at 4:42 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi,Please update again. We have released a fix.Thanks,Anand.On 02-May-2013, at 4:35 PM, Madhan kumar <ma...@gmail.com> wrote:
hi all,i have updated erp next after two months and got the below error during update. Pls help. thanks in advance.madhan.[ro…@erp erpnext]# lib/wnf.py --update origin master
* branch master -> FETCH_HEADAlready up-to-date.* branch master -> FETCH_HEADAlready up-to-date.Executing execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19 in erpnextTraceback (innermost last):File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 72, in execute_patchexec patchmodule.split("execute:")[1] in globals()File "<string>", line 1, in <module>File "/var/www/erpnext/lib/webnotes/__init__.py", line 343, in reload_docreturn webnotes.modules.reload_doc(module, dt, dn)File "/var/www/erpnext/lib/webnotes/modules/__init__.py", line 73, in reload_docreturn import_files(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 35, in import_filesreturn import_file(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 45, in import_fileret = import_file_by_path(path, force)File “/var/www/erpnext/lib/webnotes/modules/import_file.py”, line 63, in import_file_by_path
import_doclist(doclist)File “/var/www/erpnext/lib/webnotes/modules/import_file.py”, line 110, in import_doclistnew_bean.insert()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 271, in insertreturn self.save()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 282, in saveself.save_main()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 232, in save_mainself.doc.save(check_links = False, ignore_fields = self.ignore_fields)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 408, in savekeep_timestamps=keep_timestamps)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 362, in _update_values(self.doctype, ', '.join(update_str), "%s"), values)File "/var/www/erpnext/lib/webnotes/db.py", line 130, in sqlraise eOperationalError: (1054, "Unknown column 'print_format_type' in 'field list'")execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19: failed: STOPPEDBuilding js and css files...Wrote public/js/report-legacy.min.js - 43kWrote public/css/all-web.css - 150kWrote public/css/all-app.css - 196kWrote public/js/all-web.min.js - 33kWrote public/js/all-app.min.js - 547kWrote public/js/slickgrid.min.js - 108k–
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 post to this group, send email to er…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/9sBrUg7mNowJ.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Madhan
--
Madhan
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
HiSorry for this. Please update again.Thanks,Anand.On 02-May-2013, at 5:02 PM, Madhan Kumar <ma...@gmail.com> wrote:i get this in browser after the second updateOn Thu, May 2, 2013 at 5:02 PM, Madhan Kumar <ma...@gmail.com> wrote:
<type 'exceptions.TypeError'>Python 2.6.6: /usr/bin/python
Thu May 2 16:54:04 2013
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/var/www/erpnext/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get('page'))
44
45 if __name__=="__main__":
46 init()
47 respond()
respond = <function respond>
/var/www/erpnext/public/web.py in respond() 41 import webnotes
42 import webnotes.webutils
43 return webnotes.webutils.render(webnotes.form_dict.get('page'))
44
45 if __name__=="__main__":
webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.webutils = <module 'webnotes.webutils' from '../lib/webnotes/webutils.pyc'>, webnotes.webutils.render = <function render>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/erpnext/lib/webnotes/webutils.py in render(page_name=None) 15 html = get_html('index')
16 except Exception:
17 html = get_html('error')
18
19 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/erpnext/lib/webnotes/webutils.py in get_html(page_name=u'error') 38
39 #webnotes.connect()
40 html = load_into_cache(page_name)
41 from_cache = False
42
html = u'', global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/erpnext/lib/webnotes/webutils.py in load_into_cache(page_name=u'error') 92
93 def load_into_cache(page_name):
94 args = prepare_args(page_name)
95 if not args:
96 return ""
args undefined, global prepare_args = <function prepare_args>, page_name = u'error'
/var/www/erpnext/lib/webnotes/webutils.py in prepare_args(page_name=u'error') 140 return False
141
142 update_template_args(page_name, args)
143
144 return args
global update_template_args = <function update_template_args>, page_name = u'error', args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}
/var/www/erpnext/app/startup/website.py in update_template_args(page_name=u'error', args={'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}) 72 args[k] = cint(args.get(k) or 0)
73
74 args.url = quote(cstr(get_request_site_address(full_address=True)), cstr(""))
75 args.encoded_title = quote(cstr(args.title or ""), cstr(""))
76
args = {'int': <type 'int'>, 'disable_signup': 0, 'util... 'webnotes' from '../lib/webnotes/__init__.pyc'>}, args.url = None, quote = <function quote>, global cstr = <function cstr>, get_request_site_address = <function get_request_site_address>, full_address undefined, builtin True = True
/usr/lib/python2.6/urllib.py in quote(s=u'http://122.165.227.199/', safe=u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-') 1232 for i in range(256):
1233 c = chr(i)
1234 safe_map[c] = (c in safe) and c or ('%%%02X' % i)
1235 _safemaps[cachekey] = safe_map
1236 res = map(safe_map.__getitem__, s)
safe_map = {'\x00': '%00', '\x01': '%01', '\x02': '%02', '\x03': '%03', '\x04': '%04', '\x05': '%05', '\x06': '%06', '\x07': '%07', '\x08': '%08', '\t': '%09', ...}, c = '\x80', safe = u'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-', i = 128 <type 'exceptions.TypeError'>: 'in <string>' requires string as left operand
args = ("'in <string>' requires string as left operand",)
message = "'in <string>' requires string as left operand"
--On Thu, May 2, 2013 at 4:42 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi,Please update again. We have released a fix.Thanks,Anand.On 02-May-2013, at 4:35 PM, Madhan kumar <ma...@gmail.com> wrote:
hi all,i have updated erp next after two months and got the below error during update. Pls help. thanks in advance.madhan.[ro…@erp erpnext]# lib/wnf.py --update origin master
* branch master -> FETCH_HEADAlready up-to-date.* branch master -> FETCH_HEADAlready up-to-date.Executing execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19 in erpnextTraceback (innermost last):File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 72, in execute_patchexec patchmodule.split("execute:")[1] in globals()File "<string>", line 1, in <module>File "/var/www/erpnext/lib/webnotes/__init__.py", line 343, in reload_docreturn webnotes.modules.reload_doc(module, dt, dn)File "/var/www/erpnext/lib/webnotes/modules/__init__.py", line 73, in reload_docreturn import_files(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 35, in import_filesreturn import_file(module, dt, dn, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 45, in import_fileret = import_file_by_path(path, force)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 63, in import_file_by_path
import_doclist(doclist)File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 110, in import_doclistnew_bean.insert()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 271, in insertreturn self.save()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 282, in saveself.save_main()File "/var/www/erpnext/lib/webnotes/model/bean.py", line 232, in save_mainself.doc.save(check_links = False, ignore_fields = self.ignore_fields)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 408, in savekeep_timestamps=keep_timestamps)File "/var/www/erpnext/lib/webnotes/model/doc.py", line 362, in _update_values(self.doctype, ', '.join(update_str), "%s"), values)File "/var/www/erpnext/lib/webnotes/db.py", line 130, in sqlraise eOperationalError: (1054, "Unknown column 'print_format_type' in 'field list'")execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19: failed: STOPPEDBuilding js and css files...Wrote public/js/report-legacy.min.js - 43kWrote public/css/all-web.css - 150kWrote public/css/all-app.css - 196kWrote public/js/all-web.min.js - 33kWrote public/js/all-app.min.js - 547kWrote public/js/slickgrid.min.js - 108k–
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 post to this group, send email to er…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/9sBrUg7mNowJ.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Madhan
--
Madhan
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
–
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 post to this group, send email to er…@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Madhan
–
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 post to this group, send email to er...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.