1 2011-03-19T00:33:03 <sinha_> ThomasWaldmann: i have downloaded the package and an virtual environment is created..but there is no script named moin on home directory from which i can start the server ?
2 2011-03-19T00:37:36 *** sinha_
3 2011-03-19T01:00:01 <ThomasWaldmann> well, it is in teh path :P
4 2011-03-19T03:24:58 *** kasun
5 2011-03-19T04:07:21 *** kasun
6 2011-03-19T04:10:58 *** Marchael
7 2011-03-19T04:15:04 *** MattMaker
8 2011-03-19T05:21:59 *** cdom_
9 2011-03-19T05:33:44 *** Marchael
10 2011-03-19T05:35:48 *** sl33k_
11 2011-03-19T05:37:01 *** Marchael
12 2011-03-19T06:25:17 *** MattMaker
13 2011-03-19T06:48:42 *** sl33k_
14 2011-03-19T07:33:20 *** sl33k_
15 2011-03-19T07:56:32 <dreimark> moin
16 2011-03-19T08:11:57 *** kasun
17 2011-03-19T08:18:43 *** Marchael
18 2011-03-19T08:28:42 * dreimark filled out some forms :)
19 2011-03-19T09:16:09 *** CIA-50
20 2011-03-19T09:31:52 *** CIA-58
21 2011-03-19T09:36:51 <sl33k_> is this appropriate cmd for checking out moin1.9 hg clone http://hg.moinmo.in/moin/1.9 moin1.9 ?
22 2011-03-19T09:47:25 <dreimark> sl33k_: yes - why do you ask?
23 2011-03-19T09:48:36 <sl33k_> dreimark: it does not check out anything
24 2011-03-19T09:48:47 <dreimark> it takes long
25 2011-03-19T09:48:55 <dreimark> because it checks out 250MB
26 2011-03-19T09:51:25 <dreimark> moin-2 is much easier to clone because of http://hg.moinmo.in/moin/2.0/rev/5568cf133caf
27 2011-03-19T09:54:05 <sl33k_> dreimark: i have moin2. do i update my copy?
28 2011-03-19T09:54:16 <dreimark> hg pull -u
29 2011-03-19T09:54:27 <dreimark> did the update
30 2011-03-19T09:55:53 <dreimark> sl33k_: what is the goal? hacking or moin? gsoc?
31 2011-03-19T09:56:05 <dreimark> s/or/on/
32 2011-03-19T09:56:22 <sl33k_> dreimark: gsoc
33 2011-03-19T09:56:48 <sl33k_> i am looking to fix a couple of bugs
34 2011-03-19T09:57:14 <sl33k_> dreimark: are there any trivial bugs to be fixed on 1.9
35 2011-03-19T10:13:53 <dreimark> sl33k_: fix something in moin-2
36 2011-03-19T10:14:19 <dreimark> sl33k_: there will be no work on moin-1.9 for gsoc
37 2011-03-19T10:14:56 <dreimark> and it makes sense to get familiar with 2.0
38 2011-03-19T10:15:32 <dreimark> http://moinmo.in/EasyToDo
39 2011-03-19T10:17:01 <sl33k_> dreimark: are they trivial
40 2011-03-19T10:17:37 <dreimark> depends how you define trivial
41 2011-03-19T10:19:48 <sl33k_> do they require some hours? or do they require some days?
42 2011-03-19T10:20:10 <dreimark> sl33k_: easy: create a new view for getting all items a user has contributed too
43 2011-03-19T10:20:30 <dreimark> I think that takes not too long
44 2011-03-19T10:20:47 <dreimark> and there already some comparable views available
45 2011-03-19T10:21:23 <dreimark> you need to use meta data, jinja and python
46 2011-03-19T10:21:41 <sl33k_> which task number?
47 2011-03-19T10:21:51 <dreimark> it is on the page
48 2011-03-19T10:22:26 <dreimark> last task of "Code - UI related CODING (see also UserInterface)"
49 2011-03-19T10:23:05 <sl33k_> ya
50 2011-03-19T10:25:22 <dreimark> it is something similiar to orphans http://hg.moinmo.in/moin/2.0/file/4408881ee6e3/MoinMoin/apps/frontend/views.py#l611
51 2011-03-19T10:25:39 <dreimark> for templating etc.
52 2011-03-19T10:27:13 <dreimark> bbl
53 2011-03-19T10:28:46 <sl33k_> looks cool
54 2011-03-19T10:30:48 *** Marchael
55 2011-03-19T10:34:02 *** sinha_
56 2011-03-19T10:36:56 *** sinha_
57 2011-03-19T10:46:41 *** sinha_
58 2011-03-19T10:47:49 <sinha_> i did a installation of moin2.0 and started the env..but when i do ./moin its not finding that script ? so where it might me ..help me i am not able to install this new version to test
59 2011-03-19T11:09:38 <dreimark> sl33k_: go to top level dir
60 2011-03-19T11:09:42 <dreimark> sorry
61 2011-03-19T11:09:53 <dreimark> sinha_: go to top level dir
62 2011-03-19T11:09:57 <dreimark> and call moin
63 2011-03-19T11:10:05 <dreimark> not ./moin in bin
64 2011-03-19T11:10:26 <sinha_> dreimark : yes i am in top level directory
65 2011-03-19T11:10:33 <dreimark> moin there
66 2011-03-19T11:10:36 <sinha_> dreimark : i have started that virtualenv
67 2011-03-19T11:10:40 <dreimark> yes
68 2011-03-19T11:10:42 <sinha_> dreimark : no
69 2011-03-19T11:10:44 <dreimark> and then type moin
70 2011-03-19T11:11:11 <dreimark> ~/workspace/moin-2.0$ moin
71 2011-03-19T11:11:16 <dreimark> is it for me
72 2011-03-19T11:11:24 <sinha_> its saying not there ..want to install
73 2011-03-19T11:11:41 <sinha_> should i do yes for installation
74 2011-03-19T11:11:45 <dreimark> pastebin please
75 2011-03-19T11:12:03 <dreimark> what installation?
76 2011-03-19T11:12:14 <sinha_> http://paste.pocoo.org/show/355966/
77 2011-03-19T11:12:53 *** sinha_
78 2011-03-19T11:13:45 <dreimark> don't install the debian package
79 2011-03-19T11:14:00 *** sinha_
80 2011-03-19T11:14:10 <dreimark> sinha_: don't install the debian package
81 2011-03-19T11:14:21 <sinha_> i am on fedora
82 2011-03-19T11:14:38 <dreimark> well then don't install the fedora package
83 2011-03-19T11:14:51 <sinha_> thank quickinstall program is supposed to create that script right ?
84 2011-03-19T11:14:55 <sinha_> *that
85 2011-03-19T11:14:56 <dreimark> yes
86 2011-03-19T11:15:03 <sinha_> but that isnt happening
87 2011-03-19T11:15:12 <sinha_> i ran it thrice
88 2011-03-19T11:15:20 <dreimark> sinha_: which python version do you use?
89 2011-03-19T11:15:43 <sinha_> python 2.7
90 2011-03-19T11:16:15 <dreimark> show me the complete line of the terminal where you invoke the moin command
91 2011-03-19T11:16:50 <dreimark> sinha_: ^
92 2011-03-19T11:18:17 <sinha_> this is coming : moin bash: moin: command not found... Install package 'moin' to provide command 'moin'? [N/y] "
93 2011-03-19T11:18:50 <sinha_> i have downloaded the package using hg repo..not from the web
94 2011-03-19T11:18:53 <dreimark> sinha_: the line starts with (env)
95 2011-03-19T11:18:57 <dreimark> please show it
96 2011-03-19T11:20:04 <sinha_> all i am doing "[akash@My-Box moin2]$ source env/bin/activate (env)[akash@My-Box moin2]$ ./moin bash: ./moin: No such file or directory (env)[akash@My-Box moin2]$ moin bash: moin: command not found... Install package 'moin' to provide command 'moin'? [N/y] "
97 2011-03-19T11:20:24 <sinha_> env is getting activated
98 2011-03-19T11:20:46 <xorAxAx> sinha_: did you install moin in the env?
99 2011-03-19T11:20:59 <dreimark> sinha_: do you have run quickinstall ?
100 2011-03-19T11:21:09 <sinha_> yes i just ran ./quickinstall
101 2011-03-19T11:22:31 <dreimark> and what was its output?
102 2011-03-19T11:23:35 <sinha_> it installed everything..and downloaded lots of packages and created that env directory
103 2011-03-19T11:24:52 <sinha_> now i have a fresh package tell me how to start..
104 2011-03-19T11:25:10 <sinha_> i got it from here hg clone http://hg.moinmo.in/moin/2.0 moin2
105 2011-03-19T11:26:04 <sinha_> dreimark: want to start one more time..
106 2011-03-19T11:26:11 <dreimark> moment
107 2011-03-19T11:26:25 <dreimark> i do an example currently
108 2011-03-19T11:28:11 <dreimark> sinha_: http://paste.pocoo.org/show/355971/
109 2011-03-19T11:28:14 <dreimark> try this
110 2011-03-19T11:28:33 <dreimark> of course you don't need to have it in /tmp
111 2011-03-19T11:29:42 <dreimark> and log quickinstall output
112 2011-03-19T11:29:45 <sinha_> dreimark: should do in quickinstall in root mode ?
113 2011-03-19T11:30:07 *** sl33k_
114 2011-03-19T11:30:28 <dreimark> sinha_: in root mode?
115 2011-03-19T11:30:32 <dreimark> you work as root ?
116 2011-03-19T11:30:45 <dreimark> you have to work as user !
117 2011-03-19T11:31:03 <sinha_> dreimark: no..but i am just asking.. should run quickinstall in root mode or not ?
118 2011-03-19T11:31:13 <dreimark> you do everything as user
119 2011-03-19T11:31:18 <dreimark> nothing as root
120 2011-03-19T11:32:10 <dreimark> virtualenv makes it possible to install on user level
121 2011-03-19T11:32:23 <sinha_> dreimark:http://paste.pocoo.org/show/355972/ this error is coming
122 2011-03-19T11:33:10 <dreimark> sinha_: is this my example?
123 2011-03-19T11:33:12 *** sl33k_
124 2011-03-19T11:33:19 <dreimark> sinha_: as user?
125 2011-03-19T11:33:24 <dreimark> not root
126 2011-03-19T11:33:26 <sinha_> dreimark:yes as user
127 2011-03-19T11:33:39 <dreimark> and /tmp dir ?
128 2011-03-19T11:33:46 <dreimark> just for trying it
129 2011-03-19T11:33:48 <sinha_> dreimark:no in my home directory
130 2011-03-19T11:34:02 <dreimark> i guess you have used the same dir as before
131 2011-03-19T11:34:07 <dreimark> without rm -r it
132 2011-03-19T11:34:24 <sinha_> dreimark: no i deleted the earlier one..if you want i will do it once again
133 2011-03-19T11:35:37 <dreimark> sinha_: can you try my example
134 2011-03-19T11:35:52 <dreimark> because i did it few minutes ago on ubuntu 10.10
135 2011-03-19T11:36:04 <dreimark> and if there is a difference to fedora we should find it
136 2011-03-19T11:36:36 <sinha_> dreimark:now quickinstall is working in user mode..its doing some Downloading/unpacking
137 2011-03-19T11:38:06 <dreimark> ok
138 2011-03-19T11:38:36 <dreimark> then find out what the reason is that you can't do it in your homedir
139 2011-03-19T11:40:12 <sinha_> dreimark: i guess downloaded the package in root mode..silly me
140 2011-03-19T11:41:03 <dreimark> ah, ok
141 2011-03-19T11:42:40 <dreimark> htg, bbl
142 2011-03-19T12:00:00 <sinha_> dreimark: Installation completed..but again same problem..(env)[akash@My-Box mymoin]$ moin bash: moin: command not found...
143 2011-03-19T12:00:30 <sinha_> dreimark: moin script is not there
144 2011-03-19T12:05:26 <sinha_> Do i need to install the package "moin"
145 2011-03-19T12:05:36 <sinha_> because otherwise nothing is happening
146 2011-03-19T12:11:08 <xorAxAx> try rehash
147 2011-03-19T12:11:36 <xorAxAx> hash -r
148 2011-03-19T12:34:26 <sinha_> hash -r in the moin home directory
149 2011-03-19T12:39:21 <sinha_> xorAxAx: hash -r in home directory
150 2011-03-19T12:43:21 *** zoellersthomas
151 2011-03-19T12:45:13 *** greg_f
152 2011-03-19T13:05:36 <xorAxAx> yes
153 2011-03-19T13:13:37 <sinha_> xorAxAx: hash -r isn't doing anything
154 2011-03-19T13:13:50 <sinha_> xorAxAx: do i need to install moin package
155 2011-03-19T13:14:02 <sinha_> xorAxAx: because there is no such script generating
156 2011-03-19T13:22:23 <sinha_> xorAxAx: i am stuck on this for hours :(
157 2011-03-19T13:26:04 <xorAxAx> sinha_: no, the moin package wont help you
158 2011-03-19T13:26:40 <sinha_> xorAxAx: what should i do ..can i download that moin script from somewhere
159 2011-03-19T13:27:17 <sinha_> xorAxAx: i have tried doing quickinstall 5 times in 5 different directory..but nowhere that moin script is being generated
160 2011-03-19T13:31:00 <xorAxAx> sinha_: what does find | grep moin give you?
161 2011-03-19T13:31:17 <xorAxAx> sinha_: well, pastebin the output of the quickinstall script
162 2011-03-19T13:32:02 <sinha_> xorAxAx: find: `moin': No such file or directory ..
163 2011-03-19T13:32:09 <xorAxAx> ???
164 2011-03-19T13:32:36 <xorAxAx> that error message doesnt match my command
165 2011-03-19T13:33:49 <sinha_> xorAxAx: i am getting the log of quickinstall..pasting in few secs
166 2011-03-19T13:36:13 <sinha_> xorAxAx: output of grep http://paste.pocoo.org/show/356025/
167 2011-03-19T13:36:42 <xorAxAx> sinha_: i said "find | grep moin"
168 2011-03-19T13:36:44 <xorAxAx> grrr
169 2011-03-19T13:39:19 <sinha_> xorAxAx: sry this is output fro find | grep moin http://paste.pocoo.org/show/356026/
170 2011-03-19T13:40:03 <xorAxAx> indeed, the script is missing
171 2011-03-19T13:40:19 <xorAxAx> now i am awaiting the quickinstall log
172 2011-03-19T13:45:22 <sinha_> xorAxAx: this is the quickinstall log http://paste.pocoo.org/show/356028/
173 2011-03-19T13:48:42 <dreimark> re
174 2011-03-19T13:57:19 <dreimark> sinha_: you have seen the traceback?
175 2011-03-19T13:58:04 <sinha_> dreimark: traceback means ?
176 2011-03-19T13:59:01 <ThomasWaldmann> moin
177 2011-03-19T14:00:53 <dreimark> look at your pastebin line 2434
178 2011-03-19T14:03:37 <sinha_> dreimark: yes someother files also got donwloaded..which didnt go to log and flushed on my terminal.. they were like that Downlaoding xyz and then 100% complete=====================
179 2011-03-19T14:03:48 <dreimark> it looks to me that after or while downloading Werkzeug-0.6.2.tar.gz y
180 2011-03-19T14:03:57 <dreimark> you got a problem
181 2011-03-19T14:04:12 <dreimark> http://hg.moinmo.in/moin/2.0/file/4408881ee6e3/setup.py#l76
182 2011-03-19T14:04:29 <dreimark> if you look at install_requires
183 2011-03-19T14:04:51 <dreimark> you can try to manually install them into your virtualenv environment
184 2011-03-19T14:05:15 <sinha_> dreimark: how to install them in virtual env
185 2011-03-19T14:05:44 <dreimark> look into http://hg.moinmo.in/moin/2.0/file/4408881ee6e3/quickinstall
186 2011-03-19T14:06:22 <dreimark> you can try to continue at the point where you got the timeout
187 2011-03-19T14:06:25 <dreimark> just type
188 2011-03-19T14:06:27 <dreimark> pip install -e .
189 2011-03-19T14:07:07 <ThomasWaldmann> sinha_: btw, the moin script is in env/bin/moin after quickinstall run, at least for me
190 2011-03-19T14:08:30 <sinha_> ThomasWaldmann: i have got this many files in env/bin activate activate.csh activate.fish activate_this.py easy_install easy_install-2.7 pip pip-2.7 python
191 2011-03-19T14:08:31 <dreimark> ThomasWaldmann: 13:39 < sinha_> xorAxAx: sry this is output fro find | grep moin http://paste.pocoo.org/show/356026/
192 2011-03-19T14:09:09 <dreimark> sinha_: did you called pip install -e .
193 2011-03-19T14:09:13 <dreimark> ?
194 2011-03-19T14:09:19 <dreimark> again ?
195 2011-03-19T14:09:45 <sinha_> dreimark: it syas command not found
196 2011-03-19T14:09:47 <sinha_> *says
197 2011-03-19T14:10:08 <dreimark> your virtualenv is activated ?
198 2011-03-19T14:10:38 <dreimark> source env/bin/activate
199 2011-03-19T14:10:40 <sinha_> dreimark: sage: /tmp/moin-2/env/bin/pip install [OPTIONS] PACKAGE_NAMES... /tmp/moin-2/env/bin/pip install: error: -e option requires an argument
200 2011-03-19T14:10:55 <sinha_> dreimark: its asking for argument
201 2011-03-19T14:11:10 *** m4k3r
202 2011-03-19T14:11:14 <dreimark> in which path do you be?
203 2011-03-19T14:11:46 <dreimark> cd /tmp/moin-2
204 2011-03-19T14:11:46 <sinha_> dreimark: in top directory /tmp/moin-2
205 2011-03-19T14:11:54 <dreimark> source env/bin/activate
206 2011-03-19T14:12:22 <sinha_> dreimark: yes it is activated
207 2011-03-19T14:12:31 <sinha_> dreimark: yet that error is coming
208 2011-03-19T14:12:39 <dreimark> pip install -e .
209 2011-03-19T14:12:39 <sinha_> dreimark: (env)[akash@My-Box moin-2]$ pip install -e Usage: /tmp/moin-2/env/bin/pip install [OPTIONS] PACKAGE_NAMES... /tmp/moin-2/env/bin/pip install: error: -e option requires an argument (env)[akash@My-Box moin-2]$
210 2011-03-19T14:12:50 <dreimark> look at the line
211 2011-03-19T14:12:56 <dreimark> you did not copied it
212 2011-03-19T14:13:20 <dreimark> http://hg.moinmo.in/moin/2.0/file/4408881ee6e3/quickinstall#l7
213 2011-03-19T14:14:01 <sinha_> dreimark: i just ran pip install -e and it throws this error
214 2011-03-19T14:14:33 <dreimark> read the line by each character
215 2011-03-19T14:14:42 <sinha_> dreimark: its running..
216 2011-03-19T14:15:05 <ThomasWaldmann> btw, you can't easily move a virtualenv after it was created, so maybe choose a better place for it than /tmp
217 2011-03-19T14:15:16 <dreimark> he trains that
218 2011-03-19T14:15:17 <sinha_> dreimark: its downlading some package
219 2011-03-19T14:15:22 <dreimark> that was my suggestion
220 2011-03-19T14:16:18 <dreimark> ThomasWaldmann: because at that time i haven't figured that he was using the root account
221 2011-03-19T14:17:12 <dreimark> sinha_: if that works you have to redo this on your homedir
222 2011-03-19T14:17:19 <dreimark> later
223 2011-03-19T14:17:39 <ThomasWaldmann> sinha_: btw, if the problems you are having are caused by wrong documentation, I'ld like to know what was wrong.
224 2011-03-19T14:18:07 <sinha_> dreimark: this exception came http://paste.pocoo.org/show/356038/
225 2011-03-19T14:18:11 <ThomasWaldmann> (wrong or missing)
226 2011-03-19T14:18:35 <sinha_> ThomasWaldmann: i followed this link http://static.moinmo.in/m2/html/admin/install.html#downloading
227 2011-03-19T14:19:00 <dreimark> sinha_: /home/akash/.pip/pip.log
228 2011-03-19T14:19:30 <MattMaker> (hmm, maybe quickinstall should react to pip failing)
229 2011-03-19T14:19:49 <dreimark> ThomasWaldmann: why could be there with fedora a problem with werkzeug
230 2011-03-19T14:19:57 <dreimark> it works with ubuntu 10.10
231 2011-03-19T14:20:29 <dreimark> sinha_: try pip install Werkzeug
232 2011-03-19T14:20:41 <sinha_> dreimark: this is pip log http://paste.pocoo.org/show/356039/
233 2011-03-19T14:20:48 <dreimark> I want to see which version is compatible to your intallation
234 2011-03-19T14:20:55 <ThomasWaldmann> MattMaker: yes, or first do the static stuff, to breakage later is better visible
235 2011-03-19T14:21:05 <ThomasWaldmann> s/to/so/
236 2011-03-19T14:21:15 <MattMaker> yes
237 2011-03-19T14:21:21 * ThomasWaldmann changes that
238 2011-03-19T14:21:51 <sinha_> dreimark: Downloading Werkzeug-0.6.2.tar.gz (1.7Mb): 7%
239 2011-03-19T14:22:01 <dreimark> ok, lets see if that works
240 2011-03-19T14:22:14 <dreimark> it looks to me like that you run into a timeout
241 2011-03-19T14:22:31 <dreimark> if you have the tar.gz you can install it from the file too
242 2011-03-19T14:23:18 <MattMaker> dreimark I wonder if the correct pip is being run, maybe the pythonpath is weird?
243 2011-03-19T14:23:32 <dreimark> it is in virtualenv
244 2011-03-19T14:23:46 <sinha_> dreimark: pip is doing "(env)[akash@My-Box moin-2]$ pip install Werkzeug Downloading/unpacking Werkzeug " i guess it will unpack that
245 2011-03-19T14:24:04 <dreimark> lests see if it finishes
246 2011-03-19T14:24:36 <dreimark> where is ronny ?
247 2011-03-19T14:24:39 <MattMaker> is everything okay in python 2.7? I have only tried 2.6
248 2011-03-19T14:24:41 <sinha_> dreimark: again same Exception : and tracebacl
249 2011-03-19T14:24:44 <sinha_> *traceback
250 2011-03-19T14:25:51 <dreimark> MattMaker: good question, me runs here 2.6.6
251 2011-03-19T14:25:52 <sinha_> dreimark: error from line 227 at this link http://paste.pocoo.org/show/356039/
252 2011-03-19T14:27:26 <ThomasWaldmann> MattMaker: I guess i also add a pip install babel
253 2011-03-19T14:27:40 <ThomasWaldmann> before it runs pip install -e .
254 2011-03-19T14:27:55 <MattMaker> sinha_ does that package that is erroring download successfully if you do:
255 2011-03-19T14:27:57 <MattMaker> wget http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.6.2.tar.gz#md5=519408350346a247333bb5d584371724
256 2011-03-19T14:28:25 *** m4k3r
257 2011-03-19T14:28:30 *** m4k3r
258 2011-03-19T14:29:01 <dreimark> if you have it try pip install Werkzeug-0.6.2.tar.gz
259 2011-03-19T14:29:02 <MattMaker> ThomasWaldmann you remember my fix for that one that didn't work on your machine, so yes pip install babel by itself should work for everyone, if we must
260 2011-03-19T14:31:14 <CIA-58> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 128:b0cd58f89c3f 2.0/quickinstall: quickinstall: first do the static stuff, so pip/setup.py failures are better visible. install babel before trying to install moin.
261 2011-03-19T14:31:35 <sinha_> MattMaker: Downloading...
262 2011-03-19T14:31:57 <ThomasWaldmann> sinha_: hg pull -u
263 2011-03-19T14:32:58 <ThomasWaldmann> MattMaker: yes, i do. i also tried some stuff, but somehow nothing worked as expected. so we do it the manual, but safe way.
264 2011-03-19T14:33:35 <dreimark> http://www.mail-archive.com/package-announce@lists.fedoraproject.org/msg14715.html
265 2011-03-19T14:33:49 <dreimark> tells principle it runs with fedora
266 2011-03-19T14:34:24 <MattMaker> ThomasWaldmann I guess it is easier to understand, too, instead of getting complicated in setup.py :)
267 2011-03-19T14:35:11 <ThomasWaldmann> well, in the end, we should have a working setup.py and not require that quickinstall any more
268 2011-03-19T14:35:36 <ThomasWaldmann> but as long as we have it (due to no static file packages), we can do such hacks
269 2011-03-19T14:36:59 <MattMaker> but the setup.py (or the pip requirements.txt) will still need to support a "development" install? or that will still be ./quickinstall
270 2011-03-19T14:37:52 <ErSame> sinha_, what version of virtualenv do you have?
271 2011-03-19T14:38:22 <ErSame> I had some troubles with virtualenv 1.4.5, I had to download 1.5.2
272 2011-03-19T14:38:26 <dreimark> sinha_: pip install Werkzeug-0.6.2.tar.gz tells what ?
273 2011-03-19T14:39:03 <sinha_> ErSame: its 1.5.1
274 2011-03-19T14:39:13 <sinha_> dreimark its still downloading the tar.gz file
275 2011-03-19T14:40:22 <dreimark> ah good, then may be you have not been able to download it before
276 2011-03-19T14:40:24 <CIA-58> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 129:2f7c87352b99 2.0/quickinstall: quickinstall: use unzip -q for more quiet operation
277 2011-03-19T14:40:36 <MattMaker> (I guess it would be a good idea to test moin2 using a library that simulates a slow and error-prone network connection, to catch some unusual cases)
278 2011-03-19T14:40:43 <dreimark> sinha_: and that was the meaning of the time out
279 2011-03-19T14:41:02 <dreimark> MattMaker: or to increase the timeout
280 2011-03-19T14:41:37 <ThomasWaldmann> MattMaker: why? we have testers in india for that. :P
281 2011-03-19T14:41:42 <MattMaker> lol
282 2011-03-19T14:41:45 <dreimark> ouch
283 2011-03-19T14:41:57 <ErSame> lol
284 2011-03-19T14:42:00 <sinha_> dreimark: exactly..previously in pip install ..it got downloaded up to 76 % but then exception came
285 2011-03-19T14:42:08 <dreimark> sinha_: now do
286 2011-03-19T14:42:10 <ThomasWaldmann> (scnr)
287 2011-03-19T14:42:12 <dreimark> wget -c url
288 2011-03-19T14:42:24 * MattMaker looks inside pip for a timeout setting
289 2011-03-19T14:42:28 <dreimark> then you get the rest of it
290 2011-03-19T14:42:52 <dreimark> MattMaker: if he gets timeout also by wget he has a limitation by his provider
291 2011-03-19T14:43:11 <MattMaker> oh, I missed that
292 2011-03-19T14:43:17 <MattMaker> I see, yes
293 2011-03-19T14:43:31 <dreimark> wget -c http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.6.2.tar.gz
294 2011-03-19T14:43:32 <sinha_> dreimark : did pip install Werkzeug-0.6.2.tar.gz ..says successfully installed Werkzeug
295 2011-03-19T14:43:41 <dreimark> aha
296 2011-03-19T14:43:54 <ThomasWaldmann> MattMaker: if we had all in packages, we wouldn't need quickinstall any more. create virtualenv, enter virtualenv, pip install -e . could be done manually also
297 2011-03-19T14:43:58 <dreimark> sinha_: now do the rest by pip install -e .
298 2011-03-19T14:44:49 <sinha_> dreimark: running...hope this time works
299 2011-03-19T14:45:24 <dreimark> may be you have to manual install another timeout package
300 2011-03-19T14:47:13 <CIA-58> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 130:88d821d83751 2.0/quickinstall.bat: quickinstall.bat: first do the static stuff, do pip at the end. pip install babel first.
301 2011-03-19T14:48:00 <MattMaker> wget --tries=3 ?
302 2011-03-19T14:48:28 <dreimark> would help with the xstatic stuff
303 2011-03-19T14:48:39 <dreimark> something like this must be done by pip
304 2011-03-19T14:48:45 <dreimark> or the continue option
305 2011-03-19T14:49:16 *** m4k3r
306 2011-03-19T14:52:33 <MattMaker> pip is using urllib2 here
307 2011-03-19T14:53:25 <ThomasWaldmann> MattMaker: http://paste.pocoo.org/show/356028/ line 2434 if you are hacking in pip anyway, could you catch that and replace it with a retry or something?
308 2011-03-19T14:54:10 <MattMaker> we think alike :)
309 2011-03-19T14:56:03 <sinha_> dreimark: yes i have to install them manually..is there any link where i can see the sources of those packages
310 2011-03-19T14:57:11 <dreimark> sinha_: http://pypi.python.org/pypi
311 2011-03-19T14:57:27 <dreimark> may be you should do the whole process in your home dir
312 2011-03-19T14:57:41 <sinha_> dreimark: yes.
313 2011-03-19T14:57:44 <dreimark> or at least store at a save place the packages your downloaded
314 2011-03-19T15:03:35 <MattMaker> ThomasWaldmann the socket timeout is supposedly infinite by default, maybe Fedora is different
315 2011-03-19T15:03:49 <MattMaker> but could still catch and retry, yeah
316 2011-03-19T15:04:16 <ThomasWaldmann> perfect might be a resume from pos x
317 2011-03-19T15:04:54 <dreimark> MattMaker: wget also stops
318 2011-03-19T15:04:58 <ThomasWaldmann> that would even handle per file limits of proxies or whatever
319 2011-03-19T15:05:00 <dreimark> that is independent from python
320 2011-03-19T15:05:11 <dreimark> so we need resume from x
321 2011-03-19T15:06:54 <MattMaker> agreed, better that pip just recovers and tries to resume a few times, no matter why it failed
322 2011-03-19T15:08:13 <MattMaker> fwiw I found this: http://www.voidspace.org.uk/python/articles/urllib2.shtml#sockets-and-layers
323 2011-03-19T15:14:29 <ThomasWaldmann> MattMaker: yes, i also used that in moin 1.9 antispam code
324 2011-03-19T15:16:20 *** Marchael
325 2011-03-19T15:20:03 *** Marchael
326 2011-03-19T15:21:52 <dreimark> https://github.com/pypa/pip/blob/master/pip/download.py#L366
327 2011-03-19T15:24:14 <MattMaker> yes, pip could be more clever right there, I can imagine a lot of recoverable errors at that spot
328 2011-03-19T15:58:56 *** franklin
329 2011-03-19T15:59:00 *** franklin
330 2011-03-19T16:04:17 *** Marchael
331 2011-03-19T16:12:46 *** sl33k_
332 2011-03-19T16:14:42 <ThomasWaldmann> sinha_: so could you identify wrong or missing stuff in the docs?
333 2011-03-19T16:15:23 * ThomasWaldmann is adding a note about "no root required" and "moin cmd is in the path after activating the virtual env"
334 2011-03-19T16:17:17 <sinha_> ThomasWaldmann: you need to add that if timeout happens download all them manually..and how to install them manually in vitualenv
335 2011-03-19T16:17:47 <sinha_> ThomasWaldmann: and also list of packages and their locations should be provided.
336 2011-03-19T16:20:58 <ThomasWaldmann> sinha_: http://paste.pocoo.org/show/356083/
337 2011-03-19T16:21:07 <ThomasWaldmann> that's what i have added
338 2011-03-19T16:22:19 <dreimark> htg bbl
339 2011-03-19T16:30:04 <sinha_> ThomasWaldmann: this could also be added http://paste.pocoo.org/show/356089/
340 2011-03-19T16:31:46 *** ErSame
341 2011-03-19T16:34:17 *** ErSame
342 2011-03-19T16:35:51 <ThomasWaldmann> http://paste.pocoo.org/show/356092/
343 2011-03-19T16:38:58 *** sinha_
344 2011-03-19T16:48:29 <ThomasWaldmann> http://paste.pocoo.org/show/356106/ anything more needed?
345 2011-03-19T17:31:00 *** Marchael
346 2011-03-19T17:43:00 <ErSame> one question, when I try to deploy moin I always get KeyError: u'modernized', It doesnt find humanize theme, what am I doing wrong?
347 2011-03-19T17:43:23 <ErSame> sorry the modernized theme*
348 2011-03-19T18:01:25 <ThomasWaldmann> ErSame: is this about moin 1.9 or 2.0?
349 2011-03-19T18:01:37 <ErSame> ThomasWaldmann, 2.0
350 2011-03-19T18:02:28 <ThomasWaldmann> works for me. did you follow the docs when installing it?
351 2011-03-19T18:03:29 <ErSame> ThomasWaldmann, moin-2.0/docs/admin/install.rst
352 2011-03-19T18:04:14 <ErSame> ThomasWaldmann, Which one do you recommend me?
353 2011-03-19T18:05:53 <ThomasWaldmann> which what?
354 2011-03-19T18:06:29 <ErSame> which docs should I follow
355 2011-03-19T18:07:49 <ThomasWaldmann> yes, that ones
356 2011-03-19T18:08:13 <ThomasWaldmann> and i need the traceback from that KeyError
357 2011-03-19T18:08:13 <ErSame> I'll try again
358 2011-03-19T18:08:24 <ErSame> ThomasWaldmann, ok, thank you
359 2011-03-19T18:10:40 <ErSame> ThomasWaldmann, http://pastebin.com/TWQTDQj3
360 2011-03-19T18:13:53 <ThomasWaldmann> is your repo uptodate?
361 2011-03-19T18:15:29 <ErSame> I have checkout today
362 2011-03-19T18:15:55 <ErSame> but anyway I am going to try again, is this the repo? https://bitbucket.org/thomaswaldmann/moin-2.0
363 2011-03-19T18:16:37 *** Mengyun
364 2011-03-19T18:18:47 <ThomasWaldmann> yes
365 2011-03-19T18:18:57 <ThomasWaldmann> ErSame: your flask-themes version?
366 2011-03-19T18:21:34 <ErSame> ThomasWaldmann, how can I know?
367 2011-03-19T18:24:43 <ThomasWaldmann> look into env/lib/python2.*/site-packages/
368 2011-03-19T18:25:26 <ThomasWaldmann> btw, did you install everything using your normal user id? just thinking about whether you might have some permissions problems somewhere.
369 2011-03-19T18:25:49 <ErSame> I just run ./quickinstall
370 2011-03-19T18:25:56 <ErSame> and then moin
371 2011-03-19T18:26:24 <ErSame> ThomasWaldmann, Flask_Themes-0.1.2-py2.7.egg
372 2011-03-19T18:26:53 <ThomasWaldmann> same here, i don't have that issue
373 2011-03-19T18:27:32 <ErSame> weird
374 2011-03-19T18:27:45 <ThomasWaldmann> do you have python 2.6?
375 2011-03-19T18:27:55 <ErSame> 2.7
376 2011-03-19T18:28:13 <ThomasWaldmann> so no 2.6 available?
377 2011-03-19T18:28:31 <ErSame> yes, I have it too
378 2011-03-19T18:28:53 <ThomasWaldmann> maybe start from scratch using 2.6
379 2011-03-19T18:29:03 <ThomasWaldmann> just to make sure it is not a python issue
380 2011-03-19T18:29:21 <ErSame> perfect, I'll do it right now
381 2011-03-19T18:29:43 <ThomasWaldmann> the theme loading has a fallback if it does not find the theme requested
382 2011-03-19T18:30:14 <ThomasWaldmann> it will fall back to modernized then, because this is currently the only builtin theme and we assume that it is there and working
383 2011-03-19T18:30:40 <ThomasWaldmann> in your case, it does the fallback, but fail again within the fallback
384 2011-03-19T18:32:16 <ErSame> I see
385 2011-03-19T18:32:33 *** sinha_
386 2011-03-19T18:33:06 <sinha_> ThomasWaldmann : finally it worked :)
387 2011-03-19T18:34:22 <ThomasWaldmann> :)
388 2011-03-19T18:43:05 <CIA-58> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 131:6a60c384e578 2.0/docs/admin/ (install.rst serve.rst): admin docs: add devel install troubleshooting section, recommend non-root userid
389 2011-03-19T18:56:30 <ThomasWaldmann> ErSame: does it work now?
390 2011-03-19T18:57:11 <ErSame> ThomasWaldmann, I am trying in other pc cause I dont know how to launch the installation with python2.6
391 2011-03-19T18:58:31 <MattMaker> that's twice today that an issue might involve python2.7, maybe I should try 2.7 here on my OS X machine
392 2011-03-19T18:59:29 <MattMaker> ok, well the other one was with pip, but from what I read, that pip exception might be partly due to a change in 2.7
393 2011-03-19T18:59:59 <MattMaker> (which pip *should* still handle, but anyway)
394 2011-03-19T19:04:46 <ErSame> ThomasWaldmann, It works
395 2011-03-19T19:05:28 <ErSame> So as MattMaker said it seems to be a python2.7 issue
396 2011-03-19T19:07:14 <MattMaker> ThomasWaldmann, remind me what was that problem that was happening with py.test and file handles... because on OS X py.test is terminating silently somewhere around MoinMoin/apps/frontend/_tests/test_frontend.py .
397 2011-03-19T19:07:16 *** Marchael
398 2011-03-19T19:08:00 <MattMaker> oh, I see some things in py.test --help that might answer my question
399 2011-03-19T19:10:33 <MattMaker> just playing around, not knowing what it means, I tried " py.test --collectonly " and that gets an ImportError
400 2011-03-19T19:12:27 <MattMaker> running " py.test -v " ends at this output:
401 2011-03-19T19:12:29 <MattMaker> MoinMoin/apps/feed/_tests/test_feed.py:10: TestFeeds.test_global_atom PASS
402 2011-03-19T19:12:29 <MattMaker> MoinMoin/apps/frontend/_tests/test_frontend.py:16: TestFrontend.test_root
403 2011-03-19T19:13:31 <CIA-58> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 132:d27737be7871 2.0/MoinMoin/ (converter/link.py util/iri.py): fix crash in link converter when link scheme is None. implement IriPath.__repr__.
404 2011-03-19T19:14:37 <ThomasWaldmann> MattMaker: the fs2 backend leaks many files when testing
405 2011-03-19T19:14:48 <ThomasWaldmann> other backends also, but on a smaller scale
406 2011-03-19T19:15:12 <MattMaker> how can I skip the test that is killing py.test?
407 2011-03-19T19:15:26 <xorAxAx> MattMaker: -k -word
408 2011-03-19T19:15:28 <xorAxAx> i think
409 2011-03-19T19:15:50 <ThomasWaldmann> https://bitbucket.org/thomaswaldmann/moin-2.0/issue/4/fs2-leaks-file-handles-and-breaks-pytest
410 2011-03-19T19:17:22 <ThomasWaldmann> MattMaker: it is a sqlalchemy usage issue
411 2011-03-19T19:20:00 <MattMaker> I tried changing wikiconfig.py to use fs instead of fs2, now py.test gets a little farther, up until "> from sqlalchemy.test import assertsql, util as testutil E ImportError: cannot import name assertsql "
412 2011-03-19T19:21:12 <MattMaker> oh, it doesn't like the form: from foo import *
413 2011-03-19T19:21:59 *** Marchael
414 2011-03-19T19:22:15 <MattMaker> trying again without -k
415 2011-03-19T19:23:03 <MattMaker> with -k it tries to run tests on everything in site packages
416 2011-03-19T19:23:48 <MattMaker> should the py.test things really be affected by wikiconfig.py? that seems awkward
417 2011-03-19T19:26:29 <ThomasWaldmann> in earlier times, it used MoinMoin/_tests/wikiconfig.py
418 2011-03-19T19:27:26 <MattMaker> well, my immediate goal is to run tests before and after I change something, to see if *I* broke anything :D
419 2011-03-19T19:27:57 <ThomasWaldmann> sure
420 2011-03-19T19:28:34 <ThomasWaldmann> if you use fs, it should work (at least on linux, with 1024 files/process)
421 2011-03-19T19:29:03 <MattMaker> it's running currently, not completed yet (OS X)
422 2011-03-19T19:29:40 <MattMaker> it's testing everything in env/build/, is it supposed to be doing that?
423 2011-03-19T19:29:44 <ThomasWaldmann> good that i didn't change fs to sqla also :D
424 2011-03-19T19:29:58 <ThomasWaldmann> no
425 2011-03-19T19:29:59 <MattMaker> :)
426 2011-03-19T19:30:25 <MattMaker> okay, where did I go wrong...
427 2011-03-19T19:30:30 <ThomasWaldmann> maybe we need another conftest.py in .
428 2011-03-19T19:30:55 <ThomasWaldmann> or create one dynamically in env/
429 2011-03-19T19:31:15 <MattMaker> it ought to be magical, so there's just a command to type to run tests that is idempotent
430 2011-03-19T19:39:47 <MattMaker> well, using fs seemed to work, except for it running every test under env/build/
431 2011-03-19T20:06:00 *** sinha_
432 2011-03-19T20:13:47 *** Marchael
433 2011-03-19T20:13:48 *** greg_f
434 2011-03-19T20:27:00 *** MattMaker_
435 2011-03-19T20:29:30 *** MattMaker
436 2011-03-19T20:29:30 *** MattMaker_
437 2011-03-19T20:31:39 * ThomasWaldmann thinks about a typechecking middleware
438 2011-03-19T20:32:03 <ThomasWaldmann> to make sure data types of item names, meta data, data are as expected
439 2011-03-19T20:32:52 <MattMaker> maybe un-Pythonic?
440 2011-03-19T20:33:12 <MattMaker> but still might be nice
441 2011-03-19T20:33:48 <ThomasWaldmann> currently there are a lot of failures with kvstore, because of str vs unicode
442 2011-03-19T20:35:20 <MattMaker> is there any doubt that they should all be unicode, since Python is going that way in 3.0?
443 2011-03-19T20:35:59 <MattMaker> and considering that sqllite hands them back as unicode no matter what
444 2011-03-19T20:36:12 <MattMaker> and that sqlalchemy can optionally convert them on the way in
445 2011-03-19T20:37:02 <ThomasWaldmann> well, problem is rather the callers
446 2011-03-19T20:37:20 <ThomasWaldmann> and whether every backend should do the check or just one middleware
447 2011-03-19T20:40:31 <ThomasWaldmann> an alternative route could be unicode literals maybe
448 2011-03-19T21:06:55 <MattMaker> that's what I've been doing locally to understand it, changing constants to be u'keyname' , etc.
449 2011-03-19T21:07:53 <MattMaker> question: is py.test supposed to be running more that one instance of moin2 as the same time, and how should that even work? I would expect it to crash or something.
450 2011-03-19T21:08:08 *** RogerHaase
451 2011-03-19T21:09:34 <MattMaker> *more than
452 2011-03-19T21:11:01 <ThomasWaldmann> i don't think it runs more than one at once
453 2011-03-19T21:11:20 <ThomasWaldmann> conftest.py creates moin apps
454 2011-03-19T21:11:44 <ThomasWaldmann> in a rather messy way due to it supporting modules, functions, classes, methods
455 2011-03-19T21:12:49 <ThomasWaldmann> hmm, mitsuhiko advises strongly against unicode_literals
456 2011-03-19T21:19:37 <MattMaker> oh, I misunderstood, I am not familiar with unicode_literals, but whatever it is it does look like some black magic
457 2011-03-19T21:21:28 <MattMaker> interesting stuff. http://stackoverflow.com/questions/3627793/best-output-type-and-coding-practices-for-repr-functions
458 2011-03-19T22:08:36 * ThomasWaldmann fixes some literals manually
459 2011-03-19T22:15:04 *** sl33k_
460 2011-03-19T22:16:13 <CIA-58> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 133:d1da81a823ac 2.0/MoinMoin/storage/_tests/ (6 files): storage tests: fix failures related to kvstore type checking, unicode vs. str
461 2011-03-19T22:23:26 *** MattMaker_
462 2011-03-19T22:23:26 *** MattMaker
463 2011-03-19T22:23:28 *** MattMaker_
464 2011-03-19T22:29:12 *** MattMaker
465 2011-03-19T22:29:26 *** MattMaker
466 2011-03-19T23:24:41 * ThomasWaldmann adds future imports
467 2011-03-19T23:24:50 <xorAxAx> of what? :)
468 2011-03-19T23:24:58 <xorAxAx> braces? :D
469 2011-03-19T23:25:03 <ThomasWaldmann> absolute_import, division
470 2011-03-19T23:25:18 <xorAxAx> ok
471 2011-03-19T23:32:46 *** MattMaker
472 2011-03-19T23:34:53 *** MattMaker
473