*** tpb has joined #melange | 00:00 | |
*** madrazr has quit IRC | 00:03 | |
*** penyaskito has joined #melange | 00:10 | |
*** nrungta has quit IRC | 00:49 | |
*** crodjer has joined #melange | 02:23 | |
*** m1k3y has quit IRC | 02:25 | |
*** crodjer has joined #melange | 02:43 | |
*** BlankVerse has quit IRC | 02:47 | |
*** m1k3y has joined #melange | 02:58 | |
*** m1k3y has joined #melange | 02:58 | |
*** jordan___ has joined #melange | 02:59 | |
*** jordan___ has quit IRC | 03:19 | |
*** jordan___ has joined #melange | 03:33 | |
*** jordan___ has quit IRC | 03:39 | |
*** TommaS has quit IRC | 03:48 | |
*** TommaS has joined #melange | 03:48 | |
*** jordan___ has joined #melange | 03:53 | |
*** gedex has quit IRC | 04:08 | |
*** m1k3y has quit IRC | 04:23 | |
*** crodjer has quit IRC | 05:07 | |
*** crodjer has joined #melange | 05:30 | |
*** BlankVerse has joined #melange | 07:43 | |
*** dan_w has joined #melange | 08:20 | |
dan_w | hi all. any melange admins here please? | 08:22 |
---|---|---|
*** dhaun has joined #melange | 08:42 | |
*** scorche has quit IRC | 09:08 | |
*** scorche` has joined #melange | 09:08 | |
*** kronos has joined #melange | 09:09 | |
*** gustavojordan has joined #melange | 09:15 | |
*** jordan___ has quit IRC | 09:17 | |
BlankVerse | hii SRabbelier , how are you , did you get time to look at my patch? | 09:25 |
BlankVerse | the latest pull seems to have css/design broken? | 09:28 |
*** m1k3y has joined #melange | 09:59 | |
*** m1k3y has joined #melange | 09:59 | |
orcuna | hi, i have a question | 10:06 |
orcuna | do we have to start an issue and patch it | 10:06 |
orcuna | or just find an open issue and prepare a patch for it? | 10:06 |
*** gustavojordan has quit IRC | 10:36 | |
*** gustavojordan has joined #melange | 10:49 | |
crodjer | SRabbelier, since melange has to work on GAE (http://code.google.com/p/soc/wiki/WhyUseGoogleAppEngine) has porting to django-nonrel been considered for a code refactor? | 11:32 |
tpb | <http://ln-s.net/2iqO> (at code.google.com) | 11:32 |
*** nmudgal has joined #melange | 11:33 | |
crodjer | I think it would become much more easier to contribute, using the more familiar orm and battaries | 11:34 |
*** praveen97uma has joined #melange | 11:55 | |
*** praveen97uma has quit IRC | 12:00 | |
*** praveen97uma has joined #melange | 12:00 | |
praveen97uma | any melange developer active here? | 12:01 |
praveen97uma | can anyone tell me what are tag names and tag values? | 12:02 |
*** npch has joined #melange | 12:02 | |
SRabbelier | crodjer: considered and rejected | 12:10 |
SRabbelier | praveen97uma: they are from taggable | 12:10 |
crodjer | k | 12:10 |
praveen97uma | SRabbelier: i need a particular example of a tag name and its value | 12:14 |
*** Lennie has joined #melange | 12:16 | |
*** ChanServ sets mode: +o Lennie | 12:16 | |
SRabbelier | praveen97uma: in GCI? | 12:16 |
*** npch has quit IRC | 12:16 | |
praveen97uma | SRabbelier: gsoc or gci | 12:17 |
SRabbelier | praveen97uma: sure | 12:17 |
SRabbelier | praveen97uma: in GCi we have for example the "Easy" tag vith value 1, "Medium" with value 2, etc | 12:18 |
praveen97uma | SRabbelier: with reference to gsoc : the tags are the languages like python, cpp etc? | 12:19 |
praveen97uma | SRabbelier : and the corresponding values as 1,2 .. | 12:20 |
Lennie | The values in GCI stand for the points awarded, if I get the context right | 12:21 |
Lennie | So I don't think the tags in GSoC will have a value | 12:22 |
praveen97uma | Lennie : ok and is the 'scope' of particular tags an organisation? | 12:24 |
*** Lennie has quit IRC | 12:24 | |
*** Lennie has joined #melange | 12:25 | |
*** ChanServ sets mode: +o Lennie | 12:25 | |
SRabbelier | praveen97uma: for GSoC, yeah | 12:27 |
*** madrazr has joined #melange | 12:28 | |
*** ChanServ sets mode: +o madrazr | 12:28 | |
*** Lennie has quit IRC | 12:35 | |
*** Lennie has joined #melange | 12:36 | |
*** ChanServ sets mode: +o Lennie | 12:36 | |
Lennie | unstable wireless ftl :P | 12:36 |
madrazr | Lennie: still better than unstable internet itself :D | 12:39 |
Lennie | true that | 12:43 |
*** praveen97uma has quit IRC | 12:55 | |
*** ankush has quit IRC | 13:18 | |
*** ankush has joined #melange | 13:21 | |
*** gicmo has quit IRC | 13:23 | |
*** gicmo has joined #melange | 13:37 | |
*** crodjer has quit IRC | 14:04 | |
*** cr0djer has joined #melange | 14:04 | |
*** cr0djer has quit IRC | 14:08 | |
*** cr0djer has joined #melange | 14:09 | |
*** cr0djer is now known as crodjer | 14:09 | |
*** nmudgal has quit IRC | 14:14 | |
Lennie | madrazr: what are you working on? | 14:16 |
madrazr | Lennie: started working on the form save/error banner for forms other than Profile | 14:17 |
*** gustavojordan has quit IRC | 14:24 | |
*** praveen97uma has joined #melange | 14:32 | |
praveen97uma | SRabbelier: I need help !! in the file soc.app.logic.tags.py line no. 88 'entity.tags_class(tag_name)' , tags_class is an attribute for which type of entity | 14:35 |
SRabbelier | madrazr: ^ | 14:35 |
SRabbelier | praveen97uma: madrazr can help you with this | 14:36 |
madrazr | SRabbelier: sure | 14:36 |
*** gustavojordan has joined #melange | 14:39 | |
*** lars_kurth has joined #melange | 14:40 | |
praveen97uma | madrazr : ?? | 14:44 |
madrazr | praveen97uma: one moment | 14:44 |
praveen97uma | madrazr: sorry | 14:44 |
madrazr | praveen97uma: for that a bit of understanding is required about how the tagging framework works | 14:47 |
*** lars_kurth has quit IRC | 14:47 | |
madrazr | praveen97uma: to tag a particular entity, we make that particular entity a taggable entity | 14:48 |
*** TommaS has quit IRC | 14:48 | |
*** TommaS has joined #melange | 14:48 | |
madrazr | praveen97uma: two examples I can give right now are GCITask entity and GSoCOrganization and GCIOrganization entities | 14:48 |
madrazr | praveen97uma: so entity there is a taggable entity | 14:48 |
praveen97uma | madrazr: ok let me explore | 14:49 |
madrazr | praveen97uma: sure. Let me know if you want some help with tags. It needs some explanation in the beginning | 14:51 |
madrazr | praveen97uma: 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 |
praveen97uma | madrazr: i was writing test for app.soc.logic.tags.py | 14:52 |
madrazr | praveen97uma: cool! | 14:53 |
*** nmudgal has joined #melange | 14:53 | |
praveen97uma | madrazr: but i made use of the tests.app.soc.models.test_model.py entity | 14:54 |
praveen97uma | madrazr: and it has no attribute tags_class | 14:54 |
*** crodjer has quit IRC | 14:55 | |
praveen97uma | madrazar: i will make use of app.soc.modules.gsoc.models.organisation.py | 14:56 |
Lennie | madhu, can I borrow you on gtalk for a min? | 15:02 |
Lennie | madrazr: ^^ | 15:02 |
*** m1k3y has quit IRC | 15:08 | |
*** gustavojordan has quit IRC | 15:10 | |
*** m1k3y has joined #melange | 15:11 | |
*** m1k3y has joined #melange | 15:11 | |
*** jordan___ has joined #melange | 15:12 | |
*** nrungta has joined #melange | 15:17 | |
nrungta | Is there an update on when we will be able to invite mentors again? | 15:18 |
*** jordan___ has quit IRC | 15:23 | |
*** jordan___ has joined #melange | 15:36 | |
BlankVerse | SRabbelier: thanks for fixing my patch and accepting it , next time i will test it thoroughly before sending :) | 15:41 |
SRabbelier | BlankVerse: sure :) | 15:41 |
SRabbelier | BlankVerse: thanks for working on it | 15:41 |
*** praveen97uma has quit IRC | 15:42 | |
BlankVerse | SRabbelier: 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 |
SRabbelier | BlankVerse: sure | 15:45 |
*** nopper has joined #melange | 15:45 | |
BlankVerse | SRabbelier: ok , thanks :) | 15:45 |
*** praveen97uma has joined #melange | 15:54 | |
praveen97uma | madrazr: what does this error indicate? "BadValueError: Property founder is required " | 16:00 |
SRabbelier | praveen97uma: pull | 16:03 |
SRabbelier | praveen97uma: that's in org profile page right? | 16:03 |
praveen97uma | SRabbelier : i imported GSoCOrganisation and wanted to create an entity of that type but i am unable to initialise it i think | 16:05 |
SRabbelier | praveen97uma: you forgot to specify the founder property | 16:05 |
SRabbelier | praveen97uma: see soc.modules.gsoc.views.org_profile | 16:05 |
praveen97uma | ok | 16:06 |
praveen97uma | SRabbelier: I should pass it as an element in dictionary? | 16:08 |
SRabbelier | praveen97uma: how/why are you constructing this GSoCOrganization exactly? | 16:09 |
praveen97uma | SRabbelier: for testing app.soc.logic.tags.py module | 16:09 |
praveen97uma | SRabbelier: line 88 requires tags_class attribute of the entity ... i used test_model.py initially which does not have this attribute so got an error | 16:11 |
SRabbelier | praveen97uma: are you using the seeder? | 16:11 |
SRabbelier | praveen97uma: if you call self.init() there's already an org in self.org | 16:12 |
SRabbelier | praveen97uma: see test_util:DjangoTestCase.init | 16:12 |
praveen97uma | SRabbelier : no | 16:12 |
praveen97uma | SRabbelier : ok | 16:12 |
*** nrungta has quit IRC | 16:20 | |
*** kronos has quit IRC | 16:31 | |
*** praveen97uma has quit IRC | 16:36 | |
*** TommaS has quit IRC | 16:42 | |
*** TommaS has joined #melange | 16:43 | |
*** gedex has joined #melange | 16:45 | |
*** nmudgal has quit IRC | 16:52 | |
*** ratul has joined #melange | 16:55 | |
*** nmudgal has joined #melange | 17:02 | |
*** nmudgal has quit IRC | 17:04 | |
*** praveen97uma has joined #melange | 17:06 | |
*** Lennie has quit IRC | 17:06 | |
praveen97uma | SRabbelier: i am stuck and am not able to sort out the error | 17:08 |
*** nrungta has joined #melange | 17:20 | |
SRabbelier | praveen97uma: I can't help you if that's all you tell me | 17:22 |
praveen97uma | SRabbelier: I set some tags for the self.org entity. Then the task is to remove only certain tags from the entity. So, when the function tries to remove it, a KeyError is raised | 17:24 |
praveen97uma | SRabbelier: it means the tags are not being set.. shall i send you the code? | 17:25 |
madrazr | praveen97uma: paste the snippet in pastebin | 17:26 |
madrazr | praveen97uma: let us take a look at it | 17:26 |
SRabbelier | praveen97uma: let madrazr help you with this, he's our tags expert | 17:26 |
praveen97uma | madrazr: here it is http://pastebin.com/gYsYx8QJ | 17:29 |
tpb | Title: [Python] test_tags.py - Pastebin.com (at pastebin.com) | 17:29 |
*** praveen97uma_ has joined #melange | 17:32 | |
*** praveen97uma has quit IRC | 17:33 | |
*** praveen97uma_ has quit IRC | 17:34 | |
*** praveen97uma has joined #melange | 17:35 | |
madrazr | praveen97uma: taking a look | 17:36 |
madrazr | praveen97uma: 1st question, you are testing the logic right? | 17:37 |
madrazr | praveen97uma: never mind | 17:37 |
praveen97uma | madrazr: yes | 17:37 |
madrazr | praveen97uma: I thought it might not be necessary to use DjangoTestcase | 17:38 |
madrazr | praveen97uma: since it is used to test views | 17:38 |
madrazr | praveen97uma: but I realize that our test_utils.DjangoTestcase has some useful extensions to it | 17:38 |
madrazr | praveen97uma: can you also paste the error you get? | 17:38 |
madrazr | praveen97uma: complete console output from the point where you run the test command? | 17:38 |
praveen97uma | madrazr: yes i am doing it | 17:39 |
praveen97uma | madrazr: http://pastebin.com/jWh69Hig | 17:40 |
tpb | Title: [Python] Error_test_tags - Pastebin.com (at pastebin.com) | 17:40 |
praveen97uma | madrazr: 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 self.org and it is taggable | 17:44 |
praveen97uma | madrazr: initially i used a db.model entity | 17:45 |
madrazr | praveen97uma: Ok. makes sense | 17:45 |
*** kronos has joined #melange | 17:46 | |
ratul | madrazr, 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: http://imgur.com/IgCDL | 18:02 |
tpb | Title: imgur: the simple image sharer (at imgur.com) | 18:02 |
ratul | madrazr, it does not come after login also. can u please help? | 18:03 |
madrazr | ratul: homepage is completely based on the timeline | 18:04 |
madrazr | praveen97uma: sorry, I just got distracted, I am looking at your code | 18:04 |
madrazr | ratul: homepage renders differently at different points in the timeline | 18:04 |
ratul | madrazr, got that. thanks! | 18:05 |
madrazr | praveen97uma: I don't think you can use any random names for the tags | 18:16 |
madrazr | praveen97uma: you must use the tag name that is used the taggable entity | 18:16 |
madrazr | praveen97uma: for example in case of organization entity the tagService should register with the name org_tag | 18:17 |
madrazr | praveen97uma: since that is the name of the tag property in the Organization entity | 18:17 |
madrazr | praveen97uma: also you cannot just choose random number of tags for an entity. They must be defined in the entity | 18:17 |
madrazr | praveen97uma: makes sense? | 18:17 |
praveen97uma | madrazar : yes a little little | 18:18 |
*** jordan___ has quit IRC | 18:19 | |
praveen97uma | madrazar : but are not these functions in tag.py used to define the tags? | 18:19 |
praveen97uma | madrazar: i will go through the code and attempt again | 18:21 |
*** kronos has quit IRC | 18:24 | |
*** nrungta has quit IRC | 18:25 | |
*** gedex has quit IRC | 18:25 | |
*** ratul has quit IRC | 18:33 | |
*** madrazr has quit IRC | 18:34 | |
*** madrazr has joined #melange | 18:35 | |
*** ChanServ sets mode: +o madrazr | 18:35 | |
*** scorche` is now known as scorche | 18:35 | |
madrazr | praveen97uma: No those functions are not used to define the tags | 18:40 |
madrazr | praveen97uma: the tags are defined in the taggable entity python file | 18:40 |
madrazr | praveen97uma: these methods just enable the service which is the interface between the tag data stored and the views | 18:40 |
madrazr | praveen97uma: i.e logic | 18:40 |
praveen97uma | madrazr: ok i understand now ...so the tags must be stored previously and then the logic be operated upon that | 18:42 |
madrazr | praveen97uma: yes thats correct | 18:43 |
praveen97uma | madrazr: let me attempt again .. | 18:44 |
madrazr | praveen97uma: sure | 18:46 |
*** nrungta has joined #melange | 18:53 | |
praveen97uma | madrazr: 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 |
SRabbelier | madrazr: ratul's problem was that he didn't run the generate_app_yaml script | 18:59 |
SRabbelier | madrazr: so Mario's CSS changes broke his page :) | 18:59 |
madrazr | SRabbelier: Oh! | 19:06 |
*** praveen97uma has quit IRC | 19:08 | |
*** praveen97uma has joined #melange | 19:08 | |
*** nrungta has quit IRC | 19:10 | |
praveen97uma | madrazr: i will have to study the taggable.py module properly ..i have exams till 4th next month ..so better i attempt after that | 19:11 |
*** scorche has quit IRC | 19:16 | |
*** nmudgal has joined #melange | 19:25 | |
*** praveen97uma has quit IRC | 19:26 | |
*** scorche has joined #melange | 19:51 | |
*** kronos has joined #melange | 20:18 | |
*** kronos has joined #melange | 20:18 | |
*** nmudgal has quit IRC | 21:02 | |
*** kronos has quit IRC | 21:15 | |
*** kronos has joined #melange | 21:30 | |
*** kronos has joined #melange | 21:30 | |
*** robbyoconnor has quit IRC | 21:49 | |
*** robbyoconnor has joined #melange | 21:50 | |
*** scorche has quit IRC | 22:32 | |
*** scorche has joined #melange | 22:38 | |
*** dhans has joined #melange | 22:58 | |
*** ChanServ sets mode: +o dhans | 22:58 | |
*** dhans has left #melange | 22:58 | |
*** smaranda_f has joined #melange | 22:59 | |
*** Merio has joined #melange | 23:06 | |
*** ChanServ sets mode: +o Merio | 23:06 | |
*** smaranda_f has quit IRC | 23:25 | |
*** smaranda_f_ has joined #melange | 23:25 | |
*** m4k3r has joined #melange | 23:33 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!