Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-7143

FIWARE.Request.Tech.Cloud.ObjectStorage.FIWARE Lab Assistance

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Dear FIWARE lab,

      I have a problem with FIWARE Cloud Portal to download files.

      When I go to my container via the web browser and login in on FIWARE lab cloud and press Upload Object, give it a name and press Download Object everything works fine, it will download the object.

      But when I run the Phyton script from the example, source: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide

      I have changed the script so it only creates a container, stores text into the create container and lists object from the container. So far no problems.
      But when I go to my container via the web browser and login in on FIWARE lab cloud. I see the container and text file but when I press Download Object, nothing happens I only see the loading icon. It's not possible to download object that are stored by the script.

      Maybe it's a bug or something like that, I don't know. Or maybe I am doing something wrong.
      Please could you help me?

      With best regards,
      Vriendelijke groeten,

      Igor Ivanisevic

      nederdesign.nl
      Zuidstraat 14
      4551 BL Sas van Gent

      Postbus 29
      4550 AA Sas van Gent

      0115 - 69 19 85 | welkom@nederdesign.nl<welkom@nederdesign.nl> | www.nederdesign.nl<http://www.nederdesign.nl/>

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: "Nederdesign.nl" <welkom@nederdesign.nl>]

      1. test1.py
        6 kB
        FW External User

        Activity

        Hide
        danieles Daniele Santoro added a comment -

        Dear,

        I've forwarded your request to the second level support. They will help you solve your issue.

        Best,
        Daniele

        Show
        danieles Daniele Santoro added a comment - Dear, I've forwarded your request to the second level support. They will help you solve your issue. Best, Daniele
        Hide
        knagin Kenneth Nagin added a comment -

        Alvaro:
        We think this ticket is probably related to the UI. Please take a look.

        Ken

        Show
        knagin Kenneth Nagin added a comment - Alvaro: We think this ticket is probably related to the UI. Please take a look. Ken
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi, could you send me the REST request you send to store the object?

        Show
        aalonsog Alvaro Alonso added a comment - Hi, could you send me the REST request you send to store the object?
        Hide
        fw.ext.user FW External User added a comment -

        Comment by welkom@nederdesign.nl :

        Hi Fiware,

        The request that I send is via the Python code (You will find it in the attachment).
        The Python code creates a container, lists container information and stores a text file in the container.
        At the end of the code you will see the requests.

        When I try to download the file it's impossible.
        I also have tried to download the file in different browser but still the same problem.

        With best regards,
        Vriendelijke groeten,
        Igor Ivanisevic
         
        nederdesign.nl
        Zuidstraat 14
        4551 BL Sas van Gent
         
        Postbus 29
        4550 AA Sas van Gent
         
        0115 - 69 19 85  |  welkom@nederdesign.nl |  www.nederdesign.nl

        ----Oorspronkelijk bericht----
        Van: Help-Desk jira-help-desk@fi-ware.org
        Verzonden: woensdag 7 september 2016 11:19
        Aan: Nederdesign.nl <welkom@nederdesign.nl>
        Onderwerp: [FIWARE-JIRA] (HELP-7143) [Fiware-lab-help] FIWARE Lab Assistance

        From FIWARE JIRA - Main Help Desk ----

        -------------------------------------------------------------------------------
        Comments:

        Alvaro Alonso - Today 11:18 AM
        ------------------
        Hi, could you send me the REST request you send to store the object?

        Kenneth Nagin - Today 8:52 AM
        ------------------
        Alvaro:
        We think this ticket is probably related to the UI. Please take a look.

        Ken

        Daniele Santoro - 26/Aug/16 9:54 AM
        ------------------
        Dear,

        I've forwarded your request to the second level support. They will help you solve your issue.

        Best,
        Daniele

        ------------------------
        Issue id: HELP-7143
        Description:
        Dear FIWARE lab,

        I have a problem with FIWARE Cloud Portal to download files.

        When I go to my container via the web browser and login in on FIWARE lab cloud and press Upload Object, give it a name and press Download Object everything works fine, it will download the object.

        But when I run the Phyton script from the example, source: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide

        I have changed the script so it only creates a container, stores text into the create container and lists object from the container. So far no problems.
        But when I go to my container via the web browser and login in on FIWARE lab cloud. I see the container and text file but when I press Download Object, nothing happens I only see the loading icon. It's not possible to download object that are stored by the script.

        Maybe it's a bug or something like that, I don't know. Or maybe I am doing something wrong.
        Please could you help me?

        With best regards,
        Vriendelijke groeten,

        Igor Ivanisevic

        nederdesign.nl
        Zuidstraat 14
        4551 BL Sas van Gent

        Postbus 29
        4550 AA Sas van Gent

        0115 - 69 19 85 | welkom@nederdesign.nl<welkom@nederdesign.nl> | www.nederdesign.nl<http://www.nederdesign.nl/>

        Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
        Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.

        Show
        fw.ext.user FW External User added a comment - Comment by welkom@nederdesign.nl : Hi Fiware, The request that I send is via the Python code (You will find it in the attachment). The Python code creates a container, lists container information and stores a text file in the container. At the end of the code you will see the requests. When I try to download the file it's impossible. I also have tried to download the file in different browser but still the same problem. With best regards, Vriendelijke groeten, Igor Ivanisevic   nederdesign.nl Zuidstraat 14 4551 BL Sas van Gent   Postbus 29 4550 AA Sas van Gent   0115 - 69 19 85  |  welkom@nederdesign.nl |  www.nederdesign.nl ---- Oorspronkelijk bericht ---- Van: Help-Desk jira-help-desk@fi-ware.org Verzonden: woensdag 7 september 2016 11:19 Aan: Nederdesign.nl <welkom@nederdesign.nl> Onderwerp: [FIWARE-JIRA] ( HELP-7143 ) [Fiware-lab-help] FIWARE Lab Assistance From FIWARE JIRA - Main Help Desk ---- ------------------------------------------------------------------------------- Comments: Alvaro Alonso - Today 11:18 AM ------------------ Hi, could you send me the REST request you send to store the object? Kenneth Nagin - Today 8:52 AM ------------------ Alvaro: We think this ticket is probably related to the UI. Please take a look. Ken Daniele Santoro - 26/Aug/16 9:54 AM ------------------ Dear, I've forwarded your request to the second level support. They will help you solve your issue. Best, Daniele ------------------------ Issue id: HELP-7143 Description: Dear FIWARE lab, I have a problem with FIWARE Cloud Portal to download files. When I go to my container via the web browser and login in on FIWARE lab cloud and press Upload Object, give it a name and press Download Object everything works fine, it will download the object. But when I run the Phyton script from the example, source: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide I have changed the script so it only creates a container, stores text into the create container and lists object from the container. So far no problems. But when I go to my container via the web browser and login in on FIWARE lab cloud. I see the container and text file but when I press Download Object, nothing happens I only see the loading icon. It's not possible to download object that are stored by the script. Maybe it's a bug or something like that, I don't know. Or maybe I am doing something wrong. Please could you help me? With best regards, Vriendelijke groeten, Igor Ivanisevic nederdesign.nl Zuidstraat 14 4551 BL Sas van Gent Postbus 29 4550 AA Sas van Gent 0115 - 69 19 85 | welkom@nederdesign.nl< welkom@nederdesign.nl > | www.nederdesign.nl< http://www.nederdesign.nl/ > Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost. Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
        Hide
        aalonsog Alvaro Alonso added a comment - - edited

        Hi,

        I don't know how your python code works, this is the request you have to do and that will produce an object compatible with Cloud Portal. Please, check the differences between your REST request and this one.

        PUT /container_name/object_name HTTP/1.1
        Host: Swift Endpoint
        Content-Type:application/json
        X-Auth-Token:auth_token

        {
        "mimeType": fileType,
        "metadata": {},
        "valuetransferencoding": "base64",
        "value": fileData
        }

        Show
        aalonsog Alvaro Alonso added a comment - - edited Hi, I don't know how your python code works, this is the request you have to do and that will produce an object compatible with Cloud Portal. Please, check the differences between your REST request and this one. PUT /container_name/object_name HTTP/1.1 Host: Swift Endpoint Content-Type:application/json X-Auth-Token:auth_token { "mimeType": fileType, "metadata": {}, "valuetransferencoding": "base64", "value": fileData }

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: