Opening Qlikview file fails
veglar opened this issue · 9 comments
Ctrl-Shift-B key combination opens corresponding qlikview application instead of reloading it
I have trouble making InQlik Tools to open my application. My guess is that there is an issue with the string command for opening qv.exe.
I get this error both when I use the default path for builds and when I point it out using
//#!C:\My path\My report.qvw
OR
//#!..\My relative path\My report.qvw
Note: Running the script (Ctrl-B) works fine without any issues.
I attached the log that is presented in Sublime Text when pressing Ctrl-Shift-B
'c:\Program' is not recognized as an internal or external command, operable program or batch file. [Finished in 0.0s with exit code 1] [cmd: ['cmd', '/C', 'c:\\Program Files\\QlikView\\qv.exe', 'C:\\Users\\vegarn\\Documents\\My report\\3_Load\\fdw\\Report.qvw']] [dir: C:\Users\vegarn\Documents\My report\3_Load\fdw] [path: C:\ProgramData\Oracle\Java\javapath;D:\app\vegarn\product\12.1.0\client_2;D:\app\vegarn\product\12.1.0\client_1;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Hewlett-Packard\HP Performance Advisor]
Could you manually place file with name QlikView script.sublime-settings and contents:
{
"qv_executable": ""c:\Program Files\QlikView\qv.exe""
}
into you User package directory (Menu command Preferences \ Browse packages, then down into directory User), and check it again?
Is this you want me to try? Add the line into the QlikView script.sublime-settings
?
My complete file will look like this:
{
"translate_tabs_to_spaces": true,
"tab_size": 2,
"open_external": ["xls","xlsx","mdb"],
"qv_executable": ""c:\Program Files\QlikView\qv.exe""
}
When adding this line I'm unable to save the file.
Error trying to parse settings: Invalid escape in Packages\InQlik-Tools\Settings\QlikView script.sublime-settings:5:19
Yes, my fault. Slash () shoud be escaped so line should look
"qv_executable": ""c:\Program Files\QlikView\qv.exe""
Urggg github eats my slashes
Try
"qv_executable": "\"c:\\Program Files\\QlikView\\qv.exe\""
I did it :)
I'll give it a go tomorrow. I left the machine that have tis issue for the day.
/Vegar
-------- Original Message --------
Subject: Re: [inqlik-tools] Opening Qlikview file fails (#4)
From: Vadim Tsushko notifications@github.com
To: inqlik/inqlik-tools inqlik-tools@noreply.github.com
CC: veglar vegar.lie.arntsen@gmail.com
I did it :)
Reply to this email directly or view it on GitHub:
#4 (comment)
OK
I moved over to another environment and I am no longer able to reproduce this error.
You should probably close this issue.