Saturday, 2011-03-26

*** tpb has joined #melange00:00
*** madrazr has quit IRC00:03
*** penyaskito has joined #melange00:10
*** nrungta has quit IRC00:49
*** crodjer has joined #melange02:23
*** m1k3y has quit IRC02:25
*** crodjer has joined #melange02:43
*** BlankVerse has quit IRC02:47
*** m1k3y has joined #melange02:58
*** m1k3y has joined #melange02:58
*** jordan___ has joined #melange02:59
*** jordan___ has quit IRC03:19
*** jordan___ has joined #melange03:33
*** jordan___ has quit IRC03:39
*** TommaS has quit IRC03:48
*** TommaS has joined #melange03:48
*** jordan___ has joined #melange03:53
*** gedex has quit IRC04:08
*** m1k3y has quit IRC04:23
*** crodjer has quit IRC05:07
*** crodjer has joined #melange05:30
*** BlankVerse has joined #melange07:43
*** dan_w has joined #melange08:20
dan_whi all. any melange admins here please?08:22
*** dhaun has joined #melange08:42
*** scorche has quit IRC09:08
*** scorche` has joined #melange09:08
*** kronos has joined #melange09:09
*** gustavojordan has joined #melange09:15
*** jordan___ has quit IRC09:17
BlankVersehii SRabbelier , how are you , did you get time to look at my patch?09:25
BlankVersethe latest pull seems to have css/design broken?09:28
*** m1k3y has joined #melange09:59
*** m1k3y has joined #melange09:59
orcunahi, i have a question10:06
orcunado we have to start an issue and patch it10:06
orcunaor just find an open issue and prepare a patch for it?10:06
*** gustavojordan has quit IRC10:36
*** gustavojordan has joined #melange10:49
crodjerSRabbelier, since melange has to work on GAE ( has porting to django-nonrel been considered for a code refactor?11:32
tpb<> (at
*** nmudgal has joined #melange11:33
crodjerI think it would become much more easier to contribute, using the more familiar orm and battaries11:34
*** praveen97uma has joined #melange11:55
*** praveen97uma has quit IRC12:00
*** praveen97uma has joined #melange12:00
praveen97umaany melange developer active here?12:01
praveen97umacan anyone tell me what are tag names and tag values?12:02
*** npch has joined #melange12:02
SRabbeliercrodjer: considered and rejected12:10
SRabbelierpraveen97uma: they are from taggable12:10
praveen97umaSRabbelier: i need a particular example of a tag name and its value12:14
*** Lennie has joined #melange12:16
*** ChanServ sets mode: +o Lennie12:16
SRabbelierpraveen97uma: in GCI?12:16
*** npch has quit IRC12:16
praveen97umaSRabbelier: gsoc or gci12:17
SRabbelierpraveen97uma: sure12:17
SRabbelierpraveen97uma: in GCi we have for example the "Easy" tag vith value 1, "Medium" with value 2, etc12:18
praveen97umaSRabbelier: with reference to gsoc : the tags are the languages like python, cpp etc?12:19
praveen97umaSRabbelier : and the corresponding values as 1,2 ..12:20
LennieThe values in GCI stand for the points awarded, if I get the context right12:21
LennieSo I don't think the tags in GSoC will have a value12:22
praveen97umaLennie : ok and is the 'scope' of particular tags  an organisation?12:24
*** Lennie has quit IRC12:24
*** Lennie has joined #melange12:25
*** ChanServ sets mode: +o Lennie12:25
SRabbelierpraveen97uma: for GSoC, yeah12:27
*** madrazr has joined #melange12:28
*** ChanServ sets mode: +o madrazr12:28
*** Lennie has quit IRC12:35
*** Lennie has joined #melange12:36
*** ChanServ sets mode: +o Lennie12:36
Lennieunstable wireless ftl :P12:36
madrazrLennie: still better than unstable internet itself :D12:39
Lennietrue that12:43
*** praveen97uma has quit IRC12:55
*** ankush has quit IRC13:18
*** ankush has joined #melange13:21
*** gicmo has quit IRC13:23
*** gicmo has joined #melange13:37
*** crodjer has quit IRC14:04
*** cr0djer has joined #melange14:04
*** cr0djer has quit IRC14:08
*** cr0djer has joined #melange14:09
*** cr0djer is now known as crodjer14:09
*** nmudgal has quit IRC14:14
Lenniemadrazr: what are you working on?14:16
madrazrLennie: started working on the form save/error banner for forms other than Profile14:17
*** gustavojordan has quit IRC14:24
*** praveen97uma has joined #melange14:32
praveen97umaSRabbelier: I need help !! in the file line no. 88   'entity.tags_class(tag_name)' , tags_class is an attribute for which type of entity14:35
SRabbeliermadrazr: ^14:35
SRabbelierpraveen97uma: madrazr can help you with this14:36
madrazrSRabbelier: sure14:36
*** gustavojordan has joined #melange14:39
*** lars_kurth has joined #melange14:40
praveen97umamadrazr : ??14:44
madrazrpraveen97uma: one moment14:44
praveen97umamadrazr: sorry14:44
madrazrpraveen97uma: for that a bit of understanding is required about how the tagging framework works14:47
*** lars_kurth has quit IRC14:47
madrazrpraveen97uma: to tag a particular entity, we make that particular entity a taggable entity14:48
*** TommaS has quit IRC14:48
*** TommaS has joined #melange14:48
madrazrpraveen97uma: two examples I can give right now are GCITask entity and GSoCOrganization and GCIOrganization entities14:48
madrazrpraveen97uma: so entity there is a taggable entity14:48
praveen97umamadrazr: ok  let me explore14:49
madrazrpraveen97uma: sure. Let me know if you want some help with tags. It needs some explanation in the beginning14:51
madrazrpraveen97uma: also check how we make entities taggable (You can take a look at soc.modules.gci.models.task.GCITask which inherits from Taggable)14:52
praveen97umamadrazr: i was writing test for app.soc.logic.tags.py14:52
madrazrpraveen97uma: cool!14:53
*** nmudgal has joined #melange14:53
praveen97umamadrazr: but i made use of the entity14:54
praveen97umamadrazr: and it has no attribute tags_class14:54
*** crodjer has quit IRC14:55
praveen97umamadrazar: i will make use of app.soc.modules.gsoc.models.organisation.py14:56
Lenniemadhu, can I borrow you on gtalk for a min?15:02
Lenniemadrazr: ^^15:02
*** m1k3y has quit IRC15:08
*** gustavojordan has quit IRC15:10
*** m1k3y has joined #melange15:11
*** m1k3y has joined #melange15:11
*** jordan___ has joined #melange15:12
*** nrungta has joined #melange15:17
nrungtaIs there an update on when we will be able to invite mentors again?15:18
*** jordan___ has quit IRC15:23
*** jordan___ has joined #melange15:36
BlankVerseSRabbelier: thanks for fixing my patch and accepting it , next time i will test it thoroughly before sending :)15:41
SRabbelierBlankVerse: sure :)15:41
SRabbelierBlankVerse: thanks for working on it15:41
*** praveen97uma has quit IRC15:42
BlankVerseSRabbelier: i have got some ideas about integrating melange with oter services including export to google docs , should i send a draft version on the ML?15:45
SRabbelierBlankVerse: sure15:45
*** nopper has joined #melange15:45
BlankVerseSRabbelier: ok , thanks :)15:45
*** praveen97uma has joined #melange15:54
praveen97umamadrazr: what does this error indicate? "BadValueError: Property founder is required "16:00
SRabbelierpraveen97uma: pull16:03
SRabbelierpraveen97uma: that's in org profile page right?16:03
praveen97umaSRabbelier : i imported GSoCOrganisation and wanted to create an entity of that type but i am unable to initialise it i think16:05
SRabbelierpraveen97uma: you forgot to specify the founder property16:05
SRabbelierpraveen97uma: see soc.modules.gsoc.views.org_profile16:05
praveen97umaSRabbelier: I should pass it as an element in dictionary?16:08
SRabbelierpraveen97uma: how/why are you constructing this GSoCOrganization exactly?16:09
praveen97umaSRabbelier: for testing module16:09
praveen97umaSRabbelier: line 88 requires tags_class attribute of the entity ... i used initially which does not have this attribute so got an error16:11
SRabbelierpraveen97uma: are you using the seeder?16:11
SRabbelierpraveen97uma: if you call self.init() there's already an org in self.org16:12
SRabbelierpraveen97uma: see test_util:DjangoTestCase.init16:12
praveen97umaSRabbelier : no16:12
praveen97umaSRabbelier : ok16:12
*** nrungta has quit IRC16:20
*** kronos has quit IRC16:31
*** praveen97uma has quit IRC16:36
*** TommaS has quit IRC16:42
*** TommaS has joined #melange16:43
*** gedex has joined #melange16:45
*** nmudgal has quit IRC16:52
*** ratul has joined #melange16:55
*** nmudgal has joined #melange17:02
*** nmudgal has quit IRC17:04
*** praveen97uma has joined #melange17:06
*** Lennie has quit IRC17:06
praveen97umaSRabbelier: i am stuck and am not able to sort out the error17:08
*** nrungta has joined #melange17:20
SRabbelierpraveen97uma: I can't help you if that's all you tell me17:22
praveen97umaSRabbelier: I set some tags for the entity. Then the task is to remove only certain tags from the entity. So, when the function tries to remove it, a KeyError is raised17:24
praveen97umaSRabbelier: it means the tags are not being set..  shall i send  you the code?17:25
madrazrpraveen97uma: paste the snippet in pastebin17:26
madrazrpraveen97uma: let us take a look at it17:26
SRabbelierpraveen97uma: let madrazr help you with this, he's our tags expert17:26
praveen97umamadrazr: here it is
tpbTitle: [Python] - (at
*** praveen97uma_ has joined #melange17:32
*** praveen97uma has quit IRC17:33
*** praveen97uma_ has quit IRC17:34
*** praveen97uma has joined #melange17:35
madrazrpraveen97uma: taking a look17:36
madrazrpraveen97uma: 1st question, you are testing the logic right?17:37
madrazrpraveen97uma: never mind17:37
praveen97umamadrazr: yes17:37
madrazrpraveen97uma: I thought it might not be necessary to use DjangoTestcase17:38
madrazrpraveen97uma: since it is used to test views17:38
madrazrpraveen97uma: but I realize that our test_utils.DjangoTestcase has some useful extensions to it17:38
madrazrpraveen97uma: can you also paste the error you get?17:38
madrazrpraveen97uma: complete console output from the point where you run the test command?17:38
praveen97umamadrazr: yes i am doing it17:39
tpbTitle: [Python] Error_test_tags - (at
praveen97umamadrazr: there was the need of an entity with a tag_class attribute ..  i imported GSoCOrganisation but then i had problem in initialising it so SRabbelier suggested using DjangoTestCase which has and it is taggable17:44
praveen97umamadrazr: initially i used a db.model entity17:45
madrazrpraveen97uma: Ok. makes sense17:45
*** kronos has joined #melange17:46
ratulmadrazr, I could not be around for a few days, and can't understand the new UI much. for me, the how it works description block, apply template, and feature d project template are not being rendered in the homepage, when I start it. snapshot:
tpbTitle: imgur: the simple image sharer (at
ratulmadrazr, it does not come after login also. can u please help?18:03
madrazrratul: homepage is completely based on the timeline18:04
madrazrpraveen97uma: sorry, I just got distracted, I am looking at your code18:04
madrazrratul: homepage renders differently at different points in the timeline18:04
ratulmadrazr, got that. thanks!18:05
madrazrpraveen97uma: I don't think you can use any random names for the tags18:16
madrazrpraveen97uma: you must use the tag name that is used the taggable entity18:16
madrazrpraveen97uma: for example in case of organization entity the tagService should register with the name org_tag18:17
madrazrpraveen97uma: since that is the name of the tag property in the Organization entity18:17
madrazrpraveen97uma: also you cannot just choose random number of tags for an entity. They must be defined in the entity18:17
madrazrpraveen97uma: makes sense?18:17
praveen97umamadrazar : yes a little little18:18
*** jordan___ has quit IRC18:19
praveen97umamadrazar : but are not these functions in used to define the tags?18:19
praveen97umamadrazar: i will go through the code and attempt again18:21
*** kronos has quit IRC18:24
*** nrungta has quit IRC18:25
*** gedex has quit IRC18:25
*** ratul has quit IRC18:33
*** madrazr has quit IRC18:34
*** madrazr has joined #melange18:35
*** ChanServ sets mode: +o madrazr18:35
*** scorche` is now known as scorche18:35
madrazrpraveen97uma: No those functions are not used to define the tags18:40
madrazrpraveen97uma: the tags are defined in the taggable entity python file18:40
madrazrpraveen97uma: these methods just enable the service which is the interface between the tag data stored and the views18:40
madrazrpraveen97uma: i.e logic18:40
praveen97umamadrazr: ok i understand now the tags must be stored previously and then the logic be operated upon that18:42
madrazrpraveen97uma: yes thats correct18:43
praveen97umamadrazr: let me attempt again ..18:44
madrazrpraveen97uma: sure18:46
*** nrungta has joined #melange18:53
praveen97umamadrazr: the tag itself has been made an object right .. so i have to use set_tags function to seed the tags in the entity.. am i right?18:54
SRabbeliermadrazr: ratul's problem was that he didn't run the generate_app_yaml script18:59
SRabbeliermadrazr: so Mario's CSS changes broke his page :)18:59
madrazrSRabbelier: Oh!19:06
*** praveen97uma has quit IRC19:08
*** praveen97uma has joined #melange19:08
*** nrungta has quit IRC19:10
praveen97umamadrazr: i will have to study the module properly ..i have exams till 4th next month better i attempt after that19:11
*** scorche has quit IRC19:16
*** nmudgal has joined #melange19:25
*** praveen97uma has quit IRC19:26
*** scorche has joined #melange19:51
*** kronos has joined #melange20:18
*** kronos has joined #melange20:18
*** nmudgal has quit IRC21:02
*** kronos has quit IRC21:15
*** kronos has joined #melange21:30
*** kronos has joined #melange21:30
*** robbyoconnor has quit IRC21:49
*** robbyoconnor has joined #melange21:50
*** scorche has quit IRC22:32
*** scorche has joined #melange22:38
*** dhans has joined #melange22:58
*** ChanServ sets mode: +o dhans22:58
*** dhans has left #melange22:58
*** smaranda_f has joined #melange22:59
*** Merio has joined #melange23:06
*** ChanServ sets mode: +o Merio23:06
*** smaranda_f has quit IRC23:25
*** smaranda_f_ has joined #melange23:25
*** m4k3r has joined #melange23:33

Generated by 2.13.1 by Marius Gedminas - find it at!