erpnext v4 update error

22 views
Skip to first unread message

trvr.chandu trvr

unread,
Jun 6, 2014, 3:42:42 PM6/6/14
to erpnext-dev...@googlegroups.com
Running latest for eipl
--------------------------------------------------
Executing execute:frappe.reload_doc('core', 'doctype', 'docperm') #2014-06-04 in
 eipl (erp)
Success
Executing execute:frappe.reload_doc('core', 'doctype', 'report') #2014-06-03 in
eipl (erp)
Success
Executing execute:frappe.db.sql("delete from `tabDocField` where parent='0'") in
 eipl (erp)
Success
Executing frappe.patches.v4_0.set_user_permissions in eipl (erp)
Success
Executing frappe.patches.v4_0.create_custom_field_for_owner_match in eipl (erp)
Success
Executing frappe.patches.v4_0.enable_scheduler_in_system_settings in eipl (erp)
Success
Executing execute:frappe.db.sql("update tabReport set apply_user_permissions=1")
 #2014-06-03 in eipl (erp)
Success
Executing frappe.patches.v4_0.replace_deprecated_timezones in eipl (erp)
Traceback (innermost last):
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handl
er.py", line 66, in execute_patch
    frappe.get_attr(patchmodule + ".execute")()
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/patches/v4_0/replac
e_deprecated_timezones.py", line 14, in execute
    for user, time_zone in frappe.db.sql("select name, time_zone from `tabUser`
where ifnull(time_zone, '')!=''"):
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/database.py", line
118, in sql
    self._cursor.execute(query)
  File "/home/env/bin/frappe/frappe-bench/env/local/lib/python2.7/site-packages/
MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
  File "/home/env/bin/frappe/frappe-bench/env/local/lib/python2.7/site-packages/
MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
 OperationalError: (1054, "Unknown column 'time_zone' in 'field list'")

frappe.patches.v4_0.replace_deprecated_timezones: failed: STOPPED
Traceback (most recent call last):
  File "/home/env/bin/frappe/frappe-bench/env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.0.1', 'console_scripts', 'frappe')()
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 39, i
n main
    return run(fn, args)
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 80, i
n run
    out = globals().get(fn)(**args)
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 64, i
n new_fn
    return fn(*args, **new_kwargs)
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 416,
in latest
    frappe.modules.patch_handler.run_all()
  File "/home/env/bin/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handl
er.py", line 27, in run_all
    raise PatchError(patch)
frappe.modules.patch_handler.PatchError: frappe.patches.v4_0.replace_deprecated_
timezones

Anand Doshi

unread,
Jun 6, 2014, 10:56:17 PM6/6/14
to ERPNext Developer's Forum
Hi

Please update. We have fixed this issue.

Thanks,
Anand.


--
Note:
 
If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. 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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/fa611198-fa84-46d8-8ba1-e1351380fc5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

trvr.chandu trvr

unread,
Jun 7, 2014, 1:40:50 PM6/7/14
to erpnext-dev...@googlegroups.com
Hi
Thanks for quick help
update is working well
Reply all
Reply to author
Forward
0 new messages