fiedzia / fang-of-mongo Goto Github PK
View Code? Open in Web Editor NEWweb based gui for mongodb created with pyhon, django and jquery.
Home Page: http://linuxcoder.co.uk:8000/fangofmongo/
License: Other
web based gui for mongodb created with pyhon, django and jquery.
Home Page: http://linuxcoder.co.uk:8000/fangofmongo/
License: Other
This may sound stupid, but how do you start FOM?
The description has a typo where python is spelled as pyhon.
Root cause:
This project is very old and not maintained any more. In other words scrap it and look for something else.
If you still want to use this, you need to use an earlier Django version than 1.4:
execute_manager deprecated in Django 1.4 as part of the project layout refactor and was removed in 1.6 per the deprecation timeline: https://docs.djangoproject.com/en/1.4/internals/deprecation/#id3
To fix this error you should either install a compatible version of Django for the project or update the manage.py to new style which does not use execute_manager: https://docs.djangoproject.com/en/1.4/releases/1.4/#updated-default-project-layout-and-manage-py Most likely if your manage.py is not compatible with 1.6 then neither is the rest of the project. You should find the appropriate Django version for the project.
can't sort ?
Hi,
Even if json-utils is installed (pip install json_utils), I still get this error :
ImportError at /fangofmongo/
cannot import name json_util
Request Method: GET
Request URL: http://localhost:8000/fangofmongo/
Django Version: 1.4.1
Exception Type: ImportError
Exception Value:
cannot import name json_util
Exception Location: /Users/chmoulli/Temp/Fang-of-Mongo/fangofmongo/fom/views.py in , line 9
Python Executable: /usr/bin/python
Python Version: 2.7.1
Python Path:
['/Users/chmoulli/Temp/Fang-of-Mongo/fangofmongo',
'/Library/Python/2.7/site-packages/Pygments-1.5-py2.7.egg',
'/Library/Python/2.7/site-packages/nodeenv-0.5.2-py2.7.egg',
'/Library/Python/2.7/site-packages/Markdown-2.1.1-py2.7.egg',
'/Library/Python/2.7/site-packages/elementtree-1.2.7_20070827_preview-py2.7.egg',
'/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages']
What is the python dependency which is missing ?
Regards,
Charles
hi, when I log in the app I receive an alert with this message:
error: AttributeError("'module' object has no attribute 'json_util'",)
I have already replaced
from pymongo import json_util
with
from bson import json_util
in the view
what am I missing now?
thanks in advance
html_text.replace is not a function
[Break on this error] return html_text.replace(/&/g,'&am...(/</g,'<').replace(/"/g,'"');
fangof...tils.js (line 6
http://img687.imageshack.us/img687/9236/screenshot20100412at544.png
Pymongo 1.8
Django 1.2 (it seems)
... this project is very old and has some weird quirks. Maybe starting from scratch is something that is needed for this.
Hello,
There is a issue when trying to connect to a server that has restrictions on reading the database list.
On my setup the user I'm using only has permissions on a specific database.
From console I connect using
mongo myhost:27017/allowed_database -u user -p pass
On the FangOfMongo login page there is no way to specify the database.
I hope to see this feature added :)
Im new at this, although it looks like some important information is not set in the install file:
Probably this could be fixed using the settings.py but no guide can be found for the fang of mongo. Please Help,
Environment:
Request Method: GET
Request URL: http://localhost:8000/fangofmongo/
Django Version: 1.4
Python Version: 2.6.5
Installed Applications:
('django.contrib.contenttypes', 'fangofmongo.fom')
Installed Middleware:
()
Traceback:
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py" in get_response
response = callback(request, _callback_args, *_callback_kwargs)
return render_to_response('fom/templates/start_page.html', {})
return HttpResponse(loader.render_to_string(_args, *_kwargs), **httpresponse_kwargs)
t = get_template(template_name)
template, origin = find_template(template_name)
loader = find_template_loader(loader_name)
raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))
Exception Type: ImproperlyConfigured at /fangofmongo/
Exception Value: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"
Get an error:
AttributeError module object has no attribute 'binary'
Caused by the latest pymongo 1.9 moving the 'binary' module from pymongo to bson.
SyntaxError at /fangofmongo/
invalid syntax (views.py, line 127)
Request Method: GET
Request URL: http://192.168.9.109:8080/fangofmongo/
Django Version: 1.2.3
Exception Type: SyntaxError
Exception Value:
invalid syntax (views.py, line 127)
Exception Location: /usr/lib/python2.4/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path: ['/home/jia.zhao/Fang-of-Mongo/fangofmongo', '/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r85381-py2.4.egg', '/usr/lib/python2.4/site-packages/pymongo-1.9-py2.4-linux-i686.egg', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0']
Server time: Sat, 27 Nov 2010 17:41:02 +0000
hi,
after starting fang-of-mongo i'm receiving the following error as javascript alert.
ReferenceError: fom_init_login_form is not defined
the connect button is also missing.
thanks and cheers,
marc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.