2007-08-19T00:00:04 <dreimark> neagulm: test_sourcecode shows a failure in recommendation_system.py
2007-08-19T00:00:25 <neagulm> dreimark, it is fixed in my repo
2007-08-19T00:00:35 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2895:e1739a8cc5e6 1.7-classify-mneagul/MoinMoin/ (7 files in 2 dirs): Add missing docstrings
2007-08-19T00:00:37 <dreimark> neagulm: great
2007-08-19T00:00:38 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2896:e3d8e4e6ea0b 1.7-classify-mneagul/wiki/config/more_samples/wikiconfig_recommendation.py: Remove whitespaces
2007-08-19T00:00:39 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2897:39501ec54f56 1.7-classify-mneagul/MoinMoin/classifier/_tests/ (test_spamfilter.py test_classifier.py): Rename test
2007-08-19T00:01:19 <neagulm> dreimark, how do I prevent py.test from running tests from numpy ?
2007-08-19T00:02:09 <neagulm> dreimark, when I import numpy.array in a test py.test attempts to run the tests from numpy
2007-08-19T00:03:17 <dreimark> neagulm: good question I hope xorAxAx knows that I don't currently
2007-08-19T00:03:45 <xorAxAx> neagulm: not really
2007-08-19T00:03:49 <grzywacz> neagulm: try: import numpy ... except ImportError: py.test.skip("") ?
2007-08-19T00:03:53 <xorAxAx> neagulm: py.test only runs tests it collected beforehand
2007-08-19T00:04:15 <xorAxAx> neagulm: there is a parameter to py.test that allows you to see what it collected
2007-08-19T00:04:36 <CIA-14> moin: Karol Nowak <grzywacz@sul.uni.lodz.pl> * 2697:0a6f74a01646 1.7-jabber-knowak/MoinMoin/ (PageEditor.py action/revert.py xmlrpc/__init__.py): Fix revert action and xmlrpc call.
2007-08-19T00:05:15 <grzywacz> Hm, no changes in 1.7 that I don't have? Weirdness...
2007-08-19T00:05:30 <neagulm> grzywacz, already tried
2007-08-19T00:05:47 <grzywacz> xorAxAx: dreimark: I'm going to edit my JabberSupport page anonymously because I forgot the password :P
2007-08-19T00:06:17 <dreimark> grzywacz: you can get that password mailed you know that already i believe ;)
2007-08-19T00:06:23 <xorAxAx> grzywacz: no problem
2007-08-19T00:06:57 <grzywacz> dreimark: I don't want to configure an email client here
2007-08-19T00:07:44 <dreimark> grzywacz: ok
2007-08-19T00:12:30 <dreimark> grzywacz: underlay will get a change I guess. I like to wait till johill returns
2007-08-19T00:12:51 <grzywacz> dreimark: what? :)
2007-08-19T00:13:14 <dreimark> grzywacz: see [23:12] <dreimark> j
2007-08-19T00:13:55 <dreimark> Its about the missing Homepage creation by [ [Action(Edit...] ]
2007-08-19T00:22:19 <dreimark> grzywacz: hmm http://www.perfecttableplan.com/html/download.html does not have a linux version
2007-08-19T00:24:50 <grzywacz> dreimark: so? awardmestars does
2007-08-19T00:27:30 <dreimark> grzywacz: there is a request on http://successfulsoftware.net/2007/08/16/the-software-awards-scam/ which
2007-08-19T00:27:35 <dreimark> isnt answered yet
2007-08-19T00:27:46 <dreimark> may be it runs in wine
2007-08-19T00:30:14 <dreimark> ahh you dont tell about the PerfectTablePlan software
2007-08-19T00:31:26 <dreimark> grzywacz: http://www.topshareware.com/awardmestars-download-53438.htm seems to be fun
2007-08-19T00:31:36 <grzywacz> ;]
2007-08-19T00:40:19 <dreimark> searching for moinmoin on google gives rank 2 for the old url and www.moinmoin.de on top
2007-08-19T00:43:38 <dreimark> good night
2007-08-19T00:47:07 <xorAxAx> neagulm: 8c73c575ec30 -- please dont base your config on the MMDE one
2007-08-19T00:47:16 <grzywacz> night dreimark
2007-08-19T00:47:32 <neagulm> xorAxAx, I will change now...
2007-08-19T00:47:58 <neagulm> xorAxAx, i still have not managed to prevent py.test from entering numpy tests
2007-08-19T00:49:00 <xorAxAx> neagulm: give me the output of py.test --collectonly
2007-08-19T00:49:07 <xorAxAx> http://paste.pocoo.org
2007-08-19T00:50:29 * grzywacz packing stuff
2007-08-19T00:51:09 <neagulm> http://paste.pocoo.org/show/2621/
2007-08-19T00:51:16 <neagulm> xorAxAx,
2007-08-19T00:52:42 <neagulm> xorAxAx, sorry, pasted wrong thing
2007-08-19T00:52:55 <xorAxAx> wellll
2007-08-19T00:53:03 <xorAxAx> nevertheless you are importing test cases
2007-08-19T00:53:08 <xorAxAx> why do you need numpytest?
2007-08-19T00:53:18 <xorAxAx> and why are you doing a star import ...
2007-08-19T00:53:29 <neagulm> xorAxAx, not me:)
2007-08-19T00:53:34 <xorAxAx> ah
2007-08-19T00:53:54 <xorAxAx> yes, the other paste please :)
2007-08-19T00:54:11 <xorAxAx> ah, now i see the problem
2007-08-19T00:54:29 * xorAxAx thinks about a solution
2007-08-19T00:54:33 <neagulm> http://paste.pocoo.org/show/2622/
2007-08-19T00:55:03 <xorAxAx> add the following line to MoinMoin.conftest:
2007-08-19T00:55:23 <xorAxAx> compat._TextTestResult = object
2007-08-19T00:55:56 <xorAxAx> pretty bad that numpy imports so much of itself
2007-08-19T00:57:26 <neagulm> xorAxAx, another similar error, should I do the same with it ?
2007-08-19T00:57:40 <xorAxAx> yes
2007-08-19T00:57:59 <neagulm> fixed
2007-08-19T00:58:04 <neagulm> thank you!
2007-08-19T00:58:09 <xorAxAx> this is ugly but better than any other solution :)
2007-08-19T00:58:21 <xorAxAx> add a comment so we dont forget why it is necessary
2007-08-19T01:18:41 <xorAxAx> good night
2007-08-19T01:22:30 <grzywacz> night xorAxAx
2007-08-19T01:32:05 <neagulm> good night xorAxAx
2007-08-19T01:48:41 <neagulm> good night all
2007-08-19T11:08:55 <neagulm> hello
2007-08-19T11:31:21 <grzywacz> hi neagulm
2007-08-19T11:47:16 <ThomasWaldmann> moin
2007-08-19T12:24:49 <ThomasWaldmann> grzywacz: E py.test.skip("Skipping jabber bot tests - pyxmpp is not installed")
2007-08-19T12:24:52 <ThomasWaldmann> > NameError: name 'py' is not defined
2007-08-19T12:38:14 <grzywacz> ThomasWaldmann: will fix in the evening
2007-08-19T12:38:16 <grzywacz> bbl
2007-08-19T15:54:08 <dreimark> moin neagulm
2007-08-19T15:54:15 <neagulm> hello dreq
2007-08-19T15:54:20 <neagulm> hello dreimark
2007-08-19T15:54:51 <dreimark> wikiconfig_recommendation.py is based on wikiconfig for DesktopEdition. That is not a good idea
2007-08-19T15:55:10 <dreimark> please change that to the more used standard wikiconfig
2007-08-19T15:56:47 <dreimark> neagulm:
2007-08-19T15:56:57 <neagulm> dreimark, ok
2007-08-19T16:07:09 <dreimark> moin johill
2007-08-19T16:08:53 <xorAxAx> neagulm: i have already said that 16 hours ago
2007-08-19T16:09:07 <xorAxAx> in here while you were here
2007-08-19T16:10:08 <dreimark> xorAxAx: I reminded
2007-08-19T16:10:43 <xorAxAx> yes
2007-08-19T16:11:05 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2898:91810778a8f7 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Fix caching related bug
2007-08-19T16:11:08 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2899:6c0b98cb2b72 1.7-classify-mneagul/MoinMoin/classifier/_tests/test_recommender.py: Add recommendation system tests
2007-08-19T16:11:09 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2900:f419157a6d77 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Feature selection releated changes
2007-08-19T16:11:10 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2901:002ca57c6395 1.7-classify-mneagul/MoinMoin/classifier/_tests/test_spamfilter.py: Change docstring for spamfilter test
2007-08-19T16:11:11 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2902:f8e5b3bedbe5 1.7-classify-mneagul/MoinMoin/action/starpage.py: Training action is user aware
2007-08-19T16:11:15 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2903:229a8c9e0d62 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Some bugfixes
2007-08-19T16:11:18 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2904:030ead92215a 1.7-classify-mneagul/wikiconfig.py: Update wikiconfig
2007-08-19T16:11:21 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2905:69818ff67a71 1.7-classify-mneagul/MoinMoin/classifier/_tests/test_recommender.py: Set database dir path
2007-08-19T16:11:26 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2906:b75a1ad9d5ce 1.7-classify-mneagul/MoinMoin/classifier/_tests/test_recommender.py: Cleanup temporary files
2007-08-19T16:11:29 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2907:75103c251cf0 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Small whitespace issue
2007-08-19T16:11:32 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2908:810b58ac3cf1 1.7-classify-mneagul/wiki/config/more_samples/wikiconfig_recommendation.py: Convert sample wikiconfig file to the standard one
2007-08-19T16:14:50 <dreimark> Do we have a page on MM for 1.7 of necessary/wanted libs installed. e.g. python-crack, pyxmpp ...
2007-08-19T16:17:00 <ThomasWaldmann> that should be in CHANGES and on the Help page describing setup/conf.
2007-08-19T16:18:39 <ThomasWaldmann> lanius: are you working on the editlog code?
2007-08-19T16:23:49 <dreimark> neagulm: recommender index gives now Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored
2007-08-19T16:25:19 <dreimark> neagulm: action=starpage shows an error too
2007-08-19T16:25:32 <dreimark> shape mismatch: objects cannot be broadcast to a single shape
2007-08-19T16:25:58 <dreimark> user is anonymous
2007-08-19T16:26:11 <neagulm> dreimark, they all work for me. do you pull the latest changeset ?
2007-08-19T16:28:56 <dreimark> neagulm: I do use a different machine now, latest changeset, new database
2007-08-19T16:32:12 <neagulm> dreimark, wait a second to test in a virtual machine
2007-08-19T16:32:43 <dreimark> neagulm: if I don't use --underlay yes I have that failure
2007-08-19T16:33:17 <ThomasWaldmann> btw, in case someone is bored towards the end :) - SystemInfo could display presence (or miss) of some libs and their version.
2007-08-19T16:34:12 <dreimark> recommender index --underlay yes seems to work, but if it is not used I get on every underlay page I try an error on the terminal
2007-08-19T16:34:42 <dreimark> oinMoin/support/art.py", line 45, in cosine
2007-08-19T16:34:48 <dreimark> dotv = a*b # The dot product
2007-08-19T16:35:00 <dreimark> ValueError: shape mismatch: objects cannot be broadcast to a single shape
2007-08-19T16:37:02 <neagulm> dreimark, the last error ocurs when the number of features selected is not identical to the number of input features to the neural network
2007-08-19T16:37:54 <dreimark> neagulm: does this mean --underlay yes should be added on default
2007-08-19T16:38:54 <dreimark> Building the index with -underlay yes gives four lines of Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored
2007-08-19T16:42:01 <neagulm> dreimark, it seems that i have introduced lots of bugs this day
2007-08-19T16:42:59 <dreimark> neagulm: then its time to fix them.
2007-08-19T16:45:57 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2909:6200a74c78ce 1.7-classify-mneagul/MoinMoin/conftest.py: Conftest fix to prevent py.test blocking in numpy
2007-08-19T16:45:58 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2910:9df165d72365 1.7-classify-mneagul/MoinMoin/macro/WikiClusters.py: macro display clusters for users when logged on
2007-08-19T16:45:59 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2911:b247dd030c84 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Creat ART instance on any type of error
2007-08-19T16:54:32 <dreimark> Where is the log from 2007-08-17 ?
2007-08-19T16:56:26 <xorAxAx> dreimark: its in the directory of the logs, so something on thomas side must have gone wrong
2007-08-19T16:57:18 <dreimark> ok, just wanted to read about the bug in __init__.macro_MailTo johill has described. I guess I found it
2007-08-19T17:00:04 <CIA-14> moin: Reimar Bauer <rb.proj AT googlemail DOT com> * 2687:701a36397035 1.7/MoinMoin/macro/__init__.py: macro.__init__.macro_MailTo: bug fixed result var is not initialized (found by Johannes Berg)
2007-08-19T17:01:51 <CIA-14> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2699:98f7c5c64e91 1.7/ (10 files in 7 dirs): Merge main
2007-08-19T17:11:20 <dreimark> neagulm: please merge main too
2007-08-19T17:17:58 <CIA-14> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2700:a0b85757e5d0 1.7/MoinMoin/macro/__init__.py: MailTo macro: do fix at right place, cosmetic changes
2007-08-19T17:24:34 <xorAxAx> i wonder why my push notified CIA with reimars change
2007-08-19T17:24:38 <xorAxAx> and not this push
2007-08-19T17:28:45 <dreimark> ThomasWaldmann: ahh, ok
2007-08-19T17:48:46 <dreimark> neagulm: I will be back in 2h.
2007-08-19T17:49:23 <neagulm> dreimark, ok, iţm trying to fix a strange error in win32... related to the bug reported by you
2007-08-19T17:50:34 <dreimark> neagulm: I got a failure related to my bug fix of (17:00:04) CIA-14: moin: Reimar Bauer. So ypou should merge main too
2007-08-19T17:51:11 <dreimark> bbl ~2h
2007-08-19T18:07:24 * ThomasWaldmann .oO(linking to an attached image target with another attached image as description works now)
2007-08-19T18:08:08 <xorAxAx> neagulm: +def getPageWithText(text, pagename, request):
2007-08-19T18:08:13 <xorAxAx> neagulm: PEP8 violation
2007-08-19T18:08:40 <xorAxAx> neagulm: + numfeatures = num_features)
2007-08-19T18:08:41 <xorAxAx> same
2007-08-19T18:09:05 <xorAxAx> + del(self.categories[old_cat])
2007-08-19T18:09:07 <xorAxAx> del is a keyword
2007-08-19T18:10:01 * grzywa back home
2007-08-19T18:21:28 <lanius> ThomasWaldmann: which part of the editlog code
2007-08-19T18:22:33 <ThomasWaldmann> the temporary LocalEditLog adapter
2007-08-19T18:22:50 <ThomasWaldmann> or rather the usage of it
2007-08-19T18:23:34 <lanius> there is no need of an adapter
2007-08-19T18:23:41 <ThomasWaldmann> see also my yesterdays suggestions
2007-08-19T18:23:47 <lanius> it is not needed
2007-08-19T18:24:25 <ThomasWaldmann> yeah, not needed, but still used (not only in AttachFile)
2007-08-19T18:24:33 <lanius> only in AttachFile
2007-08-19T18:24:55 * ThomasWaldmann is talking of the class, not of .add method
2007-08-19T18:26:44 <lanius> i'm not for removing LocalEditLog, because it is quite handy to use
2007-08-19T18:28:36 <ThomasWaldmann> see my yesterday's suggestions
2007-08-19T18:30:55 <lanius> my comment was about your suggestion
2007-08-19T18:32:40 <CIA-14> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2913:2c99af668937 1.7-storage-hwendel/ (3 files in 3 dirs): small changes to editlog code
2007-08-19T18:32:41 <CIA-14> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2914:0af7f5ad95b9 1.7-storage-hwendel/ (29 files in 16 dirs): merge main
2007-08-19T18:32:42 <CIA-14> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2915:f5db38570de1 1.7-storage-hwendel/docs/CHANGES.storage: main merged
2007-08-19T18:33:33 <ThomasWaldmann> (20:54) < ThomasWal> e.g. "find oldest item rev newer than <timestamp>"
2007-08-19T18:33:33 <ThomasWaldmann> (20:59) < ThomasWal> or "find newest page not from <editor>"
2007-08-19T18:33:46 <ThomasWaldmann> (this is what I mean)
2007-08-19T18:36:33 <lanius> ah
2007-08-19T18:36:38 <lanius> no i didn't do that yet
2007-08-19T18:37:14 <ThomasWaldmann> alternatively, if you prefer, the acl stuff is also still todo
2007-08-19T18:37:23 <lanius> i know
2007-08-19T18:37:52 <CIA-14> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2916:656769d92a05 1.7-storage-hwendel/docs/CHANGES.storage: added some more suggestions to CHANGES.storage
2007-08-19T18:43:42 <ThomasWaldmann> btw, did you test on 2.3?
2007-08-19T18:58:43 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2912:4b568276b4cf 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Win32 fixes and dict access changes
2007-08-19T18:58:44 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2913:a1660e2e16b4 1.7-classify-mneagul/MoinMoin/ (3 files in 2 dirs): Do proper user notification on error
2007-08-19T18:58:45 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2914:dd81c195b81d 1.7-classify-mneagul/MoinMoin/classifier/_tests/ (test_recommender.py test_spamfilter.py): Fix some PEP8 problems and coding errors
2007-08-19T18:59:36 <dreimark> bb
2007-08-19T19:01:20 <ThomasWaldmann> hi dreimark. see test17 wiki :) I am still struggling with some brokenness related to text_python formatter, but in the preview it already works (but not from cache).
2007-08-19T19:02:01 <dreimark> cache is sometimes strange
2007-08-19T19:02:47 <dreimark> neagulm: if i have before using of recommender index always to purge old db files
2007-08-19T19:03:00 <dreimark> why isn't that done in recommender index
2007-08-19T19:13:18 <dreimark> ThomasWaldmann: saved it seems to work too
2007-08-19T19:24:07 <ThomasWaldmann> dreimark: see the section using images as link description
2007-08-19T19:24:28 <ThomasWaldmann> one does not link and the complex last one is completely broken
2007-08-19T19:28:51 <dreimark> ThomasWaldmann: in that wiki RC seems to be broken
2007-08-19T19:29:09 <xorAxAx> + if self.categories.has_key(k)
2007-08-19T19:29:15 <xorAxAx> neagulm: has_key is deprecated
2007-08-19T19:29:24 <xorAxAx> "# binary mode is required in win32" also for VMS :)
2007-08-19T19:30:08 <ThomasWaldmann> dreimark: in that wiki almost all pages are broken because they are not converted :)
2007-08-19T19:33:00 * ThomasWaldmann fixed RC there manually
2007-08-19T19:33:29 <dreimark> ThomasWaldmann: http://test17.wikiwikiweb.de/ReimarBauer nesting ok if its alone on a page
2007-08-19T19:37:05 <ThomasWaldmann> yeah, even the single line case works (except some different problem).
2007-08-19T19:37:58 <ThomasWaldmann> dreimark: is this normal: the single quote char gets a red frame?
2007-08-19T19:39:13 <ThomasWaldmann> ffesti: i think I have some call order problems with text_python formatter
2007-08-19T19:39:52 <zenhase> re
2007-08-19T19:40:11 <ThomasWaldmann> it just inserts those <<<>>> placeholders and this can get mixed if order changes.
2007-08-19T19:40:20 <CIA-14> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2743:501080727144 1.7-template-fkrupicka/docs/CHANGES.genshitheme: added known issues to the doc
2007-08-19T19:40:22 <CIA-14> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2744:368e48350e09 1.7-template-fkrupicka/MoinMoin/templating/example.html: Fixed: duplicate id 'version' in example.html (didn't validate)
2007-08-19T19:40:23 <CIA-14> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2745:788c2666e3ad 1.7-template-fkrupicka/docs/CHANGES.genshitheme: Added links to the wiki pages describing the problems with the integration
2007-08-19T19:40:30 <ThomasWaldmann> maybe using <<<hash>>> would be better.
2007-08-19T19:40:51 <ThomasWaldmann> moin zenhase
2007-08-19T19:41:46 <dreimark> ThomasWaldmann: thats an other issue. I would expect the string should be rendered in the defined color for strings and should not show commands in colors
2007-08-19T19:42:41 <zenhase> ThomasWaldmann: you mentioned indentation on CHANGES.genshitheme yesterday
2007-08-19T19:45:03 <xorAxAx> ThomasWaldmann: why would the order change?
2007-08-19T19:45:13 <xorAxAx> ThomasWaldmann: in that case you incorrectly used the formatter
2007-08-19T19:45:21 <ThomasWaldmann> grzywacz: + if not (self.cfg.mail_enabled or self.cfg.jabber_enabled and self.request.user.valid):
2007-08-19T19:45:25 <xorAxAx> you have to request.write in the order you called the formatter
2007-08-19T19:45:28 <ThomasWaldmann> this is maybe not what you wanted
2007-08-19T19:46:20 <ThomasWaldmann> dreimark: yeah X)
2007-08-19T19:47:21 <ThomasWaldmann> xorAxAx: if you want to have an img tag as link description text, it is not easy to call everything in sequence
2007-08-19T19:48:44 <ThomasWaldmann> it more or less does: desc = parse_desc() ; return link(target, on) + desc + link(off)
2007-08-19T19:49:23 <ThomasWaldmann> and parse_desc internally calls formatter to create the return value.
2007-08-19T19:50:23 <ThomasWaldmann> zenhase: ?
2007-08-19T19:53:49 <ThomasWaldmann> xorAxAx: dont you think using some hash or uuid would easily solve this, so the placeholder really gets replaced how it was intended?
2007-08-19T19:55:36 <ThomasWaldmann> neagulm: and also please try to use more than 1 char names :)
2007-08-19T19:57:21 <dreimark> neagulm: are you busy with bug fixing ?
2007-08-19T19:58:51 <dreimark> seems neagulm is off
2007-08-19T19:59:27 <xorAxAx> ThomasWaldmann: no, it wont
2007-08-19T19:59:35 <xorAxAx> ThomasWaldmann: because the problem doesnt only appear at that point
2007-08-19T19:59:52 <xorAxAx> ThomasWaldmann: many formatters basically assume (and have to) that they are called in the correct order
2007-08-19T20:00:08 <xorAxAx> every formatter with internal state does
2007-08-19T20:00:23 <xorAxAx> even the html formatter has internal state, the docbook formatter is the one with most state
2007-08-19T20:03:14 <xorAxAx> so there is no other possibility than fixing the call order
2007-08-19T20:03:30 <zenhase> ThomasWaldmann: well you said something about it not being comptabile with CHANGES ... but i don't really spot the difference
2007-08-19T20:04:31 <ThomasWaldmann> zenhase: you can just try to include your file into CHANGES to see that it needs slightly different formatting to fit there
2007-08-19T20:06:19 <ThomasWaldmann> xorAxAx: as that might be true for the general case, we don't have state for links or images
2007-08-19T20:06:49 <xorAxAx> ThomasWaldmann: only the html doesnt. but any other more complex one does
2007-08-19T20:06:52 <xorAxAx> like xml or docbook
2007-08-19T20:07:08 <xorAxAx> so "we" is a bit misleading here
2007-08-19T20:07:18 <ThomasWaldmann> and also, it does not hurt if the text_python formatter really gets the right fragment instead the wrong one
2007-08-19T20:07:34 <xorAxAx> well, then you wouldnt have spotted your bug maybe
2007-08-19T20:07:50 <xorAxAx> it should raise an exception instead IMHO
2007-08-19T20:08:08 <ThomasWaldmann> it?
2007-08-19T20:08:15 <xorAxAx> the python formatter
2007-08-19T20:08:19 <ThomasWaldmann> it cant
2007-08-19T20:08:22 <xorAxAx> of course
2007-08-19T20:08:34 <ThomasWaldmann> it just sees lots of <<<>>> and doesnt know what's what
2007-08-19T20:08:56 <xorAxAx> just add hashes to it and assert that the hashes appear in the correct order afterwards
2007-08-19T20:09:08 <xorAxAx> <<<1>>> <<<2>>> etc. :)
2007-08-19T20:09:29 <xorAxAx> then it can raise an exception if it sees 3 1 2
2007-08-19T20:10:02 <ThomasWaldmann> ok, I'll look if i can solve that link desc differently
2007-08-19T20:19:17 <zenhase> ThomasWaldmann: ok
2007-08-19T20:19:59 <neagulm> dreimark, i had a surprise visit from my girl friend... sorry for leaving so suddenly
2007-08-19T20:20:37 <dreimark> neagulm: hehe
2007-08-19T20:20:39 <ThomasWaldmann> attachment_link would need some kind of desc_formatter_fn kw arg as a callback to keep the sequence
2007-08-19T20:21:17 <neagulm> dreimark, i have fixed a part of the the bugs (possibly introduced new ones) and doing some testing on windows
2007-08-19T20:21:37 <dreimark> neagulm: ok, did you get my mail
2007-08-19T20:22:35 <neagulm> dreimark, yes. I will take care of them now
2007-08-19T20:28:00 <ThomasWaldmann> or a on/off param...
2007-08-19T20:40:30 <dreimark> ThomasWaldmann: an image url like http://www.google.de/intl/de_de/images/logo.gif works but not http://test17.wikiwikiweb.de/TestWiki17MainBranch?action=AttachFile&do=view&target=fullsize.png
2007-08-19T20:41:37 <dreimark> I thought about the attachment to resolve to its url and do replace its position
2007-08-19T20:41:41 <ThomasWaldmann> iirc it just checks if it ends with some typical image extensions
2007-08-19T20:42:27 <ThomasWaldmann> dreimark: show me a non working example on the test17 wiki
2007-08-19T20:44:39 <dreimark> ThomasWaldmann: below broken too
2007-08-19T20:45:17 <ThomasWaldmann> hm?
2007-08-19T20:45:50 <dreimark> == broken too ==
2007-08-19T20:46:08 * ThomasWaldmann will change attachment_link so it takes an on/off argument (as about every other formatter stuff has, too)
2007-08-19T20:47:56 <ThomasWaldmann> dreimark: ok, debugging it
2007-08-19T20:51:05 <ThomasWaldmann> dreimark: look there :)
2007-08-19T20:55:12 <dreimark> ThomasWaldmann: :) fine
2007-08-19T20:58:03 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2915:b322ccee55ec 1.7-classify-mneagul/MoinMoin/classifier/ (3 files in 2 dirs): Fix pep8 problems
2007-08-19T20:58:05 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2916:60eb6639a02b 1.7-classify-mneagul/MoinMoin/action/ (trainrecommender.py starpage.py): Rename training action
2007-08-19T20:58:06 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2917:a19773dc44bc 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Corect sanity check and add flag for controling user behaviour
2007-08-19T20:58:07 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2918:6160f4e09e1b 1.7-classify-mneagul/MoinMoin/config/multiconfig.py: Multiconfig entry for controlig access to underlay pages
2007-08-19T20:58:08 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2919:afa14ede10d3 1.7-classify-mneagul/MoinMoin/theme/__init__.py: Respect ACL's for displaying training link
2007-08-19T20:58:11 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2920:80c4b41d85e1 1.7-classify-mneagul/wikiconfig.py: Update demo wikiconfig
2007-08-19T20:58:44 <dreimark> ThomasWaldmann: ## still broken: is fixed too
2007-08-19T20:59:00 <dreimark> no <<<>>>
2007-08-19T20:59:08 <dreimark> its broken
2007-08-19T20:59:11 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2921:2fced7822225 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Update comment
2007-08-19T20:59:53 <dreimark> ThomasWaldmann: it works in preview but not saved
2007-08-19T21:01:17 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2936:5c9e58ebf88a 1.7-classify-mneagul/ (11 files in 8 dirs): merge with 1.7
2007-08-19T21:01:48 <dreimark> neagulm: does spam and recommend work together?
2007-08-19T21:02:20 <neagulm> dreimark, in what sense?
2007-08-19T21:02:45 <neagulm> dreimark, they can be both enabled if this is what you mean...
2007-08-19T21:02:46 <dreimark> neagulm: some days before I have had to disable it in wikiconfig
2007-08-19T21:02:48 <ThomasWaldmann> dreimark: that's due to the same reason. but you used do=view, not do=get...
2007-08-19T21:02:57 <RaphaelBossek> moin moin
2007-08-19T21:03:48 <neagulm> dreimark, yes. They work now. Spam filtering was not working because i had to do some moving around with my edit.py code
2007-08-19T21:04:12 <RaphaelBossek> something new about my patch at http://moinmo.in/RaphaelBossek ?
2007-08-19T21:05:00 <dreimark> RaphaelBossek: we are all very busy due to the deadline of soc
2007-08-19T21:05:35 <dreimark> please be patient till Tuesday
2007-08-19T21:06:08 <RaphaelBossek> dreimark, what are you contributing ? any url ?
2007-08-19T21:06:45 <dreimark> see title #moin-dev
2007-08-19T21:07:38 * ThomasWaldmann curses attachments
2007-08-19T21:08:22 <RaphaelBossek> ThomasWaldmann, what is that ?
2007-08-19T21:08:51 <ThomasWaldmann> what an attachment is?
2007-08-19T21:09:38 <RaphaelBossek> sorry, what does curses mean ?
2007-08-19T21:09:52 <ThomasWaldmann> "verfluchen"
2007-08-19T21:10:13 <ThomasWaldmann> see dict.leo.org :D
2007-08-19T21:11:07 <dreimark> neagulm: recommender index if I have always to delete db files before why is that not included in that command
2007-08-19T21:12:31 <neagulm> dreimark, it will be in a few minutes. I am making a few behavioral changes in other parts...
2007-08-19T21:12:46 * RaphaelBossek is missing mime/type information for attachments and hope this will be implemented soon
2007-08-19T21:12:52 <dreimark> neagulm: ok, no new bugs please :)
2007-08-19T21:14:37 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2937:d971fa850280 1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py: Additional check in classify to prevent invalid classification
2007-08-19T21:16:09 <xorAxAx> why no new bugs? :)
2007-08-19T21:16:20 <xorAxAx> i mean, they could be fixed later on as well
2007-08-19T21:16:23 <dreimark> neagulm: I am not sure if you get that note from ThomasWaldmann not to use one letter vars
2007-08-19T21:17:09 <dreimark> xorAxAx: I know but it should not be totally broken
2007-08-19T21:17:11 <ThomasWaldmann> RaphaelBossek: i looked at your test, but had difficulties due to other broken stuff
2007-08-19T21:17:49 <ThomasWaldmann> RaphaelBossek: and attachments will go away as soon as we have mimetype items
2007-08-19T21:23:09 <dreimark> does anyone have an idea for a nicer/shorter sentence as "Report as Spam"
2007-08-19T21:23:56 <dreimark> neagulm: seems not to be broken at first glance
2007-08-19T21:24:17 <RaphaelBossek> ThomasWaldmann, I've tested on tip of 1.6
2007-08-19T21:24:30 <RaphaelBossek> ThomasWaldmann, can I help out ?
2007-08-19T21:26:38 <dreimark> neagulm: recommender index --underlay yes
2007-08-19T21:27:01 <dreimark> neagulm: underlay pages do not show the Train action
2007-08-19T21:28:04 <neagulm> dreimark, to index without "--underlay yes" you need to have enough text. Without additional text it won't work
2007-08-19T21:28:22 <dreimark> neagulm: in the theme the action is missing
2007-08-19T21:28:42 <neagulm> dreimark, i know, i'm debugging ACL's now. The same thing happens with the spam filter
2007-08-19T21:28:58 <dreimark> neagulm: ok
2007-08-19T21:31:09 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2938:6f479e76f192 1.7-classify-mneagul/MoinMoin/classifier/ (3 files in 2 dirs): Replace short variable names with more meaningful ones
2007-08-19T21:36:35 <ThomasWaldmann> RaphaelBossek: no, it was other stuff broken in 1.6
2007-08-19T21:36:45 <xorAxAx> ThomasWaldmann: query :)
2007-08-19T21:52:17 <dreimark> neagulm: spampages which are trained do show the category but not the spam counter
2007-08-19T21:53:14 <neagulm> dreimark, "spam counter" ? You mean the debug message in the left bottom corner ?
2007-08-19T21:58:34 <dreimark> neagulm: there was in the past a value 0.099234
2007-08-19T21:59:38 <neagulm> dreimark, I removed it. It was initially for debugging but is quite useful. Do you want it back ?
2007-08-19T22:02:06 <CIA-14> moin: Marian Neagul marian@info.uvt.ro main * 2939:493da16c3322 1.7-classify-mneagul/MoinMoin/script/recommender/index.py: remove old file when colecting words
2007-08-19T22:03:59 <dreimark> neagulm: collecting
2007-08-19T22:04:06 <neagulm> yes
2007-08-19T22:04:08 <neagulm> :D
2007-08-19T22:05:36 <dreimark> neagulm: I thought in the past to replace that number by an indication icon. But I think now normal users are not interested
2007-08-19T22:06:41 <neagulm> a spam-o-meter :)
2007-08-19T22:07:14 <dreimark> yep
2007-08-19T22:08:10 <dreimark> for debugging it would be nice to use if 'MOIN_DEBUG' in os.environ:
2007-08-19T22:08:22 <dreimark> that is used in failure.py: too
2007-08-19T22:08:49 <dreimark> xorAxAx: ThomasWaldmann: is that the right var I have not found any description
2007-08-19T22:10:24 <dreimark> xorAxAx: do we have already a test script where two different users are involved for editing a page or something else
2007-08-19T22:15:26 <xorAxAx> i dont understand your first question
2007-08-19T22:15:31 <xorAxAx> no is the answewr to the second one
2007-08-19T22:19:46 <dreimark> xorAxAx: hg annotate failure.py shows 1588: if 'MOIN_DEBUG' in os.environ:
2007-08-19T22:20:01 <xorAxAx> yes
2007-08-19T22:20:39 <dreimark> is that the var we should use for debugging purposes
2007-08-19T22:21:17 <dreimark> it seems to be not described yet
2007-08-19T22:21:28 <xorAxAx> well, we dont have any development docs
2007-08-19T22:21:38 <xorAxAx> that are younger than 3 years
2007-08-19T22:23:15 <dreimark> that var was introduced by RaphaelBossek
2007-08-19T22:23:46 <dreimark> who is unfortunately gone
2007-08-19T22:24:09 <dreimark> summary:Forward exceptions if MOIN_DEBUG is set in os.environment to Python debugger
2007-08-19T22:24:26 <xorAxAx> no
2007-08-19T22:24:33 <xorAxAx> he just started to use it there
2007-08-19T22:24:38 <xorAxAx> it was introduced by nir
2007-08-19T22:25:20 <dreimark> ahh ok.
2007-08-19T22:25:43 <xorAxAx> but nirs usage and the one of raphael contradict itself a bit
2007-08-19T22:27:17 <dreimark> as I can see it is only once used currently and that is in failure.py
2007-08-19T22:27:29 <dreimark> Do we have any other debug flag ?
2007-08-19T22:29:03 <xorAxAx> no
2007-08-19T22:29:28 <xorAxAx> indeed, only one usage
2007-08-19T22:29:43 <xorAxAx> first, there was a second usage for a few days
2007-08-19T22:29:52 <xorAxAx> until thomas pointed out that they are contradictionary
2007-08-19T22:30:03 <neagulm> brb ~15 minutes
2007-08-19T22:46:17 <CIA-14> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2701:398af77c7ede 1.7/ (12 files in 4 dirs): fixed attachment_link api - it now has a 'on' parameter like most of the other methods
2007-08-19T22:52:47 <RaphaelBossek> hi all
2007-08-19T22:53:27 <RaphaelBossek> Page.send_page() in 1.6 changed is not backward compatible with 1.5 :(
2007-08-19T22:53:46 <dreimark> RaphaelBossek: Hi to answer your question I do mentor neagulm and his projects are Spamfilter and Recommendation
2007-08-19T22:54:44 <dreimark> RaphaelBossek: footer and header is changed to theme and it is descrtibed in CHANGES
2007-08-19T22:54:53 <RaphaelBossek> I would like to support 1.5 and 1.6 in my action plugin so, how can I identify the version of MoinMoin ? release_short in version.py ?
2007-08-19T22:55:31 <RaphaelBossek> dreimark, the header and footer issue was discovered already be me...
2007-08-19T22:55:56 <dreimark> version.py is the right one
2007-08-19T22:57:52 <dreimark> of course the releas_short too
2007-08-19T22:58:12 <xorAxAx> RaphaelBossek: what is different?
2007-08-19T22:58:37 <RaphaelBossek> Page.send_page() in 1.5 get as first parameter the request, 1.6 does not
2007-08-19T22:58:47 <xorAxAx> ah
2007-08-19T22:58:58 <xorAxAx> hehe
2007-08-19T22:59:05 * RaphaelBossek working on CreatePdfDocument action plugin for 1.5 and 1.6
2007-08-19T22:59:07 <xorAxAx> thomas added it in 1.3 and removed it in 1.6 again :)
2007-08-19T22:59:39 <RaphaelBossek> I would like to be ready if 1.6 is released...
2007-08-19T22:59:41 <xorAxAx> well, you can check if the first parameter is called request
2007-08-19T23:00:24 <RaphaelBossek> xorAxAx, I intent to check the version of moin but how can I check the function parameters ?
2007-08-19T23:01:40 <xorAxAx> if page.send_page.func_code.co_varnames[1] == "request": ...
2007-08-19T23:01:48 <xorAxAx> if Page.send_page.func_code.co_varnames[1] == "request": ...
2007-08-19T23:03:56 <RaphaelBossek> xorAxAx, thx
2007-08-19T23:05:29 <ThomasWaldmann> RaphaelBossek: we changed a lot in 1.6 (and still changing ...)
2007-08-19T23:05:56 <RaphaelBossek> ThomasWaldmann, I try to be up-to-date
2007-08-19T23:07:04 <ThomasWaldmann> http://test17.wikiwikiweb.de/AttachmentTest <- new attachment_link output
2007-08-19T23:08:10 <ThomasWaldmann> (faking the inner text did not work any more, but this is more consistent anyway)
2007-08-19T23:08:30 <RaphaelBossek> ThomasWaldmann, is http://test17.wikiwikiweb.de/AttachmentTest?action=AttachFile right ? the attachment is called [[.....]] ?
2007-08-19T23:08:58 <dreimark> ThomasWaldmann: we have a theme bug
2007-08-19T23:09:01 <ThomasWaldmann> that's my current work, not in 1.7 main yet
2007-08-19T23:09:19 <ThomasWaldmann> dreimark: only one? :D
2007-08-19T23:09:40 <dreimark> hehe, no but one I was wondering for some minutes
2007-08-19T23:10:11 <ThomasWaldmann> RaphaelBossek: see the front page there for more strange markup
2007-08-19T23:10:12 <dreimark> if a user is logged out he sees the current page in pagetrail
2007-08-19T23:11:00 <ThomasWaldmann> what's the bug exactly?
2007-08-19T23:11:36 <dreimark> if you are logged out go to FindPage for example
2007-08-19T23:11:59 <dreimark> you see FindPage and in next line FindPage again
2007-08-19T23:12:45 <ThomasWaldmann> there are 3 modes now: logged in, logged out, logged out with anonymous session
2007-08-19T23:13:02 <ThomasWaldmann> the last one supports trails, the 2nd one not
2007-08-19T23:13:37 <ThomasWaldmann> so it should just check if there is a session
2007-08-19T23:14:04 <ThomasWaldmann> (we are talking of 1.7, right?)
2007-08-19T23:14:18 <dreimark> yep
2007-08-19T23:15:06 <dreimark> if it should be trails then only one page is shown the actual one
2007-08-19T23:15:42 <ThomasWaldmann> then you have no session (or it is the very first)
2007-08-19T23:15:54 <dreimark> I tried test17 too
2007-08-19T23:16:36 <ThomasWaldmann> if having_session: show_trail() :)
2007-08-19T23:17:47 <dreimark> logged out with having_session seems then only to show one entry
2007-08-19T23:31:12 <dreimark> neagulm: alive?
2007-08-19T23:31:26 <neagulm> dreimark, yes... testing...
2007-08-19T23:31:36 <dreimark> neagulm: fine
2007-08-19T23:33:20 <CIA-14> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2702:458e23c1349b 1.7/MoinMoin/formatter/__init__.py: fix another place calling attachment_link
2007-08-19T23:37:39 <dreimark> * investigating trails
2007-08-19T23:37:44 <ThomasWaldmann> dreimark: anonymous sessions need to be enabled in cfg
2007-08-19T23:38:28 <dreimark> if it is not enabled it should not show any trail for anonymous or ?
2007-08-19T23:39:19 <ThomasWaldmann> no
MoinMoin: MoinMoinChat/Logs/moin-dev/2007-08-19 (last edited 2007-10-29 19:19:07 by localhost)