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

App Store not working - can't view an app

    Details

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

      Description

      I am able to submit an App, but when I try to visit the App's page, App Store gives an error:

      "Page not found (404)
      Request Method: GET
      Request URL: https://dev-appstore-2.bioviz.org/apps/org.lorainelab.igb.protannot
      Raised by: apps.views.app_page
      No App matches the given query.

      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 404 page."

      Let me know if you are able to take a look at this tonite – main thing is I'd like the testers to have a working copy tomorrow. If not, no worries!

      Sameer Shanbhag
      Riddhi Jagdish Patil
      Noor Zahara

        Attachments

          Activity

          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          I will have a look

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - I will have a look
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          [~aloraine] Hi Professor,

          I looked into it and found out that this problem is specific to ProtAnot.

          I tried to submit the Super Simpel IGB App and it works. I'll dig deeper into it and update this thread.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - [~aloraine] Hi Professor, I looked into it and found out that this problem is specific to ProtAnot. I tried to submit the Super Simpel IGB App and it works. I'll dig deeper into it and update this thread.
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Another Observation:

          The problem is with the symbolic name:
          1. ProtAnot has Symbolic Name: org.lorainelab.igb.protannot
          2. If we convert Symbolic name to org-lorainelab-igb-protanot it works. (Change from Admin Panel)

          I'll try to see how we can fix this.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Another Observation: The problem is with the symbolic name: 1. ProtAnot has Symbolic Name: org.lorainelab.igb.protannot 2. If we convert Symbolic name to org-lorainelab-igb-protanot it works. (Change from Admin Panel) I'll try to see how we can fix this.
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment - - edited

          The issue Is resolved.

          Regex needed to be fixed.
          re_path(r'^(?P<app_name>[-\w\d]+)/'
          changed to
          *re_path(r'^(?P<app_name>[-\w\d\.]+)/'*
          \. also considers "." in the url

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited The issue Is resolved. Regex needed to be fixed. re_path(r'^(?P<app_name> [-\w\d] +)/' changed to * re_path(r'^(?P<app_name> [-\w\d\.] +)/' * \. also considers "." in the url
          Show
          sameer Sameer Shanbhag (Inactive) added a comment - PR Raised: https://bitbucket.org/lorainelab/appstore/pull-requests/169/igbf-2150-changing-regex-to-wok-with-in/diff
          Hide
          ann.loraine Ann Loraine added a comment -

          Merged to master.

          Show
          ann.loraine Ann Loraine added a comment - Merged to master.
          Hide
          ann.loraine Ann Loraine added a comment -

          Deployed to dev-appstore-2. Error no longer occurs, moving to Closed.

          Show
          ann.loraine Ann Loraine added a comment - Deployed to dev-appstore-2. Error no longer occurs, moving to Closed.
          Hide
          ann.loraine Ann Loraine added a comment -

          https://dev-appstore-2.bioviz.org/apps/org.lorainelab.igb.protannot is properly displayed.

          Editorial comment: regular expressions are very sharp knives.

          Show
          ann.loraine Ann Loraine added a comment - https://dev-appstore-2.bioviz.org/apps/org.lorainelab.igb.protannot is properly displayed. Editorial comment: regular expressions are very sharp knives.
          Hide
          prutha Prutha Kulkarni (Inactive) added a comment -

          Tested on dev-appstore-2. After submitting the protannot app when I tried to load the App's page, it was loaded successfully without showing any errors on the appstore and the fixed version seems to work fine. Moving it to DONE.

          Show
          prutha Prutha Kulkarni (Inactive) added a comment - Tested on dev-appstore-2. After submitting the protannot app when I tried to load the App's page, it was loaded successfully without showing any errors on the appstore and the fixed version seems to work fine. Moving it to DONE.

            People

            • Assignee:
              sameer Sameer Shanbhag (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: