Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16193

Better error messages when installing restricted packages using nuxeoctl.

    XMLWordPrintable

    Details

      Description

      I tried to install nuxeo-birt-integration using nuxeoctl in an unregistered instance of Nuxeo. The error message I got was, "Download failed for nuxeo-birt-integration-2.5.3. Package not found (404)."

      Here's a larger chunk of the output:

      Dependency resolution:
       Installation order (1):        nuxeo-birt-integration-2.5.3
       Unchanged packages (6):        nuxeo-dm:5.9.5, easyshare:1.0.2, nuxeo-agenda:1.1.4, nuxeo-drive:1.3.5, nuxeo-dam:5.9.5, nuxeo-social-collaboration:5.9.5
       Packages to download (1):      nuxeo-birt-integration:2.5.3
      
      Do you want to continue (yes/no)? [yes] 
      Downloading [nuxeo-birt-integration-2.5.3]...
      Aborting packages change request
      
      Some commands failed:
      * download (nuxeo-birt-integration-2.5.3)
          Download failed for nuxeo-birt-integration-2.5.3. Package not found (404).
      

      Nothing in the output implies that I need to register the instance, so the error was confusing to me (as a new user). The docs cover this vaguely (http://doc.nuxeo.com/x/FwNc).

      It would be nice if the nuxeoctl error message simple informed me that the instance must be registered, though maybe the problem is that the marketplace should return a 401 and not a 404?


      nuxeoctl mp-add command provides a more comprehensive message when user try to install a Nuxeo package that requires to be registered.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: