We're experiencing a similar problem here, we try to update from a master from Sept. 16th using this method: https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi
ro...@domain:/var/www/erpnext# ./lib/wnf.py --build
Setting up lang files for hr...
Extracting / updating translatable strings...
Writing translations...
Traceback (most recent call last):
File "./lib/wnf.py", line 803, in <module>
main()
File "./lib/wnf.py", line 23, in main
run(fn, parsed_args)
File "./lib/wnf.py", line 43, in run
out = globals().get(fn)(**args)
File "./lib/wnf.py", line 34, in new_fn
return fn(*args, **new_kwargs)
File "./lib/wnf.py", line 348, in build
webnotes.build.bundle(False)
File "lib/webnotes/build.py", line 20, in bundle
check_lang()
File "lib/webnotes/build.py", line 52, in check_lang
update_translations()
File "lib/webnotes/translate.py", line 86, in update_translations
import_messages(lang, filename)
File "lib/webnotes/translate.py", line 311, in import_messages
for (basepath, folders, files) in os.walk('.'):
File "/usr/lib/python2.7/os.py", line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File "/usr/lib/python2.7/os.py", line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File "/usr/lib/python2.7/os.py", line 284, in walk
if isdir(join(top, name)):
File "/usr/lib/python2.7/posixpath.py", line 71, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
Am Mittwoch, 13. November 2013 09:09:33 UTC+1 schrieb gangadhar kadam:
Hello All,
we have run following commands in app and lib folder
sudo git add .
sudo git commit -a -m "to update"
and then in project folder
cd lib && git fetch origin && git checkout 1310 && cd ..
cd app && git fetch origin && git checkout 1310 && cd ..
then I checked the branch of app and lib , it was set to 1310
lib/wnf.py --update origin 1310
when I logged in and open the application, all customization (module labels, doctype labels in list,button etc) was not there.
Is this the correct procedure to update cgi version?
Thanks and Regards,
Gangadhar kadam