1 2011-01-23T00:40:22  *** grzywacz has quit IRC
   2 2011-01-23T01:04:41  *** Trip__ has joined #moin-dev
   3 2011-01-23T01:04:41  *** Trip_ has quit IRC
   4 2011-01-23T01:05:39  *** izibi_ has joined #moin-dev
   5 2011-01-23T01:08:06  *** izibi has quit IRC
   6 2011-01-23T02:23:37  *** Trip_ has joined #moin-dev
   7 2011-01-23T02:23:39  *** Trip__ has quit IRC
   8 2011-01-23T02:40:42  *** Trip__ has joined #moin-dev
   9 2011-01-23T02:40:43  *** Trip_ has quit IRC
  10 2011-01-23T04:20:34  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10290:6fbbd41feac6 2.0-dev/ (MANIFEST.in setup.cfg setup.py): (log message trimmed)
  11 2011-01-23T04:20:34  <CIA-56> rewrite setup stuff using setuptools (including dependencies)
  12 2011-01-23T04:20:34  <CIA-56> expect some brokenness / incompleteness for now.
  13 2011-01-23T04:20:34  <CIA-56> I got a dev setup working by:
  14 2011-01-23T04:20:34  <CIA-56> # create and activate a moin environment
  15 2011-01-23T04:20:35  <CIA-56> virtualenv moinenv
  16 2011-01-23T04:20:36  <CIA-56> cd moinenv
  17 2011-01-23T04:21:14  <ThomasWaldmann> ...
  18 2011-01-23T04:21:19  <ThomasWaldmann> \o/
  19 2011-01-23T04:32:35  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10291:9e0eeb9d2109 2.0-dev/MoinMoin/support/ (1381 files in 71 dirs): remove most stuff from MoinMoin.support
  20 2011-01-23T04:33:55  *** izibi_ has quit IRC
  21 2011-01-23T04:43:37  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10292:d1d43737a530 2.0-dev/ (3 files in 3 dirs): move preloaded_items.xml to contrib
  22 2011-01-23T07:20:38  *** Trip_ has joined #moin-dev
  23 2011-01-23T07:20:38  *** Trip__ has quit IRC
  24 2011-01-23T07:34:38  *** Trip__ has joined #moin-dev
  25 2011-01-23T07:34:43  *** Trip_ has quit IRC
  26 2011-01-23T08:50:57  *** NikitaUtiu has joined #moin-dev
  27 2011-01-23T08:56:40  <NikitaUtiu> moin
  28 2011-01-23T08:56:44  <dreimark_> moin
  29 2011-01-23T08:57:34  <NikitaUtiu> modified user settings for openid and it now double checks email, username and openid for dupes
  30 2011-01-23T08:57:45  <NikitaUtiu> pushed to bb
  31 2011-01-23T08:57:55  *** dreimark_ is now known as dreimark
  32 2011-01-23T08:59:12  <dreimark> NikitaUtiu: have you merged thomas latest changes
  33 2011-01-23T08:59:18  <NikitaUtiu> yes
  34 2011-01-23T09:00:29  *** dreimark has quit IRC
  35 2011-01-23T09:00:29  *** dreimark has joined #moin-dev
  36 2011-01-23T09:01:18  *** xjjk has quit IRC
  37 2011-01-23T09:03:48  <NikitaUtiu> https://bitbucket.org/NikitaUtiu/moin-2.0-dev this is mine
  38 2011-01-23T09:11:32  * dreimark pulls
  39 2011-01-23T09:15:23  <dreimark> NikitaUtiu: http://paste.pocoo.org/show/325253/ for http://localhost:8080/Home
  40 2011-01-23T09:16:45  <dreimark> it is not your fault
  41 2011-01-23T09:16:57  <NikitaUtiu> and what is it ?
  42 2011-01-23T09:17:16  <dreimark> thomas has cleaned up for pip
  43 2011-01-23T09:19:13  <dreimark> don't you get this traceback?
  44 2011-01-23T09:19:49  <NikitaUtiu> wait a sec, it tells me i don't have werkzeug
  45 2011-01-23T09:21:20  <NikitaUtiu> dreimark: are we going for external dependencies ?
  46 2011-01-23T09:21:51  <dreimark> I read the changelog currently
  47 2011-01-23T09:23:46  <dreimark> looks like, pip should fetch it
  48 2011-01-23T09:29:13  <dreimark> ThomasWaldmann: http://paste.pocoo.org/show/325254/
  49 2011-01-23T09:37:32  <dreimark> dependencies seems not to be resolved yet
  50 2011-01-23T09:45:35  <NikitaUtiu> dreimark: it works for me, i just installed all dependencies with pip
  51 2011-01-23T09:58:50  * dreimark too
  52 2011-01-23T09:59:16  <dreimark> http://hg.moinmo.in/moin/2.0-dev/diff/6fbbd41feac6/setup.py#l1.367
  53 2011-01-23T09:59:24  <dreimark> try to understand why it is ignored
  54 2011-01-23T10:00:27  *** m4k3r has joined #moin-dev
  55 2011-01-23T10:06:30  *** xjjk has joined #moin-dev
  56 2011-01-23T10:26:34  <dreimark> we should start with virtualenv --no-site-packages and look what else is missing
  57 2011-01-23T10:27:17  <NikitaUtiu> dreimark: like what packages are missing ?
  58 2011-01-23T10:27:22  <dreimark> mercurial,
  59 2011-01-23T10:27:29  <dreimark> if hg backend is used
  60 2011-01-23T10:27:45  <dreimark> and for your repo i get ImportError: No module named _markupsafe
  61 2011-01-23T10:28:11  <NikitaUtiu> strange
  62 2011-01-23T10:29:08  <dreimark> stale pyc files for me?
  63 2011-01-23T10:29:43  <dreimark> ImportError: No module named openid.store.memstore
  64 2011-01-23T10:30:12  <NikitaUtiu> do you have python-openid ?
  65 2011-01-23T10:30:43  *** Trip_ has joined #moin-dev
  66 2011-01-23T10:30:43  *** Trip__ has quit IRC
  67 2011-01-23T10:32:22  <dreimark> NikitaUtiu: was missing, what i have in my env is currently http://paste.pocoo.org/show/325261/
  68 2011-01-23T10:33:54  <NikitaUtiu> and we will have these packages as dependencies later on ?
  69 2011-01-23T10:37:30  <dreimark> we just don't have them in our support dir. the dependency is the same as before
  70 2011-01-23T10:37:30  <NikitaUtiu> htg
  71 2011-01-23T10:37:32  <NikitaUtiu> bye
  72 2011-01-23T10:37:35  <dreimark> wait
  73 2011-01-23T10:37:38  <dreimark> http://paste.pocoo.org/show/325263/
  74 2011-01-23T10:37:47  <dreimark> if i create a new user
  75 2011-01-23T10:37:58  <dreimark> i have first to setup user email ...
  76 2011-01-23T10:38:08  <dreimark> but can't give the openid
  77 2011-01-23T10:38:18  <dreimark> this is two steps
  78 2011-01-23T10:38:32  <dreimark> and even more clicks to do
  79 2011-01-23T10:41:38  *** NikitaUtiu has quit IRC
  80 2011-01-23T10:43:47  *** Trip__ has joined #moin-dev
  81 2011-01-23T10:43:47  *** Trip_ has quit IRC
  82 2011-01-23T11:09:38  *** Trip_ has joined #moin-dev
  83 2011-01-23T11:09:38  *** Trip__ has quit IRC
  84 2011-01-23T11:15:20  *** izibi has joined #moin-dev
  85 2011-01-23T11:33:56  *** m4k3r has quit IRC
  86 2011-01-23T11:36:37  *** m4k3r has joined #moin-dev
  87 2011-01-23T12:01:47  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10293:fadaef023ad7 2.0-dev/MoinMoin/converter/ (moinwiki_out.py rst_out.py): fixed import for werkzeug utils
  88 2011-01-23T12:04:37  <dreimark> pip freeze http://paste.pocoo.org/show/325303/
  89 2011-01-23T12:10:19  <ThomasWaldmann>  moin
  90 2011-01-23T12:11:53  <dreimark> hi ThomasWaldmann
  91 2011-01-23T12:12:44  <dreimark> this install_requires seems not to be taken automaticly
  92 2011-01-23T12:15:09  <ThomasWaldmann> works for me
  93 2011-01-23T12:15:33  <dreimark> have you tried with virtualenv --no-site-packages env_dev
  94 2011-01-23T12:16:11  <dreimark> http://playnice.ly/blog/2010/05/12/pip-virtualenv-python-library-package-management/
  95 2011-01-23T12:16:47  * dreimark pip freeze http://paste.pocoo.org/show/325303/
  96 2011-01-23T12:17:07  <dreimark> found some more to add
  97 2011-01-23T12:18:20  <dreimark> i am not sure about the >= syntax I have only seen == before
  98 2011-01-23T12:24:39  <ThomasWaldmann> hmm, seems it needs werkzeug due to import order before it can import version
  99 2011-01-23T12:43:44  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10294:3667b60bb5a9 2.0-dev/setup.py: temp. fix for import trouble in setup.py
 100 2011-01-23T12:43:45  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10295:c86df9409dfb 2.0-dev/MoinMoin/converter/ (moinwiki_out.py rst_out.py): merged main
 101 2011-01-23T12:46:10  <ThomasWaldmann> dreimark: did you look at how we could get rid of the 3rd party drawing stuff in the repo?
 102 2011-01-23T12:50:15  <dreimark> working on that
 103 2011-01-23T12:51:35  * ThomasWaldmann looks at how debian did it for 1.9
 104 2011-01-23T12:52:30  *** greg_f has joined #moin-dev
 105 2011-01-23T12:53:48  <dreimark> i can already access it in a draft at http://localhost:8080/_contribs/anywikidraw/AnyWikiDrawForMoinMoin.jar
 106 2011-01-23T12:54:19  <ThomasWaldmann> AliasMatch "^/moin_static[0-9]*/applets/FCKeditor/(.*)" "/usr/share/fckeditor/$1"
 107 2011-01-23T12:55:07  <ThomasWaldmann> i want to remove it from repo, not move it to contrib
 108 2011-01-23T12:55:40  <dreimark> understand this meanwhile too. i like to have not to use a http alias
 109 2011-01-23T12:56:01  <dreimark> because then we can not use it with builtin server
 110 2011-01-23T12:56:30  <ThomasWaldmann> maybe just add some rules for the internal server?
 111 2011-01-23T12:57:09  <dreimark> I am looking at the flaskext themes extension
 112 2011-01-23T12:57:41  <ThomasWaldmann> what should that help?
 113 2011-01-23T12:58:02  <dreimark> well it manages plugins
 114 2011-01-23T12:58:26  <dreimark> if you see modernized as a theme plugin
 115 2011-01-23T12:59:12  <ThomasWaldmann> but twikidraw/ckeditor is not theme-dependant stuff, but rather general
 116 2011-01-23T13:00:20  <dreimark> the theme code generates a _themes url and has knowledge what a valid theme plugin is
 117 2011-01-23T13:00:30  <ThomasWaldmann> vpv: do you have an idea, from a packager pov?
 118 2011-01-23T13:00:46  <dreimark> and it needs only this url
 119 2011-01-23T13:01:09  <dreimark> we should avoid to have for every of this contribution a completly different url
 120 2011-01-23T13:01:59  <dreimark> also i got interested because of that it is already pluggable
 121 2011-01-23T13:03:45  <ThomasWaldmann> the _theme url points to the theme static dir. if you don't want to require creating symlinks below that dir (which doesn't work on windows) or copying stuff into that dir, that won't work
 122 2011-01-23T13:04:14  *** grzywacz has joined #moin-dev
 123 2011-01-23T13:04:22  <dreimark> I think we can introduce a _contribs url
 124 2011-01-23T13:04:53  <ThomasWaldmann> how is that helpful?
 125 2011-01-23T13:06:13  <dreimark> one can setup the dir of the applet plugins
 126 2011-01-23T13:06:29  <dreimark> and also one can overwrite a different url
 127 2011-01-23T13:06:37  <ThomasWaldmann> the applets should not be require to live below a common directory
 128 2011-01-23T13:07:07  <ThomasWaldmann> if you install some packages in a linux dist, those files will end up at some rather arbitrary place in the filesystem
 129 2011-01-23T13:07:34  <dreimark> this will end up in access problems
 130 2011-01-23T13:08:37  <ThomasWaldmann> ?
 131 2011-01-23T13:09:04  <dreimark> some of them will live in directories you don't have an access directive from your server
 132 2011-01-23T13:09:28  <dreimark> so we need to explain that to common users on moin again and again
 133 2011-01-23T13:10:35  <dreimark> but i agree this is not our problem now
 134 2011-01-23T13:11:06  <dreimark> i have now a better understanding of this extension, it was worth to look at it
 135 2011-01-23T13:13:10  <ThomasWaldmann> if we add it to moin static server, it'll work easier and more general
 136 2011-01-23T13:21:03  <ThomasWaldmann> dreimark: it could maybe get implemented similar to the themes extension
 137 2011-01-23T13:21:28  <dreimark> that's what i m thinking too
 138 2011-01-23T13:23:02  <ThomasWaldmann> or just as some Modules
 139 2011-01-23T13:24:07  <dreimark> some problem can be that those extensions can be invoked without moin e.g. if you can access over moins url the ckeditor html file
 140 2011-01-23T13:30:54  <ThomasWaldmann> so?
 141 2011-01-23T13:32:18  <dreimark> not sure what impact that has and if we like bots doing it
 142 2011-01-23T13:32:53  <dreimark> or look at svg-edit. this can run without moin too
 143 2011-01-23T13:33:12  <dreimark> because it does not need a server
 144 2011-01-23T13:41:45  <ThomasWaldmann> i guess i know now how we could do it
 145 2011-01-23T13:42:47  <ThomasWaldmann> just add_url_rule for some specific url (like /_applets/...)
 146 2011-01-23T13:43:13  <ThomasWaldmann> define some endpoint name and view function for it
 147 2011-01-23T13:43:46  <ThomasWaldmann> lookup applet files path from config
 148 2011-01-23T13:43:53  <ThomasWaldmann> serve files from there
 149 2011-01-23T13:44:40  <ThomasWaldmann>  /_applets/<appletname>/<relativepath>
 150 2011-01-23T13:45:58  <ThomasWaldmann> so it'll work mostly the same as now, except that the base directory for each applet is configurable
 151 2011-01-23T13:47:06  <dreimark> i guess we need to add some info how to find the stuff after it is installed
 152 2011-01-23T13:47:35  * dreimark gets a shower
 153 2011-01-23T13:47:58  <ThomasWaldmann> we'll provide some info for a standalone/developer setup, for linux dists, the packager has to provide correct pathes
 154 2011-01-23T14:10:48  *** NikitaUtiu has joined #moin-dev
 155 2011-01-23T14:55:57  *** NikitaUtiu has quit IRC
 156 2011-01-23T15:06:00  <dreimark> may be we should name it plugins just not applets
 157 2011-01-23T15:06:19  <dreimark> because that always sonunds java like
 158 2011-01-23T15:09:57  <ThomasWaldmann> yay, works :=)
 159 2011-01-23T15:10:20  <ThomasWaldmann> it is /+serve/name/relpath now
 160 2011-01-23T15:10:33  <ThomasWaldmann> name = ckeditor, twikidraw, ...
 161 2011-01-23T15:10:48  <ThomasWaldmann> relpath the relative path inside that stuff
 162 2011-01-23T15:18:07  <dreimark> lol from __future__ import braces
 163 2011-01-23T15:19:04  <dreimark> hmm, + was before always only for a view or was it already used differently?
 164 2011-01-23T15:19:50  <dreimark> i mean i prefer a _ if that is possible
 165 2011-01-23T15:20:55  <ThomasWaldmann> we also have + for atom feed
 166 2011-01-23T15:21:26  <ThomasWaldmann> ok, ckeditor works
 167 2011-01-23T15:23:23  <dreimark> hmm, i think it is better to refactor it too. if we can see from the prefix which type it is easier to search look for
 168 2011-01-23T15:24:32  * dreimark added a note to svg-edit on some of the patches i did which are still not in their repo
 169 2011-01-23T15:25:10  <dreimark> unless they don't have a get data and post data url it is difficult to use
 170 2011-01-23T15:30:27  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10296:67fa0502f7ed 2.0-dev/ (6 files in 5 dirs):
 171 2011-01-23T15:30:27  <CIA-56> create a new flask Module to serve static_files from configured fs locations
 172 2011-01-23T15:30:27  <CIA-56> Example for serving /opt/ckeditor/ckeditor.js:
 173 2011-01-23T15:30:27  <CIA-56> Template: url_for('serve.files', name='ckeditor', filename='ckeditor.js')
 174 2011-01-23T15:30:27  <CIA-56> generates URL: /+serve/ckeditor/ckeditor.js
 175 2011-01-23T15:30:27  <CIA-56> needs wikiconfig mapping from name to base directory:
 176 2011-01-23T15:30:28  <CIA-56> serve_files = dict(ckeditor='/opt/ckeditor', )
 177 2011-01-23T15:31:20  <ThomasWaldmann> dreimark: can you refactor drawing stuff in the same way as ckeditor (see changeset)?
 178 2011-01-23T15:33:52  <dreimark> yes
 179 2011-01-23T15:36:02  <dreimark> after i had a coffee break
 180 2011-01-23T15:36:21  <dreimark> bbl
 181 2011-01-23T15:48:57  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10297:d7950ac5979a 2.0-dev/MoinMoin/static/applets/ckeditor/ (198 files in 48 dirs): remove ckeditor from MoinMoin/static/applets
 182 2011-01-23T15:49:01  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10298:ae66315e56be 2.0-dev/wikiconfig.py: ckeditor: serve it from debian/ubuntu system location (configurable, modify as needed)
 183 2011-01-23T16:41:48  *** NikitaUtiu has joined #moin-dev
 184 2011-01-23T16:58:48  * ThomasWaldmann moves some stuff around
 185 2011-01-23T16:59:30  <ThomasWaldmann> (so that in MoinMoin/__init__.py is only the rather trivial stuff with no external dependencies)
 186 2011-01-23T17:30:12  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10299:fadfbcf8f7c7 2.0-dev/MoinMoin/ (util/python_compatibility.py support/python_compatibility.py): move currently unused python_compatibility module to MoinMoin.util
 187 2011-01-23T17:30:15  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10300:0243222978d9 2.0-dev/MoinMoin/support/__init__.py: fix MoinMoin.support docstring
 188 2011-01-23T17:30:17  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10301:230b826247d2 2.0-dev/ (11 files in 7 dirs):
 189 2011-01-23T17:30:17  <CIA-56> make MoinMoin/__init__.py not depend on external stuff, fixes setup.py version import
 190 2011-01-23T17:30:17  <CIA-56> wsgi app related stuff is now in MoinMoin.app
 191 2011-01-23T17:30:17  <CIA-56> moved MoinMoin.version code to MoinMoin.util.version
 192 2011-01-23T17:30:17  <CIA-56> project and version is now available as MoinMoin.project and MoinMoin.version
 193 2011-01-23T17:40:23  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10302:373fbffeb3b8 2.0-dev/setup.py: setup.py: move docutils to requirements, add some versions and comments
 194 2011-01-23T17:43:06  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10303:48986c50d91b 2.0-dev/.hgignore: hgignore moin.egg-info
 195 2011-01-23T17:44:44  <vpv> ThomasWaldmann: it wasn't quite clear to me what your question was, but reading the commit logs, maybe you already solved it
 196 2011-01-23T17:48:08  <dreimark> re
 197 2011-01-23T17:48:42  <dreimark> vpv: the question was if that is the best solution
 198 2011-01-23T17:50:54  *** m4k3r has quit IRC
 199 2011-01-23T17:50:55  <ThomasWaldmann> vpv: yes, one can configure the path for that stuff now in the config, so the packager can adapt it
 200 2011-01-23T17:51:35  <vpv> ThomasWaldmann: alright, sounds good.
 201 2011-01-23T17:52:14  <dreimark> vpv: do you know if there is a package for twikidraw and svg-edit ?
 202 2011-01-23T17:52:27  * ThomasWaldmann killed most 3rd party libs from MoinMoin.support and also ckeditor js stuff
 203 2011-01-23T17:52:49  <ThomasWaldmann> dreimark: google? :)
 204 2011-01-23T17:53:53  <ThomasWaldmann> Firefox can't establish a connection to the server at pypi.python.org.
 205 2011-01-23T17:56:50  <dreimark> ThomasWaldmann: if i remove svg-edit it won't work with the code from google
 206 2011-01-23T17:58:50  <vpv> dreimark: there doesn't seem to be packages for fedora, but of course, in the long run, anything which is somewhat sensible open source code without patent restrictions can be packaged.
 207 2011-01-23T17:59:00  <ThomasWaldmann> well, then a solution has to be found that doesn't include their full src in our repo
 208 2011-01-23T17:59:34  *** greg_f has quit IRC
 209 2011-01-23T18:02:04  <dreimark> fckeditor wants to install apache if i try the deb package
 210 2011-01-23T18:02:40  <dreimark> this is annoying
 211 2011-01-23T18:02:47  <ThomasWaldmann> but not our problem
 212 2011-01-23T18:03:16  <dreimark> it depends how important that feature is
 213 2011-01-23T18:03:57  <ThomasWaldmann> no, that's debian's problem, no matter what :)
 214 2011-01-23T18:05:09  <dreimark> you tried your changes with the debian package?
 215 2011-01-23T18:05:44  <ThomasWaldmann> ubuntu
 216 2011-01-23T18:05:54  <ThomasWaldmann> but debian has same pathes
 217 2011-01-23T18:18:29  <dreimark> if i change archive="{{ url_for('serve.files', name='anywikidraw/lib/AnyWikiDrawForMoinMoin.jar') }}" just for now
 218 2011-01-23T18:19:10  <dreimark> I get an error on loading because of signer mismatch
 219 2011-01-23T18:19:39  <dreimark> hmm, i look at java cache
 220 2011-01-23T18:36:06  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10304:654af02ae5d9 2.0-dev/ (README REQUIREMENTS setup.py): move requirements infos from REQUIREMENTS to setup.py, update README
 221 2011-01-23T18:36:36  <ThomasWaldmann> dreimark: you need to use name= for the tool's name and filename= for the relative path inside the tool's base dir
 222 2011-01-23T18:39:27  <dreimark> ah, that may also explaint the /
 223 2011-01-23T18:43:26  <ThomasWaldmann> vpv: do you know how fedora deals with jquery packaging?
 224 2011-01-23T18:56:40  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10305:90fed81d4b96 2.0-dev/MoinMoin/static/common/js/jquery.js: remove bundled jquery from MoinMoin/static/...
 225 2011-01-23T18:56:42  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10306:2b9ec095d3a7 2.0-dev/ (MoinMoin/templates/base.html wikiconfig.py): use external jquery
 226 2011-01-23T19:00:09  *** m4k3r has joined #moin-dev
 227 2011-01-23T19:03:25  <vpv> ThomasWaldmann: unfortunately no. I cant google right now either, Im in the subway ;)
 228 2011-01-23T19:10:48  <ThomasWaldmann> ah. ok, did it just the same way as ckeditor.
 229 2011-01-23T19:11:40  <dreimark> ThomasWaldmann: should i first fix the wikiconfig for the current drawings?
 230 2011-01-23T19:12:01  <dreimark> i got twd and svge working
 231 2011-01-23T19:12:11  <dreimark> but awd tells http://paste.pocoo.org/show/325504/
 232 2011-01-23T19:12:40  <ThomasWaldmann> i usually did a separate changeset for just deleting the bundled stuff and then another one that fixes it
 233 2011-01-23T19:13:14  <dreimark> seen i mean more make it work again before i delete it
 234 2011-01-23T19:13:20  <dreimark> makes sense or?
 235 2011-01-23T19:13:42  *** ronny has quit IRC
 236 2011-01-23T19:14:14  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10307:7e271c859090 2.0-dev/MoinMoin/items/__init__.py: add Markup() arround render_template in do_modify for svg-edit, twikidraw and anywikidraw, so it doesn't get autoescaped by jinja2
 237 2011-01-23T19:14:20  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10308:8341cc088185 2.0-dev/ (3 files in 3 dirs): merged main
 238 2011-01-23T19:14:26  <dreimark> Markup fix must be done anyway
 239 2011-01-23T19:19:51  <ThomasWaldmann> why is that Markup() needed?
 240 2011-01-23T19:24:56  <dreimark> me or my browser is broken, before that changeset i was not able to load any of the drawings
 241 2011-01-23T19:25:45  <ThomasWaldmann> well, I don't see the sense of that
 242 2011-01-23T19:27:42  <ThomasWaldmann> twd works for me (without your recent changes)
 243 2011-01-23T19:28:06  <dreimark> for me now too, and i always cleared the cache
 244 2011-01-23T19:28:37  <dreimark> sorry i remove it, hopefully it did not become a nightmare
 245 2011-01-23T19:28:44  <ThomasWaldmann> awd also
 246 2011-01-23T19:28:55  <dreimark> awd did not for me
 247 2011-01-23T19:29:05  <dreimark> do you changed the wikiconfig for twd?
 248 2011-01-23T19:29:27  <dreimark> twikidraw = os.path.join(wikiconfig_dir, 'MoinMoin', 'static', 'applets', 'TWikiDrawPlugin')
 249 2011-01-23T19:29:31  <dreimark> ?
 250 2011-01-23T19:29:54  <dreimark> the template needs also a change
 251 2011-01-23T19:30:40  <ThomasWaldmann> svgedit has still no "save"?
 252 2011-01-23T19:31:24  <dreimark> http://paste.pocoo.org/show/325527/
 253 2011-01-23T19:31:53  <dreimark> the svgedit save depends on the lang used
 254 2011-01-23T19:32:32  <dreimark> ThomasWaldmann: do you have not needed to change the templates etc?
 255 2011-01-23T19:33:04  <ThomasWaldmann> i can use "export as png", and then it POSTs, but it does not leave the editor
 256 2011-01-23T19:33:27  <ThomasWaldmann> i didn't change anything
 257 2011-01-23T19:33:43  <dreimark> then something is broken
 258 2011-01-23T19:34:04  <dreimark> http://hg.moinmo.in/moin/2.0-dev/file/8341cc088185/MoinMoin/static/applets
 259 2011-01-23T19:34:19  <dreimark> the path for twikidraw is TwikiDrawPlugin
 260 2011-01-23T19:34:35  *** kursor has joined #moin-dev
 261 2011-01-23T19:34:39  <ThomasWaldmann> so?
 262 2011-01-23T19:35:16  <dreimark> http://hg.moinmo.in/moin/2.0-dev/file/8341cc088185/wikiconfig.py#l58
 263 2011-01-23T19:35:25  <dreimark> why do you find twd plugin?
 264 2011-01-23T19:36:01  <dreimark> for svg-edit i have removed the redirect, there was a problem with the two posts
 265 2011-01-23T19:36:20  <dreimark> sometimes the redirect seems to be faster and before the second post done
 266 2011-01-23T19:36:29  <dreimark> at least the result looked like
 267 2011-01-23T19:36:30  <ThomasWaldmann> i didn't pull your changes
 268 2011-01-23T19:37:06  <dreimark> I guess you have the applet in the cache of your browser
 269 2011-01-23T19:37:24  <ThomasWaldmann> i cleared the cache multiple times recently
 270 2011-01-23T19:37:31  <dreimark> jcontrol?
 271 2011-01-23T19:38:07  <dreimark> the old file location is in TwikiDrawPlugin
 272 2011-01-23T19:38:11  <ThomasWaldmann> browser
 273 2011-01-23T19:38:48  <dreimark> try jcontrol, i guess it is in the jre cache
 274 2011-01-23T19:39:03  <dreimark> the wikiconfig points to a non existing jar
 275 2011-01-23T19:41:53  *** kursor has quit IRC
 276 2011-01-23T19:42:21  <ThomasWaldmann> 2011-01-23 19:41:50,433 INFO werkzeug:116 127.0.0.1 "GET /static/applets/TWikiDrawPlugin/twikidraw.jar HTTP/1.1" 200 -
 277 2011-01-23T19:42:25  <dreimark> http://localhost:8080/+serve/twikidraw/twikidraw.jar should go to a download
 278 2011-01-23T19:42:38  <ThomasWaldmann> did you maybe forget to commit the change you are talking about?
 279 2011-01-23T19:43:10  <dreimark> wie wahr
 280 2011-01-23T19:43:54  <dreimark> doing now
 281 2011-01-23T19:47:57  <ThomasWaldmann> and afterwards, please try again with that Markup() change reverted
 282 2011-01-23T19:48:57  <ThomasWaldmann> i can't see why those view function should do that and other not. aside from that, they are expected to return markup and the result doesn't get inserted into another template iirc.
 283 2011-01-23T19:49:37  * ThomasWaldmann makes pizza meanwhile :)
 284 2011-01-23T19:50:18  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10309:733f638ad2e4 2.0-dev/wikiconfig.py: wikiconfig: fix path for twikidraw
 285 2011-01-23T19:50:19  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10310:4824354419d3 2.0-dev/MoinMoin/templates/ (3 files): drawing templates modified for new flask Module (serve.files)
 286 2011-01-23T19:52:20  <dreimark> looks again on Markup
 287 2011-01-23T19:53:48  <dreimark> awd still gives for me http://paste.pocoo.org/show/325538/
 288 2011-01-23T19:57:25  <ThomasWaldmann> HEAD?
 289 2011-01-23T19:58:14  <ThomasWaldmann> also, it is 500
 290 2011-01-23T20:00:22  <ThomasWaldmann> also, url looks wrong
 291 2011-01-23T20:04:33  <dreimark> http://test.moinmo.in:8080/+modify/awd1?mimetype=application%2Fx-anywikidraw did also not work for me
 292 2011-01-23T20:08:44  <ThomasWaldmann> makes ff hang
 293 2011-01-23T20:09:05  <dreimark> and on localhost you still have it working?
 294 2011-01-23T20:09:49  <dreimark> if I revert the Markup change now svg-edit and twd works for me too. awd same state
 295 2011-01-23T20:14:29  <ThomasWaldmann> you mean with or without your changes?
 296 2011-01-23T20:15:14  <dreimark> if i remove the markup change svg-edit and twd works. awd did not work with and without
 297 2011-01-23T20:16:32  <dreimark> if i rember right i had not a + in source but a %2B
 298 2011-01-23T20:22:42  <ThomasWaldmann> doesn't matter
 299 2011-01-23T20:25:15  <dreimark> then i revert it and look afterwards on the errors of awd
 300 2011-01-23T20:29:41  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10311:9ad7199a8fa3 2.0-dev/ (MoinMoin/templates/modify_anywikidraw.html wikiconfig.py): anywikidraw path handling only in wikiconfig
 301 2011-01-23T20:29:42  <CIA-56> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10312:de4f279da0c1 2.0-dev/MoinMoin/items/__init__.py: items.__init__: reverted changeset 10307:7e271c859090
 302 2011-01-23T20:30:38  <dreimark> may be we need to make the names of the applets also configurable, e.g. because of case?
 303 2011-01-23T20:44:15  <ThomasWaldmann> twd,awd,svgedit all work
 304 2011-01-23T20:44:27  <ThomasWaldmann> why?
 305 2011-01-23T20:45:53  <dreimark> awd works for me on mm WikiSandBox
 306 2011-01-23T20:46:33  <ThomasWaldmann> ok, so can we remove any of these?
 307 2011-01-23T20:47:22  <dreimark> twd has changes from us which we likly don't find anywhere else
 308 2011-01-23T20:47:58  <dreimark> svg-edit is pached from me and if i get these patches or a better approach in it then we can remove it
 309 2011-01-23T20:48:38  <dreimark> i think awd can be removed. because that is on sf in development (slow but alive)
 310 2011-01-23T20:49:16  <dreimark> I wanted to check that but first i need to get it working with my setup
 311 2011-01-23T20:54:22  <ThomasWaldmann> they have 0.17 meanwhile
 312 2011-01-23T20:54:53  * dreimark installs and reconfigures java
 313 2011-01-23T20:55:54  <grzywacz> O_o;
 314 2011-01-23T21:02:52  <ThomasWaldmann> dreimark: compared stuff by diff -r, our awd stuff seems to be identical with their sf 0.14 release
 315 2011-01-23T21:03:02  * dreimark now it works again on localhost and I know how a broken setup looks like
 316 2011-01-23T21:03:24  <dreimark> I can try now
 317 2011-01-23T21:04:24  <dreimark> yay also test wiki works
 318 2011-01-23T21:04:38  <ThomasWaldmann> ok, i kill it :)
 319 2011-01-23T21:04:46  <dreimark> momemnt
 320 2011-01-23T21:04:55  <dreimark> i wanted to try theres
 321 2011-01-23T21:06:30  <dreimark> damn long download
 322 2011-01-23T21:06:50  *** NikitaUtiu has quit IRC
 323 2011-01-23T21:08:31  * ThomasWaldmann killed it meanwhile and has finger on commit trigger :D
 324 2011-01-23T21:12:21  *** ronny has joined #moin-dev
 325 2011-01-23T21:13:50  <dreimark> this moinmoin jar file did not load - as the old one, but the error looks now different
 326 2011-01-23T21:14:07  <dreimark> i have a grey box
 327 2011-01-23T21:15:03  <ThomasWaldmann> just try again. i had a strange effect also with the original one. small grey rect.
 328 2011-01-23T21:15:22  <ThomasWaldmann> wb ronny
 329 2011-01-23T21:23:09  <dreimark> 2011-01-23 21:22:30,217 INFO werkzeug:116 127.0.0.1 "GET /+modify/Homesdsad?mimetype=application%2Fx-anywikidraw HTTP/1.1" 200 -
 330 2011-01-23T21:23:19  <dreimark> on opera and firefox only a grey box
 331 2011-01-23T21:23:47  <dreimark> I had tried first the new location but now I had copied it over the old one
 332 2011-01-23T21:29:07  <ThomasWaldmann> works for me (ff3613)
 333 2011-01-23T21:31:35  <dreimark> same here, but may be it is just too fast ?
 334 2011-01-23T21:33:58  <dreimark> it looks always like this http://test.moinmo.in:8080/awdproblem
 335 2011-01-23T21:35:35  <dreimark> I don't see the version number on loading
 336 2011-01-23T21:35:52  <dreimark> but i do on the testwiki
 337 2011-01-23T21:36:25  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10313:805fcf72bc59 2.0-dev/ (53 files in 18 dirs): remove bundled AnyWikiDraw 0.14
 338 2011-01-23T21:38:13  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10314:3b72483c26cc 2.0-dev/wikiconfig.py: wikiconfig: load anywikidraw from env/ dir
 339 2011-01-23T21:39:28  <dreimark> -18MB :)
 340 2011-01-23T21:45:45  <ronny> hey
 341 2011-01-23T21:45:59  <ronny> ThomasWaldmann: headaches shouldnt feel like they have been induced with an axe
 342 2011-01-23T21:48:27  *** Trip_ has quit IRC
 343 2011-01-23T21:48:44  *** Trip_ has joined #moin-dev
 344 2011-01-23T21:51:19  <CIA-56> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10315:88eed0e05b0b 2.0-dev/.hgignore: hgignore env/ dir
 345 2011-01-23T21:51:24  * ThomasWaldmann rarely has them
 346 2011-01-23T21:52:12  <ThomasWaldmann> ronny: do you know how to enter a virtualenv from a script? source only works on the shell
 347 2011-01-23T21:54:15  <xorAxAx> ThomasWaldmann: why doesnt it work in the script!?
 348 2011-01-23T21:56:56  <ronny> ThomasWaldmann: you mean python script?
 349 2011-01-23T21:57:17  <ronny> ThomasWaldmann: the usual way is to fix the shebang
 350 2011-01-23T21:59:50  <ThomasWaldmann> ./quickinstall: 4: source: not found
 351 2011-01-23T22:00:17  <ThomasWaldmann> virtualenv --no-site-packages env
 352 2011-01-23T22:00:17  <ThomasWaldmann> source env/bin/activate
 353 2011-01-23T22:02:24  <ronny> ThomasWaldmann: what kind of shell is that?
 354 2011-01-23T22:02:30  <ThomasWaldmann> bash
 355 2011-01-23T22:02:37  <ThomasWaldmann> #!/bin/sh
 356 2011-01-23T22:02:44  <ronny> then its probably dash
 357 2011-01-23T22:02:48  <ronny> dash does not know source
 358 2011-01-23T22:03:12  <ThomasWaldmann> oops
 359 2011-01-23T22:03:15  <ThomasWaldmann> right
 360 2011-01-23T22:03:59  <dreimark> ThomasWaldmann: i have it in the bashrc
 361 2011-01-23T22:04:26  <dreimark> http://playnice.ly/blog/2010/05/12/pip-virtualenv-python-library-package-management/
 362 2011-01-23T22:04:48  <dreimark> echo ". env_dev/bin/activate" >> ~/.bashrc
 363 2011-01-23T22:09:33  *** Trip_ has quit IRC
 364 2011-01-23T22:09:45  *** Trip_ has joined #moin-dev
 365 2011-01-23T22:10:22  *** CIA-56 has left #moin-dev
 366 2011-01-23T22:13:28  <dreimark> http://mathematism.com/2009/07/30/presentation-pip-and-virtualenv/
 367 2011-01-23T22:14:08  <dreimark> deactivate is nice
 368 2011-01-23T22:34:36  <ThomasWaldmann> hmm cia left us
 369 2011-01-23T22:48:05  <ThomasWaldmann> dreimark: I'll archive svg-edit and put it onto mm as download.
 370 2011-01-23T22:49:13  <dreimark> ok
 371 2011-01-23T22:49:30  <dreimark> and twdraw ?
 372 2011-01-23T22:52:19  <ThomasWaldmann> is already there, see last changesets
 373 2011-01-23T22:52:23  <ThomasWaldmann> http://hg.moinmo.in/moin/2.0-dev/rev/13460c809d5a
 374 2011-01-23T22:52:57  <ThomasWaldmann> there is the change you made to svg-edit, i think you should discuss that with the devs
 375 2011-01-23T22:54:57  <ThomasWaldmann> maybe check if that was all
 376 2011-01-23T22:55:31  <dreimark> http://code.google.com/p/svg-edit/issues/detail?id=594&q=save&colspec=ID%20Type%20Status%20Priority%20NeededFor%20Browser%20Owner%20Summary
 377 2011-01-23T22:56:27  <dreimark> and http://code.google.com/p/svg-edit/issues/detail?id=645&q=post&colspec=ID%20Type%20Status%20Priority%20NeededFor%20Browser%20Owner%20Summary
 378 2011-01-23T22:56:52  <dreimark> i write later a mail to the mailing list
 379 2011-01-23T22:57:08  <dreimark> unfortunately is their channel on freenode not very active
 380 2011-01-23T23:03:38  <ThomasWaldmann> btw, are we still using svgweb somehow?
 381 2011-01-23T23:04:22  * ThomasWaldmann doesn't see references
 382 2011-01-23T23:07:06  * ThomasWaldmann kills it
 383 2011-01-23T23:21:59  <ThomasWaldmann> moin2 is < 10MB now (uncompressed) \o/
 384 2011-01-23T23:23:49  <dreimark> :)
 385 2011-01-23T23:23:57  * dreimark tries a new virtenv
 386 2011-01-23T23:27:56  *** CIA-49 has joined #moin-dev
 387 2011-01-23T23:28:03  <dreimark> wb CIA-49
 388 2011-01-23T23:31:21  <dreimark> ThomasWaldmann: should we add mercurial and python-openid to the requirements =?
 389 2011-01-23T23:33:57  <dreimark> (setup)
 390 2011-01-23T23:40:33  <CIA-49> Reimar Bauer <rb.proj AT googlemail DOT com> default * 10324:f7275f39a822 2.0-dev/MoinMoin/util/send_file.py: util.send_file: PEP8 whitespace fix
 391 2011-01-23T23:43:18  <CIA-49> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10325:ae8a18f32a8b 2.0-dev/MANIFEST.in: MANIFEST.in: exclude/prune some unwanted stuff
 392 2011-01-23T23:43:21  <CIA-49> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10326:66328b6e757a 2.0-dev/MoinMoin/util/send_file.py: merged main
 393 2011-01-23T23:45:43  <CIA-49> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10327:7f78f63cc4bd 2.0-dev/setup.py: add mercurial as extra requirement
 394 2011-01-23T23:45:44  <ThomasWaldmann> dreimark: ^^
 395 2011-01-23T23:46:22  <ThomasWaldmann> ronny: is it normal to have that moin.egg-info stuff in the tar.gz?
 396 2011-01-23T23:47:00  <dreimark> 41 failed, 2205 passed, 278 skipped, 3 xfailed, 5 xpassed in 260.22 seconds
 397 2011-01-23T23:51:04  <ThomasWaldmann> ok, i think we test that for a while and then throw away history and create a new repo

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-01-23 (last edited 2011-01-22 23:45:03 by IrcLogImporter)