Sunday, 2008-06-01

[2008/06/01 00:08:28] <madduck> Volcane: yeah, and that should be fixed
[2008/06/01 00:10:27] * Volcane can't be bothered filing bugs against debian, it'll be all he ever does
[2008/06/01 00:11:07] * Volcane will rahter be workless than work on another debian site after current contract
[2008/06/01 00:24:11] @ trek1s joined channel #puppet
[2008/06/01 00:27:33] <madduck> Volcane: either you are very much out of luck or doing something very wrong then. :)
[2008/06/01 00:28:54] @ a-priori joined channel #puppet
[2008/06/01 00:29:42] @ Quit: a-priori: Client Quit
[2008/06/01 00:31:03] @ a-priori joined channel #puppet
[2008/06/01 00:33:31] @ Demosthenes joined channel #puppet
[2008/06/01 00:45:20] <jamesturnbull> madduck: your issue is SSL hostname
[2008/06/01 00:45:28] <jamesturnbull> madduck: see the urls in the channel topic
[2008/06/01 00:51:12] @ Quit: snerd: Read error: 110 (Connection timed out)
[2008/06/01 01:02:31] @ firestorm joined channel #puppet
[2008/06/01 01:10:17] @ firestorm left channel #puppet ()
[2008/06/01 01:38:52] @ f--z joined channel #puppet
[2008/06/01 01:44:15] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/06/01 02:04:37] @ Quit: andrewcshafer:
[2008/06/01 02:18:45] @ andrewcshafer joined channel #puppet
[2008/06/01 02:34:18] @ Quit: trek1s: Read error: 110 (Connection timed out)
[2008/06/01 02:36:48] @ dysinger joined channel #puppet
[2008/06/01 02:39:54] @ Quit: dysinger: Client Quit
[2008/06/01 02:40:31] @ dysinger joined channel #puppet
[2008/06/01 02:48:20] @ Joined channel #puppet
[2008/06/01 02:48:20] @ Topic is "0.24.4 is out: http://snurl.com/22lnx | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues"
[2008/06/01 02:48:20] @ Topic set by lak on Fri May 16 03:17:25 +1000 2008
[2008/06/01 02:48:49] @ nevyn joined channel #puppet
[2008/06/01 02:48:50] @ lassizci joined channel #puppet
[2008/06/01 02:48:53] @ Xteven joined channel #puppet
[2008/06/01 02:49:08] @ growler joined channel #puppet
[2008/06/01 02:49:11] @ duritong joined channel #puppet
[2008/06/01 02:51:45] @ shenson_not_here joined channel #puppet
[2008/06/01 02:53:14] @ kolla joined channel #puppet
[2008/06/01 02:53:18] @ Cuchulain joined channel #puppet
[2008/06/01 02:53:18] @ josb joined channel #puppet
[2008/06/01 02:53:20] @ Ol_ joined channel #puppet
[2008/06/01 02:53:21] @ roald joined channel #puppet
[2008/06/01 02:53:22] @ thijso joined channel #puppet
[2008/06/01 02:53:23] @ bch820 joined channel #puppet
[2008/06/01 02:55:20] @ a-priori joined channel #puppet
[2008/06/01 02:55:24] @ verwilst joined channel #puppet
[2008/06/01 03:02:05] @ Quit: verwilst: "Ex-Chat"
[2008/06/01 03:04:04] @ Wakko666 joined channel #puppet
[2008/06/01 03:04:21] @ MrProper_ joined channel #puppet
[2008/06/01 03:08:25] @ Quit: dysinger:
[2008/06/01 03:27:15] <hacim> Volcane: madduck it is fixed now
[2008/06/01 03:27:32] <madduck> :)
[2008/06/01 03:27:35] <madduck> thanks, micah!
[2008/06/01 03:27:45] <hacim> thanks for reporting it, a lot of people have not :P
[2008/06/01 03:27:55] <madduck> call me #1 debian bug reporter;
[2008/06/01 03:27:58] <gepetto> madduck: #1 is http://reductivelabs.com/trac/puppet/ticket/1 "Differentiate classes from definitions"
[2008/06/01 03:28:02] <madduck> i think i may even still be.
[2008/06/01 03:28:10] <hacim> i found out about it about 20 minutes before your bug report because i read about it on a blog?
[2008/06/01 03:28:18] <hacim> heh
[2008/06/01 03:29:28] <hacim> madduck:kcuddam
[2008/06/01 03:36:53] @ Quit: oxtail: Read error: 110 (Connection timed out)
[2008/06/01 03:38:07] @ dryrot joined channel #puppet
[2008/06/01 03:38:09] @ Quit: dryrot: Client Quit
[2008/06/01 03:38:11] @ dryrot joined channel #puppet
[2008/06/01 03:38:12] @ Quit: dryrot: Client Quit
[2008/06/01 03:38:41] @ dryrot joined channel #puppet
[2008/06/01 03:48:09] @ dysinger joined channel #puppet
[2008/06/01 04:32:25] @ Quit: andrewcshafer:
[2008/06/01 04:39:08] @ Quit: dysinger:
[2008/06/01 04:39:41] @ dysinger joined channel #puppet
[2008/06/01 04:44:08] @ andrewcshafer joined channel #puppet
[2008/06/01 04:56:25] @ pastie joined channel #puppet
[2008/06/01 05:37:23] @ Quit: dysinger:
[2008/06/01 05:39:02] @ vinci joined channel #puppet
[2008/06/01 05:53:44] @ Quit: andrewcshafer:
[2008/06/01 06:03:58] @ Quit: roald: "KVIrc 3.2.6 Anomalies http://www.kvirc.net/"
[2008/06/01 06:44:51] @ e^ipi left channel #puppet ()
[2008/06/01 06:50:40] @ dysinger joined channel #puppet
[2008/06/01 06:55:49] @ mfournier joined channel #puppet
[2008/06/01 06:59:35] @ Quit: markl__: "Lost terminal"
[2008/06/01 07:04:18] @ Quit: mfournier: "leaving"
[2008/06/01 07:10:00] @ Quit: dysinger: Read error: 104 (Connection reset by peer)
[2008/06/01 07:10:25] @ dysinger joined channel #puppet
[2008/06/01 07:25:09] @ jvanzyl joined channel #puppet
[2008/06/01 07:29:10] @ dysinger_ joined channel #puppet
[2008/06/01 07:30:07] @ Quit: dysinger: Read error: 104 (Connection reset by peer)
[2008/06/01 07:36:30] @ Quit: dysinger_:
[2008/06/01 07:44:35] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 07:45:42] @ jvanzyl joined channel #puppet
[2008/06/01 07:46:39] @ dysinger joined channel #puppet
[2008/06/01 07:49:37] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 07:49:54] @ jvanzyl joined channel #puppet
[2008/06/01 07:53:24] @ oxtail joined channel #puppet
[2008/06/01 07:53:29] @ shake-n-bake joined channel #puppet
[2008/06/01 07:57:34] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 07:58:01] @ jvanzyl joined channel #puppet
[2008/06/01 07:59:49] @ jvanzyl_ joined channel #puppet
[2008/06/01 07:59:50] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 08:08:09] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/01 08:18:31] @ shenson_not_here is now known as shenson
[2008/06/01 08:30:06] @ roald joined channel #puppet
[2008/06/01 08:33:10] @ Quit: roald: Client Quit
[2008/06/01 08:33:20] @ Demosthenes joined channel #puppet
[2008/06/01 08:41:42] @ Quit: lutter: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:44] @ Quit: glut: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:45] @ Quit: ssm: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:47] @ Quit: fux: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:49] @ Quit: Soahc: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:52] @ Quit: Omahn: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:53] @ Quit: ska-fan: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:54] @ Quit: _NiC: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:55] @ Quit: stevenjenkins: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:41:56] @ Quit: Mandus: kornbluth.freenode.net irc.freenode.net
[2008/06/01 08:43:10] @ lutter joined channel #puppet
[2008/06/01 08:43:11] @ stevenjenkins joined channel #puppet
[2008/06/01 08:43:12] @ ska-fan joined channel #puppet
[2008/06/01 08:43:13] @ Omahn joined channel #puppet
[2008/06/01 08:43:14] @ Soahc joined channel #puppet
[2008/06/01 08:43:15] @ fux joined channel #puppet
[2008/06/01 08:43:16] @ ssm joined channel #puppet
[2008/06/01 08:43:17] @ glut joined channel #puppet
[2008/06/01 08:43:18] @ Mandus joined channel #puppet
[2008/06/01 08:43:19] @ _NiC joined channel #puppet
[2008/06/01 08:43:20] @ Quit: ska-fan: Connection reset by peer
[2008/06/01 08:43:21] @ ska-fan joined channel #puppet
[2008/06/01 08:43:46] @ Quit: Soahc: Remote closed the connection
[2008/06/01 08:43:47] @ Soahc_ joined channel #puppet
[2008/06/01 08:45:24] @ roald joined channel #puppet
[2008/06/01 08:48:12] @ Quit: dysinger:
[2008/06/01 08:56:24] @ Quit: Demosthenes: Read error: 110 (Connection timed out)
[2008/06/01 08:57:25] @ Quit: lutter: "Leaving."
[2008/06/01 09:00:15] @ dysinger joined channel #puppet
[2008/06/01 09:08:15] @ jvanzyl joined channel #puppet
[2008/06/01 09:16:26] @ dysinger_ joined channel #puppet
[2008/06/01 09:16:27] @ Quit: dysinger: Connection reset by peer
[2008/06/01 09:18:37] @ shenson is now known as shenson_not_here
[2008/06/01 09:23:19] @ andrewcshafer joined channel #puppet
[2008/06/01 09:25:22] @ Quit: dysinger_:
[2008/06/01 09:27:17] @ Quit: oxtail: Read error: 113 (No route to host)
[2008/06/01 09:37:23] @ e^ipi joined channel #puppet
[2008/06/01 09:37:27] <e^ipi> okay... so
[2008/06/01 09:37:45] <e^ipi> why is puppet getting bored after installing daemons and not installing mongrel like i bloody well told it to?
[2008/06/01 09:40:47] @ lak joined channel #puppet
[2008/06/01 09:44:39] @ dysinger joined channel #puppet
[2008/06/01 09:50:17] @ Quit: lak:
[2008/06/01 10:10:24] <gepetto> ::puppet:: Ticket #1273 (defect created): Can't restart puppetd from puppetd @ http://reductivelabs.com/trac/puppet/ticket/1273 (by ask@develooper.com)
[2008/06/01 10:10:27] @ Quit: Ol_:
[2008/06/01 10:16:37] @ Quit: shake-n-bake:
[2008/06/01 10:22:53] @ Quit: dysinger:
[2008/06/01 10:29:33] @ dysinger joined channel #puppet
[2008/06/01 11:23:39] <jamesturnbull> e^ipi: gems?
[2008/06/01 11:37:34] @ Quit: dysinger:
[2008/06/01 11:42:30] @ a-priori_ joined channel #puppet
[2008/06/01 11:44:01] @ Quit: johnf: Read error: 101 (Network is unreachable)
[2008/06/01 11:52:10] @ fsweetser_laptop joined channel #puppet
[2008/06/01 11:52:36] @ Quit: fsweetser_laptop: Read error: 104 (Connection reset by peer)
[2008/06/01 11:55:11] @ Quit: pastie: Remote closed the connection
[2008/06/01 11:55:48] @ pastie joined channel #puppet
[2008/06/01 11:58:29] @ Quit: a-priori: Read error: 110 (Connection timed out)
[2008/06/01 12:26:08] @ Quit: bartc: Read error: 110 (Connection timed out)
[2008/06/01 13:39:54] @ Gwayne joined channel #puppet
[2008/06/01 14:37:46] @ Quit: a-priori_:
[2008/06/01 16:02:50] @ jvanzyl_ joined channel #puppet
[2008/06/01 16:02:53] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 16:10:30] @ lak joined channel #puppet
[2008/06/01 16:28:03] @ Quit: lak:
[2008/06/01 16:31:41] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/01 17:17:31] @ Quit: andrewcshafer:
[2008/06/01 17:50:33] @ Ol_ joined channel #puppet
[2008/06/01 19:02:37] @ DavidS joined channel #puppet
[2008/06/01 19:02:47] <DavidS> hi all!
[2008/06/01 19:06:55] @ unki joined channel #puppet
[2008/06/01 19:10:18] <DavidS> hallo unki!
[2008/06/01 19:12:54] <unki> hallo david
[2008/06/01 19:13:59] <unki> hast du dich schon mal an einer eigenen CA fuers puppet versucht? scheitere daran gerade etwas...
[2008/06/01 19:14:34] <DavidS> unki: -ELANG :) we should be respectful of the others
[2008/06/01 19:14:43] <unki> sure :-)
[2008/06/01 19:14:50] <DavidS> to answer your question, no i didn'T try, what's you're specific problem?
[2008/06/01 19:16:39] <unki> puppetca works ok. it generates certificates within the PKI without any problem. When I try to connect with a puppet client the first time, it get successfully a certificate (and it's correct - I can verify it with "openssl verify"), but then always puppetd always reports "tlsv1 alert unknown ca"
[2008/06/01 19:17:11] <unki> I'm already tried to debug openssl::ssl a bit, but it's a pain...
[2008/06/01 19:17:18] <unki> oh, I have already....
[2008/06/01 19:17:22] <DavidS> yeah, I hear it's a horrible mess
[2008/06/01 19:18:06] <DavidS> any reason why you don't just certify puppet's ca to integrate the whole tree into your trust domain?
[2008/06/01 19:19:04] <DavidS> to stay with your specifics: /var/lib/puppet/ssl/certs/ca.pem should contain the right ca, does it?
[2008/06/01 19:20:12] <unki> yes, I was also thinking about this way. But I thought about creating the ca & its key on a secure machine...
[2008/06/01 19:20:33] <DavidS> you can run a puppetmaster in ca-only mode
[2008/06/01 19:20:47] <DavidS> and redirect all key-mgmt request from the clients there (via puppet.conf)
[2008/06/01 19:21:05] <DavidS> see --caserver in the wiki:ConfigurationReference (or something similar)
[2008/06/01 19:21:14] <gepetto> DavidS: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference
[2008/06/01 19:21:37] <unki> you mean on the client? yes, ca.pem is there and contains the right public CA cert. I also tried to concatenate all public CA certs of the hierarchy together...
[2008/06/01 19:22:27] <DavidS> You surely have double-checked whether you ca has all the same attributes as your custom one?
[2008/06/01 19:22:39] <DavidS> ... as the puppet one
[2008/06/01 19:23:55] @ Quit: fsweetser: Remote closed the connection
[2008/06/01 19:24:08] <unki> Yes, the pubkey of the CA get also enrolled in /etc/ssl/certs and it's exactly the same. Currently I try to locate, if this "tlsv1 alert unkown ca" comes from the client or server. Because in tcpdump I see some packets passing...
[2008/06/01 19:27:05] <unki> do you really think the option is called caserver? because I can't find anything about it in trac or in the actual git checkout
[2008/06/01 19:27:49] @ Quit: fastjay: Read error: 110 (Connection timed out)
[2008/06/01 19:28:04] @ David1 joined channel #puppet
[2008/06/01 19:28:26] <David1> god i hate the network here
[2008/06/01 19:46:07] @ Quit: DavidS: Read error: 110 (Connection timed out)
[2008/06/01 19:49:18] @ Quit: authentic: "[IRSSI]"
[2008/06/01 19:49:28] @ authentic joined channel #puppet
[2008/06/01 19:51:03] @ fastjay joined channel #puppet
[2008/06/01 19:55:36] <unki> ah, now I found it. ca_server you meant.
[2008/06/01 20:07:25] @ f--z joined channel #puppet
[2008/06/01 20:17:45] @ Demosthenex joined channel #puppet
[2008/06/01 20:58:55] @ Quit: ohadlevy: Read error: 104 (Connection reset by peer)
[2008/06/01 20:59:09] @ ohadlevy joined channel #puppet
[2008/06/01 21:10:11] @ Quit: unki: "Ex-Chat"
[2008/06/01 21:27:53] @ bartc joined channel #puppet
[2008/06/01 21:29:47] @ David1 is now known as DavidS
[2008/06/01 21:55:27] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/06/01 22:29:01] @ a-priori_ joined channel #puppet
[2008/06/01 22:47:03] @ f--z joined channel #puppet
[2008/06/01 22:50:02] @ martha joined channel #puppet
[2008/06/01 23:08:50] <DavidS> nice, 8-60x increase over ruby1.8: http://blog.obiefernandez.com/content/2008/05/maglev-is-gemst.html
[2008/06/01 23:08:57] <DavidS> speed increase, that is
[2008/06/01 23:09:32] <ashp> wow, nice!
[2008/06/01 23:09:39] <ashp> Are they aiming to integrate this with stock ruby?
[2008/06/01 23:10:23] <DavidS> no, maglev seems to be a proprietary implementation of the VM
[2008/06/01 23:10:58] <DavidS> http://ruby.gemstone.com/
[2008/06/01 23:11:05] <DavidS> not very informative
[2008/06/01 23:11:45] <DavidS> here's some interview about the product : http://www.infoq.com/news/2008/04/maglev-gemstone-builds-ruby
[2008/06/01 23:11:48] * DavidS is reading
[2008/06/01 23:13:47] <duritong> sometimes i'm quite iritated by native ruby
[2008/06/01 23:14:10] <duritong> i think there have been a ruby compiler in javascript which have been faster than native
[2008/06/01 23:14:34] <DavidS> \o/
[2008/06/01 23:15:14] <duritong> http://ejohn.org/blog/ruby-vm-in-javascript/
[2008/06/01 23:15:55] <DavidS> http://www.infoq.com/news/2008/04/maglev-gemstone-builds-ruby
[2008/06/01 23:17:13] <DavidS> duritong: "The server-side CGI script (in Ruby, using Ruby 1.9) compiles the incoming Ruby into its associated opcodes and serializes it into a JSON data structure."
[2008/06/01 23:17:29] <DavidS> interpreting opcodes is a completely different game
[2008/06/01 23:22:21] <duritong> I also read recently something about languages and that they should be written in itself, what was mentioned to be the main reasons for ruby being so slow
[2008/06/01 23:22:44] <duritong> however this was more just a opinion
[2008/06/01 23:25:00] <duritong> http://weblog.raganwald.com/2006/11/significance-of-meta-circular_22.html
[2008/06/01 23:33:31] @ Quit: mikearr: Read error: 110 (Connection timed out)
[2008/06/01 23:36:46] @ mikearr joined channel #puppet
[2008/06/01 23:43:08] <DavidS> duritong: thanks, was a nice read ..
[2008/06/01 23:44:34] <DavidS> I wasn't cnciously aware of the fact that ruby's core classes are written in C, therefore I'm even more amazed how slow the interpreter is :-/
[2008/06/01 23:45:44] <ashp> i wonder if it's just a naive reinvention of the wheel that makes it slow?
[2008/06/01 23:46:28] <ashp> whatever happened to that 'parrot' thing that was supposed to be a vm core for perl/python/other projects
[2008/06/01 23:46:42] <DavidS> still in development?
[2008/06/01 23:46:56] <ashp> i just hadn't heard anything from it in years, i figured it had maybe collapsed
[2008/06/01 23:48:11] @ mfournier joined channel #puppet
[2008/06/01 23:48:59] <DavidS> -->> http://www.madstop.com/tools/a_first_pass_at_dtrace.html
[2008/06/01 23:49:20] <DavidS> it amazes me that something simple like nil? can show up with _any_ significant amount of execution time
[2008/06/01 23:50:33] <duritong> yeah this is really odd
[2008/06/01 23:51:10] <ashp> why the hell does nil? show up at all
[2008/06/01 23:51:12] <ashp> odd
[2008/06/01 23:51:15] @ Quit: Ol_: Remote closed the connection
[2008/06/01 23:51:20] <ashp> maybe 1.9 will improve some of this
[2008/06/01 23:52:51] <DavidS> my bottleneck seems to be database time though: Stored catalog for fw-schmidg.edv-bus.at in 49.91 seconds, Compiled configuration for fw-schmidg.edv-bus.at in 57.39 seconds
[2008/06/01 23:53:34] <ashp> Mine are relatively fast, apart from one broken module I've been too lazy to fix
[2008/06/01 23:53:55] <ashp> it tries to automount /homes/ off nfs for all servers and that fails
[2008/06/01 23:54:09] <ashp> that is probably going to become my first actual define because I'm tired of watching servers time out to nfs :)
[2008/06/01 23:54:58] @ andrewcshafer joined channel #puppet
[2008/06/01 23:55:39] @ Quit: Gwayne: Remote closed the connection
[2008/06/01 23:55:55] <duritong> 1.9 should improve such things as well i could watch that memory management is done much better
[2008/06/01 23:56:12] <duritong> however i think continuation and others aren't anymore supported
[2008/06/01 23:56:39] <duritong> which is something that in my opinion any modern programming should have
[2008/06/01 21:51:48] @ dysinger joined channel #puppet
[2008/06/01 21:59:44] @ dysinger_ joined channel #puppet
[2008/06/01 22:00:13] @ Quit: dysinger: Connection reset by peer
[2008/06/01 22:02:53] @ Quit: dysinger_: Read error: 104 (Connection reset by peer)
[2008/06/01 22:03:18] @ dysinger joined channel #puppet
[2008/06/01 22:10:25] @ Quit: ohadlevy: Remote closed the connection
[2008/06/01 22:18:20] @ john1 joined channel #puppet
[2008/06/01 22:24:44] @ john2 joined channel #puppet
[2008/06/01 22:29:12] @ john3 joined channel #puppet
[2008/06/01 22:29:32] @ Quit: johnf: Read error: 101 (Network is unreachable)
[2008/06/01 22:32:14] @ randybias joined channel #puppet
[2008/06/01 22:32:49] @ Quit: dysinger: Read error: 104 (Connection reset by peer)
[2008/06/01 22:33:15] @ dysinger joined channel #puppet
[2008/06/01 22:39:30] @ jvanzyl_ joined channel #puppet
[2008/06/01 22:39:31] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 22:42:02] @ Quit: john1: Read error: 101 (Network is unreachable)
[2008/06/01 22:43:23] @ Quit: john2: Read error: 101 (Network is unreachable)
[2008/06/01 22:58:18] @ shadoi joined channel #puppet
[2008/06/01 22:59:03] @ Quit: dysinger:
[2008/06/01 22:59:05] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/01 23:00:20] @ jvanzyl joined channel #puppet
[2008/06/01 23:07:09] @ Quit: john3: Read error: 113 (No route to host)
[2008/06/01 23:16:05] @ lak joined channel #puppet
[2008/06/01 23:17:11] <jamesturnbull> shadoi: ping - can I pick your brains about ActiveRecord? I am doing some Trac-to-Redmine migration
[2008/06/01 23:17:44] <shadoi> sure
[2008/06/01 23:17:56] <jamesturnbull> so Redmine has a trac migration rake task
[2008/06/01 23:18:05] <jamesturnbull> http://github.com/yugui/redmine4ruby-lang/tree/master/lib/tasks/migrate_from_trac.rake
[2008/06/01 23:19:57] <jamesturnbull> it copies users from tickets/wiki tables in Trac (all Sqlite3) to Redmine
[2008/06/01 23:20:37] <jamesturnbull> but it doesn't pick up user's names and email addresses consistently so I adapted it to pull those details from the session_attribute table
[2008/06/01 23:20:44] <jamesturnbull> http://pastie.caboo.se/206455 - around line 200 for or
[2008/06/01 23:21:02] <jamesturnbull> but I get an error when it runs - http://pastie.caboo.se/206454
[2008/06/01 23:21:14] <jamesturnbull> and lak suggested you might be a good person to ask as he is off training
[2008/06/01 23:23:35] <shadoi> k 1 sec
[2008/06/01 23:23:59] <jamesturnbull> thanks - any help much appreciated - ActiveRecord is entirely new to me
[2008/06/01 23:24:04] <shadoi> ok, so it's failing a validation check
[2008/06/01 23:24:15] <shadoi> hang on, simple fix
[2008/06/01 23:25:41] <shadoi> ok, so in the Redmine user model you need to either change/temp disable the validates_length_of call, or pad the usernames
[2008/06/01 23:26:40] @ jvanzyl_ joined channel #puppet
[2008/06/01 23:26:41] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 23:26:53] <jamesturnbull> okay....
[2008/06/01 23:27:16] <jamesturnbull> so the User.new call expects a certain size?
[2008/06/01 23:27:52] <shadoi> Yeah, should be a simple 1 line method call in app/models/user.rb
[2008/06/01 23:28:07] <shadoi> validates_length_of :username, :in => ...
[2008/06/01 23:28:55] @ jvanzyl joined channel #puppet
[2008/06/01 23:28:56] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/01 23:30:41] <jamesturnbull> shadoi: so it'd probably be better to pad right?
[2008/06/01 23:31:23] <shadoi> yeah I think so
[2008/06/01 23:31:26] <shadoi> kind of annoying though
[2008/06/01 23:31:33] <jamesturnbull> actually that validates line has maximum size = blah length
[2008/06/01 23:31:39] <shadoi> It may be a fairly arbitrary requirement
[2008/06/01 23:31:40] <jamesturnbull> so I pad to max size?
[2008/06/01 23:31:46] <jamesturnbull> that seems ... oddd
[2008/06/01 23:32:03] <jamesturnbull> surely if the data fits in the size then it should just accept it?
[2008/06/01 23:32:15] <shadoi> lemme clone it, hang on
[2008/06/01 23:33:24] <jamesturnbull> bb in ten ticks
[2008/06/01 23:35:14] @ jvanzyl_ joined channel #puppet
[2008/06/01 23:35:16] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/06/01 23:36:03] <shadoi> jamesturnbull: ah, I think I misread. I think it's expecting an array when it finds a single email address.
[2008/06/01 23:38:06] @ jvanzyl joined channel #puppet
[2008/06/01 23:38:08] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/06/01 23:43:23] @ Quit: lak: Read error: 104 (Connection reset by peer)
[2008/06/01 23:43:46] @ lak joined channel #puppet
[2008/06/01 23:46:36] @ Quit: lak: Client Quit
[2008/06/01 23:46:56] <shadoi> jamesturnbull: it looks like a bug in the gloc plugin that they're using
[2008/06/01 23:47:13] <shadoi> it's expecting there to be a range specified, but rails doesn't require it.
[2008/06/01 23:47:21] <shadoi> and their code doesn't handle it
[2008/06/01 23:47:46] <shadoi> like 197 in vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb
[2008/06/01 23:47:52] <shadoi> s/like/line/
[2008/06/01 23:49:48] <jamesturnbull> shadoi: okay
[2008/06/01 23:50:00] <jamesturnbull> shadoi: so how do I fix it?
[2008/06/01 23:50:09] <shadoi> you can hack that plugin up to allow it
[2008/06/01 23:50:24] <shadoi> But I'm not even sure what that plugin is for
[2008/06/01 23:50:24] <shadoi> heh
[2008/06/01 23:50:45] <shadoi> ah, localization
[2008/06/01 23:51:12] <jamesturnbull> so comment out the range thing?
[2008/06/01 23:53:03] <shadoi> yeah, that's what I'd try
[2008/06/01 23:56:59] @ lassizci_ joined channel #puppet
[2008/06/01 23:57:56] @ a-priori joined channel #puppet

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!