Team Chat Logs

2007 3
Mo Tu We Th Fr Sa Su
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

April 27, 2007

[00:08:44] * otaku42 has joined #trac
[00:11:43] * m_g has joined #trac
[00:17:15] * RudyValencia has joined #trac
[00:17:18] <RudyValencia> part
[00:17:20] <RudyValencia> oops
[00:17:22] * RudyValencia has left #trac
[00:19:52] <RememberPOL> does anyone know where i can edit the mainnave contents? (wik,timeline,login,etc)
[00:21:54] * hpnadig has joined #trac
[00:23:00] * prologic has joined #trac
[00:24:09] * cmlenz has joined #trac
[00:24:36] * datallah has quit IRC
[00:28:15] * datallah has joined #trac
[00:29:33] * Coszmin has joined #trac
[00:30:14] * RememberPOL has left #trac
[01:05:39] * RememberPOL has joined #trac
[01:21:22] * cboos has joined #trac
[01:21:45] <cboos> hello
[01:27:10] <asmodai> Hello.
[01:35:39] * Coszmin is now known as csz
[01:35:44] * csz is now known as ksz
[01:35:55] * ksz has left #trac
[01:38:05] * cosz has joined #trac
[01:56:48] * cmlenz has joined #trac
[02:09:04] * marlun has joined #trac
[02:18:25] <evil_twin> New news from t.e.o: Ticket #5232 (task closed): http://forums.sagetv.com/forums/showthread.php?t=13539 <http://trac.edgewall.org/ticket/5232#comment:3>
[02:34:37] * RememberPOL has left #trac
[02:36:00] * derjohng2 has joined #trac
[02:38:53] * derjohng has joined #trac
[02:39:07] * RememberPOL has joined #trac
[02:39:22] <RememberPOL> anyone around?
[02:39:27] * derjohng2 has quit IRC
[02:48:36] <evil_twin> New news from t.e.o: Ticket #5233 (defect created): Client details - European Countries <http://trac.edgewall.org/ticket/5233>
[03:18:47] <evil_twin> New news from t.e.o: Ticket #5234 (defect created): error with Development link <http://trac.edgewall.org/ticket/5234>
[03:34:29] * jae has joined #trac
[03:38:07] * cosz has quit IRC
[03:38:17] * cosz has joined #trac
[03:48:57] <evil_twin> New news from t.e.o: Ticket #5234 (defect closed): error with Development link <http://trac.edgewall.org/ticket/5234#comment:1>
[04:09:43] * cmlenz has quit IRC
[04:10:10] * ValiSystM has joined #trac
[04:10:19] <ValiSystM> hello
[04:10:59] * cboos_ has joined #trac
[04:11:39] <ValiSystM> i've got a problem with the trac-post-commit-hook, everything seems to be correct (i checked all paths and so on) but when i try to run it manually, i got a 'trac.core.TracError: Unsupported version control system "svn"'
[04:13:48] * cboos has quit IRC
[04:13:57] * cboos_ is now known as cboos
[04:18:46] * marlun has quit IRC
[04:37:19] * cboos has quit IRC
[04:37:51] * cboos_ has joined #trac
[04:37:53] * cboos_ is now known as cboos
[04:53:26] * Megz has joined #Trac
[04:59:32] * DocTomoe has joined #trac
[05:04:08] <coderanger> cboos: Ping
[05:04:25] * cboos has quit IRC
[05:06:39] * asmodai blinks
[05:06:54] <asmodai> why on earth would my httpd be going 90% CPU time
[05:07:45] <asmodai> can't even find a logfile that's increasing.
[05:07:49] <asmodai> o_O
[05:12:25] <RememberPOL> `lsof|grep httpd`?
[05:19:27] <asmodai> Already coming close to what it is.
[05:19:36] <asmodai> trac + mod_python seem to be the culprit.
[05:19:44] <RememberPOL> hm
[05:20:22] <franck34> hi all is the maintener of flexjsplugin is in the room ?
[05:21:16] <asmodai> with everything except trac as a mod_python config active I have no problems
[05:21:21] * asmodai adds trac back into the config
[05:21:34] * fwierzbicki has joined #trac
[05:22:23] <asmodai> mmmm, or is that due to the PythonInterpreter thinghy for vhosts? mmm
[05:26:32] <asmodai> Well, one instance of mod_python trac doesn't cause problems.
[05:27:04] <asmodai> Jups.
[05:27:05] <asmodai> Bingo.
[05:28:11] <asmodai> mmm, peculiar, and now I cannot reproduce it *gah*
[05:28:54] * GaLi has joined #trac
[05:29:06] <GaLi> hi everyone
[05:30:22] <GaLi> got the "famous" 'Unsupported version control system "svn"' when doing trac-admin resync
[05:30:36] <GaLi> I've read http://trac.edgewall.org/wiki/TracSubversion and everything seems to be fine
[05:30:56] <GaLi> 'from svn import core' is working with python
[05:31:30] <GaLi> subversion 1, 4, 3, 3 and trac 0.10.4
[05:31:55] <GaLi> any ideas where I should look at?
[05:34:37] <coderanger> GaLi: Make sure /usr/bin/python and mod_python are compiled against the same version of Python
[05:35:35] <GaLi> coderanger: mod_python is for apache, right? Because i'm using trac as a standalone server
[05:35:43] <coderanger> Ahh
[05:36:04] <coderanger> Then make sure the tracd script and python from the command line are using the same version
[05:36:05] <GaLi> btw, I have python 2.3
[05:37:30] <GaLi> coderanger: yes, I have only one python version : /usr/bin/python
[05:37:49] <coderanger> Where are the bindings installed?
[05:39:29] <cosz> hey can anyone tell me how I need to install the TracWebAdmin "egg" thing ... i've never installed python plugins before i have no ideea what to do with the files i downloaded in that zip from the TracWebAdmin page
[05:39:58] <coderanger> cosz: Remove the .zip extension (but don't unzip it)
[05:40:06] <coderanger> then drop the egg in /path/to/env/plugins
[05:40:35] <cosz> really live in zip format without an extension ... sotr of like a jar , thx i'll try it
[05:41:07] <GaLi> coderanger: bindings are in /usr/local/lib/svn-python and I've created /usr/lib/python2.3/site-packages/svn.pth
[05:41:10] <coderanger> But chances are you don't want to use those
[05:41:42] <coderanger> GaLi: How about python -c 'from svn import fs'
[05:42:04] <GaLi> coderanger: works fine
[05:42:46] <coderanger> ldd the bindings modules, and see if anything is unresolved
[05:43:02] <coderanger> You are doing this all sudo -u $TRAC_USER, right?
[05:43:59] <GaLi> no, I'm doing tests as root
[05:44:49] <GaLi> what do you mean by "ldd the bindings modules" ?
[05:44:53] <coderanger> Yeah, don't do that
[05:46:26] <coderanger> ldd /usr/local/lib/svn-python/libsvn/*.so
[05:46:36] <cosz> and how do i use trac-admin to give initial permissions to a user to be an admin ?
[05:47:51] <GaLi> coderanger: ldd /usr/local/lib/svn-python/libsvn/*.so => looks fine
[05:48:14] <coderanger> cosz: trac-admin /path permission add $USER TRAC_ADMIN
[05:48:23] <coderanger> GaLi: Try testing the imports as the trac user
[05:48:27] <cosz> thanks a lot
[05:48:39] <coderanger> GaLi: It is possible one of the files is root-read-only
[05:49:02] <cosz> right , just noticed this in the docs as well ... sorry for beeing impatient :)
[05:49:54] <GaLi> coderanger: well, I don't have any trac user. I've installed it from source and using it as root
[05:50:18] <coderanger> GaLi: Then try it from "nobody"
[05:50:24] <coderanger> or at least your normal user
[05:50:24] <GaLi> ok
[05:50:41] * asmodai wonders if milestone dates are hardwired US style dates.
[05:51:18] <coderanger> asmodai: No, it is locale-dependent
[05:51:31] <GaLi> coderanger: works fine as a normal user
[05:52:04] <asmodai> That's peculiar then.
[05:52:44] <asmodai> Since both my preferences for my logged in user as my SetEnv LC_TIME are set to Dutch style, yet milestone pops up with MM/DD/YY
[05:53:08] <asmodai> mmm
[05:53:13] * asmodai rechecks SetEnv
[05:53:23] <asmodai> but, wouldn't your session preference take precendence?
[05:53:49] <asmodai> It does give me 24 hour time at least for timeline, just the dates are all in this whacked US format.
[05:54:18] <coderanger> asmodai: Hmm, not sure if that chunk has been converted to the new API
[05:54:29] <cosz> coderanger : sorry for bugging you again , but i tried entering this : trac-admin ../../workspaces/trac permission add test TICKET_ADMIN , i also did the list command and saw the test user with that permission , however when i login as test , even after restarting the server i don't see the admin menu in the page
[05:54:35] <cosz> any ideeas ?
[05:54:43] <asmodai> coderanger: Guess not ;)
[05:54:49] <coderanger> cosz: TICKET_ADMIN != TRAC_ADMIN
[05:55:28] <cosz> oh right ... well trac_admin gave me : Command failed: TRACK_ADMIN is not a valid action.
[05:55:45] <asmodai> notice the K
[05:56:14] <cosz> damn :(
[05:56:45] <cosz> sorry , got to anxious at the end i guess
[05:56:53] <cosz> been at this for a few hours now :)
[05:57:34] <cosz> now where is the admin menu supposed to be , still now showing up
[05:57:53] <coderanger> cosz: in the menu bar
[05:57:57] <coderanger> Are you logged in?
[05:58:19] <asmodai> coderanger: nope, keeps using DD/MM/YY regardless of my SetEnv LC_TIME "nl_NL.ISO8859-15"
[05:58:30] <cosz> no , nothing there
[05:58:42] <coderanger> asmodai: Sounds like a bug :)
[05:58:50] <coderanger> cosz: You aren't logged in?
[05:58:50] <cosz> yes , i am logged in
[05:58:53] <coderanger> Ahh
[05:59:03] <coderanger> Did you restart your server?
[05:59:05] <cosz> logged in as test it says ... just loged out / in again
[05:59:06] <cosz> yes
[05:59:10] * asmodai logs a ticket
[05:59:11] <cosz> server restarted as well
[05:59:25] <coderanger> cosz: Check the log, make sure it sees and is loading the egg
[05:59:26] <coderanger> @logging
[05:59:26] <evil_twin> coderanger: "logging" is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.
[05:59:51] <coderanger> cosz: Do you actually have 0.9 (since for 0.10 you don't want to use the prebuilt eggs)?
[06:00:03] * coderanger brb
[06:00:04] <cosz> oh maybe not
[06:00:35] <cosz> yea , it's 0.10.3
[06:05:46] <cosz> so how do i go about installing the web trac admin for trac 0.10
[06:05:55] <cosz> get from svn build from source ?
[06:06:58] * Megz has quit IRC
[06:07:47] <coderanger> yes
[06:07:52] <coderanger> @wiki TracPlugins
[06:07:52] <evil_twin> coderanger: http://trac.edgewall.org/wiki/TracPlugins
[06:09:23] * RememberPOL has left #trac
[06:10:39] <cosz> and this wouldn't work with easy_install i asume ?
[06:11:07] <coderanger> Sure
[06:11:11] <coderanger> grab the source
[06:11:13] <coderanger> easy_install .
[06:11:16] <coderanger> or even
[06:11:43] <coderanger> easy_install http://svn.edgewall.com/repos/trac/sandbox/webadmin/ -md /usr/share/trac/plugins
[06:13:05] <cosz> but i don't have easy_install
[06:13:11] <cosz> i assumed it came with perl or something
[06:13:29] <cosz> yum doesn't seem to nwo abut it
[06:14:01] <coderanger> setuptools
[06:14:07] <cosz> and if i remember correctly i have installed pytho-devel
[06:14:08] <coderanger> you need that to use plugins in any case
[06:14:15] <coderanger> yum install setuptools
[06:14:25] <cosz> hmm nothing to do
[06:14:29] <coderanger> Trac has nothing to do with Perl
[06:14:39] <cosz> i ment python
[06:14:42] <coderanger> yum search setuptools
[06:14:50] <coderanger> no, setuptools is not an included library
[06:14:58] <cosz> got it
[06:15:01] <cosz> python-setuptools
[06:18:18] <cosz> now it's saying something about -md
[06:18:35] <cosz> first it said installed /usr/lib/python.4/site-packages/TracWeb...egg
[06:18:40] <cosz> then said searching for -md
[06:18:51] <coderanger> hmm
[06:18:55] <cosz> and ended with error : coould not find suitable distro for requirement.parse(-md)
[06:19:19] <coderanger> easy_install -md /usr/share/trac/plugins http://svn.edgewall.com/repos/trac/sandbox/webadmin/
[06:19:38] <evil_twin> New news from t.e.o: Ticket #5235 (defect created): Cannot sending trac ticket to external user <http://trac.edgewall.org/ticket/5235>
[06:20:51] <GaLi> coderanger: got it! repository_dir wasn't set in trac.ini. Sorry for being OS dumb :)
[06:20:58] <GaLi> anyway, thank you!
[06:21:59] * d7rt has joined #trac
[06:22:36] <asmodai> coderanger: mmm, even funnier, I can get it to work with lighttpd, but not apache
[06:22:41] <coderanger> cosz: Then make sure you enable it
[06:22:45] <asmodai> Yet this worked before :S
[06:22:47] <coderanger> asmodai: Are you using mod_python?
[06:22:52] <asmodai> coderanger: aye
[06:23:01] <coderanger> asmodai: SetEnv won't work with that
[06:23:07] <coderanger> asmodai: PythonOption TracLocale
[06:23:14] * asmodai slaps himself
[06:23:29] <cosz> ah right , i remember reading about that
[06:23:33] <cosz> dooing it now
[06:24:01] <asmodai> coderanger: Nothing about PythonOption TracLocale in the docs btw from what I can see.
[06:24:13] * asmodai check TracLocale out
[06:24:33] <cosz> oh finally :)
[06:24:38] <cosz> thanks so much coderanger
[06:25:42] <coderanger> asmodai: http://trac.edgewall.org/wiki/TracFaq#how-do-i-change-the-format-used-for-displaying-date-and-time
[06:26:18] * GaLi has quit IRC
[06:26:33] <asmodai> coderanger: Right, not synced back to the repo :S
[06:26:51] <coderanger> asmodai: The repo doesn't mean squat
[06:27:00] <coderanger> asmodai: Thats only updated before a release
[06:27:40] <asmodai> Yeah, I figure by now. Just not always as useful if you try to do faster checks locally. =\
[06:28:02] <coderanger> @search !TracLocale
[06:28:02] <evil_twin> coderanger: There were no matching configuration variables.
[06:28:15] <coderanger> evil_twin: you moron :P
[06:28:15] <evil_twin> coderanger: Error: "you" is not a valid command.
[06:28:22] <asmodai> hah
[06:29:00] <asmodai> is that iso8601 of trac/util/datefmt.py a Trac built-in you can alternatively use?
[06:29:45] <coderanger> asmodai: hmm?
[06:32:51] <asmodai> Just wonder about that iso8601 in datefmt.py
[06:34:01] <coderanger> I guess you can explicitly pick ISO format
[06:34:28] * asmodai tries
[06:35:17] <asmodai> *grin*
[06:35:54] <asmodai> ok, trac dies when TracLocale is set to something nonsensical.
[06:35:55] * retracile has quit IRC
[06:36:15] <asmodai> [Fri Apr 27 22:25:38 2007] [error] [client 82.92.216.8] Error: unsupported locale setting
[06:36:28] <asmodai> and poof, internal server error on all urls
[06:37:46] * Hadaka has quit IRC
[06:43:13] <asmodai> coderanger: btw, what about a PythonOption for PYTHON_EGG_CACHE ?
[06:50:48] <coderanger> asmodai: For that you do use SetEnv
[06:50:55] <evil_twin> New news from t.e.o: Ticket #5235 (defect reopened): Cannot sending trac ticket to external user <http://trac.edgewall.org/ticket/5235#comment:2> || Ticket #5235 (defect closed): Cannot sending trac ticket to external user <http://trac.edgewall.org/ticket/5235#comment:1>
[06:50:56] <asmodai> *grin*
[06:59:17] * Megz has joined #Trac
[07:01:58] * danbeck has joined #trac
[07:06:53] * retracile has joined #trac
[07:07:16] <retracile> mornin'
[07:19:03] <mitsuhiko> hmm. omsone pinged me
[07:28:02] * asmodai pongs mitsuhiko
[07:28:15] <mitsuhiko> hehe
[07:28:33] <mitsuhiko> well, figured it out
[07:28:37] <mitsuhiko> apparently that was cmlenz
[07:32:44] <asmodai> Always the same people.
[07:33:11] <mitsuhiko> couls someone tell him that i still know ways to speed genshi up? :)
[07:33:15] <mitsuhiko> once he's offline
[07:33:19] <mitsuhiko> s/off/on/
[07:36:16] <asmodai> mitsuhiko: Oh, that's nifty.
[07:36:20] <asmodai> mitsuhiko: Code wise or?
[07:36:38] <mitsuhiko> asmodai: well, i would love to work on the speedups branch
[07:47:51] * cmlenz has joined #trac
[07:52:02] <evil_twin> New news from t.e.o: Ticket #5236 (defect created): Bugs editing some "Ticket system" <http://trac.edgewall.org/ticket/5236>
[07:53:34] <retracile> asmodai, you should be able to leave a message with evil_twin for cmlenz
[08:02:20] <asmodai> mitsuhiko: dude!
[08:02:58] <cmlenz> anyone here thinking about attending europython?
[08:03:21] <asmodai> << mitsuhiko>> apparently that was cmlenz
[08:03:24] <asmodai> << mitsuhiko>> couls someone tell him that i still know ways to speed genshi up? :)
[08:03:28] <asmodai> mitsuhiko> asmodai: well, i would love to work on the speedups branch
[08:04:34] <cmlenz> alas, mitsuhiko said he didn't have enough spare time in the foreseeable future ;-)
[08:05:05] <mitsuhiko> cmlenz: one month is foreseeable for me :)
[08:05:52] <cmlenz> true
[08:06:26] <cmlenz> did you see my note about BaseContext?
[08:06:44] <mitsuhiko> cmlenz: yes
[08:06:57] <mitsuhiko> well, i now know why
[08:07:21] <mitsuhiko> because you patch the deque methods onto the context
[08:07:29] <mitsuhiko> thus you don't have any methodcall overhead there
[08:08:02] <cmlenz> and probably deque is a bit smarter about allocing in blocks and growing the list, no?
[08:08:22] <retracile> I'd like to raise a TracError, but I want to have some formatting in that. I tried passing a Markup() object to TracError as the message, which gives me the formatted output, but it isn't inside the redbox. Any suggestions?
[08:08:28] <mitsuhiko> cmlenz: deque overallocates for sure
[08:08:59] <mitsuhiko> because deque uses an array internally
[08:09:05] <cmlenz> retracile: I think you can only have inline styles, because the "system-error" is rendered to a <p>
[08:09:49] <cmlenz> so it might be the browser pushing your content outside of the <p> visually
[08:09:53] <cmlenz> have you looked at the HTML?
[08:10:03] <retracile> Because of the <p>'s I have in the formatted output?
[08:10:41] <cmlenz> probably, yes
[08:10:56] <cmlenz> (a <p> cannot contain nested <p>s or other block-level elements)
[08:11:15] <retracile> hmm... guess that'd include <pre> too then?
[08:11:18] * barun has joined #trac
[08:11:37] <cmlenz> yeah
[08:11:56] <cmlenz> you may want to investigate changing <p class="system-message"> to <div class="system-message">
[08:12:04] <cmlenz> (if that's indeed what it's called currently)
[08:13:22] <barun> hello all -- im having a problem with my trac installation that i can't quite figure out. if i try to view the WikiFormatting help page, it gives me an error saying "ImportError: No module named filters"
[08:13:27] <retracile> Ah, ok, I'll look into that. For the workflow stuff, I want to provide an error message, but I also want to point the user at the place to start debugging their config.
[08:13:45] <barun> although formatting seems to work (for example, if i type ''Hello'', i'll see an italicized Hello)
[08:14:03] <retracile> (Similar to what I think the 'unsupported version control" message should do, provide the first diagnostics the user should check.)
[08:14:31] <barun> but i need the help page working too, so that other users can know what to do. and it also makes me wonder what other things related to that error could be broken...
[08:14:49] <barun> anybody have any ideas or suggestions?
[08:19:26] * elehack|work has joined #trac
[08:20:22] <pacopablo> marnin!
[08:20:39] <retracile> 'tis :)
[08:23:23] <retracile> Ah! Got it. If you pass TracError a Markup object, everything up to the first <p> is inside the red box, everything else comes after it. Which is exactly what I want. :)
[08:36:13] * hlb has quit IRC
[08:36:42] * hlb has joined #trac
[08:36:49] <cosz> is it posible to add a group with web admin ?
[08:37:48] <cosz> or an user for that matter ?
[08:37:54] <cosz> or do i have to preconfigure them with trac-admin ?
[08:38:09] <pacopablo> you can manage permissions with webadmin
[08:38:24] <retracile> sounds like you want the account manager plugin.
[08:38:32] <cosz> ah o
[08:38:33] <pacopablo> if you add account-manager in the mix, you can even manage the htpasswd file from webadmin
[08:38:34] <cosz> ok
[08:38:43] <cosz> oh kewl
[08:38:49] <cosz> is it possible to add that with easy install ?
[08:39:01] <retracile> it should be...
[08:39:24] <pacopablo> I don't htink it's in the cheeseshop, so you'll have to download the code, and then run easy_install
[08:39:44] <cosz> @account-manager
[08:39:45] <evil_twin> cosz: Error: "account-manager" is not a valid command.
[08:40:05] <retracile> @faq accountmanager
[08:40:07] <evil_twin> retracile: "accountmanager" is http://trac-hacks.org/wiki/AccountManagerPlugin
[08:40:14] <asmodai> http://trac.edgewall.org/ticket/5235 <-- I'd be inclined to close this.
[08:40:15] * trelane_ has joined #trac
[08:40:22] <cosz> thx :)
[08:40:25] <cosz> getting used to this
[08:40:48] <trelane_> I'm getting the following error in trac: DatabaseError: file is encrypted or is not a database. I had an admin with trac access quit this morning, but I can see the database in mysql, has anyone seen this error before, and what can cause it?
[08:41:38] <cmlenz> asmodai: please feel free to do so
[08:41:40] <pacopablo> asmodai: agreed, except if he's actually seeing thattracback in the browser
[08:42:12] <pacopablo> if that traceback is being shown in the browser, that should be fixed with a simple "Couldn't send to foo"
[08:42:31] <cmlenz> pacopablo: does he say it's display in the browser? it could be from the logs
[08:42:43] <pacopablo> cmlenz: he doesn't say either way
[08:43:27] * Megz has quit IRC
[08:43:34] <pacopablo> trelane_: it means that the databse is a sqlite db and you've got the wrong version of pysqlite installed
[08:43:38] <retracile> Even if it's in the logs, it seems like it should provide a message to the effect "There appears to be something wrong with your mail server configuration" or something.
[08:44:03] <asmodai> Is that Trac's responsibility though?
[08:44:06] * barun has left #trac
[08:44:07] <pacopablo> retracile: perhaps sligthly nicer, but the info as to why it couldn't send is nice.
[08:44:43] <retracile> pacopablo: Oh, I wasn't meaning to not show the why.... I just think we need the error messages to provide step 1 of diagnosis.
[08:45:31] <asmodai> I thought 550, '5.7.1 Unable to relay for mrniyi@gmail.com' was quite clear for any admin worth his/her MTA salt.
[08:46:10] * joeblogs has joined #trac
[08:46:23] <pacopablo> asmodai: it is, we're just saying that is should be prettier, and not a huge ugly traceback
[08:46:31] <retracile> asmodai: Sure, but it seems Trac gets installed by some who aren't, and they wind up here asking questions. ;)
[08:46:52] <pacopablo> something more along the lines of: Couldn't send to foo. Reason: 550, '5.7.1 Unable to relay for mrniyi@gmail.com'
[08:46:56] <asmodai> pacopablo: For all SMTP return codes aside from 2x0?
[08:47:08] <asmodai> mmm
[08:47:23] <pacopablo> asmodai: for anytime there is something in the resulting dictionary from sendmail()
[08:47:47] <pacopablo> if said dictionary is empty, then everything was fine, if it is populated, then we spit out a nice pretty message
[08:48:15] <cosz> hmm , ive installed the account-manager , and my web admin is now disabled :(
[08:48:17] <pacopablo> if it's a pretty message, people will be more inclined to understand that it's an issue with the mail system, as opposed to trac.
[08:48:18] <asmodai> cmlenz: btw, does the ModPythonHandler thing in the traceback mean anything whether it comes from the web page or logs?
[08:48:31] <cmlenz> no
[08:48:49] <cmlenz> the mails are always sent from the context of handling a request
[08:49:02] <cmlenz> (as opposed to, say, a background process)
[08:49:07] <asmodai> ah ok
[08:49:16] <asmodai> pacopablo: Fair enough.
[08:51:13] <cmlenz> the problem with pretty error messages is that they can easily be misleading or hide the actual error, so you need to be *really really* careful there
[08:51:30] <pacopablo> cmlenz: but not with the email stuff.
[08:51:54] <pacopablo> if the dictionary returned from the call to sendmail() has somethign in it, then we print that message
[08:51:56] * otaku42 has quit IRC
[08:51:57] <joeblogs> please help, my trac is failing with the error "multiple repeat". The error appeared a couple of times yesterday, got worse this afternoon, and now it seems to be permanent.
[08:52:03] <pacopablo> instead of throwing an gly traceback
[08:52:16] <cosz> oh ok , got it
[08:52:27] <lisppaste5> joeblogs pasted "Stack trace for my "multiple repeat" error" at http://paste.lisp.org/display/40417
[08:52:42] <cmlenz> we don't "throw a traceback", we just put it in the log
[08:52:52] <pacopablo> cmlenz: still ugly ;)
[08:53:26] <cmlenz> but IMHO dangerous to try and hide those
[08:53:44] <pacopablo> but the error didn't originate from an acutal exception
[08:53:46] <cmlenz> as a general rule of thumb
[08:53:49] <joeblogs> how do I even start to debug this?
[08:53:55] <cosz> or not
[08:53:56] <pacopablo> the exception was raised manually by the program
[08:54:21] <cosz> hmm , my web admin doesn't work anymore failing with this error : AttributeError: Cannot find an implementation of the "IPasswordHashMethod" interface named "HtDigestHashMethod". Please update the option account-manager.hash_method in trac.ini.
[08:54:25] <cmlenz> that's the case for pretty much any exception ;-)
[08:54:28] <cosz> anybody got any ideas ?
[08:55:17] <cosz> what am i missing here
[08:55:41] <pacopablo> cmlenz: bah! not the same ;) the error isn't raised due to an actual error path in the code, such at as ValueError or KeyError or somesuch
[08:56:13] <asmodai> pacopablo: http://www.in-nomine.org/~asmodai/notification.py.diff something like this? (very dirty mockup)
[08:56:40] <pacopablo> cosz: in your trac.ini change the has_method to say HtDigestHasMethod instead of <foo object bar foobar baz>
[08:57:06] * asmodai wonders why lighttpd is now flagging this diff as binary
[08:57:25] <cosz> pacopablo : there is no such property in the .ini file
[08:58:08] <pacopablo> cosz: what version of trac and what version of account-manager?
[08:58:32] <cosz> 0.10 track
[08:58:54] <asmodai> There, that's better.
[08:59:09] <cosz> i installed accountmanager like this : easy_install http://trac-hacks.org/svn/accountmanagerplugin/0.10
[08:59:31] <cosz> TracAccountManager-0.1.3dev_r2171-py2.4.egg
[08:59:50] <pacopablo> that should be good
[09:00:06] <pacopablo> I'm not sure why it's throwing that exception when it's not in the .ini file
[09:00:45] <retracile> joeblogs: Hmm.. dunno... looks like something wierd must be in 'syntax', but I don't know why.
[09:01:30] * elehack|work is now known as elehack|class
[09:01:36] <retracile> cosz: could you pastebin your trac.ini?
[09:01:51] <cosz> one second
[09:02:29] <joeblogs> Strange thing is - I haven't changed the trac configuration this week, and it has been working fine.
[09:03:26] <retracile> joeblogs: what plugins do you have? You might try disabling (some of) them to see if they're contributing.
[09:04:11] <joeblogs> thanks retracile, I'll try that
[09:04:46] <cosz> damn it , pastebin still down
[09:04:56] <cosz> ah i see in the topic
[09:05:00] <lisppaste5> retracile pasted "TracError-docstring" at http://paste.lisp.org/display/40422
[09:05:39] <retracile> I'm figuring I'd commit the above change to trunk, but I wanted to get a quick sanity check on it...