Open merforga opened 6 years ago
nternal Server Error: /admin/raidar/encounter/
TypeError at /admin/raidar/encounter/ get_path_info() takes 1 positional argument but 2 were given
Request Method: GET Request URL: https://www.gw2raidar.com/admin/raidar/encounter/?q=BackingOutletsFeaturingCircuitsStrode&o=-8 Django Version: 2.0.4 Python Executable: /usr/bin/python3 Python Version: 3.5.3 Python Path: ['/var/www/apps/gw2raidar', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages'] Server time: Fri, 6 Apr 2018 00:57:09 +0000 Installed Applications: ['raidar.apps.RaidarConfig', 'corsheaders', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_swagger', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'taggit', 'django_extensions'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.gzip.GZipMiddleware']
Traceback:
File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py" in inner
File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/options.py" in wrapper
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in _wrapped_view
File "/usr/local/lib/python3.5/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/sites.py" in inner
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in _wrapper
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in bound_func
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/options.py" in changelist_view
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/options.py" in get_changelist_instance
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/views/main.py" in init
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/views/main.py" in get_queryset
File "/var/www/apps/gw2raidar/raidar/admin.py" in get_search_results
File "/usr/local/lib/python3.5/dist-packages/django/db/models/query.py" in filter
File "/usr/local/lib/python3.5/dist-packages/django/db/models/query.py" in _filter_or_exclude
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in add_q
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in _add_q
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in build_filter
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in solve_lookup_type
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in names_to_path
Exception Type: TypeError at /admin/raidar/encounter/ Exception Value: get_path_info() takes 1 positional argument but 2 were given Request information: USER: Merforga
GET: q = 'BackingOutletsFeaturingCircuitsStrode' o = '-8'
POST: No POST data
FILES: No FILES data
COOKIES: csrftoken = '6yKCCbOzSAKx1qjPXkqGoWCZevvA3BM8XvU07qCJ5aXvdmYwO8687JwQg3VnhgyJ' sessionid = 'frzqsyjk22mxxzmmfumkfjkdjtoou028' _gid = 'GA1.2.1581544596.1522707809' _hjIncludedInSample = '1' _ga = 'GA1.2.546305442.1500962802'
META: CONTEXT_DOCUMENT_ROOT = '/var/www/html' CONTEXT_PREFIX = '' CSRF_COOKIE = '6yKCCbOzSAKx1qjPXkqGoWCZevvA3BM8XvU07qCJ5aXvdmYwO8687JwQg3VnhgyJ' DOCUMENT_ROOT = '/var/www/html' GATEWAY_INTERFACE = 'CGI/1.1' HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8' HTTP_ACCEPT_ENCODING = 'gzip, deflate, br' HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.9' HTTP_COOKIE = '_ga=GA1.2.546305442.1500962802; csrftoken=6yKCCbOzSAKx1qjPXkqGoWCZevvA3BM8XvU07qCJ5aXvdmYwO8687JwQg3VnhgyJ; sessionid=frzqsyjk22mxxzmmfumkfjkdjtoou028; _gid=GA1.2.1581544596.1522707809; _hjIncludedInSample=1' HTTP_HOST = 'www.gw2raidar.com' HTTP_REFERER = 'https://www.gw2raidar.com/admin/raidar/encounter/?o=-8' HTTP_UPGRADE_INSECURE_REQUESTS = '1' HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36' HTTP_VIA = 'HTTPS/1.1 websensecg.resimac.com.au 0A960FF3' PATH_INFO = '/admin/raidar/encounter/' PATH_TRANSLATED = '/var/www/apps/gw2raidar/gw2raidar/wsgi.py/admin/raidar/encounter/' QUERY_STRING = 'q=BackingOutletsFeaturingCircuitsStrode&o=-8' REMOTE_ADDR = '210.215.153.10' REMOTE_PORT = '57915' REQUEST_METHOD = 'GET' REQUEST_SCHEME = 'https' REQUEST_URI = '/admin/raidar/encounter/?q=BackingOutletsFeaturingCircuitsStrode&o=-8' SCRIPT_FILENAME = '/var/www/apps/gw2raidar/gw2raidar/wsgi.py' SCRIPT_NAME = '' SCRIPT_URI = 'https://www.gw2raidar.com/admin/raidar/encounter/' SCRIPT_URL = '/admin/raidar/encounter/' SERVER_ADDR = '45.33.105.74' SERVER_ADMIN = 'webmaster@localhost' SERVER_NAME = 'www.gw2raidar.com' SERVER_PORT = '443' SERVER_PROTOCOL = 'HTTP/1.1' SERVER_SIGNATURE = '
Settings: Using settings module gw2raidar.settings ABSOLUTE_URL_OVERRIDES = {} ADMINS = [('Merforga', 'khoa.phan.nguyen@gmail.com'), ('amadan', 'amadanmath+gw2r@gmail.com'), ('Toeofdoom', 'joepricethemadman@gmail.com'), ('DividesByZero', 'immortius@gmail.com')] ALLOWED_HOSTS = ['gw2raidar.com', 'www.gw2raidar.com', '45.33.105.74'] APPEND_SLASH = True AUTHENTICATION_BACKENDS = "('raidar.backends.EmailAuthBackend',)" AUTH_PASSWORD_VALIDATORS = '****' AUTH_USER_MODEL = 'auth.User' BASE_DIR = '/var/www/apps/gw2raidar' CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_KEY_PREFIX = '****' CACHE_MIDDLEWARE_SECONDS = 600 CORS_ORIGIN_ALLOW_ALL = True CORS_URLS_REGEX = '^/api/.*$' CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = 'csrftoken' CSRF_COOKIE_PATH = '/' CSRF_COOKIE_SECURE = False CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS = [] CSRF_USE_SESSIONS = False DATABASES = {'default': {'NAME': 'gw2raidar', 'USER': 'gw2raidar', 'OPTIONS': {}, 'TIME_ZONE': None, 'ENGINE': 'django.db.backends.postgresql', 'PORT': '5432', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': False, 'HOST': '127.0.0.1', 'PASSWORD': '****', 'AUTOCOMMIT': True, 'TEST': {'NAME': None, 'CHARSET': None, 'COLLATION': None, 'MIRROR': None}}} DATABASE_ROUTERS = [] DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 DATETIME_FORMAT = 'N j, Y, P' DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] DATE_FORMAT = 'N j, Y' DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG = False DEBUG_PROPAGATE_EXCEPTIONS = False DECIMAL_SEPARATOR = '.' DEFAULT_CHARSET = 'utf-8' DEFAULT_CONTENT_TYPE = 'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL = 'admin@gw2raidar.com' DEFAULT_INDEX_TABLESPACE = '' DEFAULT_TABLESPACE = '' DISALLOWED_USER_AGENTS = [] EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_PASSWORD = '****' EMAIL_HOST_USER = 'admin@gw2raidar.com' EMAIL_PORT = 587 EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = '****' EMAIL_SUBJECT_PREFIX = '[gw2raidar] ' EMAIL_TIMEOUT = None EMAIL_USE_LOCALTIME = False EMAIL_USE_SSL = False EMAIL_USE_TLS = True FILE_CHARSET = 'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS = None FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 FILE_UPLOAD_PERMISSIONS = None FILE_UPLOAD_TEMP_DIR = None FIRST_DAY_OF_WEEK = 0 FIXTURE_DIRS = [] FORCE_SCRIPT_NAME = None FORMAT_MODULE_PATH = None FORM_RENDERER = 'django.forms.renderers.DjangoTemplates' GA_PROPERTY_ID = 'UA-99827303-2' GOOGLE_CREDENTIAL_FILE = '/var/www/apps/gw2raidar/credentials/GW2Raidar-2d968ae45d30.json' IGNORABLE_404_URLS = [] INSTALLED_APPS = ['raidar.apps.RaidarConfig', 'corsheaders', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_swagger', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'taggit', 'django_extensions'] INTERNAL_IPS = ['127.0.0.1'] LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur'] LANGUAGE_CODE = 'en-us' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME = 'django_language' LANGUAGE_COOKIE_PATH = '/' LOCALE_PATHS = [] LOGGING = {} LOGGING_CONFIG = 'logging.config.dictConfig' LOGIN_REDIRECT_URL = '/accounts/profile/' LOGIN_URL = 'index' LOGOUT_REDIRECT_URL = 'index' MANAGERS = [] MEDIA_ROOT = '' MEDIA_URL = '' MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.gzip.GZipMiddleware'] MIGRATION_MODULES = {} MONTH_DAY_FORMAT = 'F j' NUMBER_GROUPING = 0 PASSWORD_HASHERS = '****' PASSWORD_RESET_TIMEOUT_DAYS = '****' PREPEND_WWW = False RESTAT_PID_FILE = '/var/www/apps/gw2raidar/gw2raidar/../log/restat.pid' REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication'), 'PAGE_SIZE': 100, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',)} ROOT_URLCONF = 'gw2raidar.urls' SECRET_KEY = '****' SECURE_BROWSER_XSS_FILTER = False SECURE_CONTENT_TYPE_NOSNIFF = False SECURE_HSTS_INCLUDE_SUBDOMAINS = False SECURE_HSTS_PRELOAD = False SECURE_HSTS_SECONDS = 0 SECURE_PROXY_SSL_HEADER = None SECURE_REDIRECT_EXEMPT = [] SECURE_SSL_HOST = None SECURE_SSL_REDIRECT = False SERVER_EMAIL = 'admin@gw2raidar.com' SESSION_CACHE_ALIAS = 'default' SESSION_COOKIE_AGE = 1209600 SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_NAME = 'sessionid' SESSION_COOKIE_PATH = '/' SESSION_COOKIE_SECURE = False SESSION_ENGINE = 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = False SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE = 'gw2raidar.settings' SHORT_DATETIME_FORMAT = 'm/d/Y P' SHORT_DATE_FORMAT = 'm/d/Y' SIGNING_BACKEND = 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS = [] STATICFILES_DIRS = [] STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' STATIC_ROOT = '/var/www/apps/gw2raidar/static/' STATIC_URL = '/static/' SWAGGER_SETTINGS = {'LOGIN_URL': 'rest_framework:login', 'LOGOUT_URL': 'rest_framework:logout', 'SECURITY_DEFINITIONS': {'api_key': '****'}} TEMPLATES = [{'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}, 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}] TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR = ',' TIME_FORMAT = 'P' TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE = 'UTC' UPLOAD_DIR = '/mnt/GW2R-DS/uploads' USE_ETAGS = False USE_I18N = True USE_L10N = True USE_THOUSAND_SEPARATOR = False USE_TZ = True USE_X_FORWARDED_HOST = False USE_X_FORWARDED_PORT = False VERSION = {'id': '2.0.0b3', 'timestamp': 1522795277} WSGI_APPLICATION = 'gw2raidar.wsgi.application' X_FRAME_OPTIONS = 'SAMEORIGIN' YEAR_MONTH_FORMAT = 'F Y'
Still broked T__T. y u no work in prod
nternal Server Error: /admin/raidar/encounter/
TypeError at /admin/raidar/encounter/ get_path_info() takes 1 positional argument but 2 were given
Request Method: GET Request URL: https://www.gw2raidar.com/admin/raidar/encounter/?q=BackingOutletsFeaturingCircuitsStrode&o=-8 Django Version: 2.0.4 Python Executable: /usr/bin/python3 Python Version: 3.5.3 Python Path: ['/var/www/apps/gw2raidar', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages'] Server time: Fri, 6 Apr 2018 00:57:09 +0000 Installed Applications: ['raidar.apps.RaidarConfig', 'corsheaders', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_swagger', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'taggit', 'django_extensions'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.gzip.GZipMiddleware']
Traceback:
File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py" in inner
File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/options.py" in wrapper
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in _wrapped_view
File "/usr/local/lib/python3.5/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/sites.py" in inner
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in _wrapper
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in _wrapped_view
File "/usr/local/lib/python3.5/dist-packages/django/utils/decorators.py" in bound_func
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/options.py" in changelist_view
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/options.py" in get_changelist_instance
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/views/main.py" in init
File "/usr/local/lib/python3.5/dist-packages/django/contrib/admin/views/main.py" in get_queryset
File "/var/www/apps/gw2raidar/raidar/admin.py" in get_search_results
File "/usr/local/lib/python3.5/dist-packages/django/db/models/query.py" in filter
File "/usr/local/lib/python3.5/dist-packages/django/db/models/query.py" in _filter_or_exclude
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in add_q
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in _add_q
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in _add_q
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in build_filter
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in solve_lookup_type
File "/usr/local/lib/python3.5/dist-packages/django/db/models/sql/query.py" in names_to_path
Exception Type: TypeError at /admin/raidar/encounter/ Exception Value: get_path_info() takes 1 positional argument but 2 were given Request information: USER: Merforga
GET: q = 'BackingOutletsFeaturingCircuitsStrode' o = '-8'
POST: No POST data
FILES: No FILES data
COOKIES: csrftoken = '6yKCCbOzSAKx1qjPXkqGoWCZevvA3BM8XvU07qCJ5aXvdmYwO8687JwQg3VnhgyJ' sessionid = 'frzqsyjk22mxxzmmfumkfjkdjtoou028' _gid = 'GA1.2.1581544596.1522707809' _hjIncludedInSample = '1' _ga = 'GA1.2.546305442.1500962802'
META: CONTEXT_DOCUMENT_ROOT = '/var/www/html' CONTEXT_PREFIX = '' CSRF_COOKIE = '6yKCCbOzSAKx1qjPXkqGoWCZevvA3BM8XvU07qCJ5aXvdmYwO8687JwQg3VnhgyJ' DOCUMENT_ROOT = '/var/www/html' GATEWAY_INTERFACE = 'CGI/1.1' HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8' HTTP_ACCEPT_ENCODING = 'gzip, deflate, br' HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.9' HTTP_COOKIE = '_ga=GA1.2.546305442.1500962802; csrftoken=6yKCCbOzSAKx1qjPXkqGoWCZevvA3BM8XvU07qCJ5aXvdmYwO8687JwQg3VnhgyJ; sessionid=frzqsyjk22mxxzmmfumkfjkdjtoou028; _gid=GA1.2.1581544596.1522707809; _hjIncludedInSample=1' HTTP_HOST = 'www.gw2raidar.com' HTTP_REFERER = 'https://www.gw2raidar.com/admin/raidar/encounter/?o=-8' HTTP_UPGRADE_INSECURE_REQUESTS = '1' HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36' HTTP_VIA = 'HTTPS/1.1 websensecg.resimac.com.au 0A960FF3' PATH_INFO = '/admin/raidar/encounter/' PATH_TRANSLATED = '/var/www/apps/gw2raidar/gw2raidar/wsgi.py/admin/raidar/encounter/' QUERY_STRING = 'q=BackingOutletsFeaturingCircuitsStrode&o=-8' REMOTE_ADDR = '210.215.153.10' REMOTE_PORT = '57915' REQUEST_METHOD = 'GET' REQUEST_SCHEME = 'https' REQUEST_URI = '/admin/raidar/encounter/?q=BackingOutletsFeaturingCircuitsStrode&o=-8' SCRIPT_FILENAME = '/var/www/apps/gw2raidar/gw2raidar/wsgi.py' SCRIPT_NAME = '' SCRIPT_URI = 'https://www.gw2raidar.com/admin/raidar/encounter/' SCRIPT_URL = '/admin/raidar/encounter/' SERVER_ADDR = '45.33.105.74' SERVER_ADMIN = 'webmaster@localhost' SERVER_NAME = 'www.gw2raidar.com' SERVER_PORT = '443' SERVER_PROTOCOL = 'HTTP/1.1' SERVER_SIGNATURE = '
Apache/2.4.25 (Ubuntu) Server at www.gw2raidar.com Port 443\n' SERVER_SOFTWARE = 'Apache/2.4.25 (Ubuntu)' SSL_TLS_SNI = 'www.gw2raidar.com' apache.version = '(2, 4, 25)' mod_wsgi.application_group = '' mod_wsgi.callable_object = 'application' mod_wsgi.daemon_connects = '1' mod_wsgi.daemon_restarts = '0' mod_wsgi.daemon_start = '1522976220410193' mod_wsgi.enable_sendfile = '0' mod_wsgi.handler_script = '' mod_wsgi.ignore_activity = '0' mod_wsgi.listener_host = '' mod_wsgi.listener_port = '443' mod_wsgi.path_info = '/admin/raidar/encounter/' mod_wsgi.process_group = 'gw2raidar' mod_wsgi.queue_start = '1522976220409971' mod_wsgi.request_handler = 'wsgi-script' mod_wsgi.request_id = 'pm+eiDtWQJ0' mod_wsgi.request_start = '1522976220409766' mod_wsgi.script_name = '' mod_wsgi.script_reloading = '1' mod_wsgi.script_start = '1522976220410330' mod_wsgi.thread_id = 3 mod_wsgi.thread_requests = 68933 mod_wsgi.total_requests = 272379 mod_wsgi.version = '(4, 5, 18)' wsgi.errors = <_io.TextIOWrapper name='Settings: Using settings module gw2raidar.settings ABSOLUTE_URL_OVERRIDES = {} ADMINS = [('Merforga', 'khoa.phan.nguyen@gmail.com'), ('amadan', 'amadanmath+gw2r@gmail.com'), ('Toeofdoom', 'joepricethemadman@gmail.com'), ('DividesByZero', 'immortius@gmail.com')] ALLOWED_HOSTS = ['gw2raidar.com', 'www.gw2raidar.com', '45.33.105.74'] APPEND_SLASH = True AUTHENTICATION_BACKENDS = "('raidar.backends.EmailAuthBackend',)" AUTH_PASSWORD_VALIDATORS = '****' AUTH_USER_MODEL = 'auth.User' BASE_DIR = '/var/www/apps/gw2raidar' CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_KEY_PREFIX = '****' CACHE_MIDDLEWARE_SECONDS = 600 CORS_ORIGIN_ALLOW_ALL = True CORS_URLS_REGEX = '^/api/.*$' CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = 'csrftoken' CSRF_COOKIE_PATH = '/' CSRF_COOKIE_SECURE = False CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS = [] CSRF_USE_SESSIONS = False DATABASES = {'default': {'NAME': 'gw2raidar', 'USER': 'gw2raidar', 'OPTIONS': {}, 'TIME_ZONE': None, 'ENGINE': 'django.db.backends.postgresql', 'PORT': '5432', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': False, 'HOST': '127.0.0.1', 'PASSWORD': '****', 'AUTOCOMMIT': True, 'TEST': {'NAME': None, 'CHARSET': None, 'COLLATION': None, 'MIRROR': None}}} DATABASE_ROUTERS = [] DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 DATETIME_FORMAT = 'N j, Y, P' DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] DATE_FORMAT = 'N j, Y' DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG = False DEBUG_PROPAGATE_EXCEPTIONS = False DECIMAL_SEPARATOR = '.' DEFAULT_CHARSET = 'utf-8' DEFAULT_CONTENT_TYPE = 'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL = 'admin@gw2raidar.com' DEFAULT_INDEX_TABLESPACE = '' DEFAULT_TABLESPACE = '' DISALLOWED_USER_AGENTS = [] EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_PASSWORD = '****' EMAIL_HOST_USER = 'admin@gw2raidar.com' EMAIL_PORT = 587 EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = '****' EMAIL_SUBJECT_PREFIX = '[gw2raidar] ' EMAIL_TIMEOUT = None EMAIL_USE_LOCALTIME = False EMAIL_USE_SSL = False EMAIL_USE_TLS = True FILE_CHARSET = 'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS = None FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 FILE_UPLOAD_PERMISSIONS = None FILE_UPLOAD_TEMP_DIR = None FIRST_DAY_OF_WEEK = 0 FIXTURE_DIRS = [] FORCE_SCRIPT_NAME = None FORMAT_MODULE_PATH = None FORM_RENDERER = 'django.forms.renderers.DjangoTemplates' GA_PROPERTY_ID = 'UA-99827303-2' GOOGLE_CREDENTIAL_FILE = '/var/www/apps/gw2raidar/credentials/GW2Raidar-2d968ae45d30.json' IGNORABLE_404_URLS = [] INSTALLED_APPS = ['raidar.apps.RaidarConfig', 'corsheaders', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_swagger', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'taggit', 'django_extensions'] INTERNAL_IPS = ['127.0.0.1'] LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur'] LANGUAGE_CODE = 'en-us' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME = 'django_language' LANGUAGE_COOKIE_PATH = '/' LOCALE_PATHS = [] LOGGING = {} LOGGING_CONFIG = 'logging.config.dictConfig' LOGIN_REDIRECT_URL = '/accounts/profile/' LOGIN_URL = 'index' LOGOUT_REDIRECT_URL = 'index' MANAGERS = [] MEDIA_ROOT = '' MEDIA_URL = '' MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.gzip.GZipMiddleware'] MIGRATION_MODULES = {} MONTH_DAY_FORMAT = 'F j' NUMBER_GROUPING = 0 PASSWORD_HASHERS = '****' PASSWORD_RESET_TIMEOUT_DAYS = '****' PREPEND_WWW = False RESTAT_PID_FILE = '/var/www/apps/gw2raidar/gw2raidar/../log/restat.pid' REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication'), 'PAGE_SIZE': 100, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',)} ROOT_URLCONF = 'gw2raidar.urls' SECRET_KEY = '****' SECURE_BROWSER_XSS_FILTER = False SECURE_CONTENT_TYPE_NOSNIFF = False SECURE_HSTS_INCLUDE_SUBDOMAINS = False SECURE_HSTS_PRELOAD = False SECURE_HSTS_SECONDS = 0 SECURE_PROXY_SSL_HEADER = None SECURE_REDIRECT_EXEMPT = [] SECURE_SSL_HOST = None SECURE_SSL_REDIRECT = False SERVER_EMAIL = 'admin@gw2raidar.com' SESSION_CACHE_ALIAS = 'default' SESSION_COOKIE_AGE = 1209600 SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_NAME = 'sessionid' SESSION_COOKIE_PATH = '/' SESSION_COOKIE_SECURE = False SESSION_ENGINE = 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = False SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE = 'gw2raidar.settings' SHORT_DATETIME_FORMAT = 'm/d/Y P' SHORT_DATE_FORMAT = 'm/d/Y' SIGNING_BACKEND = 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS = [] STATICFILES_DIRS = [] STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' STATIC_ROOT = '/var/www/apps/gw2raidar/static/' STATIC_URL = '/static/' SWAGGER_SETTINGS = {'LOGIN_URL': 'rest_framework:login', 'LOGOUT_URL': 'rest_framework:logout', 'SECURITY_DEFINITIONS': {'api_key': '****'}} TEMPLATES = [{'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}, 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}] TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR = ',' TIME_FORMAT = 'P' TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE = 'UTC' UPLOAD_DIR = '/mnt/GW2R-DS/uploads' USE_ETAGS = False USE_I18N = True USE_L10N = True USE_THOUSAND_SEPARATOR = False USE_TZ = True USE_X_FORWARDED_HOST = False USE_X_FORWARDED_PORT = False VERSION = {'id': '2.0.0b3', 'timestamp': 1522795277} WSGI_APPLICATION = 'gw2raidar.wsgi.application' X_FRAME_OPTIONS = 'SAMEORIGIN' YEAR_MONTH_FORMAT = 'F Y'