IRC log of #novawebdev for Monday, 2018-04-09

*** jelkner has joined #novawebdev10:30
*** zOnny has joined #novawebdev10:44
jelknerzOnny, can you give me a call when replaceafill comes on?11:04
jelknerI'm at home.11:04
zOnnysure , jelkner 11:04
jelknerMy number is 703-998-3934, zOnny 11:04
jelknerThanks!11:04
*** replaceafill has joined #novawebdev11:11
replaceafillgood morning jelkner and zOnny!11:12
jelknergood morning, replaceafill!11:12
jelknerzOnny, no need to call me, i'm here ;-)11:12
zOnnygood morning replaceafill 11:12
jelknerreplaceafill, today is the ORA meeting11:12
jelknerso i wanted to check in that we are ready for sign-in.11:12
replaceafilljelkner, we (should) are11:13
jelkneralso, this would be a good opportunity to teach zOnny about that11:13
replaceafilljelkner, nothing has changed on their instance11:13
jelkneryes, but how do you activate it?11:13
jelkneror does it just happen?11:13
replaceafilljelkner, i was going to tell lelkneralfaro about this today11:13
replaceafilljelkner, but now that we're going to have the cms in the ORA instance11:14
jelknerok, i'll stay out of your way11:14
replaceafilljelkner, developing the rest of the features will become easier11:14
jelknerby next month, let's make the switch to the cms11:14
replaceafilljelkner, no, i want you to be informed11:14
replaceafilljelkner, i think it'll happen sooner than that11:14
jelknerso we can have someone on the sc activate the meeting sign-in11:14
jelkneralso, ingrid wants this same feature for aea11:15
replaceafilljelkner, actually Roshan was who created the meeting for today11:15
jelknerso we can move that in parallel11:15
jelknercool11:15
replaceafilljelkner, and to answer your question, no, we need to manually enable the sing-in11:15
replaceafilljelkner, i can teach zOnny how to do it sure11:15
jelkneror maybe not yet11:15
replaceafilljelkner, ok11:15
replaceafilljelkner, i usually do it around 1 hour before the meeting starts11:16
jelknersince we want to change it so that it can be done by roshan or me, yes?11:16
replaceafilljelkner, yes11:16
jelkneri definitely need to be trained, since it will be me and keri doing it for aea11:16
replaceafilljelkner, if we do it right with the cms, we'll have the auto enable feature for free11:16
jelknerawesome!11:16
replaceafilljelkner, i can't wait to get there to be honest :)11:17
jelkneri love this stuff we keep getting "for free"11:17
jelkner+111:17
jelknerokie dokie11:17
jelkneri'm going back to my lesson planning11:17
replaceafilljelkner, cool11:17
replaceafilljelkner, i'll be around doing novalaciro and ora "stuff"11:17
jelknerwill you be around at 7 pm our time, replaceafill?11:17
replaceafillzOnny, let me know if you need help with something11:18
replaceafilljelkner, yes11:18
jelknerit would be good to be able to reach you if something goes wrong11:18
replaceafilljelkner, on meeting days i'm usually tracking the site11:18
jelkneri plan to get there early11:18
jelknercool11:18
replaceafilljelkner, it's like i'm attending remotely ;)11:18
jelknersee you at 6:30 pmish11:18
jelknernice11:18
replaceafilljelkner, cool, see you11:18
jelknerlater gater11:18
jelknerzOnny, you have my number11:18
jelknercall me if you need me between now and tonight11:19
zOnnyyes , jelkner 11:19
jelknerACTION signs off11:19
replaceafillzOnny, no school today?11:19
zOnnyno school replaceafill 11:19
replaceafillzOnny, ah cool11:19
replaceafillzOnny, i'll be around if you need me11:20
zOnnyI need you help replaceafill 11:20
replaceafillzOnny, sure11:20
replaceafillzOnny, what do you need?11:20
zOnnyI could not get the bilingual :(11:21
zOnnydid you set it up in a different way ?11:21
replaceafillzOnny, hhmm not really11:22
zOnnywhat is nova dir is doing ?11:22
replaceafillzOnny, the only difference is that the new theme has no translations11:22
replaceafillzOnny, no translations *yet*11:22
replaceafillzOnny, but the rest should be the same11:22
replaceafillzOnny, are you setting up the bilingual feature in your local dev instance/11:23
replaceafillzOnny, or the testing server?11:23
zOnnyyou mean not translation yet but how it is working ?11:23
replaceafillzOnny, it's only the models (navs, pages, boxes) doing the work11:24
zOnny:S11:24
replaceafillzOnny, where are you trying to set it up?11:24
zOnnyin my local server replaceafill 11:24
replaceafillzOnny, can you paste your conf/local_settings.py and conf/local_urls.py modules11:25
replaceafillzOnny, full modules11:25
replaceafillzOnny, not just pieces11:25
zOnnyok , replaceafill 11:25
zOnnyhttps://paste.pound-python.org/show/3BnVZfDHlRdFftm0B4l6/11:29
zOnnythe doc is a bit confused once we have both with the same name replaceafill 11:30
zOnnyhttps://paste.pound-python.org/show/C6OD0NX80wC6jqseOa6T/11:31
replaceafillzOnny, that's urls.py, right?11:32
replaceafillzOnny, i asked you for local_urls.py11:32
zOnnyups , https://paste.pound-python.org/show/x8FPBJCBHf6XN2PoMx7q/11:33
replaceafillzOnny, i don't see anything wrong in the modules, just a couple of things:11:34
replaceafillINSTALLED_APPS = ('tendenci_overrides',) + INSTALLED_APPS11:34
replaceafillINSTALLED_APPS = ('modeltranslation',) + INSTALLED_APPS11:34
replaceafillzOnny, you can write those two lines as:11:34
replaceafillINSTALLED_APPS = ('modeltranslation', 'tendenci_overrides') + INSTALLED_APPS11:34
replaceafillfor future reference11:35
zOnnyok will fix that replaceafill 11:35
replaceafilland your LANGUAGES in line 325 of the paste11:35
replaceafillshouldn't be indented11:35
replaceafillzOnny, did you run the migrations for pages, boxes and navs?11:35
zOnnyyes , I did 11:36
zOnnybut didn't the compilemessages could not  respond replaceafill 11:37
zOnnybut  the compilemessages could not  respond replaceafill 11:38
replaceafillzOnny, that's fine, that part is not necessary yet11:38
zOnnybut my main question is how I can get bot tables at once in the cms replaceafill11:39
replaceafillzOnny, bot tables?11:39
zOnny*both11:39
replaceafillzOnny, tables?11:39
zOnnyin the novalaciro.novawebdevelopment once you want to change something the options are english and spanish11:40
replaceafillzOnny, have you added links to switch languages?11:41
replaceafillzOnny, one should point to /lang/es and the other to lang/en11:41
replaceafillzOnny, or you can try visiting those urls11:42
replaceafillzOnny, and see if you get an error11:42
replaceafillzOnny, but you shouldn't according to your configuration11:42
replaceafillzOnny, you shouldn't get an error/*11:42
zOnnyok, replaceafill 11:43
replaceafillzOnny, can you find the boxes app in your virtualenv?11:43
replaceafillzOnny, it should be ~/venv/lib/python2.7/site-packages/tendenci/apps/boxes11:44
zOnnyWell, I want to have set it up because there are two issues waiting :(11:44
replaceafillzOnny, i know, that's what we're trying to do...11:44
replaceafillzOnny, look for the boxes app first11:44
*** zOnny_ has joined #novawebdev11:47
replaceafillzOnny this is another way to find what we're looking for:11:47
replaceafillsudo -u postgres psql -d tendenci -c "select * from django_migrations where app='boxes' or app='pages' or app='navs';"11:47
replaceafillzOnny just replace the "-d tendenci" part with the right name for your novalaciro database11:48
zOnnysorry my machine got frozen replaceafill 11:48
replaceafillzOnny np ,check the irclogs11:48
replaceafillzOnny after running the psql command you should get something like this:11:48
replaceafillhttps://paste.pound-python.org/show/bgYJWxXKr992Z8wH0Uyz/11:48
replaceafillzOnny that's what we need to know11:49
replaceafillzOnny if you're migrations ran successfully11:49
zOnnyok replaceafill 11:49
replaceafillzOnny these are today's irclogs in case you need them http://novawebdevelopment.org/irclogs/2018-04-09.log.html11:49
zOnnypsql: FATAL:  database "tendenci" does not exist11:50
replaceafillzOnny, "just replace the "-d tendenci" part with the right name for your novalaciro database"11:51
zOnnyups :(11:51
replaceafillzOnny pay attention dude!11:51
replaceafill:D joking11:51
zOnnyhttps://paste.pound-python.org/show/TTYP5gXTwKAnsNtpWNfz/11:52
replaceafillzOnny that means your migrations didn't run11:53
replaceafillzOnny you lied to me!11:53
replaceafill:D11:53
zOnnywhat's seriously :S11:53
replaceafillzOnny why the hell did i split instructions in several documents, i don't know :S11:54
replaceafillzOnny https://docs.google.com/document/d/1C2Hxd3w9VxTDklOIChtVf4lvgMdsWWBOByDRlWdRpLA/edit#heading=h.dzfl7tvc99jq11:54
replaceafill$ ~/venv/bin/python manage.py makemigrations boxes navs pages11:54
replaceafill$ ~/venv/bin/python manage.py migrate boxes11:54
replaceafill$ ~/venv/bin/python manage.py migrate navs11:55
replaceafill$ ~/venv/bin/python manage.py migrate pages11:55
replaceafillzOnny paste the output of each command please11:55
replaceafillzOnny including the command :)11:55
zOnnyhttps://paste.pound-python.org/show/JGJrq5wxawBaqMP2EZzf/11:57
replaceafillzOnny did you fix your LANGUAGES indentation problem in local_settings?11:58
replaceafill<replaceafill> and your LANGUAGES in line 325 of the paste11:59
replaceafill shouldn't be indented11:59
zOnnyhttps://paste.pound-python.org/show/A8233J9jiRynrXXOlcBV/12:00
replaceafillzOnny you didn't paste the output of the makemigrations command12:00
replaceafillzOnny that you were supposed to run before this12:00
replaceafillfor my own reference: you can write the previous migration query this way too: sudo -u postgres psql -d tendenci -c "select * from django_migrations where app in (select * from (values ('pages'), ('navs'), ('boxes')) as app (name))"12:03
zOnnyhttps://paste.pound-python.org/show/DvYrvbJoetM93tjUAVHM/12:04
replaceafillthere should be a smarter way of writing that query but that's good enough for now :/12:04
replaceafillzOnny checking...12:04
replaceafillzOnny did you find the boxes app in your venv?12:04
zOnnyyes replaceafill 12:04
replaceafillzOnny i'd like you to "ls" the migrations directory there12:05
replaceafillzOnny it should have two python modules 0001_initial.py and 0002_auto....py12:06
replaceafillzOnny it's fine to feel frustrated/overwhelmed by this crap12:07
zOnnyare you sure that migrations dir exist, replaceafill 12:07
replaceafillzOnny it should be easier to set up...12:07
replaceafillzOnny yep12:07
replaceafillzOnny https://github.com/tendenci/tendenci/tree/master/tendenci/apps/boxes/migrations12:08
replaceafillzOnny navs and pages should have one too12:08
zOnnymigrations dir are not set up in my tendenci , any reference ?12:11
replaceafillzOnny can you hang out? this is taking too much through chat12:13
zOnnyok, replaceafill 12:14
*** mr_german has joined #novawebdev12:24
replaceafillzOnny /theme-editor/editor/12:31
replaceafillzOnny https://novalaciro.novawebdevelopment.org/theme-editor/editor/12:32
mr_germanreplaceafill, hello12:35
mr_germangood morning12:35
replaceafillmr_german, good morning12:37
replaceafillzOnny manage.py clear_theme_cache12:37
replaceafillzOnny /lang/en y /lang/es12:43
replaceafillzOnny, so you're set on your current tasks, correct?13:50
zOnnyso far yes , replaceafill 13:51
replaceafillzOnny, cool13:52
zOnnybut I created a new type and do not appear as an option 13:52
replaceafillACTION finally goes back to his backlog13:52
replaceafillzOnny, did you add it to the membership application?13:52
zOnnycorrect13:52
replaceafillzOnny, just creating types is not enough13:52
zOnnyI see13:53
replaceafillzOnny, paste screenshots of each thing (types and application)13:53
replaceafillzOnny, or...13:53
replaceafillzOnny, try setting it up in the novalaciro testing isntance!13:53
replaceafillzOnny, duh13:54
replaceafill:D13:54
zOnnyI am doing it first replaceafill 13:54
replaceafillzOnny, that way i can see how you did it13:54
replaceafillzOnny, no13:54
zOnnyone step at the time :)13:54
replaceafillzOnny, in the *testing* instance13:54
replaceafillzOnny, not in production13:54
replaceafillzOnny, we can break testing13:54
replaceafillzOnny, that's why we have it13:54
replaceafillzOnny, and it's better to do things in testing instead of demo.*13:55
zOnnywhat are you refering to ? replaceafill :S13:55
replaceafillzOnny, so you can spot theme issues13:55
replaceafillzOnny, sigh... novalaciro.novawebdevelopment.org13:55
replaceafillzOnny, ^ that's the *testing* instance for novalaciro13:55
replaceafillzOnny, and we all can access it13:55
replaceafillzOnny, so you don't need to be sharing screenshots13:56
replaceafillzOnny, could you please try to set up the right scenario there?13:56
replaceafillzOnny, and use that to train Daniela13:56
zOnnyI will13:56
replaceafillzOnny, cool, thanks13:56
replaceafillzOnny, let me know when you get to the part that doesn't show13:57
zOnnyhold on , my changes will be to novalaciro_dev correct ?13:58
replaceafillzOnny, i'm not talking about theme changes13:58
replaceafillzOnny, i'm talking about data13:58
replaceafillzOnny, cms/django admin stuff13:58
zOnnyups :(13:58
replaceafillzOnny, setting up types and application13:58
replaceafillzOnny, but if you develop theme changes please make sure to update both brnaches13:59
replaceafillzOnny, so they're in sync as much as possible13:59
replaceafillzOnny, your target is _prod obviously because you want it there13:59
replaceafillzOnny, but don't let _dev too far behind13:59
replaceafillzOnny, so both sites look similar13:59
replaceafillzOnny, and it's just an extra "git push" command13:59
zOnnyI don't want prod before you review  :(13:59
replaceafillzOnny, no, go ahead14:00
replaceafillzOnny, i won't be reviewing anymore14:00
replaceafillzOnny, at least systematically like the past week14:00
replaceafillzOnny, we're back at the point where you are in charge14:00
replaceafillzOnny, and i'm back to developing new things14:00
replaceafillzOnny, i trust your judegement by now14:00
replaceafillzOnny, we've discussed our approach enough last week14:01
replaceafillzOnny, but sure from time to time i'll pay attention to your changes14:01
replaceafillzOnny, and will raise any concern if they exist14:01
replaceafillzOnny, but you need to move fast14:01
replaceafillzOnny, so don't expect to be "code" reviewed14:02
replaceafillsame to you mr_german ^ :)14:02
zOnnyreading .... 14:03
mr_germanreplaceafill, well, do not worry, I know what to do now ;)14:29
replaceafillmr_german, awesome14:29
replaceafillmr_german, good luck :)14:29
mr_germanreplaceafill, thanks14:37
*** GFbot has joined #novawebdev15:28
*** GFbot has joined #novawebdev15:29
replaceafillACTION goes to ge lunch, bb in ~4015:41
*** gfbot__ has joined #novawebdev15:59
*** mr_german has joined #novawebdev16:00
*** mjsir911 has joined #novawebdev16:37
replaceafillzOnny, you around?17:23
zOnnyreplaceafill did I break something?17:24
replaceafillzOnny, lol17:24
replaceafillzOnny, easy man, easy17:24
replaceafillzOnny, you're doing fine17:24
replaceafill:)17:24
replaceafillzOnny, but i have some really bad news though17:24
replaceafillzOnny, the nightmare has begun: https://gitlab.com/novawebdevelopment/nova-base-theme/commit/888243c1735cd2ea106ecf4260d70afadc644b9817:24
replaceafillzOnny, that's an issue i found in the tendenci2018 theme: https://github.com/tendenci/tendenci-base-theme/pull/617:25
replaceafillzOnny, what's the nightmare you'll ask?17:25
replaceafillzOnny, we need to "port" that single change to each _dev and _prod branches... :(17:25
replaceafillzOnny, it's not hard and we don't need to do it *right now*17:26
replaceafillzOnny, but i just want you to be aware of the process17:26
zOnnyok , replaceafill 17:26
replaceafillzOnny, fixes land in master first so new/future themes get them17:26
zOnnymy merge failed replaceafill 17:27
replaceafillzOnny, then they are ported to the existing themes17:27
replaceafillzOnny, which one?17:27
zOnnyI was trying to merge the novalaciro_dev to _prod :(17:27
replaceafillzOnny, oh17:27
replaceafillzOnny, let me take a look17:28
zOnnyI don't have access to prod admin correct ?17:29
replaceafillzOnny, to tendenci? yes, it's in the AMS doc17:29
replaceafillzOnny, hhmm it looks like a hostname issue17:30
replaceafillzOnny, let me debug17:30
replaceafillzOnny, it smells like network hiccup17:32
replaceafillzOnny, could you retry the job17:32
replaceafillzOnny, go to the branch that failed17:32
replaceafillzOnny, never mind, sorry17:34
replaceafillzOnny, go to the project17:34
replaceafillzOnny, and the the CI/CD link in the sidebar17:34
replaceafillleft sidebar*17:34
zOnnyI retry twice replaceafill 17:34
zOnnyleft sidebar ? then  ? replaceafill 17:35
*** mjsir911 has joined #novawebdev17:35
replaceafillzOnny, never mind, checking the other errors17:35
replaceafillzOnny, i'm going to retry it17:38
replaceafillzOnny, it almost finished the first time17:39
zOnnythanks, replaceafill 17:40
replaceafillzOnny, i think i figured it out, i'm waiting on the new job to start17:58
replaceafillzOnny, it looks like a permission problem in the server17:58
zOnnycool I would like debug at that level :(17:59
replaceafillzOnny, does your banner change requires to remove the box content?18:22
zOnnythat is a good question replaceafill 18:23
replaceafillzOnny, https://novalaciro.org/18:23
zOnnylooks wonderfull replaceafill 18:23
zOnnyI will fix it replaceafill 18:24
replaceafillzOnny, kk18:24
zOnnyreplaceafill: done :)18:25
replaceafillzOnny, cool, thanks18:25
zOnnydo you think that the title should also be hardcode ? replaceafill 18:25
replaceafillzOnny, that's a question for your customer ;)18:26
replaceafillzOnny, if i understood correctly he wants the whole top part hardcoded18:26
replaceafillzOnny, but you should confirm before proceeding18:26
zOnnyI was trying to use that with the {% trans %} but doesn't display the complet banner18:27
zOnnyI went for the easy way replaceafill :)18:27
replaceafillzOnny, choose your poison ;)18:27
zOnnydid I make something wrong to have this issue with the {% trans %}18:30
zOnnyhere is the compilemessages role right ?18:31
*** jelkner has joined #novawebdev18:48
*** mjsir911 has joined #novawebdev18:50
jelknerping replaceafill 18:53
replaceafilljelkner, pong18:53
jelknertwo people should have just logged in18:53
replaceafilljelkner, after clicking the sign in button?18:53
replaceafilljelkner, oh, sorry18:54
replaceafilljelkner, i read that wrong18:54
replaceafilljelkner, :)18:54
replaceafilljelkner, have *you* clicked the button yet?18:58
jelknerand now i just signed in18:59
jelkneri'm telling folks we have our developer on irc18:59
jelknerin case we have any problems18:59
jelknergreat to have you here my friend!19:00
replaceafilljelkner, :D19:00
replaceafilljelkner, only 4 people have clicked the button and i don't see any new members yet19:01
replaceafilljelkner, you, roshan, susan and jill19:01
replaceafilljelkner, mike too :)19:06
replaceafillACTION dreams of the day jelkner will see this report :)19:06
jelknerroshan is announcing sign in now19:08
jelknerlol19:08
*** jelkner has joined #novawebdev19:10
replaceafilljelkner, :D19:11
replaceafilljelkner, 7 so far19:11
replaceafilljelkner, keep them coming ;)19:11
jelknerThere are 22 people here19:12
jelknerbut we may not get more than 7 sign ins19:12
jelknerthat's ok19:12
jelknerroshan had a slide showing the sign in19:12
jelknerso he did his part19:12
replaceafilljelkner, :)19:15
jelknerwe need to implement this sign in thing for aea soon19:19
jelkneringrid wants to use it for our delegate assembly19:19
jelknerunlike or, where you can just "ask"19:19
jelknerin a union, you and more "insist" ;-)19:20
replaceafilljelkner, dictator speech!19:20
replaceafilljelkner, :D19:20
jelknernot at all19:20
jelknerjust more discipline ;-)19:20
replaceafilljelkner, yeah we just need to polish the sharp edges19:20
replaceafilljelkner, but it seems to work19:21
jelkner+119:21
jelknerthanks, replaceafill!19:34
jelkneri would say you don't need to stay here any longer19:34
jelknersince "sign in" time is past19:34
jelknerlet19:34
jelknerlet's touch base tomorrow19:34
jelkner27 people here19:35
jelknerfor statistical purposes19:35
jelknerwe can figure what percentage signed in19:35
replaceafilljelkner, cool19:36
replaceafilljelkner, see you tomorrow o/19:36
jelknerlater gater19:36
jelknerthanks!19:36
replaceafilljelkner, i'll disable sign in later tonight, 11 pm as usual19:37
jelkner+119:37
replaceafillACTION signs off for the day19:37
jelknerACTION signs off for the day19:41

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!