1 2014-05-09T00:45:59  *** derdon has quit IRC
   2 2014-05-09T03:30:54  *** penguinRaider has quit IRC
   3 2014-05-09T04:59:13  *** penguinRaider has joined #moin-dev
   4 2014-05-09T07:20:49  *** skathpalia has joined #moin-dev
   5 2014-05-09T07:20:54  <skathpalia> moin
   6 2014-05-09T07:21:30  <skathpalia> While creating new wiki by command ./m sample I am getting the following error
   7 2014-05-09T07:22:01  <skathpalia> 7 moin: error: too many arguments
   8 2014-05-09T07:22:08  <skathpalia> 14 traceback (most recent call last):
   9 2014-05-09T07:22:15  <skathpalia> 45 oserror: [errno 2] no such file or directory: '/home/saurabh/moin-2.0/wiki/index'
  10 2014-05-09T07:22:23  <skathpalia> 53 traceback (most recent call last):
  11 2014-05-09T07:22:29  <skathpalia> 84 oserror: [errno 2] no such file or directory: '/home/saurabh/moin-2.0/wiki/index'
  12 2014-05-09T07:22:44  <skathpalia> I am not able to find the solution for this problem
  13 2014-05-09T07:23:05  <skathpalia> Can somebody help me in solving  this problem?
  14 2014-05-09T07:31:03  *** skathpalia has quit IRC
  15 2014-05-09T09:22:43  *** magu_cic_ has joined #moin-dev
  16 2014-05-09T09:23:26  *** magu_cic has quit IRC
  17 2014-05-09T11:02:00  *** derdon has joined #moin-dev
  18 2014-05-09T11:48:45  *** derdon has quit IRC
  19 2014-05-09T12:08:18  *** penguinRaider has quit IRC
  20 2014-05-09T12:26:31  <ThomasWaldmann>  moin
  21 2014-05-09T12:40:19  *** skathpalia has joined #moin-dev
  22 2014-05-09T12:40:26  <skathpalia> ThomasWaldmann, hi
  23 2014-05-09T12:42:03  <skathpalia> ThomasWaldmann, I am facing a problem while making a new wiki
  24 2014-05-09T12:42:52  <skathpalia> index is not getting created after I run quickinstall.py
  25 2014-05-09T12:49:48  <skathpalia> Can you suggest some method by which I can get rid of this error?
  26 2014-05-09T12:57:13  <ThomasWaldmann> skathpalia: debug it yourself or ask rogerhaase, i didn't use the "m" stuff yet.
  27 2014-05-09T12:57:18  <ThomasWaldmann> did you read the docs?
  28 2014-05-09T13:04:39  <skathpalia> Yeah I searched the docs also
  29 2014-05-09T13:04:54  <skathpalia> so that I could create index manually
  30 2014-05-09T13:05:39  <skathpalia> But I couldn't find a way to do that
  31 2014-05-09T13:05:58  <skathpalia> Ok I will ask RogerHaase regarding this
  32 2014-05-09T13:07:24  <ThomasWaldmann> maybe not just search the doc, but actually follow the docs, step by step
  33 2014-05-09T13:07:51  <ThomasWaldmann> as having an index is a pretty fundamental requirement, it should be documented
  34 2014-05-09T13:09:23  <skathpalia> Ok I am trying that way now
  35 2014-05-09T13:09:26  <skathpalia> Thanks ThomasWaldmann
  36 2014-05-09T13:23:53  *** skathpalia has quit IRC
  37 2014-05-09T13:42:03  *** magu_cic has joined #moin-dev
  38 2014-05-09T13:45:32  *** magu_cic_ has quit IRC
  39 2014-05-09T14:03:24  *** RogerHaase has joined #moin-dev
  40 2014-05-09T14:43:04  *** skathpalia has joined #moin-dev
  41 2014-05-09T14:43:11  <skathpalia> RogerHaase, moin
  42 2014-05-09T14:44:52  <skathpalia> RogerHaase, I am facing some problem while creating new wiki
  43 2014-05-09T14:45:20  <skathpalia> Actually my wiki/index is not getting created
  44 2014-05-09T14:47:29  <skathpalia> Any idea how this error can be removed?
  45 2014-05-09T14:52:15  <skathpalia> I mean can I manually create index?
  46 2014-05-09T14:58:25  <ananasova> moin :)
  47 2014-05-09T14:58:35  <ananasova> skathpalia: did you look here http://moin-20.readthedocs.org/en/latest/admin/index.html ?
  48 2014-05-09T14:59:03  <skathpalia> ananasova, yeah I looked here
  49 2014-05-09T14:59:45  <skathpalia> But these commands for example "moin index-create -i" no longer work
  50 2014-05-09T15:01:18  <skathpalia> Now index is created automatically by running quickinstall.py and m commands
  51 2014-05-09T15:02:16  <RogerHaase> skathpalia:  hi
  52 2014-05-09T15:02:33  <skathpalia> RogerHaase, hi
  53 2014-05-09T15:03:39  <RogerHaase> show m-quickinstall.txt from your repo root
  54 2014-05-09T15:05:11  <skathpalia> you can see it here http://paste.ubuntu.com/7421836/
  55 2014-05-09T15:06:59  <RogerHaase> sorry, wrong file, try m-new-wiki.txt
  56 2014-05-09T15:08:09  <skathpalia> http://paste.ubuntu.com/7421839/
  57 2014-05-09T15:10:27  <RogerHaase> skathpalia: did you recently do a pull and run ./m quickinstall?
  58 2014-05-09T15:11:02  <skathpalia> I ran "python quickinstall.py"
  59 2014-05-09T15:11:18  <skathpalia> yeah I recently did a pull
  60 2014-05-09T15:12:25  <RogerHaase> try ./m quickinstall
  61 2014-05-09T15:12:36  <skathpalia> Yeah I am trying that now
  62 2014-05-09T15:15:09  <RogerHaase> skathpalia: OK, I got the same error you have.  quickinstall now pulls new versions of all packages...
  63 2014-05-09T15:17:23  <skathpalia> Then quickinstall needs to be changed to get desired version of packages only?
  64 2014-05-09T15:20:10  <skathpalia> RogerHaase ^^
  65 2014-05-09T15:20:11  <RogerHaase> well, as a general strategy we try to use current versions of most packages.  So we have to determine what to do.  We either change setup.py to specify a package version or change some code to use new package feature.
  66 2014-05-09T15:21:49  <RogerHaase> looks like flask-script went from version 0.6.7 to version 2.0.3?
  67 2014-05-09T15:25:36  <RogerHaase> quick fix is to uninstall flask-script and revert to 0.6.7.  iirc, you can do ". activate" to activate virtualenv on linux
  68 2014-05-09T15:26:38  <RogerHaase> then "pip ininstall flask-script" then "pip install flask-script==0.6.7", then "./m sample"
  69 2014-05-09T15:32:09  <skathpalia> on doing this also I am getting the same error
  70 2014-05-09T15:32:55  <RogerHaase> hmm, did I give wrong command to activate virtualenv?
  71 2014-05-09T15:33:29  <skathpalia> No the command to activate virtualenv is correct
  72 2014-05-09T15:35:17  <RogerHaase> in your <venv>...site-packages directory, you now have Flask_Script-0.6.7-py2.7.egg-info?
  73 2014-05-09T15:37:28  <skathpalia> no
  74 2014-05-09T15:37:42  <skathpalia> Flask_Script-2.0.3-py2.7.egg-info is there instead
  75 2014-05-09T15:38:24  <RogerHaase> try pip uninstall / install sequence again
  76 2014-05-09T15:39:24  <RogerHaase> after uninstall, maybe look to make sure the flask-script file was deleted
  77 2014-05-09T15:39:31  <ThomasWaldmann> btw, click is now all the hype
  78 2014-05-09T15:39:49  <ThomasWaldmann> "click" instead of "optparse/argparse/docopt"
  79 2014-05-09T15:40:17  <ThomasWaldmann> iirc, mitsuhiko is thinking about how to replace flask-script with click somehow
  80 2014-05-09T15:40:35  * ThomasWaldmann had a short look, looked very well-made
  81 2014-05-09T15:41:03  <skathpalia> RogerHaase, No that file doesn't get deleted on uninstalling
  82 2014-05-09T15:42:07  <skathpalia> I mean the flask-script file from <venv>..site-packages doesn't get deleted
  83 2014-05-09T15:44:18  <RogerHaase> then somehow your virtualenv is not activated?  Did "pip uninstall flask-script" give your several messages about deleting ~9 files from site-packages?
  84 2014-05-09T15:46:36  <skathpalia> Yeah it gave but it gave message of deleting 2 files
  85 2014-05-09T15:46:48  <skathpalia> virtualenv is activated
  86 2014-05-09T15:47:00  <RogerHaase> skathpalia:  I had keying error above - did you catch "pip uninstall flask-script" not "pip ininstall...
  87 2014-05-09T15:47:14  <skathpalia> Yeah
  88 2014-05-09T15:47:30  <skathpalia> :D
  89 2014-05-09T15:47:46  <skathpalia> I did uninstall
  90 2014-05-09T15:50:47  <skathpalia> This message is shown when I uninstall http://imagebin.org/309885
  91 2014-05-09T15:53:31  <RogerHaase> looks like linux shows directories being deleted, but windows shows files being deleted. -- and when you reply "y" nothing gets deleted?
  92 2014-05-09T15:53:35  *** greg_f has joined #moin-dev
  93 2014-05-09T15:55:22  *** derdon has joined #moin-dev
  94 2014-05-09T15:55:32  <skathpalia> Yeah I got it
  95 2014-05-09T15:56:22  <skathpalia> Actually we are uninstalling flask-script it deletes the files from system packages not from moin site-packages
  96 2014-05-09T15:57:04  <ThomasWaldmann> skathpalia: you should always work in a virtualenv when doing moin2 stuff
  97 2014-05-09T15:57:22  <skathpalia> I copied the 2 directories /usr/local/lib/python2.7/dist-packages/flask_script /usr/local/lib/python2.7/dist-packages/Flask_Script-0.6.7.egg-info to moin site packages
  98 2014-05-09T15:59:32  <skathpalia> ThomasWaldmann, Yeah Actually earlier that was my habit :D
  99 2014-05-09T16:00:27  <skathpalia> Ok from now I will always work under virtual env
 100 2014-05-09T16:00:56  <skathpalia> RogerHaase, now I am able to create wiki
 101 2014-05-09T16:01:14  <skathpalia> thanks
 102 2014-05-09T16:01:31  <skathpalia> ThomasWaldmann, I had one review pending.
 103 2014-05-09T16:02:09  <skathpalia> I almost forgot about it. Just today I saw that #424 is solved by my patch
 104 2014-05-09T16:02:54  <skathpalia> ThomasWaldmann, Can you please have a look at it https://codereview.appspot.com/80700049/
 105 2014-05-09T16:03:04  * ThomasWaldmann must leave soon and will be busy until sat evening. but grab me on sunday.
 106 2014-05-09T16:03:15  <skathpalia> Ok sure
 107 2014-05-09T16:11:08  <RogerHaase> skathpalia: on http://imagebin.org/309885, I think the problem may be that you did "sudo pip ..."  Try whole sequence over - do "./m quickinstall" to get flask-script 2.03, then uninstall.
 108 2014-05-09T16:14:30  <RogerHaase> In general you should never use sudo when working with moin2.  btw, when I do "pip uninstall flask-script" on ubuntu it shows 9 files, same as windows
 109 2014-05-09T16:16:02  <ThomasWaldmann> https://github.com/smurfix/flask-script/issues/97
 110 2014-05-09T16:26:09  <RogerHaase> Is this problem some pypi packaging error?  https://pypi.python.org/pypi/Flask-Script vs. https://github.com/smurfix/flask-script
 111 2014-05-09T16:32:55  <ThomasWaldmann> on github it looks like there was some maintainer change
 112 2014-05-09T16:33:02  <ThomasWaldmann> but i had just a short look...
 113 2014-05-09T16:33:32  <ThomasWaldmann> if we have an issue with > 0.6.7, i suggest just fixing it to 0.6.7 until the flask-script vs. click stuff is decided
 114 2014-05-09T16:39:39  * ThomasWaldmann gtg
 115 2014-05-09T17:17:57  *** darthy has joined #moin-dev
 116 2014-05-09T17:40:25  <skathpalia> RogerHaase, there is a class Reference in MoinMoin/forms.py . Can you tell me that for what purpose it is called in case of ticket update ?
 117 2014-05-09T17:43:45  <RogerHaase> skathpalia: dk.  If you have pycharm running, you could set a breakpoint in one of the methods and then look at the call list
 118 2014-05-09T17:44:28  <RogerHaase> skathpalia: did you see my note about not using sudo ^^
 119 2014-05-09T17:44:39  <skathpalia> Yeah
 120 2014-05-09T17:45:08  <skathpalia> I won't use sudo from now while working on moin2
 121 2014-05-09T17:47:38  <skathpalia> RogerHaase, in pycharm it shows the values of variables
 122 2014-05-09T17:47:57  <skathpalia> How can I get the methods which it has gone across ?
 123 2014-05-09T17:49:13  <RogerHaase> on the bottom left corner (under debugger tab) is a list of calling methods
 124 2014-05-09T17:49:44  <RogerHaase> click on any to see variable set there
 125 2014-05-09T17:50:03  <skathpalia> In the frames section?
 126 2014-05-09T17:51:42  <RogerHaase> yes
 127 2014-05-09T17:51:59  <skathpalia> Got it thanks :)
 128 2014-05-09T18:03:50  *** skathpalia has quit IRC
 129 2014-05-09T18:29:19  *** darthy has quit IRC
 130 2014-05-09T21:56:24  <ThomasWaldmann> re
 131 2014-05-09T22:12:06  <RogerHaase> ThomasWaldmann: fix for flask-script  https://codereview.appspot.com/99110043/
 132 2014-05-09T22:25:15  <ThomasWaldmann> RogerHaase: did you test the 1.0.0 release? that stuff is all rather recent.
 133 2014-05-09T22:26:47  <RogerHaase> yes
 134 2014-05-09T22:27:03  <ThomasWaldmann> ok, will pull...
 135 2014-05-09T22:28:26  <RogerHaase> give me a minute to push
 136 2014-05-09T22:31:43  <RogerHaase> ThomasWaldmann:  ok, pushed
 137 2014-05-09T22:34:34  <RogerHaase> ThomasWaldmann: if you have more time, there is also https://codereview.appspot.com/96800044/  https://codereview.appspot.com/96020044/  and https://codereview.appspot.com/94220043/
 138 2014-05-09T22:38:24  <RogerHaase> gtg
 139 2014-05-09T22:38:27  *** RogerHaase has left #moin-dev
 140 2014-05-09T22:47:26  * ThomasWaldmann pulled / pushed
 141 2014-05-09T23:49:25  *** derdon has quit IRC
 142 

MoinMoin: MoinMoinChat/Logs/moin-dev/2014-05-09 (last edited 2014-05-09 01:00:02 by IrcLogImporter)