EscrutinioSocial / escrutinio-social

Una plataforma web para validar colaborativamente el escrutinio provisorio
19 stars 11 forks source link

Generación de readthedocs falla #89

Closed miguelpagano closed 3 years ago

miguelpagano commented 4 years ago
miguelpagano commented 4 years ago

El problema de los logs se soluciona creando una nueva variable LOGGING_DIR en settings.py y configurándola para que sea BASE_ROOT así no se queja readthedocs (en producción puede cambiarse a logs/ y listo); en la definición de cada archivo se establece

"filename": os.path.join(LOGGING_DIR, "json.log"),

El problema de versatileimagefield requiere actualizar para que funcione con versiones más nuevas de Pillow. @mgaitan podrías ver esto último?

mgaitan commented 4 years ago

Miguel, ahi deberia estar arreglado lo de versatileimage.

miguelpagano commented 4 years ago

No veo que esté funcionando. Sigue fallando: https://readthedocs.org/projects/escrutinio-social-mp/builds/10909457/

    from ._util import isStringType
ImportError: cannot import name 'isStringType' from 'PIL._util' (/home/docs/checkouts/readthedocs.org/user_builds/escrutinio-social-mp/conda/latest/lib/python3.7/site-packages/PIL/_util.py)

Antes está esto:

Installing collected packages: attrdict, colorama, coverage, docopt, coveralls, django-admin-row-actions, sqlparse, django, django-annoying, django-anymail, django-autocomplete-light, django-picklefield, django-constance, django-dbbackup, lml, pyexcel-io, texttable, pyexcel, pyexcel-webio, django-excel, django-extensions, django-fancy-cache, django-geojson, django-compat, django-hijack, django-leaflet, python-stdnum, django-localflavor, django-material, django-model-utils, structlog, django-ipware, django-structlog, django-summernote, ply, djangoql, djangorestframework, pyjwt, djangorestframework-simplejwt, ruamel.yaml.clib, ruamel.yaml, coreschema, uritemplate, itypes, coreapi, inflection, pyyaml, zipp, importlib-metadata, attrs, pyrsistent, jsonschema, swagger-spec-validator, drf-yasg, easyimap, bcrypt, pynacl, paramiko, Fabric3, text-unidecode, python-dateutil, Faker, factory-boy, Pillow, django-admincommand, django-sneak, python-magic, django-versatileimagefield, gunicorn, html2text, ipython-genutils, decorator, traitlets, parso, jedi, backcall, pickleshare, ptyprocess, pexpect, wcwidth, prompt-toolkit, IPython, jsonfield, nameparser, pandas, phonenumbers, psycopg2-binary, jdcal, et-xmlfile, openpyxl, pyexcel-xlsx, pluggy, more-itertools, py, pytest, pytest-datadir, pytest-django, pytest-mock, python-dotenv, sentry-sdk, sphinxcontrib-django, pyparsing, pydot, pytest-cov, django-exportable-admin
  Attempting uninstall: Pillow
    Found existing installation: Pillow 7.0.0
    Uninstalling Pillow-7.0.0:
      Successfully uninstalled Pillow-7.0.0
  Attempting uninstall: pyparsing
    Found existing installation: pyparsing 2.4.6
    Uninstalling pyparsing-2.4.6:
      Successfully uninstalled pyparsing-2.4.6
Successfully installed Fabric3-1.14.post1 Faker-4.0.3 IPython-7.5.0 Pillow-4.2.1 
mgaitan commented 3 years ago

fixed in 348d2919ef