2008-06-06T07:22:03 <mmihaljevic> dreimark: hi
2008-06-06T08:22:58 <ThomasWaldmann> moin
2008-06-06T09:29:54 <dreimark> moin
2008-06-06T09:30:04 <dreimark> hi gizmach
2008-06-06T10:38:31 <gizmach> dreimark: hello
2008-06-06T10:38:39 <gizmach> dreimark: sorry for delays
2008-06-06T10:52:16 <zenhase> moin
2008-06-06T10:54:58 <zenhase> the rain of the last few days has stopped, the sun is shining, birds are tweeting ... a great day for python coding
2008-06-06T10:55:42 <xorAxAx> moin byeongweon
2008-06-06T10:55:47 <xorAxAx> byeongweon: how does it work? :)
2008-06-06T11:46:24 <byeongweon> xorAxAx: hi,
2008-06-06T11:46:57 <byeongweon> xorAxAx: well, It works not well. but anyway works.
2008-06-06T11:47:30 <xorAxAx> byeongweon: if you have questions, just ask :)
2008-06-06T11:47:44 <byeongweon> xorAxAx: I'm try to find what plugin occur trouble.
2008-06-06T11:48:19 <byeongweon> xorAxAx: ok, thanks. but find what the problem is first I think.
2008-06-06T11:49:29 <xorAxAx> yeah
2008-06-06T12:11:46 <CIA-50> Christopher Denter <moin GUESSWHAT the DASH space DASH station PERIOD com> default * 4024:13b743074204 1.8-storage-cdenter/MoinMoin/storage/abstract.py: removing whitespace from assignments to make the abstract.py document more PEP08 compliant
2008-06-06T12:38:46 <dreimark> http://www.atug.com/andypatterns/pynsource.htm
2008-06-06T12:42:30 <ThomasWaldmann> re
2008-06-06T13:09:28 <dennda> Out of interest: When running py.test from inside MoinMoin/storage everything works, but executing a test_-file directly via the python interpreter it says it cannot import from MoinMoin (which is understandable) --- how does that work?
2008-06-06T13:11:21 <CIA-50> Reimar Bauer <rb.proj AT googlemail DOT com> default * 68:f0fed03fd6f7 1.7-extensions/data/plugin/ (action/arnica_slides.py parser/text_x_arnica.py): fixed target_page for thumbnails and slide show
2008-06-06T13:11:22 <CIA-50> Reimar Bauer <rb.proj AT googlemail DOT com> default * 69:6e6ba41483f6 1.7-extensions/data/plugin/CHANGES_arnica: CHANGES_arnica: some info added
2008-06-06T13:12:09 <dreimark> dennda: you have to setup the path
2008-06-06T13:12:30 <dennda> And I guess py.test does that automatically
2008-06-06T13:12:38 <dennda> (I know sys.path)
2008-06-06T13:12:52 <dennda> thanks
2008-06-06T13:12:54 <dreimark> dennda: yeah there is a conftest
2008-06-06T13:27:40 <ThomasWaldmann> dennda: you can invoke py.test test_foo.py
2008-06-06T13:31:29 <dennda> I wonder how py.test can know the correct path
2008-06-06T13:32:44 <dreimark> dennda: read conftest.py or the docu
2008-06-06T13:33:05 <dennda> thanks
2008-06-06T13:33:54 <dreimark> and you can write some simple scripts to run for debugging by eclipse
2008-06-06T13:40:03 <dreimark> dennda: gizmach e.g. old example http://paste.pocoo.org/show/63362/
2008-06-06T13:40:18 <dreimark> needs to be called on same level as wikiserver.py
2008-06-06T13:41:27 <ThomasWaldmann> dreimark: that's more complicated than needed
2008-06-06T13:42:06 <ThomasWaldmann> just write a normal _tests/testfoo.py file (see the other unit tests we already have)
2008-06-06T13:42:40 <ThomasWaldmann> and you don't need to generate a request object as it is already there as self.request
2008-06-06T13:42:50 <dreimark> I was not able to use such a test from eclipse debug can you?
2008-06-06T13:43:17 <ThomasWaldmann> i usually start the tests on the shell
2008-06-06T13:43:32 <dreimark> me too for tests
2008-06-06T13:43:50 <dreimark> bbut sometimes I do want to know which code is involved
2008-06-06T13:44:04 <dreimark> then I do use such a script to step through the code
2008-06-06T13:45:18 <ThomasWaldmann> if I do single step debugging, i usually use the real code (standalone server) and set a breakpoint at some place near the stuff i want to watch
2008-06-06T13:47:33 <dreimark> if you like to debug a failing test it is sometimes easier to add the test in such a script
2008-06-06T13:48:03 <dreimark> then you don't need to click in the browser
2008-06-06T16:26:01 <CIA-50> Reimar Bauer <rb.proj AT googlemail DOT com> default * 3670:a799b224389f 1.8/MoinMoin/macro/ (FootNote.py _tests/test_FootNote.py): macro.FootNote: reverted changeset 3243 1ad6243cdf06, fixed test (port from 1.7)
2008-06-06T16:37:08 <mmihaljevic> /nick gizmach
2008-06-06T16:37:22 <gizmach> ups
2008-06-06T16:50:03 <ThomasWaldmann> dhl
2008-06-06T17:08:01 <dreimark> bbl
2008-06-06T21:17:56 <gizmach> nwe ubuntu version
2008-06-06T21:23:19 <dreimark> s/nwe/new/
2008-06-06T22:00:58 <gizmach> ThomasWaldmann: r u there or dreimark
2008-06-06T22:02:22 <gizmach> nwm
2008-06-06T22:02:25 <gizmach> my fault
2008-06-06T22:07:07 <CIA-50> MelitaMihaljevic <melita.mihaljevic@gmail.com> default * 3646:a07d753b9eb1 1.8-ldapgroups-mmihaljevic/MoinMoin/ (3 files in 2 dirs): added ldap test framework to repo
2008-06-06T22:09:33 <dreimark> gizmach: yes
2008-06-06T22:09:47 <gizmach> dreimark: solved
2008-06-06T22:10:00 <gizmach> I was wondering why in my repo isn't ldap test framework
2008-06-06T22:10:18 <gizmach> my boyfriend is tryin to make run it under debian
2008-06-06T22:10:58 <gizmach> I have some permission denied in logs
2008-06-06T22:11:29 <dreimark> will have a look in some minutes
2008-06-06T22:13:14 <gizmach> dreimark: will pastebin
2008-06-06T22:13:36 <gizmach> my permition denied are for my new ubuntu
2008-06-06T22:17:21 <gizmach> http://paste.uni.cc/18832
2008-06-06T22:17:44 <gizmach> in the middle I'll write some mine code
2008-06-06T22:17:54 <gizmach> I also changed path and everyting
2008-06-06T22:18:20 <gizmach> also I changed the port but as you can see it is still trying to connect to 3490
2008-06-06T22:18:34 <gizmach> padon 3890
2008-06-06T22:22:03 <dreimark> gizmach: you need to do hg pull -u to get your branch in sync with the master 1.8 branch
2008-06-06T22:22:35 <gizmach> dreimark: it's ok now
2008-06-06T22:24:27 <dreimark> then please push
2008-06-06T22:24:41 <dreimark> I do miss my changes from today
2008-06-06T22:25:45 <dreimark> gizmach: do you have appamor running ?
2008-06-06T22:26:12 <gizmach> dreimark: I pushed
2008-06-06T22:26:13 <dreimark> somewhere in the code is a hint to stop it for the test
2008-06-06T22:26:18 <gizmach> yes
2008-06-06T22:26:21 <gizmach> and I stoped it
2008-06-06T22:26:50 <gizmach> on debian machine is the same problem and no apparmor
2008-06-06T22:26:54 <gizmach> the same log
2008-06-06T22:27:03 <dreimark> hmm no msg from CIA-50
2008-06-06T22:27:13 <dreimark> did you commit the branch merge ?
2008-06-06T22:27:15 <gizmach> CIA-50> MelitaMihaljevic <melita.mihaljevic@gmail.com> default * 3646:a07d753b9eb1 1.8-ldapgroups-mmihaljevic/MoinMoin/ (3 files in 2 dirs): added ldap test framework to repo
2008-06-06T22:27:31 <gizmach> dreimark: I commited to my repo
2008-06-06T22:27:59 <dreimark> I've seen that but I don't see http://hg.moinmo.in/moin/1.8
2008-06-06T22:28:16 <dreimark> 6 hours ago
2008-06-06T22:28:41 <gizmach> I didn't do that for the 1.8 because I think ThomasWaldmann added to 1.8?
2008-06-06T22:29:26 <dreimark> yes and it will be synced to your branch if you enter in your branch hg pull -u
2008-06-06T22:29:34 <dreimark> did you ?
2008-06-06T22:29:43 <gizmach> yes and it said no changes
2008-06-06T22:29:49 <dreimark> ThomasWaldmann: ping
2008-06-06T22:31:22 <gizmach> dreimark: it's my problem
2008-06-06T22:31:28 <gizmach> I was pulling from my repo
2008-06-06T22:31:31 <gizmach> stupid
2008-06-06T22:32:12 * dreimark thinks that will give to heads again
2008-06-06T22:32:15 <gizmach> ir's ok
2008-06-06T22:32:16 <gizmach> :)
2008-06-06T22:32:24 <gizmach> I pulled
2008-06-06T22:32:37 <dreimark> s/to/two/
2008-06-06T22:35:50 <gizmach> :)
2008-06-06T22:36:16 <dreimark> after the merge don't forget to commit and to push
2008-06-06T22:43:36 <gizmach> dreimark: ok
2008-06-06T22:44:21 <gizmach> but I have somethings I don't want to commit and I got message abort: outstanding uncommitted changes
2008-06-06T22:50:36 <dreimark> see hg diff
2008-06-06T22:50:57 <dreimark> you can save your changes to a file by hg diff > patch.txt
2008-06-06T22:51:06 <dreimark> then you can do hg revert --all
2008-06-06T22:51:16 <gizmach> http://paste.pocoo.org/show/63719/
2008-06-06T22:51:35 <gizmach> this is when I try to start slapd in LdapEnvironent
2008-06-06T22:51:38 <gizmach> in /tmp
2008-06-06T22:51:51 <dreimark> after all is ok then you can import the patch.txt
2008-06-06T22:52:04 <gizmach> dreimark: ah yes I done that before
2008-06-06T22:52:22 <gizmach> ThomasWaldmann: dreimark please look the pastebin plese
2008-06-06T22:52:39 <gizmach> also it's the same problem on debian
2008-06-06T22:53:20 <gizmach> bind(7, {sa_family=AF_INET6, sin6_port=htons(389), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EACCES (Permission denied)
2008-06-06T22:53:24 <gizmach> this line
2008-06-06T22:54:05 <dreimark> please paste the slapd.conf too
2008-06-06T22:54:34 <gizmach> dreimark: ok
2008-06-06T22:55:28 <gizmach> http://paste.pocoo.org/show/63721/
2008-06-06T22:58:56 * dreimark reads
2008-06-06T23:02:18 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 3663:fee546fba271 1.7/ (10 files in 3 dirs): fix xmlrpc request.read() call to use content-length, if available
2008-06-06T23:03:59 <dreimark> gizmach: does it work if you remove the .la extension in moduleload back_bdb.la
2008-06-06T23:04:15 <gizmach> wait I'll try
2008-06-06T23:18:37 <gizmach> dreimark: alpushing to ssh://hg@hg.moinmo.in/moin/1.8-ldapgroups-mmihaljevic
2008-06-06T23:18:38 <gizmach> searching for changes
2008-06-06T23:18:38 <gizmach> so it wouldn't push
2008-06-06T23:18:51 <CIA-50> MelitaMihaljevic <melita.mihaljevic@gmail.com> default * 3672:84da81990d2a 1.8-ldapgroups-mmihaljevic/ (63 files in 16 dirs): sync with 1.8
2008-06-06T23:18:55 <gizmach> ah it will
2008-06-06T23:21:48 <CIA-50> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2655:8adefd81aac5 1.6/ (10 files in 3 dirs): fix xmlrpc request.read() call to use content-length, if available (backport from 1.7)
2008-06-06T23:21:48 <dreimark> :)
2008-06-06T23:22:49 <dreimark> gizmach: you may want to obfuscate your email address
2008-06-06T23:23:31 <gizmach> dreimark: probably not :;)
2008-06-06T23:25:04 <gizmach> dreimark: and also without .la I got the same problem and the problem is probably with the port and permitions
2008-06-06T23:26:00 <ThomasWaldmann> anything left for me to do?
2008-06-06T23:26:23 <gizmach> ThomasWaldmann: a lot
2008-06-06T23:26:30 <gizmach> look at the logs and pastebin
2008-06-06T23:26:31 <dreimark> ThomasWaldmann: I think you both do have the same ubuntu version
2008-06-06T23:26:42 <gizmach> also the same problem is on debian
2008-06-06T23:27:45 <ThomasWaldmann> please look into syslog before falling back to strace
2008-06-06T23:30:16 <ThomasWaldmann> gizmach: so?
2008-06-06T23:30:48 <gizmach> sec
2008-06-06T23:31:44 <gizmach> http://paste.pocoo.org/show/63739/
2008-06-06T23:32:06 <gizmach> ThomasWaldmann:
2008-06-06T23:32:55 <ThomasWaldmann> if you are still trying to bind to 389, what are you wondering about?
2008-06-06T23:33:06 <ThomasWaldmann> it has a reason I used 3890
2008-06-06T23:33:46 <gizmach> I try to bind at 3890
2008-06-06T23:33:58 <gizmach> I didn't changed config
2008-06-06T23:34:13 <ThomasWaldmann> no you don't: bind(7, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
2008-06-06T23:34:24 <gizmach> I know
2008-06-06T23:34:33 <gizmach> that's what I tell all the time
2008-06-06T23:34:40 <gizmach> it doesn't use 3890 port
2008-06-06T23:35:25 <gizmach> self.slapd = Slapd(config=self.slapd_conf, port=3890+self.instance)
2008-06-06T23:37:52 <ThomasWaldmann> well, then something is broken :)
2008-06-06T23:38:15 <ThomasWaldmann> so you are trying on debian or ubuntu now?
2008-06-06T23:39:15 <ThomasWaldmann> did you change slapd_conf contents somehow?
2008-06-06T23:40:06 <gizmach> on ubuntu
2008-06-06T23:40:23 <gizmach> I wan't changing
2008-06-06T23:40:43 <gizmach> but also in debian machine it was only slapd newly installed
2008-06-06T23:41:29 <ThomasWaldmann> that strace is useless
2008-06-06T23:41:29 <gizmach> I just added modulepath /usr/lib/ldap
2008-06-06T23:42:27 <ThomasWaldmann> because you didnt give -h ...
2008-06-06T23:43:02 <ThomasWaldmann> (look into Slapd class)
2008-06-06T23:43:36 <gizmach> ThomasWaldmann: I tried with -h few secconds before
2008-06-06T23:45:53 <gizmach> http://paste.pocoo.org/show/63745/
2008-06-06T23:46:00 <gizmach> whith -h
2008-06-06T23:48:57 <ThomasWaldmann> that's incomplete
2008-06-06T23:49:13 <gizmach> ThomasWaldmann: you want it from beginning
2008-06-06T23:49:27 <ThomasWaldmann> show me your slapd commandline
2008-06-06T23:51:06 <ThomasWaldmann> gizmach:
2008-06-06T23:52:26 <gizmach> strace -ff slapd -h ldap://localhost:9009 -f slapd.conf
2008-06-06T23:52:30 <gizmach> you mean this?
2008-06-06T23:52:46 <ThomasWaldmann> yes
2008-06-06T23:53:31 <ThomasWaldmann> that port is unused on your system?
2008-06-06T23:54:04 <ThomasWaldmann> and what happens without strace?
2008-06-06T23:55:25 <gizmach> yes it's unused
2008-06-06T23:55:30 <gizmach> nothing
2008-06-06T23:55:42 <ThomasWaldmann> and please use 127.0.0.1 instead of localhost
2008-06-06T23:56:13 <ThomasWaldmann> what means "nothing"
2008-06-06T23:56:20 <gizmach> ok
2008-06-06T23:56:26 <ThomasWaldmann> you'll either have a running slapd (in the background)
2008-06-06T23:56:35 <ThomasWaldmann> or some syslog entries why it couldnt start
2008-06-06T23:58:10 <gizmach> http://paste.pocoo.org/show/63754/
2008-06-06T23:59:41 <gizmach> http://ubuntuforums.org/showthread.php?t=808097
2008-06-06T23:59:53 <ThomasWaldmann> this is ubuntu 8.04?
MoinMoin: MoinMoinChat/Logs/moin-dev/2008-06-06 (last edited 2008-06-06 05:30:02 by IrcLogImporter)