← Back to team overview

ubuntu-phone team mailing list archive

Re: Click packages and U1db.Database

 

On Thu, Aug 22, 2013 at 11:28 AM, Jamie Strandboge <jamie@xxxxxxxxxxxxx>wrote:

> On 08/22/2013 05:37 AM, Sam Segers wrote:
> > Hi
> >
> > I'm developing an app for the Ubuntu App Showdown.
> > I tried to use click package to see how it works but I run into a
> problem when I
> > do 'click install ... .click':
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/click", line 65, in <module>
> >     sys.exit(main())
> >   File "/usr/bin/click", line 60, in main
> >     mod.run(args)
> >   File "/usr/lib/python3/dist-packages/click/commands/install.py", line
> 41, in run
> >     installer.install(package_path, user=options.user)
> >   File "/usr/lib/python3/dist-packages/click/install.py", line 200, in
> install
> >     package_name, package_version = self.audit(path)
> >   File "/usr/lib/python3/dist-packages/click/install.py", line 157, in
> audit
> >     return self.audit_control(package.control)
> >   File "/usr/lib/python3/dist-packages/click/install.py", line 151, in
> audit_control
> >     'Framework "%s" not present on system' % framework)
> > ValueError: Framework "ubuntu-sdk-13.10" not present on system
> >
> >
> > And my question for U1db.Database is what path I should use? Is there
> going to
> > be any guidelines on which directory's to use?
> >
>
> You can use pkcon or click for this. OTOH I don't know the pkcon command,
> but
> installing via click you can use:
> $ sudo click install --force-missing-framework --user=$USER ./*.click
>
> Note, you need --user=$USER to make sure click user hooks are run too.
>

Or
sudo -u phablet bash -l
pkcon install-local ./*.click

References