scrapinghub / portia

Visual scraping for Scrapy
BSD 3-Clause "New" or "Revised" License
9.28k stars 1.41k forks source link

"POST /api/projects HTTP/1.0" 500 15540 #826

Open paulran opened 6 years ago

paulran commented 6 years ago

docker run -i -t --rm -v test:/app/data/projects:rw -p 9001:9001 scrapinghub/portia or docker run -i -t --rm -v /usr/local/portia/portia/data:/app/slyd/data:rw -p 9001:9001 --name portia portia or docker run -i -t --rm -p 9001:9001 --name portia -v $(pwd)/data:/app/slyd/data:rw -v ~/portia/portia/portiaui/dist:/app/portiaui/dist portia

My test server is 192.168.2.88. When i open http://192.168.2.88:9001/#/projects, and input a project name to create a new project, always occurs following issue. Why?

I refer to the document http://portia.readthedocs.io/en/latest/installation.html#docker-recommended.

image

TypeError at /api/projects 'NoneType' object has no attribute 'getitem'

Request Method: POST Request URL: http://192.168.2.88:9001/api/projects Django Version: 1.10.5 Python Executable: /usr/bin/python Python Version: 2.7.6 Python Path: ['/app/portia_server', '/app/portia_server', '/app/slyd', '/app/slybot', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] Server time: Wed, 8 Nov 2017 06:36:54 +0000 Installed Applications: ['db_repo.apps.DbRepoConfig', 'storage.apps.StorageConfig', 'portia_orm.apps.PortiaOrmConfig', 'portia_api.apps.PortiaApiConfig', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'whitenoise.runserver_nostatic', 'django.contrib.staticfiles'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'portia_orm.middleware.ORMDataStoreMiddleware']

Traceback:

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner

  1. response = get_response(request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response

  1. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response

  1. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py" in wrapped_view

  1. return view_func(*args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py" in view

  1. return self.dispatch(request, *args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in inner

  1. return func(*args, **kwargs)

File "/app/portia_server/portia_api/resources/route.py" in dispatch

  1. return super(JsonApiRoute, self).dispatch(request, *args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch

  1. response = self.handle_exception(exc)

File "/app/portia_server/portia_api/resources/route.py" in handle_exception

  1. response = super(JsonApiRoute, self).handle_exception(exc)

File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in handle_exception

  1. self.raise_uncaught_exception(exc)

File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch

  1. response = handler(request, *args, **kwargs)

File "/app/portia_server/portia_api/resources/projects.py" in create

  1. data = serializer.data

File "/app/portia_server/portia_api/jsonapi/serializers.py" in data

  1. return self.dump(self.instance).data

File "/usr/local/lib/python2.7/dist-packages/marshmallow/schema.py" in dump

  1. result = self._invoke_dump_processors(POST_DUMP, result, many, original_data=obj)

File "/usr/local/lib/python2.7/dist-packages/marshmallow/schema.py" in _invoke_dump_processors

  1. data=data, many=many, original_data=original_data)

File "/usr/local/lib/python2.7/dist-packages/marshmallow/schema.py" in _invoke_processors

  1. data = utils.if_none(processor(data, many), data)

File "/app/portia_server/portia_api/jsonapi/serializers.py" in format_json_api_response

  1. data, many)

File "/usr/local/lib/python2.7/dist-packages/marshmallow_jsonapi/schema.py" in format_json_api_response

  1. ret = self.wrap_response(ret, many)

File "/usr/local/lib/python2.7/dist-packages/marshmallow_jsonapi/schema.py" in wrap_response

  1. if top_level_links['self']:

Exception Type: TypeError at /api/projects Exception Value: 'NoneType' object has no attribute 'getitem' Request information: USER: LocalUser(root)

GET: No GET data

POST: No POST data

FILES: No FILES data

COOKIES: CHX4_2132_saltkey = 'AtJoUhnl' CHX4_2132_lastvisit = '1509338518' userId = 'eyJpdiI6IktoV0tNMVhQZ0ZVTEg0czR4RG10akE9PSIsInZhbHVlIjoiQVgramp3emd5XC85cFVSM0dJd3hiK0JYb1lXbytTNWZYclUyYzBCK0c5UWVsU1czc1wvb2EyaCtDNytjSWd6OVhFM1ZOSHBvdHorZDlpdGt5ak9HTjF5dz09IiwibWFjIjoiODk1YmQwMzRkNDRmMDczMzU5ZDZjZmRhZTIwNTBmNjc0M2NkNjg1ZWJmYTcyYjllYTBkMDNiMTJkNDI5MGExYyJ9'

META: CONTENT_LENGTH = '62' CONTENT_TYPE = 'application/vnd.api+json' DJANGO_SETTINGS_MODULE = 'portia_server.settings' GATEWAY_INTERFACE = 'CGI/1.1' HOME = '/root' HOSTNAME = '4c4bd983dd38' HTTP_ACCEPT = 'application/vnd.api+json; profile="https://portia.scrapinghub.com/jsonapi/extensions/deleted"' HTTP_ACCEPT_ENCODING = 'gzip, deflate' HTTP_ACCEPT_LANGUAGE = 'zh-CN,zh;q=0.8,pl;q=0.6,de;q=0.4' HTTP_CONNECTION = 'close' HTTP_COOKIE = 'CHX4_2132_saltkey=AtJoUhnl; CHX4_2132_lastvisit=1509338518; userId=eyJpdiI6IktoV0tNMVhQZ0ZVTEg0czR4RG10akE9PSIsInZhbHVlIjoiQVgramp3emd5XC85cFVSM0dJd3hiK0JYb1lXbytTNWZYclUyYzBCK0c5UWVsU1czc1wvb2EyaCtDNytjSWd6OVhFM1ZOSHBvdHorZDlpdGt5ak9HTjF5dz09IiwibWFjIjoiODk1YmQwMzRkNDRmMDczMzU5ZDZjZmRhZTIwNTBmNjc0M2NkNjg1ZWJmYTcyYjllYTBkMDNiMTJkNDI5MGExYyJ9' HTTP_HOST = '192.168.2.88:9001' HTTP_ORIGIN = 'http://192.168.2.88:9001' HTTP_REFERER = 'http://192.168.2.88:9001/' HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' HTTP_X_FORWARDED_FOR = '192.168.2.17' HTTP_X_REAL_IP = '192.168.2.17' HTTP_X_REQUESTED_WITH = 'XMLHttpRequest' PATH = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH_INFO = u'/api/projects' PWD = '/app/slyd' PYTHONPATH = '/app/portia_server:/app/slyd:/app/slybot' QUERY_STRING = '' REMOTE_ADDR = '127.0.0.1' REMOTE_HOST = '' REQUEST_METHOD = 'POST' RUN_MAIN = 'true' SCRIPT_NAME = u'' SERVER_NAME = 'localhost' SERVER_PORT = '8000' SERVER_PROTOCOL = 'HTTP/1.0' SERVERSOFTWARE = 'WSGIServer/0.1 Python/2.7.6' SHLVL = '1' TERM = 'xterm' TZ = 'UTC' = '/app/portia_server/manage.py' wsgi.errors = <open file '', mode 'w' at 0x7fc4491ca1e0> wsgi.file_wrapper = '' wsgi.input = <socket._fileobject object at 0x7fc43ad67d50> wsgi.multiprocess = False wsgi.multithread = True wsgi.run_once = False wsgi.url_scheme = 'http' wsgi.version =

Settings: Using settings module portia_server.settings ABSOLUTE_URL_OVERRIDES = {} ADMINS = [] ALLOWED_HOSTS = ['*'] APPEND_SLASH = True AUTHENTICATION_BACKENDS = [u'django.contrib.auth.backends.ModelBackend'] AUTH_PASSWORD_VALIDATORS = u'****' AUTH_USER_MODEL = u'auth.User' BASE_DIR = '/app/portia_server' BLACKLIST_URLS = set([]) CACHES = {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS = u'default' CACHE_MIDDLEWARE_KEY_PREFIX = u'****' CACHE_MIDDLEWARE_SECONDS = 600 CAPABILITIES = {'deploy_projects': False, 'delete_projects': True, 'create_projects': True, 'rename_templates': True, 'rename_projects': True, 'version_control': False, 'rename_spiders': True} CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = u'csrftoken' CSRF_COOKIE_PATH = u'/' CSRF_COOKIE_SECURE = False CSRF_FAILURE_VIEW = u'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = u'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS = [] CUSTOM = {} DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, 'NAME': '/app/portia_server/db.sqlite3', 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'OPTIONS': {}, 'HOST': '', 'USER': '', 'TEST': {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None}, 'PASSWORD': u'****', 'PORT': ''}} DATABASE_ROUTERS = [] DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 DATETIME_FORMAT = u'N j, Y, P' DATETIME_INPUT_FORMATS = [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] DATE_FORMAT = u'N j, Y' DATE_INPUT_FORMATS = [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] DEBUG = True DEBUG_PROPAGATE_EXCEPTIONS = False DECIMAL_SEPARATOR = u'.' DEFAULT_CHARSET = u'utf-8' DEFAULT_CONTENT_TYPE = u'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER = u'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE = u'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL = u'webmaster@localhost' DEFAULT_INDEX_TABLESPACE = u'' DEFAULT_TABLESPACE = u'' DISALLOWED_USER_AGENTS = [] EMAIL_BACKEND = u'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = u'localhost' EMAIL_HOST_PASSWORD = u'****' EMAIL_HOST_USER = u'' EMAIL_PORT = 25 EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = u'****' EMAIL_SUBJECT_PREFIX = u'[Django] ' EMAIL_TIMEOUT = None EMAIL_USE_SSL = False EMAIL_USE_TLS = False FILE_CHARSET = u'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS = None FILE_UPLOAD_HANDLERS = [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'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 IGNORABLE_404_URLS = [] INSTALLED_APPS = ['db_repo.apps.DbRepoConfig', 'storage.apps.StorageConfig', 'portia_orm.apps.PortiaOrmConfig', 'portia_api.apps.PortiaApiConfig', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'whitenoise.runserver_nostatic', 'django.contrib.staticfiles'] INTERNAL_IPS = [] LANGUAGES = [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] LANGUAGES_BIDI = [u'he', u'ar', u'fa', u'ur'] LANGUAGE_CODE = 'en-us' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME = u'django_language' LANGUAGE_COOKIE_PATH = u'/' LOCALE_PATHS = [] LOGGING = {} LOGGING_CONFIG = u'logging.config.dictConfig' LOGIN_REDIRECT_URL = u'/accounts/profile/' LOGIN_URL = u'/accounts/login/' LOGOUT_REDIRECT_URL = None MANAGERS = [] MEDIA_ROOT = '/app/data/projects' MEDIA_URL = u'' MESSAGE_STORAGE = u'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'portia_orm.middleware.ORMDataStoreMiddleware'] MIDDLEWARE_CLASSES = [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] MIGRATION_MODULES = {} MONTH_DAY_FORMAT = u'F j' NUMBER_GROUPING = 0 PASSWORD_HASHERS = u'****' PASSWORD_RESET_TIMEOUT_DAYS = u'****' PORTIA_STORAGE_BACKEND = 'storage.backends.FsStorage' PREPEND_WWW = False REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('portia_server.backends.LocalAuthentication',), 'URL_FORMAT_OVERRIDE': None, 'EXCEPTION_HANDLER': 'portia_api.jsonapi.exceptions.jsonapi_exception_handler'} ROOT_URLCONF = 'portia_server.urls' SCHEDULE_URL = 'http://localhost:6800/schedule.json' SECRET_KEY = u'****' SECURE_BROWSER_XSS_FILTER = False SECURE_CONTENT_TYPE_NOSNIFF = False SECURE_HSTS_INCLUDE_SUBDOMAINS = False SECURE_HSTS_SECONDS = 0 SECURE_PROXY_SSL_HEADER = None SECURE_REDIRECT_EXEMPT = [] SECURE_SSL_HOST = None SECURE_SSL_REDIRECT = False SERVER_EMAIL = u'root@localhost' SESSION_CACHE_ALIAS = u'default' SESSION_COOKIE_AGE = 1209600 SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_NAME = u'sessionid' SESSION_COOKIE_PATH = u'/' SESSION_COOKIE_SECURE = False SESSION_ENGINE = u'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = False SESSION_SERIALIZER = u'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE = 'portia_server.settings' SHORT_DATETIME_FORMAT = u'm/d/Y P' SHORT_DATE_FORMAT = u'm/d/Y' SIGNING_BACKEND = u'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS = [] STATICFILES_DIRS = [] STATICFILES_FINDERS = [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' STATIC_ROOT = '/app/portiaui/dist' STATIC_URL = '/' TEMPLATES = [] TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = u'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR = u',' TIME_FORMAT = u'P' TIME_INPUT_FORMATS = [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] TIME_ZONE = 'UTC' 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 WSGI_APPLICATION = 'portia_server.wsgi.application' X_FRAME_OPTIONS = u'SAMEORIGIN' YEAR_MONTH_FORMAT = u'F Y'

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.

saintogod commented 6 years ago

+1. Same issue.

ruairif commented 6 years ago

Can you tell me what versions of marshmallow, marshmallow-jsonapi, django and django-restframework you're using?

tsauzeau commented 6 years ago

+1 Same issue here.

Pip freeze:

adblockparser==0.7
asn1crypto==0.23.0
attrs==17.3.0
autobahn==17.9.3
autoflake==0.6.6
Automat==0.6.0
autopep8==1.2.2
certifi==2017.11.5
cffi==1.11.2
chardet==3.0.4
colorama==0.2.5
constantly==15.1.0
crochet==1.9.0
cryptography==2.1.3
cssselect==1.0.1
dateparser==0.6.0
dj-database-url==0.4.2
Django==1.10.5
django-cache-machine==1.0.0
djangorestframework==3.7.1
drf-nested-routers==0.11.1
dulwich==0.18.4
enum34==1.1.6
envtpl==0.5.3
funcparserlib==0.3.6
funcsigs==1.0.2
functools32==3.2.3.post2
html5lib==0.999
hyperlink==17.3.1
idna==2.6
incremental==17.5.0
ipaddress==1.0.18
Jinja2==2.10
jsonschema==2.6.0
loginform==1.2.0
lxml==3.7.3
MarkupSafe==1.0
marshmallow==2.8.0
marshmallow-jsonapi==0.10.2
mock==2.0.0
mysql-connector-python==1.1.6
MySQL-python==1.2.5
ndg-httpsclient==0.4.3
numpy==1.12.1
olefile==0.44
page-finder==0.1.8
parse==1.8.2
parsel==1.2.0
pbr==3.1.1
pep8==1.7.1
Pillow==4.3.0
portia2code==0.0.14
psutil==5.4.1
pyasn1==0.3.7
pyasn1-modules==0.1.5
pycparser==2.18
pycurl==7.19.3
PyDispatcher==2.0.5
pyflakes==1.6.0
pyOpenSSL==17.3.0
python-apt===0.9.3.5ubuntu2
python-dateutil==2.6.0
pytz==2017.3
qt5reactor==0.4
queuelib==1.4.2
regex==2017.11.9
requests==2.18.4
retrying==1.3.3
ruamel.ordereddict==0.4.13
ruamel.yaml==0.15.34
scrapely==0.13.2
Scrapy==1.4.0
scrapy-splash==0.7.2
service-identity==17.0.0
six==1.10.0
slybot==0.13.1
slyd==0.0.0
splash==2.3.3
toposort==1.5
Twisted==17.9.0
txaio==2.8.2
tzlocal==1.4
urllib3==1.22
w3lib==1.18.0
whitenoise==3.3.1
wrapt==1.10.11
xvfbwrapper==0.2.9
zope.interface==4.4.3
ruairif commented 6 years ago

Can you try downgrading marshmallow-jsonapi to 0.10.0 and see if that fixes the issue? I've released a fix to the master branch with this changed so if you're using docker you should be able to just pull the latest version in ~10 minutes.

tsauzeau commented 6 years ago

The fix seem to work, I'm using my own Docker and after downgrade marshmallow-jsonapi to 0.10.0, i don't have anymore error.

Thanks.