URL: http://192.168.1.170:8080/ Module pylons.error:245 in respond >> app_iter = self.application(environ, detect_start_response) Module r2.config.middleware:302 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:427 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:371 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:386 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:107 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:107 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:107 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:500 in __call__ >> return self.app(environ, start_response) Module r2.config.middleware:523 in __call__ >> return self.app(environ, custom_start_response) Module pylons.wsgiapp:314 in __call__ >> return self.app(environ, start_response) Module beaker.middleware:73 in __call__ >> return self.app(environ, start_response) Module beaker.middleware:152 in __call__ >> return self.wrap_app(environ, session_start_response) Module routes.middleware:99 in __call__ >> response = self.app(environ, start_response) Module pylons.wsgiapp:94 in __call__ >> controller = self.resolve(environ, start_response) Module pylons.wsgiapp:170 in resolve >> return self.find_controller(controller) Module r2.config.middleware:534 in find_controller >> __import__(self.package_name + '.controllers') Module ?:22 in >> from listingcontroller import ListingController Module ?:22 in >> from reddit_base import RedditController, base_listing, organic_pos Module ?:27 in >> from r2.lib.base import BaseController, proxyurl Module ?:29 in >> from r2.lib.template_helpers import get_domain Module ?:22 in >> from r2.models import * Module ?:22 in >> from account import * Module ?:22 in >> from r2.lib.db.thing import Thing, Relation, NotFound Module ?:30 in >> import tdb_sql as tdb Module ?:276 in >> build_rel_tables() Module ?:260 in build_rel_tables >> index_commands(rel_data_table, 'data')) Module ?:59 in create_table >> t.bind.execute(i) Module sqlalchemy.engine.base:1202 in execute >> return connection.execute(statement, *multiparams, **params) Module sqlalchemy.engine.base:824 in execute >> return Connection.executors[c](self, object, multiparams, params) Module sqlalchemy.engine.base:888 in _execute_text >> return self.__execute_context(context) Module sqlalchemy.engine.base:896 in __execute_context >> self._cursor_execute(context.cursor, context.statement, context.parameters[0], context=context) Module sqlalchemy.engine.base:950 in _cursor_execute >> self._handle_dbapi_exception(e, statement, parameters, cursor, context) Module sqlalchemy.engine.base:931 in _handle_dbapi_exception >> raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect) : (ProgrammingError) function ip_network(character varying) does not exist LINE 1: ...comment on reddit_data_rel_inbox_account_comment (ip_network... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. "create index idx_ip_network_reddit_data_rel_inbox_account_comment on reddit_data_rel_inbox_account_comment (ip_network(value)) where key = 'ip'" {}