The SIO2 project
  1. The SIO2 project
  2. SIO-1981

Package processing errors shouldn't be logged to Sentry

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Component/s: OIOIOI
    • Labels:
      None

      Description

       - niektóre paczki powodują keyerror renv['collected_files'] (SZKOPUL-12)
       - błąd kompilacji (SZKOPUL-B, SZKOPUL-17, SZKOPUL-11, SZKOPUL-F, SZKOPUL-J, OIOIOI-6)
       - program weryfikujący outy się wywala (?)
       - zad duży ustawiony ram (SZKOPUL-Z, OIOIOI-V)
       - utf-8 0xff w configu (SZKOPUL-15)
       - NoBackend (SZKOPUL-Y, SZKOPUL-H)
       - No such file or directory: '/tmp/tmpBcZp_X/pod/prog'; przeanalizować (SZKOPUL-Q, SZKOPUL-G)
       - Brak outu lub inu testu (SZKOPUL-S, SZKOPUL-P)
       - ProblemPackageError Unrecognized test: szag0.in (SZKOPUL-10)
       - zły format archiwum (SZKOPUL-13)
       - brak pliku index.html (SZKOPUL-V)
       - Tried to replace problem 'zaklad' with 'odcinki'. For safety, changing problem short name is not possible (SZKOPUL-T)
      - "cannot execute binary file ZLE!!!" (OIOIOI-P)
      - OIOIOI-Q
      - "while scanning for the next token found character '\t' that cannot start any token" (OIOIOI-T)
      - OIOIOI-F
      - Sharingcli 500 error returned by external service (eg. main.edu.pl) (SZKOPUL-D)
      - While unpacking packages there might be thrown filetracker.FiletrackerError: File exists (SZKOPUL-K)

        Issue Links

          Activity

          Hide
          Gerrit Gerrit added a comment -
          Change oioioi~master~Ie83fa532023925971f099a706602adb446e6d2dd, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/2852

          SIO-1981 Stop logging package processing errors to Sentry

          Some changes are required to be applied to the logging config:
          * Define filter:
              'filters': {
                  'omit_sentry': {
                      '()': 'oioioi.base.utils.log.OmitSentryFilter'
                  },
              }
          * Add the filter to the Sentry handler:
              'sentry': {
                  'level': 'ERROR',
                  'filters': ['omit_sentry'],
                  'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
              }

          Change-Id: Ie83fa532023925971f099a706602adb446e6d2dd
          Show
          Gerrit Gerrit added a comment - Change oioioi~master~Ie83fa532023925971f099a706602adb446e6d2dd, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2852 SIO-1981 Stop logging package processing errors to Sentry Some changes are required to be applied to the logging config: * Define filter:     'filters': {         'omit_sentry': {             '()': 'oioioi.base.utils.log.OmitSentryFilter'         },     } * Add the filter to the Sentry handler:     'sentry': {         'level': 'ERROR',         'filters': ['omit_sentry'],         'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',     } Change-Id: Ie83fa532023925971f099a706602adb446e6d2dd
          Hide
          Gerrit Gerrit added a comment -
          Change oioioi~master~I75e76b3bc2746d1528971b9e428b4db29c9ae72a, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/2862

          SIO-1981 Add information about Sentry to README

          Change-Id: I75e76b3bc2746d1528971b9e428b4db29c9ae72a
          Show
          Gerrit Gerrit added a comment - Change oioioi~master~I75e76b3bc2746d1528971b9e428b4db29c9ae72a, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2862 SIO-1981 Add information about Sentry to README Change-Id: I75e76b3bc2746d1528971b9e428b4db29c9ae72a

            People

            • Assignee:
              Szymon Acedański
              Reporter:
              Paweł Koniarski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: