Framework "ubuntu-sdk-13.10" not present on system

Bug #1219185 reported by David Planella
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-touch-meta (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The 'click verify' command crashed for me while verifying a click package:

$ click verify com.ubuntu.developer.davidplanella.qreator_0.1_all.click
Traceback (most recent call last):
  File "/usr/bin/click", line 84, in <module>
    sys.exit(main())
  File "/usr/bin/click", line 79, in main
    mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/verify.py", line 37, in run
    installer.audit(package_path)
  File "/usr/lib/python3/dist-packages/click/install.py", line 167, in audit
    return self.audit_control(package.control)
  File "/usr/lib/python3/dist-packages/click/install.py", line 161, in audit_control
    'Framework "%s" not present on system' % framework)
ValueError: Framework "ubuntu-sdk-13.10" not present on system

The package I've tested it on is:
http://ubuntuone.com/733umTtVoeHJBiO5xvB7Cf

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: click 0.4.0
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Sat Aug 31 10:44:32 2013
InstallationDate: Installed on 2010-06-24 (1163 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MarkForUpload: True
SourcePackage: click
UpgradeStatus: Upgraded to saucy on 2013-06-19 (73 days ago)

Revision history for this message
David Planella (dpm) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in click (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Use the provided --force-missing-framework option for now.

Creating the framework declaration is up to some suitably top-level package in the SDK; I'm sure it's not qtcreator but I'm reassigning it there in the hope that that will get attention from the right people.

affects: click (Ubuntu) → qtcreator (Ubuntu)
David Planella (dpm)
affects: qtcreator (Ubuntu) → ubuntu-qtcreator-plugins
tags: added: appstore
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: New → Confirmed
no longer affects: ubuntu-qtcreator-plugins
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

Neither the click package creating or the click package installation feature of the SDK give such error, so I turn it to invalid.

I suggest to address this issue to the click project, it might be better to track it there.

Changed in qtcreator-plugin-ubuntu:
status: Confirmed → Invalid
Revision history for this message
Colin Watson (cjwatson) wrote :

Please do not close this bug again. You might perhaps note that I reassigned this to you quite deliberately *from* the click project, as the author of click!

The click tools currently mostly suppress this error so that people can make progress, but it needs to be fixed properly. The design of click requires the SDK to declare this framework in some suitable top-level package once the interface is sufficiently frozen.

Changed in qtcreator-plugin-ubuntu:
status: Invalid → Confirmed
Revision history for this message
Jono Bacon (jonobacon) wrote :

Hi Colin,

Thanks for the suggested workaround, but I get:

jono@forge:~/source$ click install com.ubuntu.developer.jonobacon.sleepytime_0.1_all.click --force-missing-framework
Traceback (most recent call last):
  File "/usr/bin/click", line 84, in <module>
    sys.exit(main())
  File "/usr/bin/click", line 79, in main
    mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/install.py", line 51, in run
    package_path, user=options.user, all_users=options.all_users)
  File "/usr/lib/python3/dist-packages/click/install.py", line 231, in install
    self._check_write_permissions(self.db.overlay)
  File "/usr/lib/python3/dist-packages/click/install.py", line 209, in _check_write_permissions
    "No permission to write to %s as clickpkg user" % path)
click.install.ClickInstallerPermissionDenied: No permission to write to /opt/click.ubuntu.com as clickpkg user
jono@forge:~/source$

Should I file this as a seperate bug, and if so, where?

Revision history for this message
Jono Bacon (jonobacon) wrote :

Oops, ignore my last comment. I need to run the command under sudo.

affects: qtcreator-plugin-ubuntu → ubuntu-touch-meta (Ubuntu)
Changed in ubuntu-touch-meta (Ubuntu):
importance: Undecided → High
Revision history for this message
Daniel Holbach (dholbach) wrote :

After reading this thread: https://lists.launchpad.net/ubuntu-phone/msg04159.html

<dholbach> lool, I haven't seen any mails in the last week on the "click framework" thread - do we still need to do anything there?
<lool> dholbach: so xnox fixed the seeds, but I don't think we've actually landed the framework file
<lool> dholbach: that would be good to do now
<dholbach> lool, awesome!
<lool> dholbach: I guess provided by the ubuntu-sdk-libs package
<dholbach> lool, I'll add a task to bug 1219185 then
<ubot5> bug 1219185 in qtcreator-plugin-ubuntu "Framework "ubuntu-sdk-13.10" not present on system" [Undecided,Confirmed] https://launchpad.net/bugs/1219185
<lool> dholbach: so would you think SDK team would upload?
<dholbach> lool, I didn't touch the bug at all - I don't know if qtcreator-plugin-ubuntu needs any changes at all
<lool> dholbach: I think it's more of a touch-meta upload
<dholbach> yep
<dholbach> I'll reassign then
<lool> dholbach: but I'd rather someone coordinate it, perhaps from SDK
<lool> dholbach: that would be packagekit plugin at least, perhaps other places

Revision history for this message
Loïc Minier (lool) wrote :

We have 13.10 framework since a while now; closing

Changed in ubuntu-touch-meta (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.