1 2014-06-05T01:06:04  *** derdon has quit IRC
   2 2014-06-05T02:21:13  *** penguinRaider has quit IRC
   3 2014-06-05T02:23:45  *** penguinRaider has joined #moin-dev
   4 2014-06-05T02:24:52  *** sl33k_ has quit IRC
   5 2014-06-05T02:31:22  *** penguinRaider has quit IRC
   6 2014-06-05T02:31:45  *** sl33k_ has joined #moin-dev
   7 2014-06-05T03:33:38  *** sl33k_ has quit IRC
   8 2014-06-05T03:44:49  *** sl33k_ has joined #moin-dev
   9 2014-06-05T03:54:50  *** sl33k_ has quit IRC
  10 2014-06-05T04:01:16  *** sl33k_ has joined #moin-dev
  11 2014-06-05T06:06:41  *** eSyr-ng has quit IRC
  12 2014-06-05T06:06:48  *** eSyr-ng has joined #moin-dev
  13 2014-06-05T06:56:16  *** skathpalia has joined #moin-dev
  14 2014-06-05T06:56:19  <skathpalia> moin
  15 2014-06-05T07:23:21  <waldi> moin
  16 2014-06-05T07:47:57  *** sl33k_ has quit IRC
  17 2014-06-05T07:58:29  *** skathpalia has quit IRC
  18 2014-06-05T08:19:35  <dimazest> morning
  19 2014-06-05T08:44:23  *** skathpalia has joined #moin-dev
  20 2014-06-05T08:45:24  <skathpalia> dimazest, I am still not able to understand why is the translation not required for constant strings
  21 2014-06-05T08:45:33  <skathpalia> Can you please explain it?
  22 2014-06-05T08:50:52  <dimazest> they should be collected automatically
  23 2014-06-05T08:52:37  <skathpalia> You mean they will still be translated?
  24 2014-06-05T08:52:42  <dimazest> check other templates
  25 2014-06-05T08:52:43  <dimazest> yes
  26 2014-06-05T08:54:05  <skathpalia> dimazest, I saw this template https://bitbucket.org/thomaswaldmann/moin-2.0/src/600a9b4de684a67b5a247b3ff55777f596c71aaa/MoinMoin/templates/show_nonexistent.html?at=default#cl-3
  27 2014-06-05T08:54:19  <skathpalia> Here translation of constant string is there
  28 2014-06-05T08:54:39  <dimazest> hmm
  29 2014-06-05T08:55:15  <dimazest> ThomasWaldmann: do we need to translate constant strings in templates explicitly?
  30 2014-06-05T08:55:47  <dimazest> for example, <b>Some text</b> -----> <b>{{_("Some text")}}</b>
  31 2014-06-05T08:56:44  <dimazest> skathpalia: where is another example https://bitbucket.org/thomaswaldmann/moin-2.0/src/600a9b4de684a67b5a247b3ff55777f596c71aaa/MoinMoin/templates/history.html?at=default#cl-83
  32 2014-06-05T08:58:11  <skathpalia> hmm
  33 2014-06-05T08:58:29  *** Bernard1 has joined #moin-dev
  34 2014-06-05T09:04:09  <skathpalia> dimazest, Its strange that in the same file in line 30 translation is done
  35 2014-06-05T09:04:40  <dimazest> yes, are there other issues apart from translations
  36 2014-06-05T09:04:50  <dimazest> (actually, it's the same in your file)
  37 2014-06-05T09:06:58  <skathpalia> For now I am making translation of all the strings in my cr and also making changes mentioned in your comments :)
  38 2014-06-05T09:07:39  <dimazest> ok
  39 2014-06-05T09:10:11  <skathpalia> dimazest, I have updated the cr
  40 2014-06-05T09:13:25  *** greg_f has joined #moin-dev
  41 2014-06-05T09:26:11  *** randomax has joined #moin-dev
  42 2014-06-05T09:35:59  <randomax> moin
  43 2014-06-05T09:36:56  <dimazest> hi
  44 2014-06-05T09:37:16  <randomax> i was wondering that the ACL function may to determine whether a particular object is readable or not, depends on the item name
  45 2014-06-05T09:37:26  <randomax> or fqname more appropriately
  46 2014-06-05T09:37:28  <randomax> http://moin-20.readthedocs.org/en/latest/_modules/MoinMoin/storage/middleware/protecting.html#ProtectingMiddleware.may
  47 2014-06-05T09:37:41  <randomax> what about objects without a name ?
  48 2014-06-05T09:38:12  <skathpalia> Objects do have fqname
  49 2014-06-05T09:38:43  <skathpalia> so for checking acl you can pass fqname as argument
  50 2014-06-05T09:39:51  <skathpalia> If items don't have name then there still exists a fqname for that
  51 2014-06-05T09:40:27  <randomax> when i try to search for a nameless item via its contents it throws me an error regarding no fqname present..
  52 2014-06-05T09:44:54  <skathpalia> Where were you searching?
  53 2014-06-05T09:46:33  <skathpalia> I mean did you write some query?
  54 2014-06-05T09:53:30  *** Bernard1 has quit IRC
  55 2014-06-05T09:55:54  <randomax> no just searched the content
  56 2014-06-05T09:58:58  *** sl33k_ has joined #moin-dev
  57 2014-06-05T10:03:00  <skathpalia> yeah error comes
  58 2014-06-05T10:11:04  *** penguinRaider has joined #moin-dev
  59 2014-06-05T10:26:15  <skathpalia> dimazest, I also worked on defining some css for tickets
  60 2014-06-05T10:26:31  <skathpalia> Here is the updated screenshot for that http://picpaste.com/pics/Screenshot_from_2014-05-31_15_53_46-upJfypna.1401963916.png
  61 2014-06-05T10:27:25  <dimazest> looks nice
  62 2014-06-05T11:08:52  *** sl33k_ has quit IRC
  63 2014-06-05T11:31:40  *** sl33k_ has joined #moin-dev
  64 2014-06-05T11:34:08  *** skathpalia has quit IRC
  65 2014-06-05T11:51:51  *** sl33k_ has quit IRC
  66 2014-06-05T12:45:13  *** dave_largo has joined #moin-dev
  67 2014-06-05T12:53:36  *** Bernard1 has joined #moin-dev
  68 2014-06-05T12:59:15  <Bernard1> Hi. I would like to debug Moin2 in my IDE (WingIDE) to see what is happening. What is the easiest way to achieve that?
  69 2014-06-05T13:00:34  <Bernard1> alexander
  70 2014-06-05T13:00:41  <Bernard1> sorry
  71 2014-06-05T13:30:06  <Bernard1> I tried allready to execute Moin2 in my IDE to change make.py a bit. I made a direct call to commands.cmd_run() which execute a subprocess and runs fine. But the subprocess ofcourse I can not debug. The generated command by    command = '{0}moin moin {1}'.format(ACTIVATE, ' '.join(args)) is    '. ./activate; moin moin ' which execute well in Ubuntu. But execute this in Python IDE there is stucks for me.
  72 2014-06-05T13:32:38  *** RogerHaase has joined #moin-dev
  73 2014-06-05T13:51:50  <dimazest> Bernard1: maybe http://sksaurabhkathpalia.blogspot.in/2014/05/running-moin2-in-pycharm.html can help you
  74 2014-06-05T15:08:27  <Bernard1> dimazest: Thanks I come a bit closer. I understand Python should be executed from <venv> bin/python. That is Ok. And the path should point to <venv>/bin/moin . For me this path is not existing.
  75 2014-06-05T15:08:31  *** derdon has joined #moin-dev
  76 2014-06-05T15:15:53  <dimazest> you can try to start the ide from the terminal inside the venv
  77 2014-06-05T15:26:17  <Bernard1> dimazest: Looks much better now. Which module is the starting point?
  78 2014-06-05T15:28:09  <dimazest> depends...
  79 2014-06-05T15:28:16  <dimazest> https://bitbucket.org/thomaswaldmann/moin-2.0/src/tip/MoinMoin/apps/frontend/views.py?at=default could be a good start
  80 2014-06-05T15:33:29  <randomax> RogerHaase, I solved the error with the nameless items
  81 2014-06-05T15:33:39  <randomax> it now displays the item id
  82 2014-06-05T15:33:41  <randomax> http://picpaste.com/pics/search5-yTinacaH.1401982339.png
  83 2014-06-05T15:37:07  <RogerHaase> randomax: good that you solved it, rather unhelpful item ID.  is the "table table" and "table" == the contents of the ticket?
  84 2014-06-05T15:41:22  <RogerHaase> Bernard1:  in windows, the starting point is MoinMoin\Scripts\moin-script.py  Here is a pic of pycharm -- my repo root is \Bitbucket\m2-x7   http://picpaste.com/pycharmWindows-QjajKNwD.png
  85 2014-06-05T15:44:40  <randomax> RogerHaase, yep
  86 2014-06-05T15:46:57  <RogerHaase> randomax: OK, then for now that looks like the best you can do for a nameless item
  87 2014-06-05T15:53:31  <RogerHaase> ThomasWaldmann: given the problems with quicklinks, subscriptions, and search, is there a possibility of revisiting named vs. nameless tickets?
  88 2014-06-05T16:00:08  <Bernard1> RogerHaase: My os is Linux, but no proble I think. I see in the link ..\m2-x7-venv-python\Scripts\Moin-script.py is used. I do not have a Moin-script.py . I do have a moin-2.0-venv-python path, but no Scripts subfolder within.
  89 2014-06-05T16:01:51  <RogerHaase> Bernard1: then here is a ubuntu pic http://picpaste.com/pycharm-FO3bFv1p.png
  90 2014-06-05T16:24:35  <Bernard1> RogerHaase: closer. The path moin-2.0-venv-python/bin does exists, but no moin folder or file. Something else, weird to me. When I execute my IDE in venv I still can see all files outside the venv, so I wonder if this is Ok.
  91 2014-06-05T16:25:54  <dimazest> yes it is, venv basically sets environment variables
  92 2014-06-05T16:30:33  <RogerHaase> Bernard1: the working directory must be set to the repo root.  You do not have a /bin/moin file in your venv?
  93 2014-06-05T16:39:30  <ThomasWaldmann> randomax: RogerHaase: showing itemid is ok for this changeset
  94 2014-06-05T16:39:38  <ThomasWaldmann> (as search result title)
  95 2014-06-05T16:40:00  <ThomasWaldmann> but of course it would be more userfriendly to show short description (next changeset)
  96 2014-06-05T16:40:10  * ThomasWaldmann is in a hurry, gtg again....
  97 2014-06-05T16:42:38  <randomax> ThomasWaldmann, yeah the content extract is displayed along with all search results
  98 2014-06-05T16:45:10  <randomax> along with the metadata
  99 2014-06-05T17:23:51  *** greg_f has quit IRC
 100 2014-06-05T17:27:33  *** greg_f has joined #moin-dev
 101 2014-06-05T17:27:59  *** skathpalia has joined #moin-dev
 102 2014-06-05T17:28:05  *** greg_f has quit IRC
 103 2014-06-05T17:29:30  *** randomax has quit IRC
 104 2014-06-05T17:32:06  *** greg_f has joined #moin-dev
 105 2014-06-05T17:33:05  <skathpalia> ThomasWaldmann, I noticed one bug today that nameless items cannot be downloaded as the download filename is set to item_name
 106 2014-06-05T17:33:28  <skathpalia> I changed it and set the filename to be unicode(fqname)
 107 2014-06-05T17:33:51  <skathpalia> Here is the cr for this small change https://codereview.appspot.com/102210043
 108 2014-06-05T17:35:35  <Bernard1> RogerHaase: No I do not have a moin file in my bin. I have a lot of rst*.py files in my <venv>bin folder. And activate_this.py,  dumppdf.py, latin2ascii.py and pdf2txt.py
 109 2014-06-05T17:36:10  <Bernard1> dimazest: Thanks for acknowledge about venv settings.
 110 2014-06-05T17:37:52  *** greg_f has joined #moin-dev
 111 2014-06-05T18:20:27  *** skathpalia has quit IRC
 112 2014-06-05T18:29:29  <RogerHaase> Bernard1: those files are correct, but there should also be a moin file.  Can run the built-in server by doing ./m run ?
 113 2014-06-05T18:42:31  <Bernard1> RogerHaase: Thanks for all you support. Yes standalone it seems to work perfect.
 114 2014-06-05T18:47:55  <RogerHaase> Bernard1: hmm, on my ubuntu, there must be a bin/moin for ./m run to execute.  If I rename bin/moin, ./m run fails with moin: not found
 115 2014-06-05T18:49:16  <Bernard1> RogerHaase: I have also Ubuntu. Was is your full path?
 116 2014-06-05T18:52:21  <RogerHaase> /home/roger/Bitbucket/moin-2.0-venv-python/bin/moin
 117 2014-06-05T18:53:06  <RogerHaase> same as script in this screenshot  http://picpaste.com/pycharm-FO3bFv1p.png
 118 2014-06-05T18:59:40  <Bernard1> RogerHaase: I tried to find the file using my IDE. Now I used the shell and found a 'moin' file, so no 'moin.py' which I (and WindIDE, expected. So looks good. I executed this moin file in my IDE and could continue, I only got and error in moin-2.0/MoinMoin/config/default.py an error was raised  (line 120) : "No storage configuration specified ... " So we rally make progress.
 119 2014-06-05T19:03:51  <RogerHaase> Bernard1: virtualenv is not my favorite program and is hard to figure out sometimes.  In Windows, it creates a moin.exe that executes a moin-script.py.   Do you have the working directory set as your repo root?  -- it must not be the virtualenv.
 120 2014-06-05T19:06:55  <Bernard1> RogerHaase: I understand the need sometime for Venv, but it also not my favortite program. But we have to deal with it. What is the repo root? I have set my Python path to : /home/bernard/moin-2.0 (so no venv). Is this Ok?
 121 2014-06-05T19:09:01  <RogerHaase> the path is correct, in PyCharm, there is also a setting for the working directory
 122 2014-06-05T19:11:44  <RogerHaase> the error message indicates that wikiconfig.py in the repo root was not found
 123 2014-06-05T19:12:13  <Bernard1> RogerHaase: :):), Yes it works now.  In WindIDE it is named "Initial directory"found in the "debug/Execute" tab of the project properties.
 124 2014-06-05T19:12:41  <RogerHaase> hooray!
 125 2014-06-05T19:13:42  <Bernard1> Indeed!! Thanks a lot. How can we document this for future developers, so you and your college's do not have to spend so much time?
 126 2014-06-05T19:20:07  <RogerHaase> Bernard1: I created http://moinmo.in/MoinMoin2/IdeSetup linked from MoinMoin2 - questions.  Add your wingide info there, I will do the PyCharm part later
 127 2014-06-05T19:57:01  <Bernard1> RogerHaase: Very good idea. I have done so. Be happy to make my first, limited, contribution.
 128 2014-06-05T20:08:13  *** sl33k_ has joined #moin-dev
 129 2014-06-05T20:10:54  *** Bernard1 has quit IRC
 130 2014-06-05T21:00:13  <ThomasWaldmann> re
 131 2014-06-05T21:01:14  <RogerHaase> ThomasWaldmann: stylus vs. coding-std fix  https://codereview.appspot.com/103840043/
 132 2014-06-05T21:01:58  <RogerHaase> ThomasWaldmann: docbook audio and video  https://codereview.appspot.com/101960044/
 133 2014-06-05T21:08:27  *** dave_largo has quit IRC
 134 2014-06-05T21:33:45  <ThomasWaldmann> RogerHaase: done
 135 2014-06-05T22:25:01  *** RogerHaase has left #moin-dev
 136 2014-06-05T23:51:58  *** derdon has quit IRC
 137 

MoinMoin: MoinMoinChat/Logs/moin-dev/2014-06-05 (last edited 2014-06-05 01:16:22 by IrcLogImporter)