Fiedzia / Fang-of-Mongo

web based gui for mongodb created with pyhon, django and jquery.
http://linuxcoder.co.uk:8000/fangofmongo/
Other
260 stars 61 forks source link

Pymongo has moved the 'binary' module to 'bson' #11

Open derekmcold opened 14 years ago

derekmcold commented 14 years ago

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.

derekmcold commented 14 years ago

Forked and fixed:

git://github.com/derek/Fang-of-Mongo.git

davidmiller commented 13 years ago

Still an issue for me - this commit fixes it though : http://github.com/derek/Fang-of-Mongo/commit/a5de189acca4de700533e7396e78bc336abba5cb

ashokrkm commented 13 years ago

thanks for the fork and fix, works great now.

drubin commented 13 years ago

Thanks derek this fixes it for me as well.. Maybe the owner of the project could actually accept this patch?

Have you submitted a pull request?

4ybaka commented 13 years ago

Still not works for me in both repos.

JeffAMcGee commented 13 years ago

The patch did not work for me, so I wrote another one. The code is attached to the pull request in issue #14.

My fork with just that one patch is here: https://github.com/JeffAMcGee/Fang-of-Mongo/tree/fix-binary

martinhbramwell commented 13 years ago

Jeff,

I tried your patch but get the following. I know nothing about Python so I'm afraid I don't know where to begin to try to solve the problem myself. Sorry.

LucyLynxVps:~/programs/org/fangOfMongo/Fang-of-Mongo/fangofmongo$ python ./manage.py runserver Traceback (most recent call last): File "./manage.py", line 11, in execute_manager(settings) File "/usr/lib/pymodules/python2.6/django/core/management/init.py", line 362, in execute_manager utility.execute() File "/usr/lib/pymodules/python2.6/django/core/management/init.py", line 303, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/pymodules/python2.6/django/core/management/init.py", line 252, in fetch_command app_name = get_commands()[subcommand] File "/usr/lib/pymodules/python2.6/django/core/management/init.py", line 101, in get_commands apps = settings.INSTALLED_APPS File "/usr/lib/pymodules/python2.6/django/utils/functional.py", line 269, in getattr self._setup() File "/usr/lib/pymodules/python2.6/django/conf/init.py", line 40, in _setup self._wrapped = Settings(settings_module) File "/usr/lib/pymodules/python2.6/django/conf/init.py", line 108, in init os.environ['TZ'] = self.TIME_ZONE File "/usr/lib/python2.6/os.py", line 471, in setitem putenv(key, item) TypeError: putenv() argument 2 must be string, not None LucyLynxVps:~/programs/org/fangOfMongo/Fang-of-Mongo/fangofmongo$