1 2015-06-09T00:17:14  *** yask has quit IRC
   2 2015-06-09T06:32:40  *** jek has quit IRC
   3 2015-06-09T06:33:06  *** vipul20 has quit IRC
   4 2015-06-09T07:25:03  *** jek has joined #moin-dev
   5 2015-06-09T07:58:28  *** vipul20 has joined #moin-dev
   6 2015-06-09T08:26:39  *** yask has joined #moin-dev
   7 2015-06-09T10:06:56  *** greg_f has joined #moin-dev
   8 2015-06-09T11:02:41  <yask> Should we have weekly meeting here like last year ? I learnt about it from here: https://moinmo.in/GoogleSoc2014 ThomasWaldmann  waldi
   9 2015-06-09T13:44:26  *** RogerHaase has joined #moin-dev
  10 2015-06-09T14:33:27  <vipul20> hi RogerHaase: I am working on file uploads in ticket create and update view. Since, nameless items do not have subitems support we cannot create an item out of the file uploaded as a subitem of ticket. Also, a ticket has initially only a name which is lost after it is created as it then have an itemid. skathpalia suggested me that I can add a new field in
  11 2015-06-09T14:33:27  <vipul20> the metadata to store files as array of strings.
  12 2015-06-09T14:34:07  <vipul20> RogerHaase:  should I look for a different way ? I need your suggestion
  13 2015-06-09T14:40:50  <RogerHaase> vipul20: as I am opposed to nameless items, my answer may be wrong. If you can find the code that removes ticket names on first modify, delete it so tickets always have name; add a TODO to make all things work with nameless items, and continue on
  14 2015-06-09T14:44:22  *** daixtr has joined #moin-dev
  15 2015-06-09T15:46:23  *** aviraldg has joined #moin-dev
  16 2015-06-09T18:40:49  *** greg_f has quit IRC
  17 2015-06-09T19:51:43  *** aviraldg has quit IRC
  18 2015-06-09T20:37:43  *** ponyofdeath has joined #moin-dev
  19 2015-06-09T20:38:31  <ponyofdeath> hi, trying to re-create the moin index and am getting a lot of exceptions like this. https://bpaste.net/show/e83cf71a9966 any ideas?
  20 2015-06-09T20:52:48  <ThomasWaldmann> ponyofdeath: is that current moin/2.0 code?
  21 2015-06-09T21:09:12  <RogerHaase> ponyofdeath: ThomasWaldmann: that is same traceback as #516. ./m quickinstall should get the new EmeraldTree; but I think it will not because the version number needs to be bumped
  22 2015-06-09T21:41:44  *** RogerHaase has left #moin-dev
  23 2015-06-09T22:05:48  <ponyofdeath> ThomasWaldmann: yup, latest as of hour ago
  24 2015-06-09T22:06:17  <ThomasWaldmann> see what roger said. did you use a fresh virtualenv or an older one?
  25 2015-06-09T22:07:20  <ponyofdeath> fresh it was failing
  26 2015-06-09T22:07:28  <ponyofdeath> so i removed virt env then re bootstrapped
  27 2015-06-09T22:08:23  <ThomasWaldmann> and it still fails?
  28 2015-06-09T22:09:55  <ThomasWaldmann> https://bitbucket.org/thomaswaldmann/emeraldtree/commits/97dc359ea3e2d490b77f95ec4993808ae6ed596f
  29 2015-06-09T22:10:09  <ThomasWaldmann> can you check whether that change is in the emeraldtree code you use?
  30 2015-06-09T22:13:17  <ThomasWaldmann> ponyofdeath: ^
  31 2015-06-09T22:13:26  <ponyofdeath> ThomasWaldmann: checking
  32 2015-06-09T22:14:24  <ponyofdeath> ThomasWaldmann: i have a util/tree.py
  33 2015-06-09T22:14:31  <ponyofdeath> not emeraldtreee/tree.py
  34 2015-06-09T22:14:51  <ponyofdeath> i this in teh virtual env
  35 2015-06-09T22:15:19  <ThomasWaldmann> pip freeze|grep emerald
  36 2015-06-09T22:15:22  <ponyofdeath> ahh ok it is
  37 2015-06-09T22:15:44  <ponyofdeath> np old one is there
  38 2015-06-09T22:16:12  <ponyofdeath> https://bpaste.net/show/7f84b8e2b1ff
  39 2015-06-09T22:16:33  <ponyofdeath> emeraldtree==0.10.0
  40 2015-06-09T22:17:00  <ThomasWaldmann> huh?
  41 2015-06-09T22:17:55  <ponyofdeath> i have the old version
  42 2015-06-09T22:18:10  <ponyofdeath> even tho i did a new virt envrionment today
  43 2015-06-09T22:18:18  <ThomasWaldmann> 0.10.0 sounds new, but maybe it is not tip version?
  44 2015-06-09T22:19:35  <ponyofdeath> is there i can update only that to the tip using pip? haha sounds funny
  45 2015-06-09T22:22:37  <ThomasWaldmann> maybe try killing the venv (and also ~/.pip/pip-download-cache)
  46 2015-06-09T22:22:56  <ThomasWaldmann> then rebuild and if it still does not work, i need the pip log
  47 2015-06-09T22:29:48  <ponyofdeath> ThomasWaldmann: same result
  48 2015-06-09T22:30:54  <ThomasWaldmann> ok, please put pip log into a pastebin so i can see what's going wrong
  49 2015-06-09T22:32:39  <ponyofdeath> damn too big
  50 2015-06-09T22:32:41  <ponyofdeath> sec
  51 2015-06-09T22:34:23  <ponyofdeath> https://bpaste.net/show/ac557e6b631c
  52 2015-06-09T22:40:43  <ponyofdeath> ThomasWaldmann: ^^
  53 2015-06-09T22:41:57  <ponyofdeath> wait i need to paste the m-quickinstall.txt
  54 2015-06-09T22:42:00  <ponyofdeath> thats where the logs are
  55 2015-06-09T22:42:25  <ponyofdeath> https://bpaste.net/show/244b5339a98f
  56 2015-06-09T22:45:29  <ThomasWaldmann> Installed version (0.10.0) is most up-to-date (past versions: 0.9.3dev)
  57 2015-06-09T22:45:30  <ThomasWaldmann> Requirement already up-to-date: emeraldtree>=0.9.3dev in /var/www/moinmoin-venv-python/lib/python2.7/site-packages (from moin==2.0.0a0)
  58 2015-06-09T22:45:41  <ThomasWaldmann> that looks like you didn't start from scratch?
  59 2015-06-09T22:46:56  <ponyofdeath> Downloading/unpacking emeraldtree>=0.9.3dev (from moin==2.0.0a0)\
  60 2015-06-09T22:47:12  <ponyofdeath> look at the last bpaste
  61 2015-06-09T22:47:19  <ponyofdeath> thats the proper one
  62 2015-06-09T22:47:30  <ponyofdeath> from m-quickinstall.txt
  63 2015-06-09T22:48:09  <ThomasWaldmann>   Using download cache from /var/www/.pip/pip-download-cache/https%3A%2F%2Fbitbucket.org%2Fthomaswaldmann%2Femeraldtree%2Fget%2Ftip.tar.gz
  64 2015-06-09T22:48:17  <ThomasWaldmann> so you didn't delete the cache?
  65 2015-06-09T22:48:47  <ponyofdeath> yeah sorry i deleted the one in .pip-download-cache
  66 2015-06-09T22:51:03  <ponyofdeath> ok that fixed it
  67 2015-06-09T22:51:17  <ThomasWaldmann> \o/
  68 2015-06-09T22:51:18  <ponyofdeath> thanks, i will try rebuild index now
  69 2015-06-09T22:52:09  * ThomasWaldmann needs to make a new ET release, the cache handling is obviously incapable of correctly processing repo checkouts
  70 2015-06-09T22:52:40  <ponyofdeath> trying to modify a wiki page and the changes are not showing up
  71 2015-06-09T22:52:45  <ponyofdeath> is why i started on this path :)
  72 2015-06-09T22:53:13  <ponyofdeath> the page was an import from twiki
  73 2015-06-09T22:54:25  <ponyofdeath> https://bpaste.net/show/01f72a405665
  74 2015-06-09T22:54:34  <ponyofdeath> some more index build exceptions
  75 2015-06-09T22:54:41  <ponyofdeath> some are because they are pdf / images
  76 2015-06-09T22:54:44  <ponyofdeath> right
  77 2015-06-09T22:55:57  <ThomasWaldmann> you have non-utf-8 contents in there. that didn't work with moin 1.9 either, right?
  78 2015-06-09T22:56:17  <ponyofdeath> ThomasWaldmann: started with 2.0 baby lol
  79 2015-06-09T22:56:44  <ponyofdeath> should i do a mass conversion to utf in my data folder
  80 2015-06-09T22:57:14  <ponyofdeath> find . -name "*.srt" -exec iconv -f CP1256 -t UTF-8 {} -o path-to-target-directory/{} \;
  81 2015-06-09T22:57:17  <ponyofdeath> something like this
  82 2015-06-09T22:57:42  <ThomasWaldmann> i guess the current code just expects utf-8 for text stuff
  83 2015-06-09T22:58:20  <ThomasWaldmann> it could be made more flexible by really using charset everywhere and decoding/encoding using that, but that's still TODO
  84 2015-06-09T22:58:33  <ThomasWaldmann> (i mean charset from content-type)
  85 2015-06-09T22:59:04  <ponyofdeath> so maby the page i am unable to modify has that issue
  86 2015-06-09T22:59:10  <ponyofdeath> it has non utf8 chars
  87 2015-06-09T23:01:00  <ThomasWaldmann> yup, may be
  88 2015-06-09T23:01:00  <ponyofdeath> also another question is there a easy way I can redirect to the login page if user is not logged in
  89 2015-06-09T23:01:01  <ponyofdeath> instead of error page
  90 2015-06-09T23:01:01  * ThomasWaldmann should write a policy about false promises :D
  91 2015-06-09T23:01:06  <ThomasWaldmann> like "log in so you can read that". oh, too bad, you still don't have the rights.
  92 2015-06-09T23:01:29  <ponyofdeath> haha just if not logged in to log in
  93 2015-06-09T23:01:47  <ThomasWaldmann> yeah, that's exactly that case
  94 2015-06-09T23:02:32  <ponyofdeath> so is that the reason its not set up that way
  95 2015-06-09T23:02:49  <ThomasWaldmann> yes
  96 2015-06-09T23:02:51  <ThomasWaldmann>   File "/var/www/moinmoin-venv-python/local/lib/python2.7/site-packages/emeraldtree/tree.py", line 924, in _flush
  97 2015-06-09T23:02:54  <ThomasWaldmann>     assert not text, 'Parsing error: cannot append orphan string to prior node.'
  98 2015-06-09T23:03:06  <ThomasWaldmann> that looks like an issue related to #516
  99 2015-06-09T23:03:39  <ThomasWaldmann> elect-encrypt page in your log. maybe check if that is valid or a bug.
 100 2015-06-09T23:04:21  <ThomasWaldmann> also you could file that pdfminer issue
 101 2015-06-09T23:05:07  <ponyofdeath> got tons of exceptions now that one is long gone :)
 102 2015-06-09T23:05:13  <ponyofdeath> gonna have to do another index rebuild
 103 2015-06-09T23:11:33  *** wnq has joined #moin-dev
 104 2015-06-09T23:21:39  <ThomasWaldmann> https://pypi.python.org/pypi/emeraldtree/0.10.0
 105 2015-06-09T23:21:43  <ThomasWaldmann> ponyofdeath: ^
 106 2015-06-09T23:24:18  * ThomasWaldmann also fixed setup.py of moin/2.0
 107 2015-06-09T23:26:52  <ponyofdeath> ohh nice so i hg pull -u and then re run quickinstall
 108 2015-06-09T23:28:21  <ponyofdeath> npe looks like i need to remove cache and virt environment
 109 2015-06-09T23:28:47  <ThomasWaldmann> at least the upgrade issues should be fixed now. but you have the latest code already, so upgrading to release is optional.
 110 2015-06-09T23:29:06  <ponyofdeath> cool ty
 111 2015-06-09T23:33:12  *** vipul20 has quit IRC
 112 2015-06-09T23:41:40  *** yask has quit IRC
 113 

MoinMoin: MoinMoinChat/Logs/moin-dev/2015-06-09 (last edited 2015-06-09 00:30:02 by IrcLogImporter)