Linux path separator used under Windows for pylint command line

For some reason, the scanner calls pylint with a suspicious formatting:

DEBUG: Calling command: 'pylint --msg-template {path}:{line}: [{msg_id}({symbol}), {obj}] {msg} -r n /C:/f1/f2/repo/f3/src/m1/'
DEBUG: Cannot parse the line: ************* Module /C:/f1/f2/repo/f3/src/m1/

Ubuntu 18.04.2 LTS:

  • SonarQube:
  • SonarPython 1.14 (build 3086)

Windows 7 x64:

  • SonarQube Scanner

Anyone else encountered this issue?

SonarPython works fine, so it seems to be just a regression in 1.14.

Is there an easy way to notify the SonarPython team? Their GitHub repo is not configured for issues.

@edu You already reached the right people :slight_smile:

Indeed, there could be a regression.
We have to investigate that.

My guess: SONARPY-333 and more particularly that line.

Indeed, either that line or this one:

Unfortunately, I don’t have enough Java/Maven experience so I have to be patient.

Hi @edu,
We just released SonarPython 1.14.1 that should fix your problem.

Hi @Andrea_Guarino , the new version works just fine. Thank you very much for your help and sorry for the delay.

1 Like