Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As I've finished my app for the App Showdown, I ran quickly submitubuntu, but I found that my app is installed inside /usr/bin. What? I need it at /opt! How can I fix this?

share|improve this question
    
Sorry, Eliah! :P –  espectalll123 Jul 6 '12 at 16:47
    
FYI, you've got three questions in the same question. Each question should generally be separate. –  Thomas W. Jul 6 '12 at 16:48
    
Yes please, could you modify this question so it's a single question and open separate ones for the others? Thanks! –  David Planella Jul 6 '12 at 16:58
    
Splitting questions... ;) –  espectalll123 Jul 6 '12 at 17:53
    
Done! Now you have two questions instead of one. Second one is askubuntu.com/questions/160561/removing-my-app-from-ubuntus-ppa –  espectalll123 Jul 6 '12 at 18:00
show 3 more comments

closed as too localized by David Planella, izx, hbdgaf, andrewsomething, John S Gruber Aug 20 '12 at 2:40

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 1 down vote accepted

Right, after running quickly package --verbose --extras (which does essentially the same as quickly submitubuntu except for uploading to a PPA) it looks your package does not even build.

It looks to me as if it might be an issue with the source tree layout. You've ported your app to Quickly, but you might need to make it a bit more Quickly-compliant. For one, I spotted that the virtuam folder where Quickly expects to find the app code is missing. You sould create and move your code there, instead of having it in virtuam_lib.

I've also noticed that in vui.py you've got a hardcoded path: os.chdir('/usr/share/virtuam/ui'). In general, hardcoded paths are considered bad practice, as they make your app less portable. Have a look at how Quickly loads the .ui file by creating an example app with quickly create ubuntu-application foo.

In general, if you need more help with this, I'd recommend to use the Ubuntu App Developers mailing list, or the Quickly talk mailing list as yours is a very localized issue that will require more support and might not be useful to other Askubuntu users.

share|improve this answer
    
I've done that chdir because I've done a false project and, after following the clues, I didn't know how Quickly loads the media/ui files... :/ –  espectalll123 Jul 7 '12 at 10:14
1  
Run quickly create ubuntu-application foo, then have a look at the foo_lib/Window.py. The builder is loaded with the get_builder function from the helpers.py module. But as I say, rather than a question, this issue requires a conversation, so I'd recommend sending an e-mail either to the ubuntu-app-devel mailing list or the quickly-talk mailing list. –  David Planella Jul 7 '12 at 10:38
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.