Giter Site home page Giter Site logo

fiedzia / fang-of-mongo Goto Github PK

View Code? Open in Web Editor NEW
259.0 259.0 61.0 3.07 MB

web based gui for mongodb created with pyhon, django and jquery.

Home Page: http://linuxcoder.co.uk:8000/fangofmongo/

License: Other

Python 16.78% JavaScript 78.75% CSS 4.46%

fang-of-mongo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fang-of-mongo's Issues

ReferenceError: fom_init_login_form is not defined

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

ImproperlyConfigured at /fangofmongo/

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

  1.                     response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/home/hmarrao/Programas/Fiedzia-Fang-of-Mongo-444fc22/fangofmongo/fom/views.py" in start_page
  2. return render_to_response('fom/templates/start_page.html', {})
    
    File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/shortcuts/init.py" in render_to_response
  3. return HttpResponse(loader.render_to_string(_args, *_kwargs), **httpresponse_kwargs)
    
    File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/template/loader.py" in render_to_string
  4.     t = get_template(template_name)
    
    File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/template/loader.py" in get_template
  5. template, origin = find_template(template_name)
    
    File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/template/loader.py" in find_template
  6.         loader = find_template_loader(loader_name)
    
    File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/template/loader.py" in find_template_loader
  7.         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'"

cannot import name json_util

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

ImportError: cannot import name execute_manager

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.

Installation Requirements

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.

Specify database at login

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 :)

is this a bug?

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

Starting FOM

This may sound stupid, but how do you start FOM?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.