﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
38	Cannot specify custom monod port	Sebastian Spaeth	Christopher Allan Webber	"{{{
#!rst
I add

[app:mediagoblin]
...
db\_port = 27017

to use a custom mongod port (it wasn't finding the running one and
I don't know which is the default it tries).

I get

::

      File ""/home/spaetz/src/mediagoblin/eggs/PasteDeploy-1.3.4-py2.7.egg/paste/deploy/util/fixtypeerror.py"", line 57, in fix_call
        val = callable(*args, **kw)
      File ""/home/spaetz/src/mediagoblin/mediagoblin/app.py"", line 118, in paste_app_factory
        app_config.get('db_host'), app_config.get('db_port'))
      File ""/home/spaetz/src/mediagoblin/eggs/mongokit-0.6-py2.7.egg/mongokit/connection.py"", line 52, in __init__
        super(Connection, self).__init__(*args, **kwargs)
      File ""/usr/lib/pymodules/python2.7/pymongo/connection.py"", line 242, in __init__
        raise TypeError(""port must be an instance of int"")
    TypeError: port must be an instance of int

I guess there is a missing int() wrapper somewhere.



}}}"	defect	closed	minor			FIXED			
