You need to sign in to do that
Don't have an account?
Christophe Cano
Live App in Quip: Fail to use comand "quip-apps pack"
Hello,
context- trailhead module : Quick Start: Quip Live Apps > Run Your Live App in Quip
I Had to install python in order to execute quip-apps in order to success.
Creating a app using a python :
C:\..\quip-apps-sdk-0.91\bin>C:\Users\e371495\AppData\Local\Programs\Python\Python36-32\python .\bin\quip-apps init myApp FCCAjAoobBu
INFO:root:Successfully initialized apps\myapp
I get an OK from npm install and build.
but I am not able to pack the application :
C:\..\quip-apps-sdk-0.91>C:\Users\e371495\AppData\Local\Programs\Python\Python36-32\python bin\quip-apps pack apps\myapp\app
I get the following :
context- trailhead module : Quick Start: Quip Live Apps > Run Your Live App in Quip
I Had to install python in order to execute quip-apps in order to success.
Creating a app using a python :
C:\..\quip-apps-sdk-0.91\bin>C:\Users\e371495\AppData\Local\Programs\Python\Python36-32\python .\bin\quip-apps init myApp FCCAjAoobBu
INFO:root:Successfully initialized apps\myapp
I get an OK from npm install and build.
but I am not able to pack the application :
C:\..\quip-apps-sdk-0.91>C:\Users\e371495\AppData\Local\Programs\Python\Python36-32\python bin\quip-apps pack apps\myapp\app
I get the following :
Thank you,
Christophe
Christophe
I am still failling to pack using the command tool.
I zipped manually the files and get succes to upload the app to Quip.
Christophe
C:\..\quip-apps-sdk-0.91>C:\Users\e371495\AppData\Local\Programs\Python\Python36-32\python bin\quip-apps pack apps\myapp\app
Hope this solves the issue.
I've replaced the path (of python) as Meenalochani suggested. No joy: same as above when trying to pack the app. I even went as far as to try more 'unix-y' commands:
PS C:\Users\fhartley\quip-apps-sdk-0.91> C:\Python27\python \bin\quip-apps pack apps\bear\app
Traceback (most recent call last):
File ".\bin\quip-apps", line 160, in <module>
main()
File ".\bin\quip-apps", line 156, in main
create_package(args.args[0], args.output)
File ".\bin\quip-apps", line 123, in create_package
assert path.startswith("./")
AssertionError
PS C:\Users\fhartley\quip-apps-sdk-0.91> C:\Python27\python ./bin/quip-apps pack apps/bear/app
Traceback (most recent call last):
File "./bin/quip-apps", line 160, in <module>
File "./bin/quip-apps", line 156, in main
File "./bin/quip-apps", line 123, in create_package
AssertionError
Thoughts?
Thanks all!
Yes, my better suggestion is to instal python to complete the exercise.
after, zip manually the app instead of using the command "quip-apps pack ".
as Russell__c said : if you zip the dist directory itself and add the manifest.json into the zipped file, then rename to app.ele it will upload correctly into Quip.