我试图从版本< 0.9.10'更新石墨。至' 0.9.13'我打破了石墨装置。
问题是图形图像不再呈现,但树视图仍然有效,所有旧数据仍然存在。
我得到的追溯是:
追踪(最近一次呼叫最后一次):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 99, in get_response
request.path_info)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 271, in resolve
sub_match = pattern.resolve(new_path)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 271, in resolve
sub_match = pattern.resolve(new_path)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 159, in resolve
return ResolverMatch(self.callback, args, kwargs, self.name)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 168, in _get_callback
raise ViewDoesNotExist("Could not import %s. Error was: %s" % (mod_name, str(e)))
ViewDoesNotExist: Could not import graphite.render.views. Error was: cannot import name timezone
如果我尝试/dashboard
,我也会遇到同样的错误。
安装了Python 2.7。
答案 0 :(得分:0)
答案是我在需要1.4.1时安装了django版本1.3.1,安装修复了我的问题。