ValueError at /novo-santo-antonio/licitacoes

invalid literal for int() with base 10: 'licitacoes'
Request Method: GET
Request URL: http://transparencia.novosantoantonio.pi.gov.br/novo-santo-antonio/licitacoes
Django Version: 1.8
Exception Type: ValueError
Exception Value:
invalid literal for int() with base 10: 'licitacoes'
Exception Location: /usr/local/lib/python3.4/site-packages/django/db/models/fields/__init__.py in get_prep_value, line 985
Python Executable: /usr/local/bin/python
Python Version: 3.4.7
Python Path:
['/',
 '/var/www',
 '/usr/local/bin',
 '/usr/local/lib/python34.zip',
 '/usr/local/lib/python3.4',
 '/usr/local/lib/python3.4/plat-linux',
 '/usr/local/lib/python3.4/lib-dynload',
 '/usr/local/lib/python3.4/site-packages']
Server time: Qui, 28 Mar 2024 08:00:27 -0300

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
wsgi.run_once
False
wsgi.input
<gunicorn.http.body.Body object at 0x7f6c818c2ac8>
PATH_INFO
'/novo-santo-antonio/licitacoes'
SERVER_PORT
'8029'
SCRIPT_NAME
''
HTTP_X_FORWARDED_FOR
'3.88.60.5'
REMOTE_ADDR
'172.17.0.1'
HTTP_USER_AGENT
'claudebot'
wsgi.url_scheme
'http'
SERVER_PROTOCOL
'HTTP/1.0'
REQUEST_METHOD
'GET'
QUERY_STRING
''
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6c818c2b70>
wsgi.file_wrapper
''
wsgi.multiprocess
False
HTTP_HOST
'transparencia.novosantoantonio.pi.gov.br'
SERVER_SOFTWARE
'gunicorn/19.7.1'
gunicorn.socket
<socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.2', 8029), raddr=('172.17.0.1', 59306)>
RAW_URI
'/novo-santo-antonio/licitacoes'
wsgi.multithread
False
SERVER_NAME
'0.0.0.0'
CSRF_COOKIE
'Xgn3eiphITDAHfDbF7FbRDdOZUsmzYTf'
HTTP_CONNECTION
'close'
HTTP_ACCEPT
'*/*'
REMOTE_PORT
'59306'
wsgi.version
(1, 0)

Settings

Using settings module prefeitura_digital.settings

Setting Value
ROOT_URLCONF
'prefeitura_digital.urls'
MINIO_STORAGE_ACCESS_KEY
'********************'
MONTH_DAY_FORMAT
'F j'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
SECURE_SSL_REDIRECT
False
EMAIL_PORT
587
STATICFILES_DIRS
('/var/www/media/static',)
CSRF_COOKIE_DOMAIN
None
DEFAULT_INDEX_TABLESPACE
''
EMAIL_SSL_KEYFILE
'********************'
SESSION_ENGINE
'django.contrib.sessions.backends.db'
DATABASE_ROUTERS
[]
APPEND_SLASH
True
SESSION_COOKIE_PATH
'/'
LOGOUT_URL
'/accounts/logout/'
FORCE_SCRIPT_NAME
None
SUIT_CONFIG
{'ADMIN_NAME': 'BluBots',
 'MENU': ({'app': 'core',
           'color': 'bg-green',
           'icon': 'ion ion-ios7-briefcase-outline',
           'label': 'Institucional'},
          {'app': 'covid',
           'color': 'bg-aqua',
           'icon': 'ion ion-ios7-briefcase-outline',
           'label': 'Covid-19'},
          {'app': 'despesas',
           'color': 'bg-red',
           'icon': 'ion ion-calculator',
           'label': 'Despesas'},
          {'app': 'diarias',
           'color': 'bg-red',
           'icon': 'ion ion-pie-graph',
           'label': 'Diarias'},
          {'app': 'esic',
           'color': 'bg-blue',
           'icon': 'ion ion-chatbubble-working',
           'label': 'Esic'},
          {'app': 'informativos',
           'color': 'bg-blue',
           'icon': 'ion ion-map',
           'label': 'Informativos'},
          {'app': 'legislacao',
           'color': 'bg-green',
           'icon': 'ion ion-clipboard',
           'label': 'Legislacao'},
          {'app': 'licitacao',
           'color': 'bg-blue',
           'icon': 'ion ion-compose',
           'label': 'Licitação'},
          {'app': 'receitas',
           'color': 'bg-red',
           'icon': 'ion ion-android-folder',
           'label': 'Receitas'},
          {'app': 'relatorios',
           'color': 'bg-red',
           'icon': 'ion ion-connection-bars',
           'label': 'Relatorios'},
          {'app': 'servidores',
           'color': 'bg-orange',
           'icon': 'ion ion-person-stalker',
           'label': 'Servidores'},
          {'app': 'contratos',
           'color': 'bg-blue',
           'icon': 'ion ion-person-stalker',
           'label': 'Contratos'},
          {'app': 'extratos',
           'color': 'bg-yellow',
           'icon': 'ion ion-person-stalker',
           'label': 'Extratos'},
          {'icon': 'ion ion-ios7-cog',
           'label': 'Configuração',
           'models': ('auth.group', 'sites.site', 'flatpages.flatpage')})}
STATIC_URL
'/static/'
EMAIL_HOST
'smtp.gmail.com'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
LANGUAGE_COOKIE_AGE
None
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['/var/www/templates'],
  'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
                                     'django.template.context_processors.debug',
                                     'django.template.context_processors.i18n',
                                     'django.template.context_processors.media',
                                     'django.template.context_processors.static',
                                     'django.template.context_processors.tz',
                                     'django.contrib.messages.context_processors.messages',
                                     'django.core.context_processors.request',
                                     'prefeitura_digital.context_processors.estaticos']}}]
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
CSRF_COOKIE_AGE
31449600
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
DEFAULT_CONTENT_TYPE
'text/html'
LOGGING_CONFIG
'logging.config.dictConfig'
SESSION_FILE_PATH
None
TEMPLATE_DEBUG
False
MIDDLEWARE_CLASSES
('prefeitura_digital.middleware.SubdomainMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware')
FILE_CHARSET
'utf-8'
TEST_RUNNER
'django.test.runner.DiscoverRunner'
SESSION_COOKIE_HTTPONLY
True
EMAIL_TIMEOUT
None
SESSION_COOKIE_AGE
1209600
INSTALLED_APPS
('suit',
 'ckeditor',
 'easy_pdf',
 'reportlab',
 'xhtml2pdf',
 'widget_tweaks',
 'easy_thumbnails',
 'minio_storage',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'apps.contratos',
 'apps.core',
 'apps.despesas',
 'apps.legislacao',
 'apps.licitacao',
 'apps.migracao',
 'apps.receitas',
 'apps.servidores',
 'apps.website',
 'apps.relatorios',
 'apps.diarias',
 'apps.esic',
 'apps.informativos',
 'apps.extratos',
 'apps.covid')
SESSION_SAVE_EVERY_REQUEST
False
FORMAT_MODULE_PATH
None
SETTINGS_MODULE
'prefeitura_digital.settings'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
SHORT_DATE_FORMAT
'm/d/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')
LANGUAGE_COOKIE_PATH
'/'
SESSION_COOKIE_DOMAIN
None
TEMPLATE_STRING_IF_INVALID
''
EMAIL_HOST_PASSWORD
'********************'
SECURE_BROWSER_XSS_FILTER
False
BASE_DIR
'/var/www'
LANGUAGE_COOKIE_DOMAIN
None
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': '108.61.205.61',
             'NAME': 'transparencia_py3',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '3306',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': 'America/Fortaleza',
             'USER': 'root'}}
SESSION_COOKIE_SECURE
False
SECURE_PROXY_SSL_HEADER
None
USE_ETAGS
False
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
EMAIL_USE_SSL
False
ADMINS
()
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
THOUSAND_SEPARATOR
','
CSRF_COOKIE_NAME
'csrftoken'
PASSWORD_HASHERS
'********************'
ABSOLUTE_URL_OVERRIDES
{}
CSRF_COOKIE_SECURE
False
SECRET_KEY
'********************'
DEBUG
True
SECURE_SSL_HOST
None
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
NUMBER_GROUPING
0
SESSION_CACHE_ALIAS
'default'
SECURE_REDIRECT_EXEMPT
[]
FIXTURE_DIRS
()
LOCALE_PATHS
()
SHORT_DATETIME_FORMAT
'm/d/Y P'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
DEFAULT_TABLESPACE
''
USE_I18N
True
MINIO_STORAGE_USE_HTTPS
False
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
WSGI_APPLICATION
'prefeitura_digital.wsgi.application'
MIGRATION_MODULES
{}
DECIMAL_SEPARATOR
'.'
LANGUAGE_COOKIE_NAME
'django_language'
SESSION_COOKIE_NAME
'sessionid'
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
TIME_FORMAT
'P'
EMAIL_SSL_CERTFILE
None
USE_TZ
False
LANGUAGE_CODE
'pt-BR'
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
DATE_FORMAT
'N j, Y'
ALLOWED_INCLUDE_ROOTS
()
DATETIME_FORMAT
'N j, Y, P'
INTERNAL_IPS
()
SECURE_CONTENT_TYPE_NOSNIFF
False
USE_X_FORWARDED_HOST
False
MEDIA_ROOT
'/var/www/media'
MANAGERS
()
TIME_ZONE
'America/Fortaleza'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
STATIC_ROOT
'/var/www/static'
SECURE_HSTS_SECONDS
0
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
 'django.template.context_processors.debug',
 'django.template.context_processors.i18n',
 'django.template.context_processors.media',
 'django.template.context_processors.static',
 'django.template.context_processors.tz',
 'django.contrib.messages.context_processors.messages')
TEST_NON_SERIALIZED_APPS
[]
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
LOGIN_URL
'/admin/'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
SILENCED_SYSTEM_CHECKS
[]
EMAIL_USE_TLS
True
FILE_UPLOAD_TEMP_DIR
None
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
EMAIL_HOST_USER
'transparenciamunicipal2018@gmail.com'
MEDIA_URL
'http://minio.blubots.com/media-minio/'
DEFAULT_FILE_STORAGE
'minio_storage.storage.MinioMediaStorage'
CACHE_MIDDLEWARE_SECONDS
600
YEAR_MONTH_FORMAT
'F Y'
X_FRAME_OPTIONS
'SAMEORIGIN'
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
LOGIN_REDIRECT_URL
'/accounts/profile/'
FIRST_DAY_OF_WEEK
0
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'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-au', 'Australian English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian 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'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('io', 'Ido'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('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 Bokmal'),
 ('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-cn', 'Simplified Chinese'),
 ('zh-hans', 'Simplified Chinese'),
 ('zh-hant', 'Traditional Chinese'),
 ('zh-tw', 'Traditional Chinese'))
LOG_LEVEL
'DEBUG'
USE_L10N
True
CSRF_COOKIE_HTTPONLY
False
DISALLOWED_USER_AGENTS
()
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
LOGGING
{}
EMAIL_SUBJECT_PREFIX
'[Django] '
DEFAULT_CHARSET
'utf-8'
USE_THOUSAND_SEPARATOR
False
MINIO_STORAGE_ENDPOINT
'108.61.205.61:9002'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
ALLOWED_HOSTS
['*']
MINIO_STORAGE_SECRET_KEY
'********************'
MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET
True
DEBUG_PROPAGATE_EXCEPTIONS
False
FILE_UPLOAD_PERMISSIONS
None
AUTH_USER_MODEL
'core.Usuario'
PREPEND_WWW
False
CSRF_COOKIE_PATH
'/'
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')
SERVER_EMAIL
'root@localhost'
TEMPLATE_DIRS
()
IGNORABLE_404_URLS
()
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
CACHE_MIDDLEWARE_ALIAS
'default'
MINIO_STORAGE_MEDIA_BUCKET_NAME
'media-minio'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.