If I export a dashboard from 3.1.1, (file save doesn't work by the way, opens up a blank panel in your browser instead ), by viewing the json, I have to Error was in a custom method of a script that I called in views.py. Reply to this email directly, view it on GitHub #2816 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AACySRxHhuR_5bENgMgSj1xn98UCBC9xks5qr5uAgaJpZM4GCv75 . Please make sure your environment is up-to-date.
How does ssh run a command? share|improve this answer answered Jan 3 '13 at 23:43 Andre Soares 525916 add a comment| up vote 0 down vote I had the same problem. Explain it to me like I'm a physics grad: Greenhouse Effect How to include multimedia files in beamer Why did Sansa refuse to leave with Sandor Cleagane (Hound) during the Battle Terms Privacy Security Status Help You can't perform that action at this time.
Related 5780What does the “yield” keyword do?670Does Django scale?3Efficiently importing modules in Django views3Python/Django import error os.path23Tool for pinpointing circular imports in Python/Django?3django view called twice0Importing JSON data into Django View/Template1import share|improve this answer answered Feb 25 '11 at 16:45 Daniel Roseman 333k26416505 I've replaced the contents of views.py with print 'hello', but still the same error. I was hoping the api PUT interface to provide the same functionality as a “menu” import. http://stackoverflow.com/questions/10593194/django-views-does-not-exist-or-could-not-import asked 5 years ago viewed 4234 times active 5 years ago Linked 2 Problem with Django using Apache2 (mod_wsgi), Occassionally is “unable to import from module” for no apparent reason 0
If you want to import an exported dashboard you need to use the import HTTP API. run git log
Error was: No module named routes horizon migrated asked 2011-07-06 14:44:47 -0600 huslage 1 I did as the README on github suggested and now the app is doing: Environment: Request Method: https://github.com/grafana/grafana/issues/2816 Thanks, David Question information Language: English Edit question Status: Solved For: Graphite Edit question Assignee: No assignee Edit question Solved by: David DeVault Solved: 2011-12-19 Last query: 2011-12-19 Last reply: Related You could try running the install_venv.py script again (for openstack dashboard) or the bootstrap setup script (for horizon) to ensure you have the latest dependencies installed. This site is powered by Askbot. (GPLv3 or later; source).
Linked 0 Does adding a class to models.py ever cause “view does not exist” error? this contact form Check out the FAQ! larsf commented Sep 20, 2016 Hi Torkel, I expect the import to work just fine. The export UI is there to export dashboards and make them portable and importable to another instance, hence require some inputs to specify what local datasource the dashboard should use.
Error was: No module named timezone jeblair commented Mar 2, 2014 This change recently merged into 0.9.x which lists Django==1.3 as a dependency in requirements.txt Member brutasse commented Mar 3, 2014 My python path, as shown in the Django debug info, has both the containing folder and the app folder on it. The manual import via UI must munge the json and add this little bit to it, a proper roundtrip is 100% broken in 3.1.1.
Member torkelo commented Nov 29, 2016 What do mean? Copying the json shown and saving it to a file and then trying to import that file via the ui fails as well. Thanks! Related 5Django sys.path.append for project *and* app needed under WSGI2Django Apache wsgi virtualenv import error0django settings importing fails with wsgi1Import Error when run django with wsgi (apache)52Debugging Apache/Django/WSGI Bad Request (400)
Reload to refresh your session. At the moment the only way to get the export json of a dashboard is to view the json in the export panel (file save does not work, and perhaps that One caveat, make sure the id is set to null: "id": null, You can also populate the 4 input keys shown in the image from Torkel above with values from the http://sinistro.org/could-not/could-not-import-the-clipboard-because.html Content on this site is licensed under a CC-BY 3.0 license.
Is the OBJECTID in an Oracle Geodatabase table the primary key? return ResolverMatch(self.callback, args, kwargs, self.name) File "/root/src/openstack-dashboard/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/urlresolvers.py" in _get_callback 167.