1 2013-08-10T00:34:45 *** liyan
2 2013-08-10T00:39:20 <liyan> When I install moin 2.0 in windows, I keep getting:
3 2013-08-10T00:39:20 <liyan> 'moin' not recognized as an internal or external command, operable program or batch file.
4 2013-08-10T00:39:55 <liyan> What I have done as folows:
5 2013-08-10T00:40:21 <liyan> 1. Install python 2.7 by installing python2.7.2.msi
6 2013-08-10T00:40:21 <liyan> 2. Install mercurial
7 2013-08-10T00:40:21 <liyan> 3. Install easy_setup, pip, then virtualenv
8 2013-08-10T00:40:21 <liyan> 4. Downloaded moin-2.0 by typing: hg clone http://bitbucket.org/thomaswaldmann/moin-2.0moin-2.0
9 2013-08-10T00:40:21 <liyan> 5. cd into moin-2.0 directory, and type: quickinstall.bat
10 2013-08-10T00:40:23 <liyan> 6. Type: env\Scripts\activate.bat to active the virtual environment
11 2013-08-10T00:40:25 <liyan> 7. Type: moin
12 2013-08-10T01:36:34 *** mpathy
13 2013-08-10T02:23:13 <ThomasWaldmann> hi liyan
14 2013-08-10T02:23:48 <liyan> hi, thomas
15 2013-08-10T02:24:03 <ThomasWaldmann> iirc we had discussed that already. did you locate some moin.bat or .cmd somewhere on disk?
16 2013-08-10T02:31:04 <liyan> I did: /s moin.*, and cannot find some moin.bat or .cmd on my disk.
17 2013-08-10T02:34:55 <liyan> I did: dir /s moin.*, and cannot find some moin.bat or .cmd on my disk.
18 2013-08-10T02:57:58 *** liyan
19 2013-08-10T04:08:31 <sharky93> moin
20 2013-08-10T06:49:10 <ananasova> moin
21 2013-08-10T07:24:23 *** greg_f
22 2013-08-10T07:28:03 *** greg_f
23 2013-08-10T07:30:37 *** greg_f
24 2013-08-10T08:48:10 *** ashutosh1461
25 2013-08-10T09:08:51 <sharky93> i'm facing a problem including extensions with the jinja2 environment, by the time the environment is setup @ https://bitbucket.org/sharky93/moin-2.0-bootstrap/src/6485ee98ab0e14fd9d7737e1e7bc61c18fbdd060/MoinMoin/themes/__init__.py?at=default#cl-407 it already has other extensions loaded, im not sure where do they get loaded from?
26 2013-08-10T09:10:11 <sharky93> TheSheep: ^, there's not much support with jinja for defining dicts in the templates, except the 'do' extension @ http://jinja.pocoo.org/docs/extensions/#expression-statement how should we proceed with #21 ?
27 2013-08-10T09:10:15 <sharky93> ThomasWaldmann: ^^
28 2013-08-10T11:13:52 <ashutosh1461> moin
29 2013-08-10T12:53:30 *** xiaq
30 2013-08-10T12:59:00 *** xiaq
31 2013-08-10T12:59:24 *** xiaq
32 2013-08-10T13:51:47 <ThomasWaldmann> moin
33 2013-08-10T14:46:43 <ananasova> re
34 2013-08-10T14:47:11 <ananasova> waldi: please review when free - https://codereview.appspot.com/12665045/
35 2013-08-10T14:50:03 *** greg_f
36 2013-08-10T14:53:03 *** Guest88820
37 2013-08-10T15:33:42 *** sudo_dirk
38 2013-08-10T16:31:20 <ThomasWaldmann> sharky93: it is pretty much unclear what the question is / what your problem is (from 09:08 utc)
39 2013-08-10T16:34:24 <ananasova> ThomasWaldmann: can you pleare review? https://codereview.appspot.com/12695043/
40 2013-08-10T16:34:28 <ananasova> please*
41 2013-08-10T16:38:21 <ThomasWaldmann> done
42 2013-08-10T16:39:20 <ananasova> ThomasWaldmann: yes, just app works fine
43 2013-08-10T16:47:27 <ThomasWaldmann> so where did that other method come from?
44 2013-08-10T16:52:37 <ananasova> werkzeug method, quoting "useful if you want the real object behind the proxy at a time for performance reasons or because you want to pass the object into a different context."
45 2013-08-10T16:53:31 <ThomasWaldmann> but it is same context, right?
46 2013-08-10T16:57:51 <ananasova> apparently yes
47 2013-08-10T17:51:16 <ashutosh1461> ThomasWaldmann, please review https://codereview.appspot.com/12560043/
48 2013-08-10T18:16:20 <ThomasWaldmann> ashutosh1461: done
49 2013-08-10T18:22:16 <ThomasWaldmann> ashutosh1461: -> EP
50 2013-08-10T18:30:31 <ThomasWaldmann> ashutosh1461: still there?
51 2013-08-10T18:34:32 <ThomasWaldmann> wake me up when you return
52 2013-08-10T18:44:20 <ThomasWaldmann> sharky93: i had a small session with mpathy yesterday at the hackerspace and we looked at the current "basic" theme
53 2013-08-10T18:45:25 <ThomasWaldmann> i took some notes and will file issues now. you and TheSheep should please evaluate them whether they are valid and if so, how we can solve.
54 2013-08-10T19:42:02 * ThomasWaldmann does some moin2 enhancements
55 2013-08-10T20:03:03 <ThomasWaldmann> (we have +backrefs, but no +forwardrefs - later this can be combined in a +refs view)
56 2013-08-10T20:04:56 <sharky93> ThomasWaldmann: the question from (09:08 utc) when put simply is, how can i add extensions to the jinja2 evnironment currently being loaded with moin2
57 2013-08-10T20:04:59 <sharky93> ?
58 2013-08-10T20:07:01 <TheSheep> sharky93: the question should be "how can I bundle additional metadata, like the mapping between actions and their icons, with the theme"
59 2013-08-10T20:07:14 <TheSheep> sharky93: putting it in the template is just one possibility
60 2013-08-10T20:07:43 <TheSheep> s/metadata/data
61 2013-08-10T20:15:44 <ThomasWaldmann> ok and why don't we just do that?
62 2013-08-10T20:36:07 <TheSheep> ThomasWaldmann: what do you suggest? putting it in the json file with metadata?
63 2013-08-10T20:39:17 <ThomasWaldmann> if it is a theme internal thing, it can be handled internally, in a template file
64 2013-08-10T20:40:14 <ThomasWaldmann> (maybe i don't quite understand the problem yet...)
65 2013-08-10T20:51:17 <TheSheep> ThomasWaldmann: the problem is that you can't really define dicts inside the template file
66 2013-08-10T20:51:38 <TheSheep> ThomasWaldmann: not in a straightforward way, anyways
67 2013-08-10T21:02:29 <ThomasWaldmann> works for me
68 2013-08-10T21:02:45 <ThomasWaldmann> {%- set d = dict(foo="1", bar="2") %}
69 2013-08-10T21:02:46 <ThomasWaldmann> {{ d }}
70 2013-08-10T21:03:05 <ThomasWaldmann> outputs repr of d
71 2013-08-10T21:10:53 <ThomasWaldmann> Done: 666
72 2013-08-10T21:10:56 <ThomasWaldmann> (tests)
73 2013-08-10T21:12:00 <ThomasWaldmann> sharky93: please pull / merge from main repo
74 2013-08-10T21:15:25 <ThomasWaldmann> new +refs view for Incoming & outgoing item references (combined)
75 2013-08-10T21:27:51 <ThomasWaldmann> TheSheep: can we talk about some rearrangements in basic theme?
76 2013-08-10T22:41:04 <ashutosh1461> ThomasWaldmann, are you still here
77 2013-08-10T22:46:10 <ThomasWaldmann> ashutosh1461: yes
78 2013-08-10T22:48:28 <ashutosh1461> ThomasWaldmann, so what to use finally ?
79 2013-08-10T22:48:36 <ashutosh1461> trash or deleted or garbage ?
80 2013-08-10T22:48:56 <ThomasWaldmann> is there a verb for garbage?
81 2013-08-10T22:50:36 <ashutosh1461> This website http://www.verbix.com/webverbix/English/garbage.html says garbaged, but personally i have never used it.
82 2013-08-10T22:56:30 <ThomasWaldmann> ok, so let's use trash(ed)
83 2013-08-10T22:57:03 <ThomasWaldmann> but that's the smallest issue...
84 2013-08-10T22:57:36 <ThomasWaldmann> see EP