Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1655

Update appstore installation instructions for test/production server

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Attachments

        Activity

        Hide
        ann.loraine Ann Loraine added a comment -

        When DEBUG is True, ASCII error:
        [Wed Apr 10 01:14:52.055354 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
        [Wed Apr 10 01:14:52.055361 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
        [Wed Apr 10 01:14:52.055365 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return debug.technical_500_response(request, *exc_info)
        [Wed Apr 10 01:14:52.055371 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 94, in technical_500_response
        [Wed Apr 10 01:14:52.055381 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] html = reporter.get_traceback_html()
        [Wed Apr 10 01:14:52.055388 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 332, in get_traceback_html
        [Wed Apr 10 01:14:52.055392 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] t = DEBUG_ENGINE.from_string(fh.read())
        [Wed Apr 10 01:14:52.055398 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        [Wed Apr 10 01:14:52.055402 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return codecs.ascii_decode(input, self.errors)[0]
        [Wed Apr 10 01:14:52.055412 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9735: ordinal not in range(128)

        Show
        ann.loraine Ann Loraine added a comment - When DEBUG is True, ASCII error: [Wed Apr 10 01:14:52.055354 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) [Wed Apr 10 01:14:52.055361 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception [Wed Apr 10 01:14:52.055365 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return debug.technical_500_response(request, *exc_info) [Wed Apr 10 01:14:52.055371 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 94, in technical_500_response [Wed Apr 10 01:14:52.055381 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] html = reporter.get_traceback_html() [Wed Apr 10 01:14:52.055388 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 332, in get_traceback_html [Wed Apr 10 01:14:52.055392 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] t = DEBUG_ENGINE.from_string(fh.read()) [Wed Apr 10 01:14:52.055398 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode [Wed Apr 10 01:14:52.055402 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return codecs.ascii_decode(input, self.errors) [0] [Wed Apr 10 01:14:52.055412 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9735: ordinal not in range(128)
        Hide
        ann.loraine Ann Loraine added a comment -

        DEBUG setting not the problem. Looks like non-ascii characters copied into Django files. Fixed.

        Show
        ann.loraine Ann Loraine added a comment - DEBUG setting not the problem. Looks like non-ascii characters copied into Django files. Fixed.
        Hide
        ann.loraine Ann Loraine added a comment -

        Deployed on testappstore.bioviz.org

        Show
        ann.loraine Ann Loraine added a comment - Deployed on testappstore.bioviz.org
        Hide
        ann.loraine Ann Loraine added a comment - - edited

        Next: configure https - to be done in new issue.
        New code merged into master on team repository.
        Instructions (google doc - for now) updated.

        Show
        ann.loraine Ann Loraine added a comment - - edited Next: configure https - to be done in new issue. New code merged into master on team repository. Instructions (google doc - for now) updated.

          People

          • Assignee:
            ann.loraine Ann Loraine
            Reporter:
            ann.loraine Ann Loraine
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: