Error after update

I just upgreaded the ERPNext, and got the error below

From git://github.com/webnotes/wnframework

Already up-to-date.
Already up-to-date.
Executing patches.march_2013.p03_update_buying_amount in arktechto
Traceback (innermost last):
File "/var/www-data/erpnext/lib/webnotes/modules/patch_handler.py", line 74, in execute_patch
webnotes.get_method(patchmodule + ".execute")()
File "app/patches/march_2013/p03_update_buying_amount.py", line 10, in execute
print company[0]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 8: ordinal not in range(128)

patches.march_2013.p03_update_buying_amount: failed: STOPPED
Building js and css files…
Wrote public/js/report-legacy.min.js - 43k
Wrote public/css/all-web.css - 150k
Wrote public/css/all-app.css - 196k
Wrote public/js/all-web.min.js - 33k
Wrote public/js/all-app.min.js - 538k
Wrote public/js/slickgrid.min.js - 98k

and soon after, we are getting a blank page after login, and the following error in the console


Traceback (innermost last):
File "…/lib/webnotes/handler.py", line 156, in handle
execute_cmd(cmd)
File "…/lib/webnotes/handler.py", line 191, in execute_cmd
ret = call(method, webnotes.form_dict)
File "…/lib/webnotes/handler.py", line 208, in call
return fn(**newargs)
File "…/lib/webnotes/handler.py", line 54, in startup
webnotes.response.update(webnotes.sessions.get())
File "…/lib/webnotes/sessions.py", line 82, in get
bootinfo = get_bootinfo()
File "…/lib/webnotes/boot.py", line 60, in get_bootinfo
add_home_page(bootinfo, doclist)
File "…/lib/webnotes/boot.py", line 147, in add_home_page
page_doclist = webnotes.widgets.page.get(home_page)
File "…/lib/webnotes/widgets/page.py", line 37, in get
page.get_from_files()
File "…/lib/core/doctype/page/page.py", line 106, in get_from_files
self.doc.script = update_lang_js(self.doc.script, path)
File "…/lib/webnotes/translate.py", line 296, in update_lang_js
json.dumps(get_lang_data(path, webnotes.lang, 'js'))
TypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode'






Maxwell Morais
(+55 11) 3931-1412 Ramal 31
www.realizemodulados.com.br



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.

 

 

Fixed the issue. Please update again.

- Nabin Hait

On 09-Apr-2013, at 5:29 PM, Maxwell Morais wrote:

I just upgreaded the ERPNext, and got the error below

From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD

Already up-to-date.
Already up-to-date.
Executing patches.march_2013.p03_update_buying_amount in arktechto
Traceback (innermost last):
File “/var/www-data/erpnext/lib/webnotes/modules/patch_handler.py”, line 74, in execute_patch
webnotes.get_method(patchmodule + “.execute”)()
File “app/patches/march_2013/p03_update_buying_amount.py”, line 10, in execute
print company[0]
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe9’ in position 8: ordinal not in range(128)

patches.march_2013.p03_update_buying_amount: failed: STOPPED
Building js and css files…
Wrote public/js/report-legacy.min.js - 43k
Wrote public/css/all-web.css - 150k
Wrote public/css/all-app.css - 196k
Wrote public/js/all-web.min.js - 33k
Wrote public/js/all-app.min.js - 538k
Wrote public/js/slickgrid.min.js - 98k

 and soon after, we are getting a blank page after login, and the following error in the console


Traceback (innermost last):
File “…/lib/webnotes/handler.py”, line 156, in handle
execute_cmd(cmd)
File “…/lib/webnotes/handler.py”, line 191, in execute_cmd
ret = call(method, webnotes.form_dict)
File “…/lib/webnotes/handler.py”, line 208, in call
return fn(**newargs)
File “…/lib/webnotes/handler.py”, line 54, in startup
webnotes.response.update(webnotes.sessions.get())
File “…/lib/webnotes/sessions.py”, line 82, in get
bootinfo = get_bootinfo()
File “…/lib/webnotes/boot.py”, line 60, in get_bootinfo
add_home_page(bootinfo, doclist)
File “…/lib/webnotes/boot.py”, line 147, in add_home_page
page_doclist = webnotes.widgets.page.get(home_page)
File “…/lib/webnotes/widgets/page.py”, line 37, in get
page.get_from_files()
File “…/lib/core/doctype/page/page.py”, line 106, in get_from_files
self.doc.script = update_lang_js(self.doc.script, path)
File “…/lib/webnotes/translate.py”, line 296, in update_lang_js
json.dumps(get_lang_data(path, webnotes.lang, ‘js’))
TypeError: unsupported operand type(s) for +: ‘NoneType’ and ‘unicode’






Maxwell Morais
(+55 11) 3931-1412 Ramal 31
 www.realizemodulados.com.br




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.