=== saeid is now known as Guest28271 | ||
george_e | Anyone? | 00:10 |
---|---|---|
Guest28271 | why i cant import pynotify in my pygtk application created by quickly | 00:11 |
george_e | Guest28271: Do you have the pynotify package installed? | 00:12 |
george_e | Run 'sudo apt-get install python-notify' in a terminal if you aren't sure. | 00:13 |
Guest28271 | solved http://askubuntu.com/questions/156197/quickly-project-system-notifications-dont-work-import-pynotify-fails | 00:17 |
mister | How can i disable cursor in Gtk.Entry? | 06:46 |
jvrbanac | Disabled as in not being able to click inside? | 06:47 |
mister | no, you can click but the cursor won't be visible | 06:52 |
mister | it is possible to diable cursor in GtkTextView but there is no such option in GtkEntry | 06:53 |
will | hey guys. i want a gtk spinner to show times, not numbers | 06:54 |
will | so 9.59 -> 10.00 | 06:54 |
will | it's looking like I can't configure this in glade. should i stop trying and just write out the logic in code? | 06:55 |
mister | I found the answer here --> http://faq.pygtk.org/index.py?req=show&file=faq14.003.htp But its for Gtk2 and its not working for Gtk3 in my testing | 06:55 |
will | (by spinner i mean a spin button) | 06:55 |
jvrbanac | @mister, I think with Gtk3 you'll have to use the override_cursor(RGBA, RGBA) function and make it transparent or something. | 06:57 |
jvrbanac | That's my best guess. | 06:57 |
mister | I thought about that...let me try it | 06:59 |
jvrbanac | @will, my guess is that you'll probably need to do that in code. Also, I believe you can override the contents of your adjustment through the spinbutton output signal. | 07:01 |
will | jvbanac: that sounds perfect, thanks. :) | 07:01 |
will | i'll have a look now | 07:01 |
will | here's a design-y question: my app involves creating shifts for a rota. you click new shift and it gives you a dialog with settings (start time, end time, name, type, etc.) | 07:02 |
will | clicking okay would create a shift with those details, but clicking cancel wouldn't create the shift | 07:02 |
will | when you edit an existing shift (using a similar/the same dialog box), should changes to the settings 'save' right away, or should it also require you to click cancel (resetting the changes) / ok? | 07:03 |
jvrbanac | Since it's in a separate dialog, I would wait until the user is finished (i.e. presses ok or cancel) before saving the data. Less things to go wrong. | 07:05 |
dpm | good morning | 07:05 |
will | jvrbanac: fair enough :) | 07:07 |
will | i could even add those little reset buttons that i've seen in things like compiz config settings | 07:07 |
jvrbanac | If you think they would be useful to the user. | 07:09 |
jvrbanac | :) | 07:09 |
jvrbanac | dpm: good morning | 07:09 |
will | jvrbanac: i've tried to avoid having to build any custom widgets or anything like that | 07:10 |
will | i wonder if some kind of "extended widget set" might not be a bad idea. lots of widgets for picking dates and times and other sorts of things | 07:11 |
will | in my head i'm imaging a slider/scale widget, only horizontal and with two 'heads' to move about | 07:12 |
jvrbanac | Sounds like an interesting idea. | 07:14 |
jvrbanac | Well, it's been a pleasure. Good luck on figuring out that issue. night! | 07:15 |
mister | jvrbanac: Ah man it works but alpha option has been disabled in Gtk3 API :( I can set cursor to white to make it invisible but then it will show when a user uses a dark theme | 07:16 |
will | he's gone | 07:17 |
will | now it's just me and you to figure things out together :P | 07:17 |
mister | lol | 07:17 |
vishnu_p | h | 07:21 |
dholbach | good morning | 07:24 |
will | mister: what app are you working on? i promise not to steal your idea | 07:32 |
will | oh, he's gone. morning dholbach | 07:34 |
dholbach | hi will | 07:34 |
will | so who do i butter up to get in with a chance of winning a prize? | 07:35 |
dholbach | following http://developer.ubuntu.com/showdown/ should get you there :) | 07:38 |
will | i've only got 3 days left!? i thought i had nearly 6 | 07:50 |
will | i should get a move on | 07:50 |
will | are people getting feedback at all? | 07:50 |
dholbach | who from whom? | 07:51 |
will | people making apps and erm, i guess the review board. i'm just panicking about how late i've left it, that's all. :P | 07:52 |
dholbach | stop IRCing, get coding! :) | 07:53 |
will | will do :P | 07:53 |
will | does anyone know of any information about how to make those ubuntu-esque black bulky toolbars? i couldn't find any | 07:55 |
dpm | will, http://askubuntu.com/questions/67362/what-is-the-black-header-widget-in-some-programs | 08:08 |
will | dpm: excellent, that looks perfect - thanks :) | 08:14 |
dpm | np ;) | 08:14 |
will | how would you pass an argument to a new quickly-made dialog box? i've tried putting it in the constructor, but i'm getting weird problems (it interprets it as the title, or else complains about the type of data). do i put it in run()? how does the normal __init__ work with these dialog boxes? they use __new__ | 08:28 |
sigurdga | Is developer.gnome.org down? | 08:29 |
sigurdga | answering myself: It's not just you! http://developer.gnome.org looks down from here. | 08:30 |
sigurdga | http://www.downforeveryoneorjustme.com/developer.gnome.org | 08:30 |
will | it's not responding to me | 08:30 |
sigurdga | then it gets a bit harder | 08:31 |
Mike | Hi! Anyone home? | 09:06 |
=== Mike is now known as Guest72799 | ||
Guest72799 | Anyone who can help with two packaging problems? | 09:07 |
Guest72799 | Hmmmm... Everyone must be sleeping :( | 09:11 |
dpm | hi Guest72799, if you ask the actual question, it'll be more likely to get help :) | 09:11 |
Guest72799 | Well it would be nice to know if anyone is actually listening before I start asking | 09:11 |
Guest72799 | Reminds of the days when I did Firefox development. IRC dev channel had loads of lurkers but no one useful. | 09:12 |
sigurdga | I don't know if I can answer before I see the question | 09:13 |
dpm | Guest72799, being nice to the people who are trying to help you by not calling them names might also be a good idea :) | 09:13 |
Guest72799 | Anyway... Two issues: When I try to install the .deb package created with quickly package, I get a message saying something like package does not meet quality standards blah blah blah. How do I sort that out? | 09:14 |
dpm | Guest72799, can you paste the actual message somewhere? E.g. on pastebin.ubuntu.com? If the package installs correctly, I suspect you can ignore the warnings | 09:15 |
Guest72799 | Second: When I try to run the installed deb, I get an error message "ImportError: No module named application.server" Obviously this has something to do with Couch Database | 09:15 |
Guest72799 | @dpm: I'm not on the PC where I tried to install any more, and the person who is using it is currently in Windows. | 09:16 |
dpm | in that case, without more info or being able to reproduce, I'm not sure we can be of much help | 09:17 |
dpm | Do you have the code somewhere public? E.g in Launchpad or on another code hosting service? | 09:18 |
Guest72799 | This is what is says: - The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath. | 09:19 |
Guest72799 | In details it says: - maintainer-address-malformed UNKNOWN <UNKNOWN> | 09:20 |
Guest72799 | Errrmmmm... So how do I set the maintainer address? | 09:21 |
dpm | Guest72799, for Quickly, it should pick it up from setup.py, IIRC. What does your setup.py file look like? | 09:21 |
Guest72799 | Ah! | 09:22 |
will | Guest72799: i had the same problem | 09:23 |
will | does the address have to be something specific? | 09:23 |
dpm | a valid e-mail address | 09:23 |
Guest72799 | Okay... I think that one is sorted. All the stuff in setup.py is commented out. | 09:24 |
dpm | e.g. name <name@example.com> | 09:24 |
will | ah i put mine in, but i see now it was commented out | 09:24 |
Guest72799 | I'll put info in there and try to package again. | 09:24 |
Guest72799 | Right: On to problem #2. | 09:24 |
dpm | will, yeah, the # character needs to be removed, otherwise the line will be ignored | 09:24 |
Guest72799 | ImportError: No module named application.server | 09:25 |
will | dpm: thanks :) glad that got cleared up, i could picture myself 10 minutes before the deadline freaking out | 09:25 |
dpm | :) | 09:25 |
Guest72799 | Seems as if Couch Database isn't being included with the package... Or something. | 09:26 |
will | didn't they drop couchDB for 12.04? | 09:26 |
dpm | Guest72799, again, we need a bit more of background, as it's a bit like poking in the dark otherwise. Do you have the code hosted somewhere? | 09:26 |
Guest72799 | No, but I can move the code onto one of my public servers. | 09:27 |
Guest72799 | Anyway, the problem seems odd. I mean the default preference handling is done using Couch DB, but Couch DB isn't included in the package... Huh?! | 09:28 |
dpm | is there a dependency on couchdb on the debian/control file? | 09:29 |
dpm | anyway, I'd recommend publishing the code somewhere so that we can help reviewing, otherwise it's quite hard to guess. This might help: http://askubuntu.com/questions/154129/how-can-i-publish-my-project-code-online-so-someone-can-help-me-with-it | 09:30 |
will | i'm trying to pass an argument to a Dialog constructor, but the __new__: function claims not to accept "instance" and "GtkDialogFlags". i'm trying to pass in an object instance | 09:32 |
will | what should i do instead? | 09:33 |
Guest72799 | No idea. I've developed the app using Quickly. I did the quickly create ubuntu_application thing and quickly created the framework and the preference functionality. | 09:33 |
Guest72799 | I've moved the .deb onto one of my servers - http://wizzrss.com/wizzrss_0.1_all.deb | 09:36 |
Guest72799 | Hmmmmm... So now that I've changed setup.py, quickly package fails... I GIVE UP! | 09:45 |
will | Guest72799: post the changed version? | 09:46 |
Guest72799 | All I did was remove the #s in setup.py | 09:48 |
sigurdga | Guest72799: yes, but you need to know what the code you enable tries to do | 09:48 |
sigurdga | the best is to read up on setup.py documentation | 09:49 |
will | Guest72799: i think it depends which ones to remove :P | 09:49 |
Guest72799 | I commented out the stuff again and it still won't package. This is so damn frustrating! This is supposed to be easy? | 09:50 |
sigurdga | it's easy when you can spot the problem | 09:51 |
will | Guest72799: i'm new to python, gtk and quickly and i'm having problems too. so if that helps. you're not alone :P | 09:52 |
Guest72799 | GTK is a friggin nightmare! When you are used to sanity like Java, using Python and GTK is bit like stabbing yourself in the head. | 09:54 |
Guest72799 | So the packaging error provides loads of useful information: - An error has occurred during package building ERROR: package command failed Aborting | 09:55 |
will | Guest72799: i'm normally a java dev too. i agree that i miss the static typing, but at the same time i'm quite liking the lack of fuss. GTK is a lot easier to get on with than swing was, but you end up spending 30 minutes debugging a misspelt variable access. there are pros and cons | 09:55 |
sigurdga | that's not the helpful message you expect from python | 09:55 |
Guest72799 | I'm pretty sure that Python is related to Monty. | 09:56 |
Guest72799 | So now I can't even package the stuff I've spent the last 2 weeks working on... Nice! | 09:57 |
sigurdga | Guest72799: did you try "python setup.py build" ? | 10:00 |
Guest72799 | @sigurdga: No. I'm actually too scared to try anything, because almost everything I try just sends me further into the one way madness street. | 10:03 |
sigurdga | the quickly thing probably (I don't know it) tries to run "python setup.py build" under the hood | 10:04 |
sigurdga | running it yourself should show you the error | 10:04 |
sigurdga | Guest72799: ^ | 10:05 |
will | sigurdga: not wanting to pester you, but have you ever created a dialog box using quickly and then made any function calls on it or sent it any information before the "finished_initialising" function is called on that object? i'm at a complete loss | 10:11 |
Guest72799 | Ok. I ran python setup.py build and I get an error message saying "error: bin/wizzrss.py: No such file or directory" but I can see the file and it is there. | 10:12 |
int_ua | I have a problem with quickly: it replaces Exec statements in the desktop file. Anyone knows where is the script that writes debian/rules upon packaging? | 10:14 |
sigurdga | will: I started using quickly just two hours ago, sorry. And I pretty soon gave up using glade and all that stuff. | 10:14 |
int_ua | http://askubuntu.com/questions/160336/how-to-prevent-quickly-from-replacing-exec-in-the-desktop-file | 10:15 |
sigurdga | Guest72799: http://docs.python.org/distutils/setupscript.html can maybe be a good friend | 10:15 |
will | sigurdga: no problem. why'd you give up? | 10:15 |
sigurdga | Guest72799: It's a while since I have created setup.py files now, and back then I packaged them for rpm. | 10:16 |
sigurdga | will: I don't like programming in xml ;) | 10:17 |
Guest72799 | I agree! XML is an archaic abomination! | 10:17 |
hyperair | XML isn't a programming languag.e. | 10:17 |
hyperair | er language. | 10:18 |
Guest72799 | Oh well... So much for Ubuntu development. I'm off to do something more useful with my life. | 10:18 |
sigurdga | XML may be useful, but not for everything. | 10:18 |
hyperair | yeah | 10:18 |
Guest72799 | XML is only useful when you happen to run out of toilet paper. | 10:18 |
Guest72799 | Bye guys! Thanks for tying to help. | 10:19 |
sigurdga | Guest72799: If you give up, you should probably start from scratch, without the boilerplate code from quickly. | 10:19 |
will | sigurdga: my problem isn't actually the XML, it's the structure quickly has built up automate things (and presumably interact with the XML :P) | 10:19 |
Guest72799 | @sigurgda: I was just thinking the same thing. Seems like the boilerplate generation is full-o-bugs. | 10:20 |
sigurdga | Actually I have a problem now that I think is related to quickly. I get an error message about a line that I have changed, so the error message no longer match the line it refers to. Seems like quickly caches something... I'll try removing all .pyc-files and see if it helps. | 10:20 |
will | isn't it awkward when guests won't leave | 10:22 |
sigurdga | didn't help | 10:22 |
will | infact one of my ideas for this app competition was supposed to deal with people like that | 10:24 |
will | it was a really simple idea: a text box you could moan into | 10:24 |
will | then i checked and there was already one in the ubuntu software centre called irssi | 10:24 |
int_ua | anyone tried using command-line arguments in .desktop file with quickly? | 10:32 |
will | int_ua: what's the problem you're having with it? | 10:33 |
dpm | :) | 10:34 |
int_ua | will: http://askubuntu.com/questions/160336/how-to-prevent-quickly-from-replacing-exec-in-the-desktop-file | 10:34 |
int_ua | will: quickly deletes them :( | 10:34 |
will | that's pretty rude. does it delete them on packaging or when installing? | 10:36 |
int_ua | on packaging | 10:36 |
will | can you find that bit and cut it out then? | 10:36 |
int_ua | and when I tried to use sticky bit on debian/rules it silently fails even without telling where is the script that rewrites it | 10:36 |
int_ua | That's the problem. I can't | 10:37 |
int_ua | I've grepped, I've checked some quickly-related script manually. Nothing. | 10:37 |
dpm | int_ua, quicklist entries are in the .desktop file. Quickly only changes the Exec line, which is unrelated. | 10:38 |
int_ua | scripts | 10:38 |
int_ua | dpm: every quicklist entry contains Exec also | 10:38 |
int_ua | Am I doing something wrong? | 10:39 |
dpm | right, but Quickly does not delete | 10:39 |
dpm | it only changes the Exec line to point to /opt | 10:39 |
int_ua | "Exec=.*" matches the whole string, including arguments | 10:39 |
int_ua | and this way it replaces the whole string just to executable name | 10:40 |
dpm | int_ua, hm... weird. It did not change them in my app. Where did you get that sed line from? | 10:40 |
int_ua | debian/rules | 10:40 |
int_ua | which is replaced on every "quickly package" | 10:41 |
int_ua | "quickly package --extras" | 10:41 |
dpm | hm, I created my app before that change was done in Quickly, I think you've uncovered a bug! | 10:42 |
int_ua | ok, filing a bug report, but also I urgently need help | 10:43 |
int_ua | I'm leaving the town soon and will not have more time to package me app before 9th | 10:43 |
int_ua | dpm: any thoughts on where it could be in the scripts? | 10:44 |
int_ua | for the developers: AFAIU it should contain Exec=[^ ]* | 10:45 |
dpm | int_ua, as a workaround, you can change the sed line in debian/rules after having ran 'quickly submitubuntu', then run 'debuild -S' and then upload the resulting package to the PPA | 10:47 |
int_ua | Please confirm: https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/1021675 | 10:48 |
ubot2 | Ubuntu bug 1021675 in quickly "Quickly package replaces all Exec strings in .desktop file" [Undecided,New] | 10:48 |
int_ua | Upgrading to -proposed version | 10:53 |
dpm | int_ua, thanks a lot for the bug report. I've added an answer to your question, let me know if the workaround works for you | 10:53 |
dpm | and note that the Quickly version in -proposed is unrelated to this bug, as it was uploaded to fix another one | 10:53 |
int_ua | yeah, already checked the changelog, thanks | 10:54 |
int_ua | dpm: debuild -S says: there does not seem to be an appropriate original tar file or .orig directory in the parent directory | 10:58 |
dpm | int_ua, did you run quickly-package --extras before debuild -S? | 11:01 |
int_ua | dpm: yes | 11:01 |
will | (should i be taking notes? is this something that could trip up all developers using quickly or is it specific to int_ua?) | 11:02 |
int_ua | "quickly package --extras" | 11:02 |
dpm | will, don't worry about it unless you are using quicklist entries | 11:02 |
int_ua | will: I don't see why is it specific to me, but that's possible, of course | 11:02 |
int_ua | dpm, will: quicklist entries or command-line arguments | 11:03 |
dpm | it is not specific to you I believe, as I was saying, I think you've uncovered a quickly bug | 11:03 |
dpm | yes, correct | 11:03 |
will | i probably will add quicklist entries, because the competition judges have been hinting about that being a good way to win that shiny laptop | 11:03 |
dpm | dholbach, any ideas why int_ua is getting the "there does not seem to be an appropriate original tar file or .orig directory in the parent directory" message after running 'debuild -S' in these steps? -> http://askubuntu.com/questions/160336/how-to-prevent-quickly-from-replacing-exec-in-the-desktop-file/160351#160351 | 11:04 |
will | if i can't use quicklists then the only thing going for my app is how good its name is | 11:04 |
int_ua | will: have you tried packaging it? | 11:05 |
int_ua | will: also, dynamic quicklists should not be affected | 11:05 |
dholbach | dpm, what is the version number of the package and what's in debian/source/format? | 11:05 |
will | int_ua: not yet! and i've not implemented any quicklists either | 11:05 |
int_ua | dholbach: checking | 11:06 |
int_ua | dholbach: there are no debian/source directory in the project location. Searching for it... | 11:07 |
dholbach | if it's not there, don't worry | 11:07 |
dpm | I think Quickly does not create debian/source/format | 11:07 |
dholbach | what does head -n 1 debian/changelog give you? | 11:07 |
int_ua | wakeonplan (0.1-public6ubuntu1) precise; urgency=low | 11:08 |
dholbach | try to change the version to 0.2 | 11:08 |
dholbach | anything without "-" | 11:08 |
int_ua | directly in the changelog? | 11:10 |
dholbach | yes | 11:10 |
int_ua | it procceded but failed on signing now: debuild: fatal error at line 1271: running debsign failed | 11:11 |
dholbach | if you go back into the changelog does it have your real name and real email address? | 11:11 |
int_ua | No, "int_ua <i@int-i7.local>" | 11:12 |
dholbach | do they match what you have specified in your gpg key? | 11:12 |
dholbach | to sign it they need to match what you have in your gpg key | 11:12 |
dholbach | also you could try to specify something like this at the end of your ~/.bashrc file: | 11:12 |
dholbach | export DEBFULLNAME='Daniel Holbach' | 11:12 |
dholbach | export DEBEMAIL='daniel.holbach@ubuntu.com' | 11:12 |
int_ua | worked | 11:12 |
dholbach | and run source ~/.bashrc afterwards or restart your terminal | 11:13 |
dholbach | this way new changelog entries will always have your correct name and email address | 11:13 |
int_ua | just changed changelog manually and it worked | 11:13 |
dholbach | great | 11:13 |
dpm | cool, thanks dholbach | 11:13 |
dholbach | anytime | 11:13 |
dholbach | lunch time, I guess :) | 11:13 |
dholbach | see you | 11:13 |
will | guys, i'm working on a shift rota compiling application. when you add a shift, you add in the shift requirements | 11:16 |
will | like driving, or handling money, or dealing with the monkey emperor | 11:16 |
will | i have a list of requirements for this shift you've added, and then a list of preset requirements (that you've typed in already for other shifts). what should that list be called? | 11:16 |
will | "premade requirements" is a bit awkward. "Other requirements" also a bit ugly | 11:16 |
int_ua | will: Why not Preset? | 11:17 |
will | int_ua: in my head, preset implies something added by the developers, whereas these were added by you. but just a few minutes ago | 11:19 |
int_ua | let me check gnome-scheduler... | 11:20 |
int_ua | oh, it's templates there | 11:20 |
will | that could work | 11:21 |
will | the only problem is templates implies something that you take, then change very slightly | 11:21 |
will | guh maybe i'm overthinking this | 11:21 |
int_ua | The package was rejected, I've added libglib2.0-bin to Build-Depends... | 11:28 |
int_ua | oh, it was the username: Launchpad failed to process the upload path '~~xintx-ua/wakeonplan/ubuntu': | 11:31 |
will | do americans use 24 hour clocks much? | 12:04 |
will | i think i read somewhere that americans are more used to 12 hour | 12:04 |
commandoline | As far as I know they often use a 12 hour clock indeed. 8:00 AM and 8:00 PM. But I'm in Europe ;) | 12:08 |
commandoline | but can't you let a program decide on that based on the system locale? | 12:08 |
commandoline | (assuming that is what you wanted to do, since you're in this channel) | 12:09 |
will | commandoline: yeah, just judging priorities | 12:20 |
will | my code stores its times as numbers | 12:21 |
will | so 9.5 is 9.30 | 12:21 |
will | i hope that's not a dumb idea | 12:21 |
will | so i think all i need to do is convert for display / parsing input | 12:21 |
commandoline | which programming language are you using? | 12:22 |
commandoline | and mostly there are better ways to represent time. | 12:23 |
will | python | 12:23 |
commandoline | http://docs.python.org/library/datetime.html <- everything you'll ever need (except timezones) | 12:24 |
will | thanks :) i might well change my algorithm to use datetime instead | 12:24 |
will | i'm writing a shift rota program | 12:24 |
will | so i need to do a lot of comparing of days and times and what not | 12:25 |
commandoline | datetime objects can be subtracted (timedelta), compared, etc. | 12:25 |
will | unfortunately the main problem of compiling a rota is comparing relative hours, not absolute ones (can't work on tuesdays at 10am to 4pm as i am already working from 9am to 2pm) | 12:25 |
will | apparently datetime.time could work there | 12:27 |
commandoline | that's what you'd use to represent a time, yes. | 12:28 |
commandoline | and maybe timedelta is useful too, for comparing them. | 12:29 |
will | thanks :) i hope i'm going about the rota in the right way | 12:30 |
will | my approach is to try matching the first shift with every employee on the roster, then for each of those, match the second shift with every remaining employee - and so on and so on for the third, fourth | 12:31 |
will | basically a depth first search through a tree of every possible rota ever | 12:32 |
commandoline | I've got no experience with that myself. But as far as I know there are a lot of algorithms for that kind of problems. Maybe there are even python libraries, it's always good to search for that kind of stuff before starting. | 12:32 |
will | you're right. might be too late for that now though :P i more or less came up with the idea in the shower then fully committed myself. might've been a mistake | 12:33 |
commandoline | well, as long as it works it's fine :P. | 12:34 |
commandoline | but if you're going to have massive amounts of input data the brute force approach might be too slow. | 12:35 |
will | absolutely. testing 20 shifts against 10 employees would be some... huge number. like 20 to the power of 10 or something a bit less than that (less employees as the shifts go on) | 12:36 |
will | so i use some basic checks to try and cull branches as early as possible | 12:36 |
will | so if the only two drivers in the company are cleaning the toilets and there's still a delivery shift to do, it cancels exploring any more of that 'rota space' | 12:37 |
commandoline | ok :) | 12:37 |
will | 3 days to get it all done :P | 12:38 |
will | commandoline: what are you working on? | 12:42 |
commandoline | I'm not doing an application showdown app, but do work on a few open source apps: openteacher, opengamedesigner, justforlearning (all three on launchpad). | 12:44 |
will | they sound pretty cool | 12:44 |
commandoline | thanks :) | 12:47 |
will | is there any way to figure out what you need to import in regards to python and gtk? i'm currently having to glean things from random articles and snippets of code on the web | 12:53 |
commandoline | well, I think (the python version of) gtk+ has some documentation of its modules, but I'm not sure, I'm a PyQt4 user... | 12:56 |
will | ah okay. :) i don't think it'd matter anyway, given the extreme clarity of this error message i'm getting: TypeError: Item 2: Must be gobject.GType, not gobject.GType | 12:57 |
commandoline | https://live.gnome.org/PyGObject/ <- links to both gtk3 and gtk2 docs. The first one is used by quickly as far as I know. | 12:57 |
commandoline | nice :P | 12:57 |
commandoline | no idea. | 12:58 |
will | i'm surprised :P thanks for that link though, i've found some stuff concerning the mysterious gobject | 12:59 |
will | commandoline: it even solved my problem! (it's GObject, not gobject). thanks :) | 13:01 |
commandoline | :) | 13:01 |
luciomrx | hi all | 13:17 |
luciomrx | can somebody help me with makefile? | 13:17 |
toabctl | i'm trying to use "quickly submitubuntu" but get an error: | 14:05 |
toabctl | gpg: skipped "85731631": unusable secret key | 14:06 |
toabctl | gpg: [stdin]: clearsign failed: unusable secret key | 14:06 |
toabctl | i have 2 keys for the same email (one is revoked). "85731631" is the wrong one. | 14:06 |
toabctl | any idea how to solve this? ~/.devscripts already has DEBSIGN_KEYID=C27319AD | 14:07 |
dpm | toabctl, not sure, but after a quick google search it seems DEBSIGN_KEYID is ignored? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367594 . From an earlier conversation quoting dholbach, you might have more luck using these other variables: | 14:23 |
ubot2 | Debian bug 367594 in dpkg-sig "does not honour DEBSIGN_KEYID" [Normal,Open] | 14:23 |
dpm | also you could try to specify something like this at the end of your ~/.bashrc file: | 14:23 |
dpm | export DEBFULLNAME='Daniel Holbach' | 14:23 |
dpm | export DEBEMAIL='daniel.holbach@ubuntu.com' | 14:23 |
dpm | or this: http://www.logilab.org/29038 | 14:25 |
will | is there any obvious way to remove values from a GtkListStore using python that i'm not seeing? | 15:09 |
will | i just want to say "remove this string" | 15:10 |
will | looks like this is the easiest way to do it: http://stackoverflow.com/questions/3426106/how-to-search-through-a-gtk-liststore-in-pygtk-and-remove-elements | 15:11 |
=== luke is now known as luke__ | ||
luke__ | I have made an app using Quickly, how do I set the required packages or add a command for when the app installs? | 15:18 |
will | http://www.locker101.co.uk/reqtransfer.png you add new shift requirements from the right list of stock, premade requirements to the left list of requirements for that specific shift, or remove them. are those two arrows the right way to go about that? | 15:38 |
will | i have a number of attributes that users specify then assign to lots of different things in my application. deleting these attributes en masse would probably be a useful function, but really frustrating if you do it accidentally and erase half an hour's work. the real answer is implementing undo, but if i don't have time for that, would an alert do? an alternative idea would be to force people to drag and drop the items | 18:47 |
will | i realise that's longer than just clicking a delete button, but i suppose my point is dragging and dropping something quite far into a rubbish bin isn't something you do by mistake? | 18:47 |
will | (and yes i realise all the problems with these ideas could be solved by implementing undo) | 18:48 |
commandoline | well, if you have a clear warning box (short to the point message), I'd say it's fine to remove everything. | 18:49 |
commandoline | I wouldn't make it a central button, though. | 18:50 |
will | commandoline: warning box - an alert box? or a just a label / mouse over tooltip[? | 18:50 |
commandoline | alert box if that's how you call them in GTK | 18:51 |
commandoline | QMessageBox.warning() (), window.alert | 18:51 |
commandoline | (resp. Qt/javascript, to give an idea) | 18:51 |
will | ah right, yeah :) | 18:51 |
commandoline | removing everything via drag/drop is possible, but then you need to ask for confirmation too I'd say. | 18:51 |
will | sounds like a bit of a faff. i'll just go with an alert box | 18:52 |
commandoline | yes, I'd find that acceptable. | 18:52 |
will | the problem i have is that you have to add/remove things from one list (the left hand side) with elements from the right hand side, but also have the option of deleting any of those items. | 18:52 |
will | http://www.locker101.co.uk/reqtransfer.png | 18:53 |
will | I think what I'm going to do is make it so you can only delete stuff on the right hand side, to differentiate it from the idea of "removing" items (you can only delete things that have already been removed and can't be 'removed' any further) | 18:53 |
commandoline | sounds ok :) | 18:56 |
almien | http://developer.ubuntu.com/showdown/ - is there any way of checking whether your app was entered and whether it met all the basic requirements (like being published in right place)? | 22:17 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!