Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Qlik Users, make your voice heard! Participate in Wisdom of Crowds® Market Study: Start Survey
cancel
Showing results for 
Search instead for 
Did you mean: 
shraddha_23
Partner
Partner

Not able to import Qlik sense app(qvf) on Qlik sense QMC.

Hi All,

I m not able to import qlik sense app(qvf) on Qlik sense QMC.

Error:-invalid application

for reference find attached screen shot

13 Replies
OmarBenSalem
Partner
Partner

But even then; normaly it should work no? If the desktop is more recent than the server version; we sometimes won't find the variables when import the app etc; but I've never faced a problem where I can't import the application .

What are your desktop and server versions Shradha? And does the application work fine when u open it with ur Sense Desktop?

shraddha_g
Partner
Partner

did you use any images in that app?

maik_broxterman
Partner
Partner

Whoah cool it is working now.

I needed to send the raw image in the data field and not in the images field of Python requests module. Found that out after "reverse engineering" the QMC app import function.

So

data = json.dumps(self.data)

if self.files is not None:

  headers['Content-Type'] = 'application/vnd.qlik.sense.app'
   data = self.files

response = requests.post(

  url,

   cert=('/tmp/client.pem', '/tmp/client_key.pem'),

   verify=False,

   headers=headers,

   data=data

)

instead of

data = json.dumps(self.data)

if self.files is not None:

  headers['Content-Type'] = 'application/vnd.qlik.sense.app'

response = requests.post(

  url,

   cert=('/tmp/client.pem', '/tmp/client_key.pem'),

   verify=False,

   headers=headers,

   data=data,

   files=self.files

)

Where files contains just the output of open('tmp/application.qvf', 'rb')

awhitfield
Partner
Partner

Can you upload the app and see if anyone else can import it?

You Should have entries in the Servername_AuditACtivity_Engine.txt and Servername_AuditACtivity_Repository.txt log files, check it out and post the error message

for "Command=Import app" with "ResultText=Error"

Andy