← Back to team overview

ubuntu-phone team mailing list archive

Re: Click packages and U1db.Database

 

Thanks

It's working now.
It doesn't show up in the dash. Maybe after a reboot.
I did have a problem that when making a click package, it includes the .git
directory which it ofc souldn't. This has write protected files that click
complains about when installing.

So about the database, does anyone know if an app gets a folder for storing
data, or I must just pick one?


2013/8/22 Jamie Strandboge <jamie@xxxxxxxxxxxxx>

> 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.
>
> --
> Jamie Strandboge                 http://www.ubuntu.com/
>
>

Follow ups

References