BlankVerse | madrazr: there is no gen-app-yaml is not in/ bin | 00:00 |
---|---|---|
*** tpb has joined #melange | 00:00 | |
*** madrazr has quit IRC | 00:00 | |
*** scorche has quit IRC | 00:05 | |
*** scorche has joined #melange | 00:05 | |
*** lresende has quit IRC | 00:18 | |
*** hypatia has joined #melange | 00:20 | |
*** tansell-laptop has joined #melange | 00:44 | |
*** douglascamata has joined #melange | 01:07 | |
*** BlankVerse has quit IRC | 02:40 | |
*** gedex has quit IRC | 02:47 | |
*** NayanShah has joined #melange | 02:52 | |
*** crodjer has joined #melange | 04:07 | |
*** SRabbelier has quit IRC | 04:10 | |
*** SRabbelier has joined #melange | 04:11 | |
*** ChanServ sets mode: +o SRabbelier | 04:11 | |
*** nit89 has joined #melange | 04:28 | |
nit89 | SRabbelier : Hello , I am interested in contributing in Melange . How shall I proceed | 04:29 |
nit89 | SRabbelier : I am interested in first project of melange , Testing,coding Guru , and I am dying to work on it . Please tell me how to procedd | 04:41 |
*** nit89 has left #melange | 04:54 | |
*** romulomachado has joined #melange | 05:38 | |
romulomachado | Could someone help me? | 05:39 |
romulomachado | I deployed my instance to AppEngine service, but when I try to access "/seed_db" returns "404 - Not found" | 05:40 |
romulomachado | and "/" returns "This page is only accessible to developers." | 05:40 |
crodjer | visit /login and login as administrator first | 05:51 |
romulomachado | crodjer There are many fields to fill! | 05:54 |
romulomachado | crodjer What do I have to do? | 05:55 |
romulomachado | crodjer Do I have to fill all this fields? | 05:56 |
*** romulomachado has quit IRC | 05:57 | |
*** crodjer has quit IRC | 06:14 | |
*** crodjer has joined #melange | 06:14 | |
LittleQNCCU | SRabbelier: Sorry, I can't figure it out. | 06:19 |
LittleQNCCU | SRabbelier: I have some problem with the installation. | 06:19 |
*** crodjer has quit IRC | 06:20 | |
*** crodjer has joined #melange | 06:21 | |
*** tansell-laptop has quit IRC | 06:46 | |
*** smaranda_f has joined #melange | 06:52 | |
*** smaranda_f has quit IRC | 06:53 | |
*** praveen97uma has joined #melange | 07:12 | |
*** Zor has joined #melange | 07:17 | |
*** BlankVerse has joined #melange | 07:39 | |
*** douglascamata has left #melange | 07:51 | |
*** _NayanShah_ has joined #melange | 07:55 | |
*** _NayanShah_ is now known as Guest29671 | 07:56 | |
*** NayanShah has quit IRC | 07:56 | |
*** praveen97uma has quit IRC | 08:00 | |
*** jojow has joined #melange | 08:14 | |
*** crodjer has quit IRC | 08:18 | |
*** crodjer has joined #melange | 08:19 | |
*** BlankVerse has quit IRC | 08:22 | |
*** nit89 has joined #melange | 08:23 | |
*** BlankVerse has joined #melange | 08:24 | |
*** ankush1 has joined #melange | 08:32 | |
*** ankush1 has left #melange | 08:32 | |
*** ankush1 has joined #melange | 08:33 | |
*** Zor has quit IRC | 08:37 | |
*** praveen97uma has joined #melange | 08:45 | |
*** Guest29671 is now known as NayanShah|away | 08:49 | |
*** NayanShah|away is now known as NayanShah | 08:55 | |
*** praveen97uma has quit IRC | 09:10 | |
*** westi|gone is now known as westi | 09:31 | |
*** ratul has joined #melange | 09:38 | |
*** ssi|neil has joined #melange | 10:15 | |
BlankVerse | running the dev_appserver.py build , i get no module named cgi error | 10:22 |
BlankVerse | but on running a python shell and importing cgi works fine | 10:22 |
BlankVerse | is google app engine using its own custom path? | 10:23 |
BlankVerse | and somehow not including the default python path? | 10:23 |
ratul | BlankVerse: but that would raise error for a lot other modules also, right? | 10:25 |
*** nit89 has quit IRC | 10:26 | |
BlankVerse | ratul: it stops at the first error? | 10:26 |
BlankVerse | http://dpaste.com/524790/ | 10:27 |
tpb | Title: dpaste: #524790 (at dpaste.com) | 10:27 |
BlankVerse | python is interpreted , so i have seen quite a few times one you make one module right , it will throw error for next unavailable module | 10:28 |
BlankVerse | it wont try error for all the modules at the same time | 10:28 |
BlankVerse | i am using virtualenv for melange | 10:28 |
BlankVerse | and followed the tl;dr in getting started guide | 10:28 |
ratul | BlankVerse:true. but at least I am running not from python shell. some other student got cgi error when in virtualenv | 10:28 |
ratul | BlankVerse: not sure if it is prob with virtual env | 10:28 |
BlankVerse | ratul: so the custom settings screw up with virtualenv? | 10:29 |
ratul | BlankVerse: may be. as the same prob I am hearing twice. what abt normal installation? | 10:30 |
BlankVerse | ratul: i cant use the system-wide shell coz its default to python3 , let me try on a virtual machine and get back to you | 10:30 |
ratul | BlankVerse: ok | 10:30 |
BlankVerse | ratul: i m on arch and normal install uses python 3 | 10:30 |
*** ssi|neil has quit IRC | 10:30 | |
BlankVerse | ratul: i think it will be better to try on a virtual ubuntu os? | 10:30 |
*** npch has joined #melange | 10:30 | |
*** npch is now known as ssi|neil | 10:30 | |
ratul | BlankVerse: u can give it a try | 10:31 |
ratul | BlankVerse: but is not it a pain to work in virtual os? | 10:31 |
BlankVerse | ratul: not if u have enuf ram/processor resources and kvm on top :P | 10:32 |
ratul | BlankVerse: :) | 10:32 |
*** ssi|neil has left #melange | 10:40 | |
BlankVerse | on a clean virtual os , following the TL;DR gives | 10:43 |
BlankVerse | File "bootstrap.py", line 105, in <module> | 10:43 |
BlankVerse | ws.find(pkg_resources.Requirement.parse(requirement)).location | 10:43 |
BlankVerse | AttributeError: 'NoneType' object has no attribute 'location' | 10:43 |
BlankVerse | can anyone please check if the latest truck version has problems with bootstrap.py | 10:44 |
*** npch has joined #melange | 10:50 | |
BlankVerse | finally got it running on my system , i think it should be made clear that dev_appserver should be run using ./bin/python2.5 in melange directory , | 10:50 |
BlankVerse | i after visiting http://localhost:8080/seed_db | 10:51 |
BlankVerse | localhost redirects to | 10:51 |
BlankVerse | http://localhost:8080/gsoc/homepage/google/gsoc2009 | 10:51 |
BlankVerse | is it the preferred page , and btw , it seems very different from the profuction page | 10:51 |
*** praveen97uma has joined #melange | 11:03 | |
*** npch has quit IRC | 11:07 | |
*** npch has joined #melange | 11:14 | |
*** npch has left #melange | 11:15 | |
*** praveen97uma has quit IRC | 11:17 | |
*** jojow has quit IRC | 11:19 | |
*** ratul has left #melange | 11:26 | |
*** npch has joined #melange | 11:27 | |
*** m1k3y has joined #melange | 11:28 | |
*** m1k3y has joined #melange | 11:28 | |
*** nmudgal has joined #melange | 11:31 | |
*** crodjer has quit IRC | 11:39 | |
*** nmudgal has quit IRC | 11:40 | |
*** npch has quit IRC | 11:56 | |
*** npch has joined #melange | 11:59 | |
mdc | I added a gmail account to my Google account, which changed my primary email. I cannot login to our GSoC site. Anybody around who can help fix this? | 12:14 |
*** nmudgal has joined #melange | 12:15 | |
*** ankush1 has left #melange | 12:16 | |
*** m4k3r has joined #melange | 12:33 | |
*** SRabbelier|Lappy has joined #melange | 12:36 | |
*** ChanServ sets mode: +o SRabbelier|Lappy | 12:36 | |
*** Zor has joined #melange | 12:41 | |
*** npch has left #melange | 12:44 | |
*** m1k3y has quit IRC | 12:45 | |
*** BlankVerse has quit IRC | 12:48 | |
mdc | Seems to be fixed. Perhaps it was just latency. I'm back in business now. | 12:55 |
mdc | alright, today is the day some things get fixed. | 12:55 |
*** BlankVerse has joined #melange | 12:56 | |
*** npch has joined #melange | 13:02 | |
*** npch has left #melange | 13:06 | |
*** NayanShah has quit IRC | 13:22 | |
*** nmudgal has quit IRC | 13:39 | |
*** nit89 has joined #melange | 13:56 | |
nit89 | thirdparty/google_appengine/dev_appserver.py build , when I run this command then Error - "Value 'SOC-11/' for key application does not match expression '^(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{1,100}$' | 13:59 |
nit89 | in "build/app.yaml", " | 13:59 |
nit89 | comes | 13:59 |
nit89 | How to fix the above error | 13:59 |
nit89 | SOC-11 is my app instance | 14:00 |
nit89 | somebody please help me | 14:10 |
*** bipul has joined #melange | 14:33 | |
*** nmudgal has joined #melange | 14:35 | |
*** SRabbelier|Lappy has quit IRC | 14:41 | |
*** bipul has quit IRC | 14:41 | |
*** NayanShah has joined #melange | 14:42 | |
*** Crab_ has joined #melange | 14:46 | |
*** orcuna has joined #melange | 15:11 | |
*** npch1 has joined #melange | 15:14 | |
*** Zor has quit IRC | 15:21 | |
*** Zor has joined #melange | 15:22 | |
durin42 | nit89: the app name has to be only lowercase letters and numbers | 15:25 |
durin42 | and must start with a letter | 15:25 |
*** npch1 has quit IRC | 15:25 | |
*** npch has joined #melange | 15:33 | |
*** ratul has joined #melange | 15:35 | |
*** npch has quit IRC | 15:43 | |
nit89 | On running bin/run-tests -e test_functional command the error - "Ran 208 tests in 299.342s | 15:45 |
nit89 | FAILED (errors=1, failures=1)" comes | 15:45 |
nit89 | someone has any idea of it | 15:45 |
nit89 | ? | 15:45 |
*** westi is now known as westi|out | 15:45 | |
*** Triskelios has joined #melange | 15:55 | |
Triskelios | I notice some functionality has been disabled on socghop, does anyone have an ETA on when it'll be restored? | 15:56 |
*** westi|out is now known as westi | 16:03 | |
*** cretu has joined #melange | 16:10 | |
*** sfb has joined #melange | 16:11 | |
*** cretu has quit IRC | 16:15 | |
*** slingshot316 has joined #melange | 16:23 | |
*** ratul has left #melange | 16:24 | |
slingshot316 | SRabbelier: hello! sorry I'm down with a very bad fever so couldn't really be active off late and i just got little better today and i have small doubt, now that params are not used anymore how is functionality like this achieved? helper.responses.useJavaScript(context, params['js_uses_all']) | 16:25 |
*** SRabbelier has quit IRC | 16:34 | |
*** SRabbelier has joined #melange | 16:36 | |
*** ChanServ sets mode: +o SRabbelier | 16:36 | |
slingshot316 | SRabbelier: hello | 16:39 |
slingshot316 | SRabbelier: hello! sorry I'm down with a very bad fever so couldn't really be active off late and i just got little better today and i have small doubt, now that params are not used anymore how is functionality like this achieved? helper.responses.useJavaScript(context, params['js_uses_all']) | 16:40 |
*** m4k3r has quit IRC | 16:41 | |
*** jojow has joined #melange | 16:42 | |
*** dr__house has joined #melange | 16:42 | |
*** dr__house has joined #melange | 16:42 | |
*** slingshot316 has quit IRC | 16:53 | |
*** nmudgal has quit IRC | 16:53 | |
*** dr__house has quit IRC | 16:54 | |
*** dr__house` has joined #melange | 16:54 | |
*** dr__house` has joined #melange | 16:54 | |
*** dr__house` is now known as dr__house | 16:54 | |
*** NayanShah has quit IRC | 17:11 | |
*** nmudgal has joined #melange | 17:11 | |
*** m1k3y has joined #melange | 17:14 | |
*** m1k3y has joined #melange | 17:14 | |
*** crodjer has joined #melange | 17:19 | |
*** dr__house has quit IRC | 17:20 | |
*** dhaun has joined #melange | 17:22 | |
*** romulomachado has joined #melange | 17:29 | |
*** westi is now known as westi|gone | 17:49 | |
*** dr__house has joined #melange | 17:58 | |
*** dr__house has joined #melange | 17:58 | |
*** arun_ has quit IRC | 18:01 | |
*** BlankVerse has quit IRC | 18:03 | |
*** BlankVerse has joined #melange | 18:03 | |
*** nit89 has left #melange | 18:05 | |
*** npch has joined #melange | 18:10 | |
sfb | /part | 18:11 |
*** sfb has left #melange | 18:11 | |
SRabbelier | BlankVerse: that's correct | 18:16 |
SRabbelier | BlankVerse: it's the new design that we're launching this Friday | 18:16 |
BlankVerse | SRabbelier: awesome , but why does it redirect to 2009 page? | 18:16 |
SRabbelier | BlankVerse: because that's the active program | 18:17 |
SRabbelier | BlankVerse: the homepage redirects to the homepage of the actual program | 18:17 |
SRabbelier | BlankVerse: since GSoC and GCI will have a different L&F | 18:17 |
BlankVerse | SRabbelier: csv export works on latest pull? | 18:19 |
SRabbelier | BlankVerse: csv export of? | 18:19 |
BlankVerse | list of accepted projects | 18:20 |
BlankVerse | clicking on about page redirects | 18:20 |
BlankVerse | http://localhost:8080/gsoc/list_projects/google/None | 18:20 |
SRabbelier | BlankVerse: oh, hm | 18:20 |
SRabbelier | BlankVerse: can you write a test to demonstrate this bug? | 18:20 |
SRabbelier | BlankVerse: that would be a huge help | 18:21 |
BlankVerse | i was working on exporting the grid to google docs | 18:22 |
SRabbelier | BlankVerse: ah, I'm not sure how useful it would be to export that particular list | 18:22 |
SRabbelier | BlankVerse: but, please do write a test :) | 18:22 |
SRabbelier | BlankVerse: also | 18:23 |
BlankVerse | to be honest i have never done any tests :( | 18:23 |
SRabbelier | BlankVerse: definitely pull first | 18:23 |
SRabbelier | BlankVerse: look at tests/new_views | 18:23 |
BlankVerse | SRabbelier: is the code drastically broken for me or for everyone ? | 18:23 |
BlankVerse | lots of things seem to NOT work ? | 18:24 |
SRabbelier | BlankVerse: the new UI should be working almost 100% | 18:24 |
SRabbelier | BlankVerse: what's not working? | 18:24 |
SRabbelier | BlankVerse: did you pull recently? | 18:24 |
BlankVerse | i had a chat with madrazr last day , and we had discussion about export to google docs using gdata API , i dont see how that work is moderate? | 18:25 |
BlankVerse | what features am i missing to imagine ? | 18:25 |
BlankVerse | SRabbelier: yeah pulled a few hours ago | 18:26 |
SRabbelier | BlankVerse: yeah, I dont' think it'd be a lot of work either :) | 18:26 |
SRabbelier | BlankVerse: can you describe what's broken? | 18:26 |
BlankVerse | SRabbelier: it seems quite trivial to me also , btw , 1. export csv for list of projects don work here | 18:26 |
BlankVerse | 2. about page leads to django debug page | 18:27 |
SRabbelier | BlankVerse: what is the url it links to? | 18:27 |
BlankVerse | i had already mentioned above | 18:27 |
BlankVerse | http://localhost:8080/gsoc/list_projects/google/None | 18:27 |
BlankVerse | same for contacts link | 18:28 |
BlankVerse | can you please verify on your local setup ? | 18:28 |
SRabbelier | BlankVerse: ah, right | 18:28 |
SRabbelier | BlankVerse: that None is the culprit | 18:28 |
SRabbelier | BlankVerse: yeah I see it | 18:28 |
SRabbelier | BlankVerse: I'll investigate in a bit | 18:28 |
BlankVerse | one thing about tl;dr in getting started : | 18:29 |
SRabbelier | BlankVerse: and csv export is indeed broken | 18:29 |
SRabbelier | BlankVerse: please email the list about that | 18:29 |
BlankVerse | the line thirdparty/google_appengine/dev_appserver.py build | 18:29 |
SRabbelier | BlankVerse: send it to "Mario Ferraro" <[email protected]>, | 18:29 |
SRabbelier | BlankVerse: and cc the list | 18:29 |
SRabbelier | BlankVerse: yes? | 18:30 |
BlankVerse | should be preceded by ./bin/python2.5 | 18:30 |
BlankVerse | the bootstrap fails on virtualenv , this should also be mentioned so that people dont waste time like i did | 18:31 |
BlankVerse | can i moldify the wiki? | 18:31 |
BlankVerse | to correct it? | 18:31 |
SRabbelier | BlankVerse: well, don't just blindly add "./bin/python2.5" since Melange does work with python2.6 | 18:32 |
SRabbelier | BlankVerse: but do add a note like "If you are using a different version of python than the system wide one, you need to ...." | 18:32 |
BlankVerse | anyways , you bootstrap script adds python2.5 to bin folder | 18:32 |
SRabbelier | BlankVerse: but please do add a note to the "troubleshooting" section about virtualenv, with the error message you got, etc | 18:32 |
SRabbelier | BlankVerse: only if you run it like "python2.5 bootstrap.py" | 18:32 |
SRabbelier | BlankVerse: if you run it with python2.6 it'll add python2.6, no? | 18:33 |
BlankVerse | SRabbelier: no i think it goes for 2.5 | 18:33 |
BlankVerse | SRabbelier: must be in the "magical" bootstrap and buildout parts | 18:33 |
BlankVerse | SRabbelier: doesnt also work on python2.7 i think? | 18:34 |
SRabbelier | BlankVerse: I don't think we have any python2.5-isms, do we? | 18:34 |
SRabbelier | BlankVerse: I think Madhu successfully ran on 2.7, but not sure | 18:34 |
BlankVerse | on a fresh virtualised maverik install , the tl;dr failed for me | 18:35 |
*** gedex has joined #melange | 18:36 | |
SRabbelier | BlankVerse: using python2.7? | 18:36 |
BlankVerse | SRabbelier: 2.6.6 | 18:37 |
SRabbelier | BlankVerse: what error do you get? | 18:37 |
BlankVerse | thirdparty/google_appengine/dev_appserver.py build | 18:38 |
BlankVerse | srry | 18:38 |
BlankVerse | File "bootstrap.py", line 105, in <module> ws.find(pkg_resources.Requirement.parse(requirement)).location | 18:38 |
BlankVerse | AttributeError: 'NoneType' object has no attribute 'location' | 18:38 |
BlankVerse | on the maverik box | 18:38 |
BlankVerse | but anyways my dev box seems to run fine | 18:38 |
BlankVerse | it will be a headache for ubuntu guys trying to follow the tl;dr | 18:38 |
*** MatthewWilkes has joined #melange | 18:39 | |
MatthewWilkes | SRabbelier: Evening :P | 18:39 |
BlankVerse | the error is thrown on | 18:39 |
BlankVerse | python bootstrap.py | 18:39 |
SRabbelier | MatthewWilkes: indeed | 18:39 |
SRabbelier | BlankVerse: well, that error | 18:39 |
SRabbelier | BlankVerse: is explained in the trouble shooting section | 18:40 |
SRabbelier | right? | 18:40 |
BlankVerse | SRabbelier: i cant find it | 18:40 |
BlankVerse | SRabbelier: on getting started page? | 18:40 |
SRabbelier | BlankVerse: oh, maybe I didn't add it yet | 18:41 |
SRabbelier | BlankVerse: nope, didn't add it yet | 18:42 |
SRabbelier | BlankVerse: anyway, the fix is here: https://bugs.launchpad.net/zc.buildout/+bug/515398 | 18:42 |
SRabbelier | BlankVerse: can you add it to the wiki? | 18:42 |
tpb | <http://ln-s.net/8df2> (at bugs.launchpad.net) | 18:42 |
*** romulomachado has quit IRC | 18:42 | |
BlankVerse | SRabbelier: done | 18:47 |
SRabbelier | BlankVerse: many thanks | 18:48 |
BlankVerse | where should i cc the mail to general or dev? | 18:51 |
SRabbelier | BlankVerse: dev always | 18:52 |
BlankVerse | SRabbelier: ok | 18:52 |
SRabbelier | BlankVerse: melange-soc is for users of Melange only | 18:52 |
BlankVerse | SRabbelier: oops , i need some sleep :P | 18:52 |
SRabbelier | BlankVerse: you should make it say "From [link]: I was able to..." | 18:52 |
*** and4luc1a has joined #melange | 18:53 | |
SRabbelier | BlankVerse: that way it's obvious that it's a quote | 18:54 |
*** ratul has joined #melange | 18:55 | |
and4luc1a | Hi! I'm interested in a Melange GSOC project. I'm trying to set it up on my machine but I'm having some problems, could someone help me out? | 18:58 |
ratul | and4luc1a: what is the problem? | 19:00 |
and4luc1a | i get this error | 19:00 |
and4luc1a | ImportError: <module 'setuptools.dist' from '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.pyc'> has no 'check_packages' attribute | 19:00 |
and4luc1a | While: | 19:00 |
and4luc1a | Installing. | 19:00 |
and4luc1a | Processing develop directory '/Users/cristianregep/Desktop/work/melange/.'. | 19:00 |
and4luc1a | I looked online, found some people with similar problems | 19:00 |
and4luc1a | I tried what they tried but it does not seem to work | 19:01 |
SRabbelier | and4luc1a: doesn't sound familiar | 19:01 |
ratul | and4luc1a: I assume u followed gettingstarted | 19:01 |
and4luc1a | yes | 19:01 |
and4luc1a | bin/buildout | 19:01 |
ratul | and4luc1a: ok, SRabbelier took in charge :) | 19:02 |
SRabbelier | MatthewWilkes: ^ | 19:02 |
and4luc1a | when i give this command | 19:02 |
and4luc1a | i get that error | 19:02 |
SRabbelier | MatthewWilkes: you ever heard of that? | 19:02 |
* MatthewWilkes wakes up | 19:02 | |
MatthewWilkes | hmmmm | 19:02 |
MatthewWilkes | no, but you shouldn't be using setuptools anyway, it's unmaintained | 19:03 |
SRabbelier | MatthewWilkes: I thought we're using distribute | 19:03 |
MatthewWilkes | Hmmm | 19:03 |
SRabbelier | MatthewWilkes: I recently updated our bootstrap.py | 19:03 |
MatthewWilkes | I dunno then | 19:03 |
SRabbelier | and4luc1a: when did you lastp ull? | 19:03 |
SRabbelier | and4luc1a: also, can you post the full stacktrace on pastebin? | 19:04 |
and4luc1a | 10 mins ago | 19:04 |
and4luc1a | ok i'll do that | 19:04 |
and4luc1a | here's the link http://pastebin.com/peKTKDK9 | 19:05 |
tpb | Title: c104048:melange cristianregep$ bin/buildout /Users/cristianregep/Desktop/work/m - Pastebin.com (at pastebin.com) | 19:05 |
BlankVerse | SRabbelier: google groups has no option to reply to the ML? | 19:10 |
SRabbelier | BlankVerse: dont' use the web interface | 19:11 |
SRabbelier | BlankVerse: turn on direct email | 19:11 |
BlankVerse | SRabbelier: yeah , i was replying to an old thread | 19:11 |
SRabbelier | MatthewWilkes: ^ can you see anything from that stacktrace? | 19:11 |
SRabbelier | MatthewWilkes: or do you know what channel there might be someome who can? | 19:11 |
SRabbelier | BlankVerse: perhaps if you sign in | 19:11 |
*** ratul has left #melange | 19:13 | |
BlankVerse | and4luc1a: setuptools is the culprit it seems | 19:13 |
BlankVerse | and4luc1a: do u have access to a linux machine? | 19:14 |
and4luc1a | not right now | 19:14 |
and4luc1a | i'm on a mac | 19:14 |
BlankVerse | and4luc1a: try checking for setuptools package version | 19:14 |
SRabbelier | BlankVerse: are you Pankaj More? | 19:14 |
BlankVerse | SRabbelier: ?? | 19:15 |
BlankVerse | SRabbelier: why? | 19:15 |
* SRabbelier is kind of sad that he didn't even bother to do a /whois first | 19:15 | |
SRabbelier | BlankVerse: Just saw your email on the list :) | 19:15 |
BlankVerse | SRabbelier: hmm | 19:15 |
and4luc1a | setuptools is at version 0.6c9 on my machine | 19:19 |
SRabbelier | and4luc1a: what if you uninstall it? | 19:20 |
and4luc1a | and then install another version? | 19:21 |
BlankVerse | SRabbelier: just a suggestion , since many people are having trouble with the tl;dr part , we can do one of the 2 things : | 19:22 |
BlankVerse | 1. fix the buildout part ( i dont know how to ) | 19:22 |
SRabbelier | BlankVerse: let's put it at the bottom of the page? | 19:23 |
BlankVerse | 2. remove the tl;dr and mention the linst of packages required to run melange , let people do everything manually | 19:23 |
BlankVerse | 3. give a vbox image with everything preconfigured so that they can get started very quickly | 19:23 |
SRabbelier | BlankVerse: nah | 19:24 |
BlankVerse | i think 2 is the best coz there will be no more "magic" and people know exactly what they are doing | 19:24 |
SRabbelier | BlankVerse: not 3 | 19:24 |
SRabbelier | BlankVerse: getting set up is not _that_ hard | 19:24 |
SRabbelier | BlankVerse: it's not a problem of giving packages they need to have installed | 19:24 |
SRabbelier | BlankVerse: I don't want to stop using buildout | 19:24 |
BlankVerse | SRabbelier: lets keep the getting installed as a pre-requisite for any gsoc applicant and focus more on the high-level issues :) | 19:25 |
SRabbelier | BlankVerse: exactly | 19:26 |
SRabbelier | BlankVerse: if a student can't put furth the effort of getting their setup fixed I don't think they're the right kind of candiate | 19:27 |
*** scorche|sh has quit IRC | 19:27 | |
BlankVerse | SRabbelier: yeah setup the irc topic/bot so that people dont come around asking for how to get started | 19:27 |
BlankVerse | SRabbelier: and waste the precious community time :) | 19:28 |
SRabbelier | BlankVerse: oh, that doesn't bother me | 19:28 |
SRabbelier | BlankVerse: I don't mind telling them "go read the GettingStarted" | 19:28 |
SRabbelier | BlankVerse: maybe if we'd get that more than once or twice a day | 19:28 |
BlankVerse | back to work , can you suggest where to go about for tests | 19:29 |
SRabbelier | BlankVerse: yes, /tests/new_views | 19:29 |
SRabbelier | BlankVerse: but hold on a sec | 19:29 |
SRabbelier | BlankVerse: I'm fixing the homepage tests | 19:29 |
SRabbelier | BlankVerse: which'll require a little refactoring | 19:29 |
SRabbelier | BlankVerse: so please wait 10m | 19:29 |
BlankVerse | SRabbelier: sure | 19:29 |
*** crodjer has quit IRC | 19:37 | |
*** MatthewWilkes has quit IRC | 19:38 | |
*** dr__house has quit IRC | 19:44 | |
SRabbelier | BlankVerse: pushed | 19:49 |
*** jweede has joined #melange | 19:49 | |
BlankVerse | SRabbelier: do i need to read up on anything since i have never done testing | 19:50 |
SRabbelier | BlankVerse: we have a wiki page about our tests, you could/should reat it, or you can just read the existing tests | 19:50 |
BlankVerse | SRabbelier: read it already | 19:51 |
SRabbelier | BlankVerse: depends on wether you prefer to read code or docs I suppose | 19:51 |
BlankVerse | SRabbelier: i prefer docs first and then code :) | 19:51 |
SRabbelier | BlankVerse: *nod*, read the existing tests next then | 19:52 |
BlankVerse | SRabbelier: so that i get an idea where to look for in case of doubts | 19:52 |
SRabbelier | BlankVerse: after that you should be able to do something like self.assertFalse('None' in response.context['about_link']) | 19:52 |
SRabbelier | BlankVerse: fair enough | 19:52 |
BlankVerse | SRabbelier: yeah | 19:52 |
SRabbelier | BlankVerse: feel free to ask questions if you get stuck though | 19:53 |
BlankVerse | SRabbelier: bin/run-tests for testing , or should i exclude the func tests | 19:53 |
SRabbelier | BlankVerse: the former, you can run specific tests too, with bin/run-tests tests/new_views for example | 19:54 |
BlankVerse | SRabbelier: cool | 19:55 |
*** jweede has quit IRC | 19:58 | |
*** jweede has joined #melange | 20:00 | |
BlankVerse | SRabbelier: this test for about page should work for any kind of user .. should i put it in every def? | 20:01 |
BlankVerse | SRabbelier: anonymous is sufficient | 20:01 |
SRabbelier | BlankVerse: just test it for an anonymous user | 20:01 |
SRabbelier | BlankVerse: yeah | 20:01 |
*** jweede has quit IRC | 20:03 | |
*** jweede has joined #melange | 20:05 | |
*** dr__house has joined #melange | 20:06 | |
*** dr__house has joined #melange | 20:06 | |
BlankVerse | SRabbelier: i added this : | 20:08 |
BlankVerse | self.assertFalse('None' in response.context['about_link']) | 20:08 |
BlankVerse | but still tests passed ok | 20:08 |
SRabbelier | BlankVerse: add self.fail("testing") | 20:09 |
SRabbelier | BlankVerse: does that break it? | 20:09 |
BlankVerse | SRabbelier: yep | 20:10 |
SRabbelier | BlankVerse: before the fail, add: print resposne.context['about_link'] I suppose? | 20:10 |
BlankVerse | this assertFalse needs to be corrected | 20:10 |
SRabbelier | BlankVerse: hm? | 20:11 |
*** BlankVerse has quit IRC | 20:13 | |
*** BlankVerse has joined #melange | 20:13 | |
BlankVerse | '/gsoc/document/m000007' ? | 20:14 |
SRabbelier | gedex: please keep the list cc-ed when you reply | 20:14 |
SRabbelier | BlankVerse: you'll have to rig the test first then | 20:14 |
SRabbelier | BlankVerse: to make it not set the document | 20:14 |
BlankVerse | SRabbelier: rig the test? | 20:15 |
gedex | SRabbelier: Okay | 20:15 |
SRabbelier | BlankVerse: in the test do something like self.gsoc.about_link = "bla" | 20:15 |
gedex | SRabbelier: sorry for that | 20:15 |
SRabbelier | gedex: np | 20:15 |
BlankVerse | SRabbelier: done | 20:15 |
BlankVerse | SRabbelier: still the same | 20:16 |
SRabbelier | BlankVerse: well, you don't want to set it to Bla do you :P | 20:16 |
SRabbelier | BlankVerse: you want to test what happens if it's None | 20:16 |
BlankVerse | SRabbelier: still remains the same , i think the about_link referd are differeent | 20:17 |
SRabbelier | BlankVerse: check the code, it's in homepage.py | 20:17 |
BlankVerse | SRabbelier: ok | 20:17 |
*** arun_ has joined #melange | 20:19 | |
*** arun_ has joined #melange | 20:19 | |
BlankVerse | SRabbelier: no about_link actually passed in homepage.py | 20:22 |
BlankVerse | SRabbelier: thats the culprit :) | 20:22 |
SRabbelier | BlankVerse: well, that kind of explains :P | 20:22 |
SRabbelier | BlankVerse: although.. | 20:23 |
BlankVerse | SRabbelier: but could you plz explain why /gsoc/document/m000007 came up? | 20:23 |
SRabbelier | BlankVerse: that's what the seeder did | 20:23 |
SRabbelier | BlankVerse: it automatically created a document to fill that ReferenceProperty | 20:23 |
BlankVerse | SRabbelier: oh | 20:23 |
BlankVerse | SRabbelier: what should i pass as about_link context | 20:24 |
SRabbelier | BlankVerse: oh | 20:24 |
SRabbelier | BlankVerse: it's connect_link that you should be testing | 20:24 |
BlankVerse | SRabbelier: should i put it in urlconf to direct toabout me page | 20:24 |
SRabbelier | BlankVerse: not about_link | 20:25 |
SRabbelier | BlankVerse: see footer.html | 20:25 |
SRabbelier | errr | 20:25 |
SRabbelier | now I'm confused | 20:25 |
SRabbelier | BlankVerse: ah, finally | 20:25 |
SRabbelier | BlankVerse: they are being set | 20:25 |
SRabbelier | BlankVerse: but in base_templates.py | 20:26 |
BlankVerse | SRabbelier: yeah got them | 20:26 |
SRabbelier | BlankVerse: they shouldn't be setting them | 20:26 |
SRabbelier | BlankVerse: either that | 20:27 |
SRabbelier | BlankVerse: or the template should check | 20:27 |
SRabbelier | footer.html that is | 20:27 |
SRabbelier | BlankVerse: so in footer.html have a {% if about_link %} ... | 20:27 |
*** m4k3r has joined #melange | 20:28 | |
BlankVerse | <a href="{{ about_link }}">About</a | 20:29 |
SRabbelier | BlankVerse: right, that should be inside a {% if about_link %} guard | 20:29 |
BlankVerse | SRabbelier: but then about link goes away | 20:31 |
SRabbelier | BlankVerse: yup | 20:32 |
SRabbelier | BlankVerse: if you don't set it | 20:32 |
SRabbelier | BlankVerse: it shouldn't show | 20:32 |
SRabbelier | BlankVerse: it'll show only if it is set in the program profile | 20:32 |
SRabbelier | BlankVerse: which seed_db doesn't do by default | 20:32 |
SRabbelier | BlankVerse: (hence the None) | 20:32 |
BlankVerse | SRabbelier: which we need to do or leave for the program? | 20:32 |
SRabbelier | BlankVerse: I don't understand yoru question | 20:33 |
*** and4luc1a has quit IRC | 20:33 | |
BlankVerse | SRabbelier: i mean is about link missing ok , or should we should set it to something | 20:33 |
SRabbelier | BlankVerse: it's fine if it's missing, we just shouldn't show anything if it is | 20:35 |
SRabbelier | BlankVerse: (if it is missing) | 20:35 |
SRabbelier | BlankVerse: of course, on a normal instance it will be set to a proper value | 20:35 |
BlankVerse | BlankVerse: so this bug is fixed ? or we set it to a proper value? | 20:35 |
BlankVerse | SRabbelier: these ways are a little convoluted to me , since i used to use normal urlconf and render_to_response and direct_to_template stuff | 20:37 |
SRabbelier | BlankVerse: what is convoluted? | 20:37 |
BlankVerse | SRabbelier: need to get familiar with this approach | 20:37 |
SRabbelier | BlankVerse: we tried to make it obvious what things do, without making the code overly verbose | 20:38 |
SRabbelier | BlankVerse: you should probably read views/base.py and modules/gsoc/views/base.py | 20:38 |
BlankVerse | SRabbelier: yeah , already reading those | 20:38 |
SRabbelier | BlankVerse: what do you find convoluted though? perhaps we can improve the situation | 20:39 |
BlankVerse | SRabbelier: not actually "convoluted" , i meant a different way :) | 20:39 |
SRabbelier | BlankVerse: "not the usual Django way" I suppose? | 20:39 |
BlankVerse | SRabbelier: yeah :) | 20:40 |
SRabbelier | BlankVerse: we can't use pure Django because we're on AppEngine, and AppEngine's "webapp" stuff is way too basic | 20:43 |
BlankVerse | SRabbelier: i have already faced the wrath of "app-engine" and django for a social-networking site i was building | 20:44 |
BlankVerse | SRabbelier: after a lot of frustration , migrated it to an amazon ec2 instance | 20:44 |
SRabbelier | BlankVerse: heheh :P | 20:44 |
SRabbelier | BlankVerse: ouch | 20:45 |
BlankVerse | SRabbelier: and lived happily ever after :) | 20:45 |
BlankVerse | SRabbelier: app-engine limitations are too bad for these kind of sites | 20:46 |
BlankVerse | SRabbelier: good for different kinds of apps , you must be knowing better than me | 20:47 |
SRabbelier | BlankVerse: what limitations though? | 20:47 |
SRabbelier | BlankVerse: the limitations we ran into so far we've been able to handle | 20:47 |
BlankVerse | SRabbelier: for social networking , lots of concurrent requests is a problem | 20:48 |
BlankVerse | SRabbelier: and the files limit to 3000 ... | 20:48 |
BlankVerse | SRabbelier: pathetic :( | 20:48 |
SRabbelier | BlankVerse: lots of concurrent requests is definitely not a problem, we've seen Melange running with 150QPS no sweat | 20:48 |
BlankVerse | SRabbelier: it just ignores any request which takes more than a 30 secs | 20:48 |
SRabbelier | BlankVerse: ignores? | 20:49 |
BlankVerse | SRabbelier: i mean long requests | 20:49 |
SRabbelier | BlankVerse: throws an error? | 20:49 |
BlankVerse | SRabbelier: i think it had a limit | 20:49 |
BlankVerse | SRabbelier: no request can take greater then 30 secs | 20:49 |
SRabbelier | BlankVerse: there is indeed a 30s request limit | 20:49 |
SRabbelier | BlankVerse: right | 20:49 |
SRabbelier | BlankVerse: tasks can take up to 10m now though | 20:49 |
SRabbelier | BlankVerse: so if you need to do something computationally intensive just use Ajax to start a task | 20:49 |
BlankVerse | SRabbelier: connecting with external APIs fb , twitter , etc was a pain | 20:49 |
BlankVerse | SRabbelier: more frustration was with django models support and vendor 'lock-in' | 20:50 |
BlankVerse | SRabbelier: hence decided to migrate :) | 20:50 |
SRabbelier | BlankVerse: urlfetch now has a timeout | 20:50 |
SRabbelier | BlankVerse: and you can run pure django now | 20:51 |
SRabbelier | BlankVerse: (if you start out that way it's easy) | 20:51 |
BlankVerse | SRabbelier: i have tried pure django | 20:51 |
BlankVerse | SRabbelier: its not so pure as they say | 20:51 |
BlankVerse | SRabbelier: existing django apps wont work directly | 20:51 |
BlankVerse | SRabbelier: coz of no joins support | 20:51 |
BlankVerse | SRabbelier: and the django-nonrel is basically 3rd-party work which might not even continue | 20:52 |
SRabbelier | BlankVerse: well, sure, but that's with Django too :P | 20:52 |
BlankVerse | SRabbelier: requires quite an effort to convert , if u start from scratch , django-nonrel might be a gud option | 20:52 |
SRabbelier | BlankVerse: you don't know if Django will continue | 20:52 |
BlankVerse | SRabbelier: the odds against django are much lees than against django-nonrel | 20:53 |
SRabbelier | BlankVerse: *nod* | 20:53 |
SRabbelier | BlankVerse: fair point :) | 20:53 |
BlankVerse | SRabbelier: django-nonrel is basically 2 presons work | 20:53 |
SRabbelier | BlankVerse: hmm | 20:53 |
BlankVerse | SRabbelier: who dont have time to continue coz of phd thesis | 20:53 |
BlankVerse | SRabbelier: django wont die so quickly | 20:54 |
BlankVerse | SRabbelier: :) | 20:54 |
BlankVerse | SRabbelier: just becoz of huge dev base | 20:54 |
SRabbelier | BlankVerse: ah | 20:55 |
SRabbelier | BlankVerse: so, that's why we have the infrastructure we do :) | 20:55 |
BlankVerse | SRabbelier: hmm :) | 20:55 |
BlankVerse | SRabbelier: web2py seems great for app-engine though :) | 20:56 |
SRabbelier | BlankVerse: web2py? | 20:58 |
BlankVerse | SRabbelier:python framework | 20:58 |
*** jweede has quit IRC | 20:58 | |
SRabbelier | BlankVerse: ah | 20:59 |
BlankVerse | SRabbelier: some of the code written in views/base.py are actually part of web2py | 20:59 |
BlankVerse | SRabbelier: you guys seems to be the inspiration for the web2py creator :) | 21:00 |
SRabbelier | BlankVerse: *nod* | 21:00 |
SRabbelier | BlankVerse: does it have a templating system? | 21:00 |
BlankVerse | BlankVerse: no | 21:00 |
SRabbelier | BlankVerse: probably the other way around | 21:00 |
SRabbelier | BlankVerse: we copied most of our base.py stuff from webapp and django | 21:00 |
SRabbelier | BlankVerse: *nod* | 21:00 |
*** jweede has joined #melange | 21:03 | |
BlankVerse | needs a little sleep , gudnight SRabbelier | 21:05 |
SRabbelier | BlankVerse: g'night | 21:06 |
*** jweede has quit IRC | 21:13 | |
*** nmudgal has quit IRC | 21:30 | |
SRabbelier | gedex: can you increase the padding after the header? | 21:36 |
gedex | SRabbelier: Did you mean legend ? | 21:37 |
SRabbelier | gedex: yea | 21:37 |
*** scorche|sh has joined #melange | 21:37 | |
gedex | SRabbelier: Done, refresh it | 21:44 |
SRabbelier | gedex: Awesome :D | 21:45 |
*** Zor has quit IRC | 22:00 | |
*** Crab_ has quit IRC | 22:16 | |
*** Manojwowie92 has joined #melange | 22:18 | |
Manojwowie92 | hey folks! | 22:19 |
*** dhaun has quit IRC | 22:23 | |
*** gedex has left #melange | 22:27 | |
SRabbelier | Manojwowie92: hi | 22:31 |
*** jojow has quit IRC | 22:35 | |
*** Manojwowie92 has quit IRC | 22:35 | |
*** and4luc1a has joined #melange | 23:22 | |
*** m4k3r has quit IRC | 23:28 | |
*** dr__house has quit IRC | 23:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!