Hi
I always use the command:
lib/wnf.py --update origin master
After running the update thats when the error comes up, and then i fail to log in.
let me post line by line so you have a better idea:
[start]
From git://
github.com/webnotes/wnframework * branch master -> FETCH_HEAD
Updating 441c1dd..25e4a93
Fast-forward
core/page/data_import_tool/data_import_tool.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
From git://
github.com/webnotes/erpnext * branch master -> FETCH_HEAD
Already up-to-date.
/usr/local/lib/python2.6/dist-packages/pytz/__init__.py:35: UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/python2.6 is being added to sys.path
from pkg_resources import resource_stream
Traceback (most recent call last):
File "lib/wnf.py", line 494, in <module>
run()
File "lib/wnf.py", line 405, in run
update_erpnext(options.update[0], options.update[1])
File "lib/wnf.py", line 77, in update_erpnext
patch_sync_build()
File "lib/wnf.py", line 80, in patch_sync_build
patch_sync()
File "lib/wnf.py", line 91, in patch_sync
sync_all()
File "lib/wnf.py", line 73, in sync_all
webnotes.model.sync.sync_all(force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 12, in sync_all
sync_for("lib", force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 18, in sync_for
folder), force, sync_everything)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 39, in walk_and_sync
if reload_doc(module_name, doctype, name, force):
File "/var/www/erpnext/lib/webnotes/modules/__init__.py", line 73, in reload_doc
return import_files(module, dt, dn, force)
File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 35, in import_files
return import_file(module, dt, dn, force)
File "/var/www/erpnext/lib/webnotes/modules/import_file.py", line 45, in import_file
ret = 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_doclist
new_bean.insert()
File "/var/www/erpnext/lib/webnotes/model/bean.py", line 268, in insert
return self.save()
File "/var/www/erpnext/lib/webnotes/model/bean.py", line 279, in save
self.save_main()
File "/var/www/erpnext/lib/webnotes/model/bean.py", line 229, in save_main
self.doc.save(check_links = False, ignore_fields = self.ignore_fields)
File "/var/www/erpnext/lib/webnotes/model/doc.py", line 426, in save
keep_timestamps=keep_timestamps)
File "/var/www/erpnext/lib/webnotes/model/doc.py", line 380, in _update_values
(self.doctype, ', '.join(update_str), "%s"), values)
File "/var/www/erpnext/lib/webnotes/db.py", line 115, in sql
raise e
_mysql_exceptions.OperationalError: (1054, "Unknown column 'report_type' in 'field list'")
[end]
On Thursday, 7 March 2013 09:10:10 UTC+2, Anand Doshi wrote:
Hi Joseph,
Did you use this command:
lib/wnf.py --update origin master
or did you just pull the git updates and start using the app?
When and where are you getting this error?
-Anand.
Hi
I have been trying to update ERPnext but i keep getting this error.
File "/var/www/erpnext/lib/webnotes/db.py", line 115, in sql
raise e
_mysql_exceptions.OperationalError: (1054, "Unknown column 'report_type' in 'field list'")
What do you think could be the problem. Please let me know how i can pass this error because i ma failing to update.
Thanks
--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.