Logs for #nikola for 2015-05-20

06:20:21 -GitHub[nikola]:#nikola- [nikola] felixfontein pushed 1 new commit to refactor-scanposts: http://git.io/vTB4o
06:20:21 -GitHub[nikola]:#nikola- nikola/refactor-scanposts d5c284b Felix Fontein: Replicated change from commit 64e6ed8.
09:00:21 <gour> morning
09:01:02 <gour> i'm trying to test isso with nikola...isso is running, its db is created, console says: 2015-05-20 10:47:27,146 INFO: connected to http://127.0.0.1:8108/
09:01:38 <gour> moreover, page source contains: <script src="http://127.0.0.1:8108/js/embed.min.js" data-isso="http://127.0.0.1:8108/"></script></section></article><script src="http://127.0.0.1:8108/js/count.min.js" data-isso="http://127.0.0.1:8108/"></script>
09:01:47 <gour> but there is no isso form rendered?
09:35:38 <gour> i solved it...
10:01:57 <gour> after having isso running, at least locally, the time is ripe to tackle coil install
10:37:04 * gour is wondering if sqlite3 would be good enough for coil, similar to its isso usage, for something in between full & limited mode due to its non-setup reqs
10:39:19 <ralsina> gour: probably
10:40:35 <gour> that would be nice
10:44:14 -travis-ci:#nikola- getnikola/nikola#5080 (refactor-scanposts - d5c284b : Felix Fontein): The build was fixed.
10:44:15 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/3b08b41e1f12...d5c284bbf63b
10:44:15 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63286334
11:33:56 <gour> full-mode enables modifying users on-the-fly which is not critical for me, but wonder about running as multiple procs..afaict, to use coil for multiple sites (wth e.g. uwsgi), it, anyway, requires multiple instances of nikola/coil to be setup - one/site, right? in that case full mode is certainly an overkill here and having sqlite would be cool
12:12:18 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to refactor-scanposts: http://git.io/vTRpS
12:12:18 -GitHub[nikola]:#nikola- nikola/refactor-scanposts 2f9436d Roberto Alsina: describe PostScanner plugins
12:41:18 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to fix-galleries-for-translations: http://git.io/vT0tv
12:41:18 -GitHub[nikola]:#nikola- nikola/fix-galleries-for-translations b308c56 Roberto Alsina: merged master
12:41:30 -GitHub[nikola]:#nikola- [nikola] ralsina deleted fix-galleries-for-translations at b308c56: http://git.io/vT0tt
13:06:29 <gour> i'm trying to run coil in limited mode...added things according to the docs. but when running 'coil devserver' it complains about missing 'redis' module
13:06:43 <gour> i thought those are not required in limited mode
13:16:39 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to wordpress-code-blocks: http://git.io/vT04s
13:16:39 -GitHub[nikola]:#nikola- nikola/wordpress-code-blocks 7e63940 Roberto Alsina: merged master
13:18:29 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: http://git.io/vT0B2
13:18:29 -GitHub[nikola]:#nikola- nikola/master 18ab727 Roberto Alsina: updated components
13:31:11 <ChrisWarrick> gour: let me guess, I forgot to take the import out
13:32:00 <ChrisWarrick> gour: I don’t want to fuck with a relational database and sqlalchemy
13:36:30 <ralsina>  ChrisWarrick there's much simpler ORMs out there
13:36:51 <ChrisWarrick> ralsina: and sqlite is not a key-value store
13:37:16 <ralsina> http://www.sqlite.org/cvstrac/wiki?p=KeyValueDatabase
13:38:35 <ralsina> it is one, it's just not a great one ;-)
13:39:04 <ChrisWarrick> what about rq?
13:39:20 <[Tritium]> >.> anydbm
13:39:22 <ralsina> Nah, I am not suggesting not using redis
13:39:41 * ralsina will not suggest stuff he's not willing to write himself
13:39:56 <ralsina> ChrisWarrick: how do you feel about a 7.5.0 in a few days?
13:40:09 <ralsina> And then we start with incompatible stuff
13:40:17 <[Tritium]> dbm does not get enough love
13:40:38 <ralsina> <[Tritium] indeed
13:41:34 -travis-ci:#nikola- getnikola/nikola#5082 (refactor-scanposts - 2f9436d : Roberto Alsina): The build passed.
13:41:35 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d5c284bbf63b...2f9436d2c969
13:41:35 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63320911
13:41:43 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to wordpress-code-blocks: http://git.io/vT0ww
13:41:43 -GitHub[nikola]:#nikola- nikola/wordpress-code-blocks 1990a5b Roberto Alsina: Merge branch 'master' into wordpress-code-blocks
13:43:47 <ChrisWarrick> ralsina: we could do that, just be advised I will be offline from Saturday to Wednesday
13:44:21 <ralsina> ChrisWarrick: I will schedule it for next friday, just in case
13:45:17 <ChrisWarrick> [Tritium]: what can I record in a dbm database?  only strings (and no lists)?
13:45:57 <[Tritium]> ChrisWarrick: you can record json.
13:46:03 <[Tritium]> ...
13:46:07 <[Tritium]> you can record pickles
13:46:23 <[Tritium]> (shelve is pickle + anydbm pretty much)
13:47:17 <ChrisWarrick> json.
13:47:28 <ralsina> Aeyoun, ChrisWarrick: I'd love some feedback in the new-auto branch
13:47:39 <[Tritium]> ZODB is another way to do that, and can store any python object, and be backed by the local filesystem, or an rdbms
13:47:44 <ralsina> Since it's large, complicated and scary :-)
13:50:45 <[Tritium]> If you dont want to hand write your sql, and dont want to use sqlalchemy... eh, maybe dont try and support RDBMS
13:51:33 <ChrisWarrick> I am not trying
13:51:41 <ChrisWarrick> I will look into DBM and probably use that
13:52:02 <[Tritium]> anyways, ima go to bed.  Good luck
13:52:13 <ChrisWarrick> [Tritium]: one more stupid question, is dbm compatible with multiple processes abusing one database?
13:53:34 <[Tritium]> ChrisWarrick: bsddbm is, but to get that you need a third party version of the module.  redis is the better option for high traffic (assuming this is for the editing backend).  For low traffic, dbm would be fine
13:55:51 <[Tritium]> I am pretty sure that dbm supports context managers, but I am exhausted and cant remember for sure.  If nothing else, locks + never holding the database open would solve a lot of problems if there are any problems.
13:55:56 <[Tritium]> bed, for real
13:57:12 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to new-auto: http://git.io/vT0PF
13:57:12 -GitHub[nikola]:#nikola- nikola/new-auto 8b59271 Roberto Alsina: support -b
13:58:49 <Aeyoun> ralsina: I just can’t believe you need that whole livereload.js thing.
13:59:07 <ChrisWarrick> Aeyoun: it’s needed for the automated refresh on change part
13:59:16 <ralsina> Aeyoun: it stablishes a websocket connection (that's also a lot of the hard code in the python side)
13:59:19 <ralsina> there's a protocol
13:59:27 <ralsina> the server sends "refresh this!" over ws
13:59:38 <ralsina> and ... it does things like reloading CSS *without* refreshing the page
13:59:43 <ralsina> and the same for images
13:59:45 <ChrisWarrick> does it?
13:59:48 <ralsina> it's quite a magical thing
13:59:53 <ralsina> yes
13:59:57 <Aeyoun> sounds entirely unnecessary :P
14:00:05 <ChrisWarrick> either you implemented it much better than lepture did, or it worked differently for me
14:00:18 <ChrisWarrick> (or maybe I never edited non-html things with it)
14:00:22 <ralsina> ChrisWarrick: now when nikola fails to build you get a popup in the page, too :-)
14:00:53 <ralsina> ChrisWarrick: it only refreshes the page when actual HTML changes (at least according to the docs)
14:00:58 <Aeyoun> need a listner sucket. if any message at all is sent, reload everything. there is no caching involved here anyways. super fast as everything is local.
14:01:31 <Aeyoun> seems totally over-engineered for what is needed.
14:02:06 <ChrisWarrick> the script is also very crazy and breaks for ipv6, btw
14:03:01 <Aeyoun> livereload.js for something sent over the web to millions of users: sure. for something loaded locally? naaaw. it’s too as much.
14:04:34 <ChrisWarrick> and the original app costs just $9.99
14:05:32 <Aeyoun> Here is a neat hack: Use a keep-alive connection to local server. Once connection is closed, use JS to reload page. Server only needs to reset connections after each build  to instruct everything to reload. No sockets and better browser support for legacy browsers. Less overhead.
14:05:45 * Aeyoun has to go now – will be back later
14:06:34 <ralsina> the original app is also mac-only
14:06:53 <ralsina> I suspect the livereload.js we are using is ancient, btw
14:08:04 <ChrisWarrick> get it from bower
14:08:20 <ralsina> yep, I'll check how old it is
14:10:25 <ralsina> ChrisWarrick: how are the links into bower maintained?
14:10:33 <ChrisWarrick> ralsina: what do you mean?
14:10:37 <ChrisWarrick> ralsina: symlinks?
14:10:52 <ralsina> For example, we have nikola/data/themes/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-zh-TW.js -> ../../../../../../../bower_components/jquery-colorbox/i18n/jquery.colorbox-zh-TW.js
14:10:55 <ChrisWarrick> ralsina: created manually
14:11:01 <ralsina> what happens if a new translation is added?
14:11:06 <ChrisWarrick> we add it in manually
14:11:20 <ralsina> that looks like a good chance for automation :-)
14:11:39 <ChrisWarrick> (just make sure to use relative paths!)
14:12:30 <ralsina> Ill give it a shot eventually
14:12:51 <ChrisWarrick> it looks like one translation was removed along the way
14:13:44 <ralsina> yes, this is very error-prone
14:14:59 <ChrisWarrick> gour: I don’t think I will go with anything other than redis.  It’s too much of a hassle to implement anything else
14:16:44 <ChrisWarrick> s/added/removed, actually — I looked at the wrong count
14:16:51 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 2 new commits to new-auto: http://git.io/vT07q
14:16:51 -GitHub[nikola]:#nikola- nikola/new-auto 845667a Roberto Alsina: Use bower to get livereload.js
14:16:51 -GitHub[nikola]:#nikola- nikola/new-auto c4e9c11 Roberto Alsina: livereload from bower
14:17:26 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to new-auto: http://git.io/vT074
14:17:26 -GitHub[nikola]:#nikola- nikola/new-auto fec948f Roberto Alsina: Merge branch 'master' into new-auto
14:20:22 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vT05A
14:20:22 -GitHub[nikola]:#nikola- nikola/master 35b57a8 Chris Warrick: add Bengali for colorbox...
14:23:25 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to new-auto: http://git.io/vT0Fs
14:23:25 -GitHub[nikola]:#nikola- nikola/new-auto 248af57 Roberto Alsina: use re
14:34:17 -GitHub[nikola]:#nikola- [nikola] Kwpolska created fix-unicode-arguments (+1 new commit): http://git.io/vT0hk
14:34:17 -GitHub[nikola]:#nikola- nikola/fix-unicode-arguments da075a0 Chris Warrick: fix unicode arguments (cc @felixfontein)...
14:48:38 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to new-auto: http://git.io/vTETY
14:48:38 -GitHub[nikola]:#nikola- nikola/new-auto 3d32551 Roberto Alsina: cleanup
15:07:42 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to new-auto: http://git.io/vTEss
15:07:42 -GitHub[nikola]:#nikola- nikola/new-auto 518f291 Roberto Alsina: use logger
15:10:36 <gour> ChrisWarrick: ok..i believe i won't go into hassle with reddis, but limited mode does not work either
15:11:22 <ChrisWarrick> gour: just take out `import redis` and `import rq` throughout ~VIRTUAL_ENV/lib/python*.*/*-packages/ocil
15:11:25 <ChrisWarrick> coil*
15:11:33 <ralsina> gour: redis is installing and starting, is that not available in your hosting?
15:12:23 <gour> ChrisWarrick: after installing redis, it wants rq, then it wants flask and finally fails with: "ImportError: No module named flask.ext.login"
15:12:40 <ChrisWarrick> gour: coil has dependencies, surprise
15:12:48 <gour> ralsina: probably it is, but atm i'm trying it locally
15:12:48 <ChrisWarrick> gour: install them from requirements.txt
15:14:10 <gour> ChrisWarrick: i did start with : pip install nikola coil uwsgi
15:14:32 <gour> so, something is wrong, docs or something else
15:14:46 <ChrisWarrick> gour: I would have to use some magic
15:15:15 <ChrisWarrick> wait no, we DO specify install deps
15:15:22 <ralsina> gour: "apt-get install redis; service redis start" or some minor variant thereof :-)
15:15:55 <gour> ralsina: i'm trying to test limited mode which, iirc, does not require redis
15:16:05 <ralsina> gour: ah, ok
15:16:27 <ChrisWarrick> gour: it does not
15:16:38 <gour> but 'pip install coil' does not work properly
15:16:46 <ChrisWarrick> gour: I have no idea what you did wrong, but there is no reason why it would fail
15:18:08 <gour> ChrisWarrick: i was just following http://coil.readthedocs.org/en/latest/admin/setup 
15:18:39 <ChrisWarrick> gour: okay, it looks like the current dist is missing dependencies specification
15:21:50 -GitHub[coil]:#nikola- [coil] Kwpolska pushed 1 new commit to master: http://git.io/vTE8g
15:21:50 -GitHub[coil]:#nikola- coil/master e6da735 Chris Warrick: v1.2.1: dependency fixes...
15:22:34 <ChrisWarrick> gour: pip install coil==1.2.1 will now work fine if you do not want redis/rq; otherwise you must also install rq from github (docs updated)
15:24:51 <gour> ChrisWarrick: now Nikola fails with: http://pastebin.com/XifTwnYp
15:25:08 <ChrisWarrick> hello coil v1.2.2
15:27:21 -GitHub[coil]:#nikola- [coil] Kwpolska pushed 1 new commit to master: http://git.io/vTERf
15:27:21 -GitHub[coil]:#nikola- coil/master 43ae4ff Chris Warrick: v1.2.2: don’t repeat Nikola dependencies...
15:27:26 <ChrisWarrick> gour: pip install coil==1.2.2
15:27:37 <ChrisWarrick> Release Early Release Often at its finest
15:28:01 <gour> rapid development, maybe i should wait to stabilize a bit ;)
15:29:31 <ralsina> gour: there has been a problem with the latest yapsy releases
15:30:02 <ralsina> gour: you should remove manually any yapsy > 1.11 you have in your virtualenv
15:30:29 <ralsina> rm -rf /home/gour/prj/nikola/lib/python3.4/site-packages/Yapsy-1.11*
15:31:02 <ChrisWarrick> gour: don’t do this
15:31:26 <ChrisWarrick> gour: use pip uninstall -qy yapsy  and install whatever version ralsina recommends (?)
15:31:45 <gour> ChrisWarrick: i uninstalled 1.11.23
15:32:16 * gour --> afk to take a walk with the family until coil becomes stable :-)
15:33:09 <ralsina> 1.10.423  is the only one that works well at this point
15:33:25 <ralsina> ChrisWarrick: pip refused to uninstall Yapsy in my venv earlier today
15:33:33 <ChrisWarrick> craazy
15:33:46 <ChrisWarrick> pip hates 1.11.023 because of that zero, btw
15:33:52 * ralsina is *this* close to going on a plugin-thing replacement rampage
15:34:10 <ralsina> ad 1.11.123b has the wrong version number internally
15:34:52 <ralsina> and 1.11.123 doesn't exist on Pypi anymore
15:36:34 -travis-ci:#nikola- getnikola/nikola#5085 (fix-galleries-for-translations - b308c56 : Roberto Alsina): The build has errored.
15:36:35 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/aab268419914...b308c56c9e4f
15:36:35 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63324112
16:11:45 -GitHub[nikola]:#nikola- [nikola] ralsina created auto-bower (+1 new commit): http://git.io/vTE94
16:11:45 -GitHub[nikola]:#nikola- nikola/auto-bower eeff85d Roberto Alsina: this was deleted in bootstrap3 a while ago
16:20:41 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to auto-bower: http://git.io/vTEdU
16:20:41 -GitHub[nikola]:#nikola- nikola/auto-bower 4bbb83a Roberto Alsina: updated
16:21:00 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #1739: Auto bower (master...auto-bower) http://git.io/vTEd3
16:29:06 <gour> ralsina: am i out of luck with coil due to that deps-heaven?
16:29:24 <ralsina> gour: nah, just make sure you have yapsy 1.10.423
16:29:26 <ralsina> and no other
16:33:57 <gour> i was able to login, but then: http://pastebin.com/gVrcas9q
16:38:44 <ralsina> oh py3 vs py2 rears its head
16:42:10 <gour> it looks that with my evaluation&/testing of nikola i have high percentage of 'hits' :-)
16:48:51 <ralsina> hey, at least we're fixing them as you find them :-)
16:51:16 <gour> ralsina: no complains..just feel myself somewhat 'lucky' helping nikola development indirectly
17:47:26 -travis-ci:#nikola- getnikola/nikola#5086 (master - 8335195 : Roberto Alsina): The build passed.
17:47:27 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/156e49cb3b25...833519572758
17:47:27 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63324117
18:21:28 <gour> ChrisWarrick says not wanting to use rdbsms/alchemy, so i wonder about this one: https://github.com/web2py/pydal
18:22:05 <ChrisWarrick> gour: no
18:22:17 <ChrisWarrick> gour: I am not adding any other db engine, period
18:22:24 <gour> it does e.g. mongodb 
18:22:57 <gour> ok
18:25:05 <gour> ChrisWarrick: i was not thinking about *adding* but *abstracting, but, anyway...now even limited mode does not work
18:25:16 <ChrisWarrick> gour: how
18:25:55 <ChrisWarrick> gour: add an issue on coil's github, I’ll get to it tomorrow
18:26:02 <gour> ChrisWarrick: i was not playing much with it, but i was told that pyDAL is much nicer than ORMs like  alchemy
18:28:18 <ChrisWarrick> gour: https://github.com/getnikola/coil/issues/37
18:29:02 <gour> thanks
18:29:49 -travis-ci:#nikola- getnikola/nikola#5088 (wordpress-code-blocks - 7e63940 : Roberto Alsina): The build is still failing.
18:29:50 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/02bdaae4411e...7e639404b2bc
18:29:50 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63327768
18:56:10 -travis-ci:#nikola- getnikola/nikola#5089 (master - 18ab727 : Roberto Alsina): The build was broken.
18:56:11 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/833519572758...18ab727f28a7
18:56:11 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63327957
19:03:30 <Aeyoun> old auto doesn't update css if you use css bundles.
19:31:31 <ralsina> Aeyoun: does new auto?
20:02:10 -travis-ci:#nikola- getnikola/nikola#5092 (new-auto - 8b59271 : Roberto Alsina): The build was fixed.
20:02:11 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/30c56a96767c...8b59271d83fd
20:02:11 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63333037
20:28:24 -travis-ci:#nikola- getnikola/nikola#5091 (wordpress-code-blocks - 1990a5b : Roberto Alsina): The build is still failing.
20:28:25 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/7e639404b2bc...1990a5b54e51
20:28:25 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63331146
21:32:00 -travis-ci:#nikola- getnikola/nikola#5094 (new-auto - c4e9c11 : Roberto Alsina): The build was fixed.
21:32:01 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/8b59271d83fd...c4e9c119330c
21:32:01 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63335843
22:50:14 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See http://travis-ci.org/getnikola/invariant-builds/builds/63336312.
22:54:23 -travis-ci:#nikola- getnikola/nikola#5096 (new-auto - fec948f : Roberto Alsina): The build is still failing.
22:54:24 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/c4e9c119330c...fec948f73a64
22:54:24 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63335960
23:32:51 -travis-ci:#nikola- getnikola/nikola#5098 (master - 35b57a8 : Chris Warrick): The build passed.
23:32:52 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/18ab727f28a7...35b57a85db56
23:32:52 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63336310
23:41:30 -travis-ci:#nikola- getnikola/nikola#5099 (new-auto - 248af57 : Roberto Alsina): The build is still failing.
23:41:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/fec948f73a64...248af57b54bc
23:41:31 -travis-ci:#nikola- Build details: http://travis-ci.org/getnikola/nikola/builds/63336855