Project

General

Profile

Actions

Support Request #4287

closed

url is resolved with invalid backslashes

Added by hidden over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Known Problem
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::Launcher
FAQ Links:

Description

*Supportanfrage

im configurationeditor.cesettings wird bei den Launcher folgender Eintrag eingefügt:

<launcher>
    <name>via ADTF Control_8000</name>
    <executable>"$(ADTF_DIR)/bin/adtf_control" -l="$(ADTF_SESSION_FILENAME)" -console -launcher=adtf -url="http://localhost:8000"</executable>
    <workingdirectory>$(ADTF_DIR)/bin</workingdirectory>
</launcher>

Dies führt zur Fehlermeldung:

*******************************************************************************
ADTF - Automotive Data and Time-Triggered Framework
*******************************************************************************

 * WELCOME TO ADTF Control *

use 'help' to see available commands
*******************************************************************************
Trying to connect to the ADTF System at 'http:\\localhost:8000' ...
ADTF Runtime Exception
Exception occurred while running adtf:
Code: -5
"The URL is not valid" 
File: C:\jenkins\ws\A3_bld\PLATFORM\WIN7_x64_vc140\source\src\tools\launcher\adtf_launcher.cpp(153)
Result code '-35 '(ERR_NOT_CONNECTED) - Not connected [File: C:\jenkins\ws\A3_bld\PLATFORM\WIN7_x64_vc140\source\src\tools\adtfcontrol\adtfcontrol.cpp] [Line: 576] [Func: launch_system]
adtf>

Lösung

Muss in Produktticket ACORE-9698 gelöst werden.

Actions #1

Updated by hidden over 5 years ago

  • Project changed from Public Support to 11
  • Status changed from New to In Progress
  • Topic set to ADTF::Launcher
  • Customer set to AUDI
  • Department set to EF
  • Affected Products ADTF 3.3.3 added
  • Platform Windows 7 64bit added
Actions #2

Updated by hidden over 5 years ago

Hallo Florian,

kannst Du Dir das bitte mal ansehen.
Ich kann das Verhalten reproduzieren.
Grundsätzlich sollte das doch aber funktionieren?

Actions #3

Updated by hidden over 5 years ago

Hallo Zusammen,

wenn ich das - vor dem url und die Anführungszeichen im configurationeditor.cesettings auslasse, werden die Slashes nicht in Backslashes umgewandelt. Dann klappt auch die Verbindung

<executable>"$(ADTF_DIR)/bin/adtf_control" -l="$(ADTF_SESSION_FILENAME)" -console -launcher=adtf url=http://localhost:8000</executable>

Gruß,
Evrim

Actions #4

Updated by hidden over 5 years ago

  • Status changed from In Progress to Customer Feedback Required
  • Resolution set to Known Problem
  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ACORE-9495
  • Support Level changed from 2nd Level to 3rd Level

Hallo Evrim,

wenn ich das - vor dem url und die Anführungszeichen im configurationeditor.cesettings auslasse, werden die Slashes nicht in Backslashes umgewandelt. Dann klappt auch die Verbindung

Das ist allerdings Zufall, in diesem Fall wird url ignoriert und die default Adresse verwendet -> http://localhost:8000.
Wenn es dir um die Adresse geht, kannst du es auch weglassen, diese wird default verwendet.

Da wir zu ADTF 3.4.0 die Kommandozeilenparameter überarbeiten, werden wir dieses Problem gleich mitlösen.

Actions #5

Updated by hidden over 5 years ago

  • Project changed from 11 to Public Support
  • Subject changed from ADTF 3.3.3 CE: Slashes in Url von Launcher-Einträgen werden durch Backslashes ersetzt to url is resolved with invalid backslashes
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Private changed from Yes to No
  • Product Issue Numbers changed from https://www.cip.audi.de/jira/browse/ACORE-9495 to https://www.cip.audi.de/jira/browse/ACORE-9698
Actions #6

Updated by hidden over 5 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF