07:50 -GitHub[nikola]:#nikola- [nikola] felixfontein created earlytask_experiments (+1 new commit): http://git.io/amf_-w 07:50 -GitHub[nikola]:#nikola- nikola/earlytask_experiments eb56550 Felix Fontein: Added a doit test for more than one doit run. 07:58 -travis-ci:#nikola- getnikola/nikola#4483 (earlytask_experiments - eb56550 : Felix Fontein): The build passed. 07:58 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/eb56550d9098 07:58 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/45916437 10:40 < uwjesq> punchagan: Hello. ChrisWarrick has improved comet quite a lot if you want to try it out again. 10:51 <+ChrisWarrick> uwjesq: hello. you should’ve received an invite to the getnikola organization. 10:52 <+ChrisWarrick> uwjesq: Please accept it and proceed with the transfer of comet to the organization. 10:58 < uwjesq> ChrisWarrick: Done 11:00 <+ChrisWarrick> uwjesq: thanks. 11:03 <+ChrisWarrick> uwjesq: I’ll spam the Issues with some ideas and requirements now. 13:35 <+ChrisWarrick> uwjesq: would you mind switching to Flask for comet_cms? This will make many things nicer for us and for the app, but also involves some more hacks than before — and `nikola webapp` won’t do it anymore, it would need a refactoring. 13:37 < uwjesq> ChrisWarrick: I don't know the differences between flask and bottle. 13:37 <+ChrisWarrick> uwjesq: they are minimal, but Flask can do more easier. However, flask seems to be incompatible with yapsy. You probably won’t mind for the most part. 13:38 < uwjesq> ChrisWarrick: Yes. 13:55 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/kMBpRA 13:55 -GitHub[comet]:#nikola- comet_cms/master 1d4c91e Chris Warrick: Rewrite to Flask.... 13:55 <+ChrisWarrick> uwjesq: COMET is partially broken right now. python -m COMET to run (right now) 17:13 -GitHub[comet]:#nikola- [comet_cms] hhirsch tagged v0.0.1 at 5baa157: http://git.io/m609JQ 17:26 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 2 new commits to master: http://git.io/cqZEXA 17:26 -GitHub[comet]:#nikola- comet_cms/master b794f46 Chris Warrick: add .venv file on my end... 17:26 -GitHub[comet]:#nikola- comet_cms/master 6b58e37 Chris Warrick: Full functionality with Flask.... 17:27 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/Zxv-kA 17:27 -GitHub[nikola]:#nikola- nikola/master 167f5e3 Chris Warrick: add a hack for comet cms... 17:27 -GitHub[comet]:#nikola- [comet_cms] Kwpolska deleted v0.5.0 at d4d4c01: http://git.io/Nrdjgw 17:28 -GitHub[comet]:#nikola- [comet_cms] Kwpolska tagged v0.5.0 at 87a94ba: http://git.io/gOItSQ 17:28 <+ChrisWarrick> uwjesq: comet is now fully functional with Flask. Upgrade Nikola (sorry), install things from requirements.txt, and start using python -m COMET. 17:28 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/FrYdmw 17:28 -GitHub[comet]:#nikola- comet_cms/master 8f33148 Chris Warrick: remove old bak file... 17:29 <+ChrisWarrick> uwjesq: (yes, I destroyed `nikola webapp` — this means we can use it with eg. uwsgi) 17:30 < uwjesq> ChrisWarrick: Nice. Lets do this. 17:32 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/pGlgLA 17:32 -GitHub[comet]:#nikola- comet_cms/master fe4cb19 Chris Warrick: documentation... 17:33 <+ChrisWarrick> uwjesq: new features include user undeletion and logging out. 17:35 < uwjesq> ChrisWarrick: How does this work? /usr/bin/python: No module named COMET 17:36 <+ChrisWarrick> uwjesq: you must be in the comet_cms repo root. 17:38 < uwjesq> ChrisWarrick: This is where I am. If I try to use python3.2 I get a different error /usr/bin/python3.2: No module named nikola.__main__; 'COMET' is a package and cannot be directly executed 17:39 < uwjesq> ChrisWarrick: Maybe something with my nikola update went wrong 17:39 <+ChrisWarrick> uwjesq: there is something really wrong. show me ls -laR 17:39 <+ChrisWarrick> uwjesq: besides, Nikola is not compatible with Python 3.2 17:40 < uwjesq> ChrisWarrick: http://nopaste.info/d69b20936b.html 17:41 <+ChrisWarrick> uwjesq: try in a python 2 interpreter: import COMET; import COMET.__main__ 17:41 -travis-ci:#nikola- getnikola/nikola#4484 (master - 167f5e3 : Chris Warrick): The build has errored. 17:41 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d667c05b2802...167f5e36b57c 17:41 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/45965710 17:42 < uwjesq> ChrisWarrick: /usr/bin/python2.7: can't find '__main__' module in '' 17:42 <+ChrisWarrick> uwjesq: something is very broken 17:42 <+ChrisWarrick> uwjesq: here’s an idea: start over with a virtualenv 17:43 <+ChrisWarrick> uwjesq: install Nikola from git there, install comet requirements.txt, try running python -m COMET yet again. (python 2.7 please) 17:45 < uwjesq> ChrisWarrick: Python is broken, sorry. 17:46 <+ChrisWarrick> uwjesq: not your fault 17:46 < uwjesq> ChrisWarrick: Where is COMET defined? 17:46 <+ChrisWarrick> uwjesq: COMET is the module in the COMET directory 17:47 <+ChrisWarrick> uwjesq: python -m COMET executes COMET.__main__ 17:47 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/7eTfaA 17:47 -GitHub[comet]:#nikola- comet_cms/master 0814762 Chris Warrick: rename everything to comet and add setup... 17:51 < uwjesq> ChrisWarrick: I don't see how a virtualenv makes things any better. Wouldn't it be smarter to fix things instead of starting a new place at which to screw up things from new? Is that python logic again? Like converting everything to ascii. 17:51 <+ChrisWarrick> uwjesq: I have no idea how to fix this. 17:52 <+ChrisWarrick> uwjesq: maybe you have some mess in your $PATH? Maybe you have misconfigured something? 17:52 < uwjesq> ChrisWarrick: If the module definition is right there, python has got to see it. 17:52 <+ChrisWarrick> uwjesq: here is some more code to test in an interpreter: 17:53 <+ChrisWarrick> uwjesq: https://gist.github.com/Kwpolska/5be7a9157d341a4f5f81 17:54 <+ChrisWarrick> uwjesq: (you can actually just save this as .py and run it) 17:57 -travis-ci:#nikola- getnikola/nikola#4484 (master - 167f5e3 : Chris Warrick): The build passed. 17:57 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d667c05b2802...167f5e36b57c 17:57 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/45965710 17:57 < uwjesq> ChrisWarrick: This gives me these: http://nopaste.info/7316d6eac1.html And also says Scanning posts......done! twice 17:59 <+ChrisWarrick> uwjesq: rm /home/henry/system/projects/websites/comet_cms/COMET/*.pyc and try python -m COMET again (also, make sure you are running the correct interpreter). And yes, Scanning posts is supposed to appear twice. 17:59 <+ChrisWarrick> uwjesq: (before that, do git pull) 18:00 < uwjesq> ImportError: No module named COMET 18:01 <+ChrisWarrick> uwjesq: then how the hell did you import it in the interpreter 18:01 <+ChrisWarrick> uwjesq: what if you just did import COMET; COMET.main() in the interpreter? 18:01 <+ChrisWarrick> uwjesq: (you can write that to a .py file and run that) 18:01 < uwjesq> ChrisWarrick: /usr/bin/python2.7: can't find '__main__' module in '' 18:02 <+ChrisWarrick> uwjesq: How did you run those 6 lines I gave you before? 18:03 < uwjesq> ChrisWarrick: When I got the result Scanning posts......done! I put them in a py file and ran python2 text.py 18:03 <+ChrisWarrick> uwjesq: Make the text.py file say: import COMET; COMET.main() 18:03 < uwjesq> ChrisWarrick: Now I put it in a file again and I did not get the errors either but instead Scanning posts..... 18:03 <+ChrisWarrick> uwjesq: now you can run python2 text.py and comet should work 18:04 < uwjesq> ChrisWarrick: It runs. Let me check which port and ip it runs on though. 18:04 <+ChrisWarrick> uwjesq: localhost:8001 18:05 < uwjesq> ChrisWarrick: Checked that on the previous run but now it works. 18:05 <+ChrisWarrick> uwjesq: perfect 18:05 < uwjesq> ChrisWarrick: bbl testing. 18:05 <+ChrisWarrick> uwjesq: Type at command prompt and send me the result: which python; which python2; ls -a `which python` `which python2` 18:07 < tim|mint> comet looks interesting 18:07 < tim|mint> I should try it :) 18:08 < uwjesq> ChrisWarrick: /usr/bin/python /usr/bin/python2 /usr/bin/python /usr/bin/python2 18:08 < uwjesq> tim|mint: You should. 18:08 < uwjesq> Dinner time. BBL 18:09 < tim|mint> is it a replacement for the 'normal' nikola build? or should I install it in the same virtualenv? 18:11 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/2F8Llw 18:11 -GitHub[comet]:#nikola- comet_cms/master c0237dd Chris Warrick: rename everything to comet and add setup... 18:12 -GitHub[comet]:#nikola- [comet_cms] Kwpolska force-pushed master from c0237dd to 0e60bf4: http://git.io/P1shSw 18:12 -GitHub[comet]:#nikola- comet_cms/master 0e60bf4 Chris Warrick: rename everything to comet and add setup... 18:13 <+ChrisWarrick> tim|mint: Install it in the same virtualenv. 18:13 <+ChrisWarrick> tim|mint: In order to use it, you must install Nikola from GitHub master anyway. 18:13 < tim|mint> ah... not via pip, then 18:13 * tim|mint creates a new virtualenv 18:13 < tim|mint> virtualenv is pretty nice 18:14 <+ChrisWarrick> tim|mint: source bin/activate; git clone https://github.com/getnikola/nikola.git; cd nikola; pip install -e . 18:15 <+ChrisWarrick> tim|mint: cd ..; git clone https://github.com/getnikola/comet_cms.git; pip install -r requirements.txt 18:15 <+ChrisWarrick> tim|mint: python -m COMET 18:15 < tim|mint> thx! 18:15 <+ChrisWarrick> There, using COMET in 3 easy steps 18:17 <+ChrisWarrick> (missing `cd comet_cms` before `pip install -r requirements.txt`) 18:17 < tim|mint> i didn't even parse most of what you wrote, i'm pretty familiar with python ;-) but thx anyway 18:18 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/MQzhWw 18:18 -GitHub[comet]:#nikola- comet_cms/master 72b986a Chris Warrick: add setup instructions for the repo... 18:20 < tim|mint> getting the 'no module named COMET' error as well, but solution has been discussed 18:20 <+ChrisWarrick> you have bad pythons 18:22 -GitHub[comet]:#nikola- [comet_cms] hhirsch pushed 1 new commit to master: http://git.io/jXIrlw 18:22 -GitHub[comet]:#nikola- comet_cms/master 33e8e02 Henry Hirsch: [fix] Added start script for comet. 18:23 < tim|mint> i'm new to nikola... where do i put the css file? 18:24 < tim|mint> ah nvm 18:25 < tim|mint> forgot the 'nikola build' 18:25 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/9TvZIQ 18:25 -GitHub[comet]:#nikola- comet_cms/master eb98e5e Chris Warrick: add emergency startup script... 18:25 <+ChrisWarrick> tim|mint: the CSS file is provided automatically by the comet_cms repo 18:25 < tim|mint> indeed 18:26 <+ChrisWarrick> uwjesq: fyi, renaming `comet.py` to `RUN.py` 18:26 -GitHub[comet]:#nikola- [comet_cms] Kwpolska force-pushed master from eb98e5e to 97b1c3d: http://git.io/P1shSw 18:26 -GitHub[comet]:#nikola- comet_cms/master 97b1c3d Chris Warrick: rename emergency startup script... 18:29 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/F0QPIA 18:29 -GitHub[comet]:#nikola- comet_cms/master 44950ee Chris Warrick: fix the ONLY py3 unicode error. <3 flask... 19:22 < uwjesq> ChrisWarrick: Hey, I put you setup instructions for the virtualenv in a shell script. 19:23 <+ChrisWarrick> uwjesq: makes sense, put that on github 19:32 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/fGGTsg 19:32 -GitHub[comet]:#nikola- comet_cms/master 74741ee Chris Warrick: this should be unicode, too... 20:08 -GitHub[comet]:#nikola- [comet_cms] hhirsch pushed 2 new commits to master: http://git.io/WjffuA 20:08 -GitHub[comet]:#nikola- comet_cms/master b5b0472 Henry Hirsch: [feature] Script to set up virtual environment for python. 20:08 -GitHub[comet]:#nikola- comet_cms/master 806d796 Henry Hirsch: Merge branch 'master' of github.com:getnikola/comet_cms 20:11 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 3 new commits to master: http://git.io/gRXJ1Q 20:11 -GitHub[comet]:#nikola- comet_cms/master a3c5bf5 Chris Warrick: jinjify templates... 20:11 -GitHub[comet]:#nikola- comet_cms/master 89b26f3 Chris Warrick: add new user permissions for the future... 20:11 -GitHub[comet]:#nikola- comet_cms/master 2b09335 Chris Warrick: Template updates... 20:13 <+ChrisWarrick> uwjesq: that’s bash, not python. renaming setup script accordingly 20:13 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/PDFOVA 20:13 -GitHub[comet]:#nikola- comet_cms/master 300c719 Chris Warrick: setup_virtualenv is a shell script... 20:21 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/SxZZ_A 20:21 -GitHub[comet]:#nikola- comet_cms/master 41aca85 Chris Warrick: standardize on <i> for icons... 20:23 < uwjesq> ChrisWarrick: I am drunk. Figuratively. 21:02 -GitHub[comet]:#nikola- [comet_cms] Kwpolska pushed 1 new commit to master: http://git.io/iqVfTQ 21:02 -GitHub[comet]:#nikola- comet_cms/master ee3cbc2 Chris Warrick: some restyling and reimplementation... 22:26 < uwjesq> ChrisWarrick: On wednesday I have a pitch for a website and I will advise my boss to use comet instead of wordpress.