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

[fiware-stackoverflow] Cannot run Fiware tutorial on github

    Details

    • Type: Monitor
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FIWARE-TECH-HELP

      Description

      Created question in FIWARE Q/A platform on 05-12-2023 at 12:12
      Please, ANSWER this question AT https://stackoverflow.com/questions/77605912/cannot-run-fiware-tutorial-on-github

      Question:
      Cannot run Fiware tutorial on github

      Description:
      I am trying to run the tutorial on https://github.com/FIWARE/tutorials.Time-Series-Data but I can't. Cygwin gives me the following error when I run ./services create:
      $ ./services create
      ./services: line 16: $'\r': command not found
      : invalid option 17: set: -
      set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
      ./services: line 18: $'\r': command not found
      ./services: line 30: syntax error near unexpected token $'{\r''
      '/services: line 30: loadData () {

      It seems like the script has
      Windows-style line endings (\r\n or carriage return + line feed) which are causing the problems. I tried the command "dos2unix ./services" but getting the following error:
      ': not a valid identifierort:

      I've even tried wsl with Ubuntu and Alpine distros but still the same error: ': not a valid identifierort:
      I am running out of options at this stage so any help would be appreciated.

        Activity

        newbacklogmanager Backlog Manager created issue -
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-04 17:52|CREATED monitor | # answers= 1, accepted answer= False

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-04 17:52|CREATED monitor | # answers= 1, accepted answer= False
        newbacklogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        newbacklogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-05 01:00|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-05 01:00|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        newbacklogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8h 8m 1 Backlog Manager Today 2:00 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            newbacklogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: