** Description changed:

+ [Impact]
+ 
+ The commands 'quickly package --extras' and 'quickly submitubuntu' do
+ not create working debian packages.  When run from their /opt locations,
+ they give a warning like:
+ 
+ File "/opt/extras.ubuntu.com/ubuapp/ubuapp_lib/ubuappconfig.py", line 57, in 
get_data_path
+     raise project_path_not_found
+ 
+ And even if you manually change code to fix that, it will complain about
+ missing gsettings schema files.
+ 
+ So those two commands are completely useless for ARB submission, despite
+ being a commonly recommended way to follow the ARB process.
+ 
+ [Test Case]
+ 
+ cd /tmp
+ quickly create ubuntu-application ubuapp
+ # close opened window
+ cd ubuapp
+ quickly package --extras
+ sudo dpkg -i ../ubuapp_0.1_all.deb
+ # on 12.04, this is the binary path
+ /opt/extras.ubuntu.com/ubuapp/ubuapp/ubuapp
+ # in my fixed version, this will be the binary path
+ #/opt/extras.ubuntu.com/ubuapp/bin/ubuapp
+ 
+ Notice that it will crash in the unfixed version.  But will run in my
+ fixed version.
+ 
+ [Regression Potential]
+ 
+ My fix carefully only affects the --extras path (which is also used for
+ submitubuntu).  I intentionally chose an ugly way to fix this so that I
+ could only affect that path and not regress anything else.
+ 
+ In 12.10, my hope is to eventually implement a non-ugly fix.  But I'm
+ confident this will only affect users of --extras.
+ 
+ [Original Report]
+ 
  Quickly version 12.04
  
  quickly package --extras makes a deb that contains a broken application.
  When installed the application contains errors
  
  running installed application
  bug 1
  $ /opt/extras.ubuntu.com/test-project$ ./test-project
  
  File 
"/opt/extras.ubuntu.com/test-project/test_project_lib/test_projectconfig.py", 
line 57, in get_data_path
-     raise project_path_not_found
+     raise project_path_not_found
  
  fix bug 1
  edit 
/opt/extras.ubuntu.com/test-project/test_project_lib/test_projectconfig.py
  
  line 19 __test_project_data_directory__ = '/opt/extras.ubuntu.com/test-
  project/share/test-project/'
  
  bug 2
  $ /opt/extras.ubuntu.com/test-project$ ./test-project
  
  (test-project:21107): GLib-GIO-ERROR **: Settings schema 'net.launchpad
  .test-project' is not installed
  
  bug 3
  the path '/opt/extras.ubuntu.com/test-project/share/test-project/' is too long

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998910

Title:
  quickly package --extras creates broken deb

To manage notifications about this bug go to:
https://bugs.launchpad.net/quickly/+bug/998910/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to