/srv/irclogs.ubuntu.com/2012/07/02/#ubuntu-app-devel.txt

dholbachgood morning06:40
=== dholbach_ is now known as dholbach
toabctlthe start with quickly is a bit bumpy. see #1020030 and #102003110:40
=== lucy is now known as Guest53835
Guest53835hey guys. would the glade dialog box be an appropriate template for an "edit" window that is invoked when creating/editing an item in the UI of my program? what would you guys do? create something from scratch?12:15
=== Guest53835 is now known as Will
=== mhall119_ is now known as mhall119
RobinJplease tell me this time not everyone's in coma...13:49
RobinJmhall119? are you there?13:52
RobinJlaunchpad keeps rejecting my ppa, and i've got about an hour left to fix it :/13:52
mhall119RobinJ: yes13:53
mhall119RobinJ: submission deadline is next week :)13:53
RobinJyeah, but i'm gone after today13:53
mhall119ah, ok13:53
mhall119so is Launchpad not creating a PPA, or are you not able to upload to it?13:53
RobinJi've commented out some lines in the quickly code, and now it can generate a deb package when running quickly package. but that doesn't run out of /opt13:54
mhall119why did you comment out stuff?13:54
RobinJbecause quickly crashed13:54
RobinJand no'one responded to my bug report13:54
RobinJso i had to do something13:54
RobinJrobin@RobinJ:~/Ubuntu One/Python/gtkreddit$ quickly configure ppa robinj/gtkreddit13:55
RobinJGet Launchpad Settings13:55
RobinJLaunchpad connection is ok13:55
mhall119RobinJ: you won't be around tomorrow?13:55
RobinJindeed13:55
RobinJstill need to pack, so don't have much time to get this submitted13:55
mhall119too bad, we're going to do support workshops13:55
RobinJ>;<13:55
RobinJlaunchpad keeps sending me this email after running quickly ubuntusubmit (which, i assume, makes sure the app runs out of opt?) http://www.imgdumper.nl/uploads5/4ff1a86b30d88/4ff1a86b2d2eb-Screenshot_from_2012-07-02_15%3A55%3A44.png13:56
RobinJit gets my ppa completely wrong, as you can see13:56
RobinJit's supposed to be ppa:robinj/gtkreddit13:57
mhall119RobinJ: change you dput.conf then13:59
mhall119from ~robinj/ppa/ubuntu to ~robinj/gtkreddit/ubuntu14:00
RobinJdput.conf? i'm using quickly submitubuntu, cause i assumed it would arrange for everything to run from /opt14:02
mhall119it will, but it's trying to upload it to a ppa called 'ppa', which you don't appear to have14:05
RobinJmhall119; problem is, i didn't tell it to...14:06
mhall119does quickly configure ppa return any errors?14:07
RobinJnope14:07
RobinJnone at all14:07
RobinJquickly configure robinj/gtkreddit14:07
RobinJlike that, right? ^14:07
mhall119is there a .quickly file in your project's directory?14:07
RobinJer quickly configure ppa robinj/gtkreddit, i mean14:07
RobinJyes14:07
RobinJproject = gtkreddit14:08
RobinJversion = 12.0414:08
RobinJtemplate = ubuntu-application14:08
RobinJlp_id = gtkreddit14:08
RobinJppa = gtkreddit14:08
mhall119huh...14:09
mhall119so it had that right14:09
RobinJ?14:10
RobinJis there another quick way to shove this into a ppa and make sure it conforms to the contest rules?14:10
RobinJand i can still change something after i uploaded it into the ppa, right? cause the image paths will probably have to be changed when it runs out of opt14:11
mhall119try: quickly submitubuntu --ppa robinj/gtkreddit14:12
mhall119you'll need to bump the version number of your package, you can only have one version uploaded14:13
mhall119so if you upload 0.1, and make a change, you can't upload a different 0.1, you need to upload 0.214:13
RobinJok14:18
RobinJmhall119; no email from launchpad yet...14:29
RobinJhttp://shelr.tv/records/4ff1b0229660807da200006814:30
RobinJthat's the shell output14:30
mhall119RobinJ: is bin/gtkreddit in the 'script' argument in your setup.py?14:36
RobinJsetup.py?14:36
mhall119you  should have a file called setup.py in the root of your project14:37
RobinJyeah, i have that file14:37
RobinJhttp://paste.ubuntu.com/1071365/14:37
RobinJi knew i wouldn't win anything, but i'm going nuts if i can't even get this thing submitted >.<14:38
mhall119it looks like it was submitted to your ppa14:39
RobinJAdding this PPA to your system14:39
RobinJThis PPA does not contain any packages yet. Find more information about how to upload packages in the PPA help page.14:39
RobinJ?14:39
RobinJon the positive side, no "rejected" mail yet14:40
mhall119it sometimes takes a big before the source package is loaded into your PPA to be built14:40
mhall119s/big/bit/14:40
RobinJa bit as in an hour or a bit as in a day or more?14:44
RobinJAAAAAAAAAARGH14:49
RobinJmhall119; REJECTED14:49
mhall119same error?14:49
RobinJexactly the same one14:49
RobinJhttps://launchpad.net/~trevormosey/+archive/ppa14:50
RobinJYou are receiving this email because you are the uploader of the above14:50
RobinJPPA package.14:50
RobinJwhat's this garbage, that's not my ppa14:50
RobinJand above that it says this;14:50
mhall119ok, we'll do this manually then14:50
RobinJRejected:14:50
RobinJLaunchpad failed to process the upload path '~robinj/ppa/ubuntu':14:50
RobinJCould not find a PPA named 'ppa' for 'robinj'.14:50
RobinJboth are wrong14:50
mhall119do you have a ~/dput.conf file?14:50
RobinJmhall119; but will it run out of /opt then?14:50
mhall119as long as the packaging step worked14:50
RobinJmhall119; nop14:50
RobinJmhall119; the packaging step worked, but tyhe package it created runs from /usr14:51
mhall119I'm going to walk you through manually uploading the package that is being rejected14:51
johnp_How do I add a folder choose widget in glade? There is one for file chooser only.14:51
RobinJi have to most terrible lucjk with this contest >.< yesterday i had to take half of the basic functionality out of my app because of some last minute bug, and now i can't even submit it14:52
RobinJwell, yesterday, more like this morning14:52
mhall119johnp_: there should be a 'mode' setting that lets you specify that the Gtk.FileChooser should choose folders instead of files14:54
mhall119RobinJ: do you have a ~/dput.conf file?14:55
RobinJnope14:56
mhall119sorry, should be ~/.dput.cf14:56
RobinJrobin@RobinJ:~$ cat .dput.cf14:56
RobinJ[ppa]14:56
RobinJfqdn = ppa.launchpad.net14:56
RobinJmethod = ftp14:56
RobinJincoming = ~robinj/ppa/ubuntu14:56
RobinJlogin = anonymous14:56
RobinJallow_unsigned_upload = 014:56
mhall119RobinJ: ok, add this to the bottom of that: http://paste.ubuntu.com/1071409/14:58
johnp_mhall119: Thanks, it was so simple :)14:58
RobinJdone14:59
mhall119RobinJ: ok, let's see if we can fix your packaging first15:00
mhall119run "quickly package --extras"15:00
RobinJwait wait wait15:01
RobinJmy last guess worked15:01
RobinJAccepted:15:01
RobinJ OK: gtkreddit_12.07.6.tar.gz15:01
RobinJ OK: gtkreddit_12.07.6.dsc15:01
RobinJ     -> Component: main Section: python15:01
RobinJgtkreddit (12.07.6) precise; urgency=low15:01
RobinJ  * New release.15:01
RobinJ:D15:01
RobinJso for future reference; edit the ppa in .dput.cf (the existing one, not adding a new one), and run quickly submitubuntu again15:02
RobinJhttps://launchpad.net/~robinj/+archive/gtkreddit15:02
RobinJmhall119; thanks :D15:02
mhall119np, feel free to PM me any time (whether I'm awake or not, my client is connected) in the next week if you need more help15:03
RobinJoh ity just couldn't be that simple, could it >.<15:03
RobinJmy ppa exists but is unusable15:03
mhall119RobinJ: also, the support session videos will be available to replay after we record them tomorrow, links will be at http://paste.ubuntu.com/1071409/15:03
mhall119wrong link :(15:03
mhall119http://developer.ubuntu.com/showdown/workshops/15:03
mhall119RobinJ: ok, so you have a file in your project root that ends in "source.changes"?15:04
RobinJmhall119; http://shelr.tv/records/4ff1b8b49660807da200006915:04
mhall119hold on, your package is building15:05
mhall119https://launchpad.net/~robinj/+archive/gtkreddit/+build/362392915:05
RobinJoh15:05
RobinJlol?15:05
RobinJerp.... so this server is building my package? 0.o15:05
mhall119yup15:05
RobinJwhat's the advantage above yust uploading a deb?15:05
RobinJfailed to build -.-15:06
mhall119the PPA system lets you (the author) sign the source, then the PPA controls the building of it15:06
RobinJwell i don't see the advantage, as if i do it myself, it works, and i'm in control (or at least, a but more)15:07
mhall119"glib-compile-schemas: not found"15:07
mhall119someone else had that problem on AskUbuntu15:07
RobinJ"Edit the control file in the debian folder of your project and add libglib2.0-bin to the Build-Depends list. Be sure to keep the list separated by commas as it should be."15:08
mhall119For packages in Ubuntu, you want to be able to "apt-get source" the package and get the actual source that built it, this way Launchpad can guarantee that15:08
mhall119RobinJ: that sounds right15:09
mhall119make sure it's on "Build-Depends" not "Depends", as it's needed to build the package15:09
RobinJNow signing changes and any dsc files...15:10
RobinJ signfile gtkreddit_12.07.6ubuntu1.dsc Robin Jacobs <robin@RobinJ>15:10
RobinJgpg: skipped "Robin Jacobs <robin@RobinJ>": secret key not available15:10
RobinJgpg: /tmp/debsign.bTZeTbNi/gtkreddit_12.07.6ubuntu1.dsc: clearsign failed: secret key not available15:10
RobinJdebsign: gpg error occurred!  Aborting...15:10
RobinJplease not the stupud gpg keys again...15:10
RobinJhttp://askubuntu.com/questions/156339/launchpad-failed-to-build-after-quickly-submitubuntu15:11
dholbachRobinJ, debian/changelog does not seem to your real email address15:11
dholbachI don't know if that's the standard quickly work-flow, but I have something like this at the end of my ~/.bashrc:15:11
dholbachexport DEBFULLNAME='Daniel Holbach'15:11
dholbachexport DEBEMAIL='daniel.holbach@ubuntu.com'15:11
RobinJrobin@RobinJ? that's user@host, but not my email address...15:12
dholbachif you add it and restart your terminal the packaging tools should know who you are :)15:12
mhall119RobinJ: it's whatever matches your GPG key15:12
mhall119also, export DEBSIGN_KEYID=8981F572 (only with your gpg key ID, not mine)15:12
mhall119or put that last one (without export) inito ~/.devscripts15:13
johnp_what will be connecting signal for choosing a folder in Gtk3?15:14
RobinJmhall119; ok, pushed it to launchpad again15:15
RobinJonly i didnt increment my version >.< is that necessary, seeing as the last build failed?15:16
RobinJBuild status15:18
RobinJ Needs building Cancel build15:18
RobinJStart in 8 minutes15:18
mhall119johnp_: are you using Gtk.FileChooserButton?15:18
johnp_mhall119: yep15:18
mhall119johnp_: looks like http://developer.gnome.org/gtk3/3.0/GtkFileChooserButton.html#GtkFileChooserButton-file-set15:19
RobinJmhall119; i'm getting depressed >;<15:30
RobinJbuild failed15:30
RobinJhttps://launchpad.net/~robinj/+archive/gtkreddit/+build/362396815:30
toabctli tried to create a new app qith quickly and wanted to push the standard app to an ppa - without success.15:31
johnp_mhall119: thanks again :)15:31
RobinJtoabctl; welcome to my boat.15:32
toabctlwhen i call "quickly share", i get ERROR: an error occurred during source package creation15:32
toabctlRobinJ, i'm no longer sure if it's a good idea to use quickly. it's nice to have all the stuff directly available but only if it works ;)15:32
RobinJtoabctl; same here.15:33
mhall119RobinJ: doesn't look like that package is being isntalled (libglib2.0-bin)15:35
RobinJmhall119; where do you see that log thingy?15:36
RobinJor is that only while it's working?15:36
mhall119RobinJ: https://launchpadlibrarian.net/109159206/buildlog_ubuntu-precise-i386.gtkreddit_12.07.7_FAILEDTOBUILD.txt.gz15:36
RobinJERROR: Python module AddredditDialog not found15:36
RobinJERROR: Python module RemoveredditDialog not found15:36
RobinJERROR: Python module PreferencesGtkredditDialog not found15:36
RobinJERROR: Python module helpers not found15:36
RobinJERROR: Python module xdg.BaseDirectory not found15:36
RobinJERROR: Python module ErrorDialog not found15:36
RobinJERROR: Python module gtkredditconfig not found15:36
RobinJERROR: Python module Builder not found15:36
RobinJERROR: Python module helpers not found15:36
RobinJERROR: Python module helpers not found15:36
RobinJERROR: Python module helpers not found15:36
RobinJERROR: Python module Window not found15:36
mhall119looks like something isn't right in your setup.py15:37
mhall119ajmitch: ^^ any ideas?15:37
RobinJmhall119; http://bazaar.launchpad.net/~robinj/gtkreddit/quickly_trunk/view/head:/setup.py15:40
RobinJlike what?15:40
mhall119RobinJ: sorry, that's the extent of my knowledge :(15:44
RobinJ>;< oh, i'll just give them the deb package and hope they're merciful then15:45
RobinJthanks for the effort anyway mhall11915:45
mhall119RobinJ: might be better to upload a tarball of your code15:45
RobinJmhall119; why's that? they can't easily test a tarball, can they?16:17
mhall119RobinJ: that need to be able to see the source and build that into a package16:18
RobinJmhall119; quickly is a jerk again. it still fails to build because quickly just overwrites debian/control17:30
RobinJmhall119; how do i increment the version?17:36
RobinJPackage has already been uploaded to ppa on ppa.launchpad.net17:36
RobinJNothing more to do for ../gtkreddit_12.07.7_source.changes17:36
commandolineRobinJ: isn't there a 'changelog' file where you can add another entry? (that's normal debian packaging, but maybe quickly handles that differently)17:37
commandolinedebian/changelog17:37
mhall119run "dch -i" from the project root to add a new version entry to debian/changelog17:37
commandoline^definitely the better way to do it.17:38
RobinJmhall119; what should i do there?17:40
mhall119RobinJ: say what you changed since the last version of your package, give the new version number (dch will guess what it should be, but double-check it) and make sure it's targetting the right release (precise), then save the file and rebuild the package17:41
RobinJ...17:41
RobinJmhall119; it just opens changelg.dch in nano, nothing more than that17:42
mhall119RobinJ: it'll do more when you save and exit naono17:42
mhall119nano17:42
kennydudeHi, I'm trying to make some widgets movable (click and move) in a Gtk.Fixed layout and it's being very "jittery", can anyone help?17:43
RobinJgoddamnit!17:43
RobinJdpkg-buildpackage: error: dpkg-source --before-build gtkreddit gave error exit status 25517:43
RobinJoof17:45
RobinJmhall119; dput succeeded, what now?17:45
RobinJdifference in code between commit 35 and commit 50 --> completely nothing :p17:46
RobinJmhall119; it's appeared here, but how do i start the build? https://launchpad.net/~robinj/+archive/gtkreddit17:48
RobinJoh nvm17:48
RobinJhttps://launchpad.net/~robinj/+archive/gtkreddit/+build/362439617:48
RobinJerm start in 39 minutes? >.<c17:48
mhall119RobinJ: yeah, PPA builds get put at the back of the build queue, distro packages get priority17:52
mhall119it's even worse as we get nearer to major milestones17:52
RobinJso basically, every 6 months launchpad is useless to everyone :p17:53
mhall119not useless, just busy17:55
RobinJwell if you have to wait a day it's quite useless :p17:58
mhall119it's not that long, usually less than an hour17:59
RobinJlong enough :p18:00
george_eJust a quick question: I was wondering if apps submitted to MyApps for the contest will be reviewed before or after the contest?18:08
george_e*contest ends18:09
mhall119george_e: they  will be reviewed as soon as they can be18:12
mhall119anything submitted before the end of the contest will qualify, regardless of how long it takes to review18:12
mhall119george_e: any packaging changes needed to comply with the review process will be allowed after the deadline as well18:15
mhall119so long as the changes don't affect the functionality of the app itself18:15
george_emhall119: Ah, thank you for clarifying that.18:18
mhall119np18:20
=== mio is now known as Guest16394
Guest16394Hi, I have added a file chooser widget to my app via Glade. But it shows a list of nautilus bookmarks first. Is there a way to disable it and directly go to file chooser dialog?18:37
=== philipballew_ is now known as philipballew
RobinJYEs!18:54
RobinJFinished 29 seconds ago (took 7 minutes, 8.7 seconds)18:54
Guest16394Hi, I have added a file chooser widget to my app via Glade. But it shows a list of nautilus bookmarks first. Is there a way to disable it and directly go to file chooser dialog?18:54
RobinJmhall119; E: Unable to locate package gtkreddit18:56
RobinJ...18:56
RobinJAAAAAAAAAAAAAK I HATE QUICKLY19:09
RobinJnow it dumped something else into my code, whcih makes the whole thing crash19:09
dmj726Making a bit of an announcement here to help spread the word:19:13
dmj726This week, I'll be donating half of my proceeds from ZHackers: Volume One on the Ubuntu Software Center to the EFF.19:13
dmj726So any copies people buy this week, half of the money that I receive, I'll be passing on to the EFF.19:14
dmj726It's my little way of promoting digital liberties this week.19:15
dmj726Could use some help spreading the word if anyone can help pass it along.19:16
dmj726https://apps.ubuntu.com/cat/applications/zhackers-volume1-usc/19:16
Guest16394Hi, in Gtk entry I want to get user typed string, even if enter is not pressed. Which connecting signal should I use?19:24
mhall119RobinJ: did you add your own PPA to your system so that it would find gtkreddit?19:27
mhall119Guest16394: http://developer.gnome.org/gtk3/3.0/GtkEntry.html#GtkEntry-insert-at-cursor is the signal you need to connect to, I think19:30
RobinJmhall119; https://launchpad.net/~robinj/+archive/gtkreddit/+build/362468319:30
RobinJhope this one works out19:30
RobinJprevious one built without issues, but thanks to quickly the thing didn't run19:30
RobinJapparently it threw some gettext stuff into my code without importaing it first19:30
mhall119RobinJ: please file bugs for things like this, so we can get Quickly working smoother for future devs19:33
RobinJproblem is that i'm now always sure whether it's a screwup i did myself, a screwup in quickly, or ubuntu one not always syncing correctly (which i know sometimes happens)19:34
RobinJ*not always sure19:34
hakermaniaHello guys, what's going on on reddit? I've post an app submission which I can see in my profile, but not in the App Showdown list!21:16
RobinJmhall119; you there?21:44
RobinJjono; you?21:45
mhall119RobinJ: about to leave for the store21:47
mhall119RobinJ: feel free to PM me any questions and I'll get to them when I'm around21:47
RobinJmhall119; i shoved the thing into a ppa, but idiotic launchpad keeps removing "import gettext" from the code, which causes the thing to crash...21:50
RobinJit's 10 to midnight here and I have to leave early tomorrow, so I hope i can get this fixed quickly :(21:50
RobinJmhall119?22:08
RobinJmhall119; https://myapps.developer.ubuntu.com/dev/apps/1138/ :)23:35
mhall119RobinJ: \o/23:39
* mhall119 adds it to his list23:39
RobinJlist?23:39
mhall119I'm just jotting down projects I know people are doing for the showdown23:40
RobinJok :p23:40
RobinJproblem is, if there is anything i need to change for it to be accepted, that's going to be difficult23:40
mhall119is RedThat your gtkreddit? or something different23:40
RobinJit's unlikely i'm going to have internet access, and even more unlikely i can change it from my tablet23:40
RobinJmhall119; yep, its gtkreddit23:40
RobinJbut it couldnt have reddit in the name due to licensing issues23:41
mhall119oh, right23:41
RobinJpitty i had to strip it back to the bone yesterday because of the glitch in glade, but at least it works23:41
RobinJif they do this again, maybe they should also have a "bad luck award" :p23:42
RobinJwell, one of my 2 goals has been reached anyway. 1. learn how to make ubuntu apps without a language owned by microsoft (c#). the second one (getting it into the software centre), i'll see when i get back :p23:43
mhall119keep an eye on your email for reviews23:43
RobinJyeah problem there23:44
ajmitchRobinJ: fix your app showdown participation details please23:44
RobinJgoing to london tomorrow, wont be back before the contest23:45
RobinJajmitch; what?23:45
RobinJParticipant name: Robin Jacobs23:45
RobinJApplication name: RedThat23:45
RobinJApp PPA location: https://launchpad.net/~robinj/+archive/gtkreddit23:45
RobinJwhat's wrong with that?23:45
ajmitchok, I see a completely different file23:45
RobinJer...23:45
ajmitchhttps://myapps.developer.ubuntu.com/site_media/arb/packages/2012/07/Ubuntu-App-Showdown-Participation-Details_4.txt23:46
RobinJnot ubuntu one again...23:46
RobinJwhat the hell?23:46
RobinJwhoever's that is, it's not mine23:46
ajmitchcould be myapps being problematic23:46
RobinJajmitch; is that the one submitted for RedThat?23:46
ajmitchRobinJ: that's the one on the redthat page that I can see23:46
RobinJthe hell?รง23:47
ajmitchyeah..23:47
ajmitchmhall119: if this is happening across multiple submissions it'll need looked at fast23:47
RobinJajmitch; and i can't change it...23:47
mhall119ajmitch: there have been 17 submissions so far, I've only heard about it on a couple of them23:48
RobinJah there it is now23:48
RobinJajmitch; can you check whether it's correct now?23:48
mhall119wait, different issue23:48
RobinJajmitch; thanks for telling me in time23:48
ajmitchRobinJ: looks fine now23:48
RobinJoof23:48
* ajmitch is still wondering how this could have happened23:49
RobinJwell, the biggest holdups for me have been bugs in the tools i used, so i've stopped wondering that :p23:49
* RobinJ mumbles something about quickly and glade23:50
ajmitchso if you've renamed the app, the package name should follow23:50
RobinJ?23:50
ajmitchyou renamed gtkreddit to redthat, but the package itself it still called gtkreddit23:51
RobinJyeah the ppa is still gtkreddit, but can't change that, and i don't really have the time, seeing as it's 2AM here and i need to get out at 8 AM23:51
ajmitchI know you've got no time23:51
RobinJis there a quick way to change it?23:51
RobinJi'd go nuts if after all this effort it didnt even get accepted >;<23:52
ajmitchyou'd need to change debian/changelog & debian/control at least, not sure how much it'll pick up from setup.py23:52
RobinJ... do i really....?23:52
RobinJlast time i tried changing it i changed it back to gtkreddit cause it wouldnt package anymore23:53
RobinJajmitch; is it really necessary? >.<23:54
ajmitchlooks like it'll take some time to do, from a quick check of debian/rules23:54
RobinJand time is one thing i dont have23:55
* ajmitch can't say if it's absolutely necessary23:56
RobinJurgh23:57
RobinJwell, i'm going to take that risk23:57
RobinJi'm tired23:57
RobinJgood night23:57
RobinJthanks ajmitch and mhall119 :)23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!