rsajdok | daker: thanks, I am trying to add "team event" and I got error message "You can not add a new team event. You are not a member of any LoCo Teams." | 10:43 |
---|---|---|
rsajdok | In past I could do that but now is not possible. | 10:43 |
daker | rsajdok: in your local_settings there is a DEBUG_USERS, add your Launchpad nickname | 11:13 |
rsajdok | daker: DEBUG_USERS = ('ris') ? | 11:28 |
daker | yep | 11:28 |
rsajdok | I did, still do not work | 11:31 |
daker | rsajdok: connect using launchpad | 11:32 |
daker | i mean click on login at top right | 11:32 |
rsajdok | daker: I did, still I can not add team event | 11:44 |
daker | rsajdok: download this http://people.ubuntu.com/~daker/ltp/ltp.db | 11:46 |
daker | run ./env/bin/python loco_directory/manage.py syncdb --noinput | 11:48 |
daker | and ./env/bin/python loco_directory/manage.py migrate | 11:48 |
rsajdok | daker: not work | 11:57 |
daker | rsajdok: :( | 11:58 |
daker | rsajdok: login to /admin | 11:58 |
daker | nick : admin | 11:59 |
daker | pwd 123456 | 11:59 |
daker | and add "admin" to DEBUG_USERS | 11:59 |
rsajdok | daker: during login I am redirect to openid | 12:06 |
daker | for /admin ? | 12:06 |
daker | login to 127.0.0.1:8000/admin | 12:07 |
rsajdok | daker: my mistake :) I will try it later | 12:57 |
daker | ok | 13:05 |
cjohnston | daker: ping | 20:47 |
daker | cjohnston: pong | 20:51 |
cjohnston | daker: is there a plugin or something that josepht and I can use to view the dashboard in different resolutions? | 20:52 |
cjohnston | someone else is seeing something that we arent with that page you and I were workign on | 20:53 |
daker | cjohnston: yeah | 20:53 |
daker | do you have chrome/ium ? | 20:53 |
cjohnston | chrome | 20:54 |
cjohnston | josepht: uses FF | 20:54 |
josepht | cjohnston: I have one for FF :) | 20:54 |
cjohnston | josepht, daker, daker josepht... josepht daker is the CSS/django master | 20:54 |
josepht | daker: nice to meet you | 20:54 |
daker | josepht: nice to meet you | 20:55 |
daker | josepht: cjohnston FF & chrome both have this feature | 20:55 |
daker | josepht: for FF http://i.imgur.com/X74cuS5.png | 20:57 |
rsajdok | cjohnston: latest firefox has that function | 20:58 |
daker | cjohnston: for chrome press F12 once you have the developer tools click the small gear on the bottom right | 21:00 |
daker | http://i.imgur.com/0oXrNa4.png | 21:00 |
daker | you can overide useragent/device metrics/Lat/Long | 21:01 |
cjohnston | josepht: I can't reproduce either | 21:02 |
daker | cjohnston: what's your problem ? | 21:03 |
cjohnston | daker: a layout problem on one persons screen | 21:03 |
josepht | cjohnston: once i get the width to 1991 I see it too | 21:03 |
cjohnston | wtf | 21:04 |
josepht | cjohnston: grid_15 takes up its 1180px and grid_2 is beside it on the right | 21:04 |
cjohnston | it shouldnt be | 21:05 |
cjohnston | grid_15 should be taking the whole space | 21:05 |
josepht | anyone know how to increase the resolution without the mouse? I can only add a few px at a time by clicking and dragging? | 21:06 |
daker | josepht: http://i.imgur.com/X74cuS5.png | 21:06 |
josepht | cjohnston: div#content doesn't have a width | 21:06 |
josepht | daker: I got that, but it a pain getting larger than the largest preset width | 21:07 |
daker | josepht: you can set your own preset | 21:08 |
josepht | daker: I tried that and it just uses the current resolution | 21:08 |
daker | ah you are right | 21:10 |
josepht | ah I got it had to unmaximize the window and move it almost off the scren to the left | 21:10 |
daker | josepht: ah got it, do you see the resize grip http://i.imgur.com/CQQEqMO.png ? | 21:12 |
josepht | daker: yes | 21:13 |
daker | josepht: it works for you ? | 21:13 |
josepht | daker: yes, you just can't drag it very far when the FF window is maximized and the resolution is larger than the window size :) | 21:14 |
daker | ok :) | 21:14 |
josepht | cjohnston: adding the width to #content fixed it for me at high resolutions | 21:15 |
josepht | daker: thanks a lot for your help | 21:15 |
cjohnston | josepht: ok | 21:16 |
cjohnston | I say we just tell her to get a normal resolution ;-) | 21:16 |
rsajdok | daker: I did http://pastie.org/5946780 and still I can not add new team event | 21:23 |
daker | rsajdok: i said DEBUG_USERS = ('admin') | 21:24 |
rsajdok | daker: ups :) | 21:26 |
daker | rsajdok: it works ? | 21:33 |
rsajdok | daker: not work | 21:35 |
daker | argh :( | 21:40 |
rsajdok | daker: I want to fix many bugs in loco but this problem stopped me :) | 21:41 |
daker | lemme test | 21:42 |
rsajdok | daker: In past I could login to my launchpad account and I was seeing my account tied with ubuntu-pl but now it is not possible any more. | 21:44 |
daker | rsajdok: lemme see | 21:45 |
cjohnston | daker: just have him use vagrant? | 21:56 |
daker | cjohnston: i am testing if it's working with venv | 21:57 |
cjohnston | ok | 21:57 |
daker | rsajdok: it does work | 22:06 |
daker | rsajdok: do you have the Team membership checkbox http://i.imgur.com/gpuWtdE.png ? | 22:08 |
daker | rsajdok: are you able to see the teams on http://127.0.0.1:8000/teams/ ? | 22:09 |
daker | brb | 22:09 |
rsajdok | daker: 1. Problem is that I have not checkbox http://imgur.com/TqdLJ7f | 22:17 |
rsajdok | daker: 2. http://37.28.152.167:8088/teams/ | 22:19 |
rsajdok | daker: 2. http://imgur.com/7qNE44Q | 22:21 |
daker | perfect | 22:23 |
daker | rsajdok: you are not using my db | 22:23 |
daker | ah see whay you have done | 22:25 |
daker | rsajdok: give me 1min | 22:29 |
daker | rsajdok: http://paste.ubuntu.com/1587267/ | 22:32 |
rsajdok | daker: Should I login by launchpad account or /admin ? | 22:39 |
daker | rsajdok: have you have done what i have wrote ? | 22:40 |
rsajdok | daker: yes, I did | 22:40 |
daker | rsajdok: can you execute "ll" on loco_directory ? | 22:41 |
rsajdok | daker: http://pastie.org/5948733 | 22:42 |
daker | ya | 22:42 |
daker | perfect | 22:42 |
daker | now run the dev server | 22:42 |
daker | rsajdok: no :( | 22:44 |
daker | rsajdok: how do you run the server ? | 22:44 |
daker | make run ? | 22:44 |
rsajdok | daker: done | 22:44 |
rsajdok | daker: (env)ris@sunejask:~/ltp$ ./env/bin/python loco_directory/manage.py runserver 0.0.0.0:8088 | 22:45 |
rsajdok | daker: not "make run" | 22:46 |
daker | rsajdok: you are not using my db :) | 22:47 |
daker | rsajdok: let's do it again | 22:47 |
daker | delete the loco_directory/ltp.db | 22:48 |
daker | $ wget http://people.ubuntu.com/~daker/ltp/ltp.db -O loco_directory/ltp.db | 22:48 |
daker | $ ./env/bin/python loco_directory/manage.py migrate | 22:48 |
daker | $ /env/bin/python loco_directory/manage.py runserver 0.0.0.0:8088 | 22:48 |
daker | i hope it will work this time | 22:50 |
rsajdok | daker: http://pastie.org/5948902 | 22:52 |
daker | rsajdok: i thin you are doing something wrong :( | 22:52 |
daker | i still see the date of the old db | 22:53 |
rsajdok | daker: I know :) | 22:54 |
rsajdok | daker: http://pastie.org/5948990 | 22:54 |
daker | rsajdok: ya | 22:55 |
rsajdok | daker: "ya" ? | 22:59 |
daker | the instruction are good | 22:59 |
daker | instructions* | 23:00 |
rsajdok | daker: yours or mine ? | 23:01 |
daker | both | 23:01 |
daker | they are the same | 23:01 |
daker | rsajdok: did you run the instructions ? | 23:02 |
rsajdok | daker: this http://pastie.org/5948990#6 ? | 23:07 |
daker | rsajdok: yes | 23:07 |
rsajdok | daker: yes | 23:08 |
daker | can you run the server ? | 23:08 |
rsajdok | daker: done | 23:09 |
daker | man are you kidding ? | 23:09 |
daker | i still see data from the old db | 23:09 |
daker | rsajdok: ok, can i have an "ll" inside loco_directory dir ? | 23:10 |
rsajdok | daker: http://pastie.org/5949272 | 23:10 |
daker | rsajdok: ll loco_directory/ | 23:11 |
daker | i want to see everything | 23:11 |
rsajdok | daker: http://pastie.org/5949341 | 23:12 |
daker | -rw-r--r-- 1 ris ris 3230720 2012-09-06 23:39 ltp.db | 23:14 |
daker | look 2012-09-06 | 23:14 |
daker | i told you to delete it | 23:14 |
rsajdok | daker: strange | 23:15 |
daker | delete it | 23:16 |
daker | and give me another "ll" | 23:16 |
rsajdok | daker: yours file has that date :) ok, give me second | 23:18 |
daker | no, man this db has your data :) | 23:18 |
rsajdok | daker: http://pastie.org/5949496 | 23:18 |
rsajdok | daker: maybe you send me wrong file :) | 23:19 |
daker | rsajdok: ok, we are on the good way | 23:19 |
daker | let's continue | 23:19 |
rsajdok | daker: *sent | 23:20 |
daker | rsajdok: wget http://people.ubuntu.com/~daker/ltp/ltp.db -O loco_directory/ltp.db | 23:20 |
rsajdok | daker: ok, I am waiting ;) | 23:20 |
daker | and give me another "ll" | 23:20 |
daker | rsajdok: once we finish, i have a very good way if you like virtualbox & vagrant | 23:22 |
rsajdok | daker: http://pastie.org/5949654 | 23:22 |
daker | ok | 23:23 |
daker | ./env/bin/python loco_directory/manage.py migrate | 23:23 |
daker | then | 23:24 |
rsajdok | daker: I used virtualbox but better for me is a vps. I am going to try vagrant. | 23:24 |
daker | show me your local_settings.py | 23:24 |
rsajdok | done | 23:25 |
daker | show me your local_settings.py | 23:25 |
rsajdok | daker: http://pastie.org/5949746 | 23:26 |
daker | perfect | 23:26 |
daker | now | 23:26 |
daker | ./env/bin/python loco_directory/manage.py runserver 0.0.0.0:8088 | 23:26 |
rsajdok | daker: done | 23:28 |
daker | there is something wrong :( | 23:28 |
daker | why i still see you this http://37.28.152.167:8088/admin/auth/user/ | 23:29 |
daker | those are the users you have created ? | 23:29 |
rsajdok | daker: I see and I do not know why, now, I have to sleep :) | 23:31 |
daker | can ctrl+C the server | 23:31 |
daker | can you* | 23:31 |
rsajdok | daker: yes I created these users but not now, earlier | 23:31 |
rsajdok | daker: yes | 23:31 |
rsajdok | daker: done | 23:31 |
daker | then run it again and pastbin output ? | 23:32 |
daker | do it then go to sleep :) | 23:33 |
rsajdok | daker: ok:) | 23:33 |
daker | thank you :) | 23:33 |
daker | just this part | 23:34 |
daker | Django version 1.3.3, using settings 'loco_directory.settings' | 23:34 |
rsajdok | daker: http://pastie.org/5949812 | 23:34 |
daker | ok | 23:35 |
rsajdok | daker: I have the question, if I deleted ltp.db should the website works? | 23:35 |
daker | rsajdok: ah good question | 23:35 |
daker | the answser is no | 23:35 |
daker | the website will not brak | 23:35 |
daker | break* | 23:35 |
daker | delete it | 23:36 |
daker | then run the server | 23:36 |
rsajdok | haha :) | 23:36 |
daker | ah good | 23:36 |
daker | rsajdok: do this | 23:37 |
daker | python loco_directory/manage.py runserver 0.0.0.0:8088 | 23:37 |
rsajdok | (env)ris@sunejask:~/ltp$ rm loco_directory/ltp.db | 23:37 |
rsajdok | rm: cannot remove `loco_directory/ltp.db': No such file or directory | 23:37 |
rsajdok | I deleted it | 23:37 |
daker | perfect | 23:37 |
daker | i see | 23:37 |
rsajdok | and run server | 23:37 |
daker | perfect perfect | 23:38 |
daker | i got the error | 23:38 |
rsajdok | yes, and I got :) | 23:38 |
daker | wget http://people.ubuntu.com/~daker/ltp/ltp.db -O loco_directory/ltp.db | 23:39 |
daker | then run the server again | 23:39 |
daker | run it with : | 23:39 |
rsajdok | maybe now Should I wget, migrate and runserver, maybe strange cache of firefox? | 23:39 |
daker | yes | 23:40 |
daker | just do wget and run the server with | 23:40 |
daker | python loco_directory/manage.py runserver | 23:40 |
daker | without env/bin | 23:40 |
rsajdok | ok | 23:41 |
rsajdok | python loco_directory/manage.py runserver 0.0.0.0:8088 | 23:41 |
rsajdok | [2013-01-30 03:41:18,249] - ERROR - settings - Missing library: pytz, Install package: python-tz | 23:41 |
daker | apt-get install python-tz | 23:42 |
daker | ah no no | 23:42 |
daker | use the venv python | 23:42 |
daker | ./env/bin/python loco_directory/manage.py runserver 0.0.0.0:8088 | 23:42 |
rsajdok | done | 23:43 |
daker | perfect | 23:44 |
daker | ctrl+c | 23:44 |
daker | then run | 23:44 |
daker | ./env/bin/python loco_directory/manage.py migrate | 23:44 |
rsajdok | done | 23:44 |
daker | then | 23:44 |
daker | ./env/bin/python loco_directory/manage.py runserver 0.0.0.0:8088 | 23:44 |
rsajdok | after "migrate" I got http://pastie.org/5950121 | 23:46 |
daker | try : | 23:47 |
daker | ./env/bin/python loco_directory/manage.py syncdb | 23:47 |
daker | then | 23:47 |
daker | ./env/bin/python loco_directory/manage.py migrate | 23:47 |
rsajdok | Would you like to create one now? (yes/no) ? | 23:47 |
daker | create a superuser ? | 23:48 |
rsajdok | yes | 23:48 |
rsajdok | should I ? | 23:48 |
daker | no | 23:48 |
rsajdok | ok | 23:48 |
rsajdok | done | 23:49 |
daker | ouch | 23:49 |
daker | rsajdok: man just go to sleep | 23:50 |
daker | rsajdok: we can fix this thing tomorrow | 23:50 |
daker | rsajdok: i suspect we are doing something wrong | 23:51 |
rsajdok | daker: but now http://37.28.152.167:8088/admin/auth/user/ is different there are not my users :) | 23:51 |
daker | yes | 23:51 |
rsajdok | daker: thanks a lot, goodbye | 23:51 |
daker | rsajdok: wait | 23:51 |
daker | what's the admin login ? | 23:51 |
daker | well the syncdb recreated the db and it should not | 23:53 |
rsajdok | daker: I did not create admin account | 23:53 |
daker | anyway g'night rsajdok we can look into it tomorrow if you want | 23:54 |
rsajdok | daker: ok, I am going to sleep :) | 23:54 |
rsajdok | daker: yes i want. | 23:54 |
daker | juste ping when you are free | 23:54 |
daker | i am GMT+0 | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!