| [00:21:17] |
<dds> |
coderanger: did you test this filter you hacked up? |
| [00:21:25] |
<coderanger> |
indeed |
| [00:22:15] |
<coderanger> |
why? |
| [00:24:39] |
<__doc__> |
uhoh :) I found a trac crash |
| [00:28:42] |
<__doc__> |
is it possible that the tracd can't cope with multiple simultaneous requests gracefully? |
| [00:29:30] |
<coderanger> |
I would check the docs on the Python web server |
| [00:29:36] |
<coderanger> |
thats most of what tracd is |
| [00:29:43] |
<coderanger> |
I would say its likely though |
| [00:29:51] |
<coderanger> |
not really designed for heavy use |
| [00:31:21] |
<__doc__> |
I get a socket broken pipe exception sometimes |
| [00:31:25] |
<dds> |
coderanger: nothing except that it works immaculately and is incredibly simple |
| [00:31:31] |
<dds> |
I'm just so incredibly impressed. |
| [00:32:13] |
<coderanger> |
__doc__: I remember reading tickets about this w.r.t. FCGI |
| [00:32:17] |
<coderanger> |
maybe its related? |
| [00:32:23] |
<dds> |
it's like, you didn't even leave anything left for me to do.. |
| [00:32:37] |
<coderanger> |
dds: Like I said, you get good at this after a while ;-) |
| [00:32:51] |
<coderanger> |
I'm up to something like 30 plugins on trac-hacks. |
| [00:33:14] |
<dds> |
heh |
| [00:33:27] |
<dds> |
ask you some advice then? |
| [00:33:32] |
<coderanger> |
certainly |
| [00:34:58] |
<dds> |
we have several related projects e.g. project for a search engine and project for a web interface that uses it, etc. What's the best way to use trac in that environment? One use-case is that we want to be able to mark a bug in the other trac as a dependency of a bug in the first trac. |
| [00:35:32] |
<coderanger> |
hmm |
| [00:35:39] |
<coderanger> |
well there are two parts to that problem |
| [00:35:48] |
<coderanger> |
Trac lacks support for ticket dependencies |
| [00:36:04] |
<coderanger> |
and cross-env stuff is still pretty meager |
| [00:36:20] |
<coderanger> |
the first you can kind of ignore a al the gantt plugin |
| [00:36:48] |
<dds> |
nod, assume we're using the gantt plugin |
| [00:37:04] |
<coderanger> |
for the second you could try using/adapting TracForge's subscription system |
| [00:37:12] |
<dds> |
another issue is a site-wide search, without opening it up to google |
| [00:37:15] |
<dds> |
hmm |
| [00:37:22] |
<dds> |
yes I've been looking at tracforge a bit |
| [00:37:33] |
<coderanger> |
the tracforge "model" would mean having a central env |
| [00:37:42] |
* |
jannek has joined #trac |
| [00:37:42] |
<coderanger> |
that aggregates the data from the others |
| [00:37:50] |
<coderanger> |
so you can do the charts in that env |
| [00:38:02] |
<coderanger> |
but still have the split view |
| [00:38:42] |
<jannek> |
Has anyone of you heard of any bug in trac / mod_python that would case trac to, after 1 day, start throwing |
| [00:38:46] |
<jannek> |
UnicodeDecodeError: 'utf8' codec can't decode bytes in ... |
| [00:38:49] |
<jannek> |
for almost any page? |
| [00:39:03] |
<jannek> |
Restarting apache (reloading mod_python) seems to solve it... |
| [00:39:09] |
<coderanger> |
jannek: Trac Version, DB, DB Version |
| [00:39:17] |
<jannek> |
trac 0.10 |
| [00:39:37] |
<jannek> |
mod_python 3.1.4 |
| [00:40:02] |
<jannek> |
I'm not sure which DB-type we're running. |
| [00:40:08] |
<coderanger> |
Is it MySQL? |
| [00:40:13] |
<jannek> |
the plan was to use MySQL but we might be running sqllite |
| [00:40:17] |
* |
sam` has quit IRC |
| [00:40:19] |
<jannek> |
gonna check |
| [00:40:34] |
<coderanger> |
with mysql there have been some odd encoding glitches |
| [00:40:48] |
<coderanger> |
also pastebin the full traceback if you have it |
| [00:40:50] |
<coderanger> |
lisppaste5: url |
| [00:40:50] |
<lisppaste5> |
To use the lisppaste bot, visit http://paste.lisp.org/new/trac and enter your paste. |
| [00:41:03] |
<jannek> |
we're running MySQL |
| [00:41:22] |
<jannek> |
coderanger: well, the odd thing is that it seems to be time-dependant |
| [00:41:35] |
<jannek> |
cause it works, for like, one day, then the next day it's broken. |
| [00:41:40] |
<jannek> |
restarting apache, solves it. |
| [00:41:44] |
<jannek> |
until the next day =) |
| [00:42:09] |
<coderanger> |
sounds like it might be pooling related maybe? |
| [00:42:24] |
<coderanger> |
thats about the only time-dependent thing I can think of |
| [00:42:28] |
<lisppaste5> |
jannek pasted "UnicodeDecodeError after a day" at http://paste.lisp.org/display/30988 |
| [00:42:58] |
<coderanger> |
Yep, http://trac.edgewall.org/ticket/3723 |
| [00:43:11] |
<jannek> |
that was for the wiki |
| [00:43:11] |
<coderanger> |
looks like a match |
| [00:43:19] |
<jannek> |
got similar errors for almost every page. |
| [00:43:26] |
<jannek> |
and it's quite random aswell, |
| [00:43:33] |
<jannek> |
reloading it a few times might make the page render normally. |
| [00:43:36] |
* |
da_loki has left #trac |
| [00:44:05] |
<coderanger> |
yeah, thats exactly what that ticket describes |
| [00:44:32] |
<coderanger> |
might want to mention you are seeing the same problem |
| [00:44:53] |
<jannek> |
yeah |
| [00:44:54] |
<jannek> |
"As Movex said, the trange thing is that it disappear for some time when restarting apache. And when I come back to work the day after, it is broken again." |
| [00:45:29] |
<jannek> |
hm |
| [00:51:43] |
* |
otaku42_away is now known as otaku42 |
| [01:04:23] |
* |
minsu_ju has joined #trac |
| [01:12:41] |
<__doc__> |
hey a kewl idea |
| [01:13:20] |
<__doc__> |
why not provide a html-browsing of zip/tgz/tbz2 archives in the browse source view? |
| [01:13:57] |
<coderanger> |
it would be veeeery slow |
| [01:14:29] |
<coderanger> |
trac doesn't cache any data from subversion, only metadata |
| [01:14:45] |
<coderanger> |
so it would be doing continual decompression |
| [01:17:34] |
* |
minsu_ju has quit IRC |
| [01:17:34] |
* |
MrDebout_ has quit IRC |
| [01:17:34] |
* |
termie has quit IRC |
| [01:17:34] |
* |
__doc__ has quit IRC |
| [01:17:34] |
* |
PingYeh has quit IRC |
| [01:17:34] |
* |
WhiteWolf has quit IRC |
| [01:17:52] |
* |
__doc__ has joined #trac |
| [01:17:52] |
* |
minsu_ju has joined #trac |
| [01:17:52] |
* |
MrDebout_ has joined #trac |
| [01:17:52] |
* |
termie has joined #trac |
| [01:17:52] |
* |
PingYeh has joined #trac |
| [01:17:52] |
* |
WhiteWolf has joined #trac |
| [01:20:01] |
* |
kop_ has joined #trac |
| [01:23:04] |
* |
kop_ has joined #trac |
| [02:04:10] |
<Getty> |
and beside this, regulary noone got archives inside an svn ;) |
| [02:23:57] |
* |
Alex has joined #trac |
| [02:29:11] |
<asmodai> |
coderanger: seen Chris lately? |
| [02:43:29] |
* |
Voyavoda has quit IRC |
| [02:44:02] |
* |
elvstone has joined #trac |
| [02:45:45] |
<elvstone> |
hello folks, i just upgraded my trac (from 0.9.x to 0.10.x) and my previously working lighttpd+fcgi setup with TRAC_ENV_PARENT_DIR and TRAC_ENV_INDEX_TEMPLATE now gives me "Environment not found".. were those two env vars removed/renamed in 0.9->0.10? |
| [02:49:53] |
<elvstone> |
it seems to be still there so something else must have changed, i did trac-admin upgrade and trac-admin resync on my repositories. |
| [02:52:18] |
* |
zachtib has joined #trac |
| [02:53:00] |
<zachtib> |
if the spam filter plugin throws a false positive, is there a way to approve the ticket and have it be submitted? |
| [02:53:18] |
<zachtib> |
i marked the not-spam content as 'ham' but it still didn't submit the ticket |
| [02:55:26] |
* |
sam` has joined #trac |
| [02:58:06] |
<dds> |
alright, thanks to coderanger's excelelnt help, I've got export directly from emacs org-mode to trac working |
| [02:58:09] |
<dds> |
w00t |
| [02:58:17] |
<dds> |
now I need import, and then sync is a breeze |
| [02:58:47] |
<dds> |
I've also got a python script that takes an XML export of an org-mode file and imports it into trac |
| [03:05:39] |
* |
Voyavoda has joined #trac |
| [03:12:22] |
* |
mooch has quit IRC |
| [03:12:35] |
<elvstone> |
hm, think my problem is related to http://trac.edgewall.org/ticket/4103 |
| [03:12:41] |
<elvstone> |
anyway, lunch. bbl. |
| [03:14:26] |
* |
shawn has quit IRC |
| [03:17:46] |
<zachtib> |
hey, how can I set the name/email for my account on my Trac page? |
| [03:19:08] |
* |
jesterKing is now known as amino |
| [03:28:10] |
* |
zachtib has quit IRC |
| [03:38:06] |
* |
mooch has joined #trac |
| [03:40:01] |
* |
zikus has joined #trac |
| [03:41:24] |
<zikus> |
hi all |
| [03:42:28] |
<zikus> |
i'm trying to configure python on my apace for trac |
| [03:42:58] |
<zikus> |
just normal python not mod_python, am i correct? |
| [03:55:04] |
* |
stevegt has quit IRC |
| [03:58:34] |
* |
mooch has quit IRC |
| [04:00:43] |
* |
kop_ has quit IRC |
| [04:06:14] |
* |
spn|work has quit IRC |
| [04:09:52] |
* |
milk-it has quit IRC |
| [04:15:28] |
<zikus> |
is it okay if i install mod_python on apache, this will work with trac? |
| [04:15:59] |
* |
carisenda has joined #trac |
| [04:23:05] |
* |
spn|work has joined #trac |
| [04:25:15] |
<carisenda> |
hi, does anyone know why my trac 0.8.1 would not be sending ticket notifications to one of our users, but would send a cc if you put him in that field? |
| [04:25:55] |
<carisenda> |
i'm watching the exim logs, when he's given a ticket the mail is not send, if he's cc'd it works fine |
| [04:37:10] |
* |
flox has joined #trac |
| [04:37:15] |
<elvstone> |
hmf. i don't get why it's not working anymore (after 0.9 -> 0.10 upgrade), this is my conf: http://dose.se/dev.dose.se.conf.txt, tips very welcome. |
| [04:38:08] |
<flox> |
hi, where i find the "milestone by date" widget? |
| [04:38:15] |
<flox> |
like this one: https://stanley.cs.utoronto.ca/csc49x/drproject/DrProject/ticket?action=new |
| [04:42:05] |
* |
dings has quit IRC |
| [04:46:29] |
* |
dings has joined #trac |
| [04:52:24] |
* |
Niels- has joined #trac |
| [05:00:27] |
<zikus> |
is mod_python on apache going to be okay with trac? |
| [05:00:37] |
<zikus> |
or need to be normal python? |
| [05:00:57] |
<Niels-> |
mod_python is fine |
| [05:04:35] |
* |
amino is now known as jesterKing |
| [05:06:46] |
<zikus> |
aha, |
| [05:06:48] |
<zikus> |
thank you |
| [05:09:55] |
<gordonjcp> |
mod_python is what I use... |
| [05:17:24] |
<zikus> |
installing now, |
| [05:21:15] |
<Niels-> |
gordonjcp, do you use http basic auth with mod_python ? |
| [05:21:27] |
* |
Voyavoda is now known as Voya_zeez |
| [05:29:09] |
<zikus> |
just completed mod_python on apache, do you know how can i check it working properly or not? |
| [05:29:13] |
* |
dna has quit IRC |
| [05:29:53] |
<Niels-> |
restart apache and look at error.log |
| [05:31:17] |
* |
dna has joined #trac |
| [05:32:19] |
<zikus> |
all look okay and i also follow this link and i can see "hello world" |
| [05:32:21] |
<zikus> |
http://www.modpython.org/live/current/doc-html/inst-testing.html |
| [05:32:43] |
<gordonjcp> |
Niels-: yes |
| [05:33:17] |
<zikus> |
but the code is look difference from when i try to use normal python and mod_python, thay y i just want to check first |
| [05:33:50] |
<Niels-> |
HttpAuth is working well with CGI, I set the handler to Python and an asserrtionerror pop up instead of the login dialog. Any clue ? |
| [05:36:58] |
* |
Rica has joined #trac |
| [05:47:05] |
* |
stevegt has joined #trac |
| [05:52:44] |
* |
pampampamp has quit IRC |
| [05:55:13] |
* |
frepe has joined #trac |
| [05:55:52] |
<frepe> |
jborg? |
| [06:00:29] |
* |
brynary has left #trac |
| [06:10:44] |
<Niels-> |
Does anybody knows why I'm getting "Authentication information not available." while clicking "Login" and no Http Basic Auth. My basic auth configuration seems correct |
| [06:34:10] |
* |
idnar has quit IRC |
| [06:38:55] |
* |
d0rt has joined #trac |
| [06:47:20] |
* |
jesterKing is now known as amino |
| [06:52:47] |
* |
zachtib has joined #trac |
| [06:53:05] |
* |
dds has quit IRC |
| [06:56:03] |
* |
danbeck has joined #trac |
| [06:58:57] |
<zikus> |
do you know what this measn? |
| [06:58:58] |
<zikus> |
PythonHandler trac.web.modpython_frontend |
| [07:03:30] |
* |
idnar has joined #trac |
| [07:30:49] |
* |
marlun has joined #trac |
| [07:41:56] |
* |
rmbl`off is now known as rmbl |
| [07:42:01] |
* |
spn|work has quit IRC |
| [07:46:44] |
* |
marlun has quit IRC |
| [07:59:33] |
* |
spn|work has joined #trac |
| [08:00:16] |
<zachtib> |
does anyone know how i can set my Trac user's real name and email after i've created the account? |
| [08:01:50] |
* |
Hydra_ has quit IRC |
| [08:03:49] |
* |
marlun has joined #trac |
| [08:04:03] |
<marlun> |
How do I link to the frontpage in my wiki? |
| [08:04:23] |
* |
zachtib has quit IRC |
| [08:04:36] |
* |
boorad has joined #trac |
| [08:09:50] |
* |
agile has quit IRC |
| [08:10:46] |
* |
spn|work has quit IRC |
| [08:12:11] |
<elvstone> |
hm. shouldn't clearsilver highlight ruby sources? it highlights .c source for me, but not .rb. |
| [08:13:57] |
<elvstone> |
oh sorry. it's enscript doing that.. |
| [08:15:52] |
<elvstone> |
ah. need to download highlighting rules, nevermind. |
| [08:28:17] |
* |
spn|work has joined #trac |
| [08:36:11] |
* |
flox has quit IRC |
| [08:43:37] |
<coderanger> |
marlun: [/ link] |
| [08:44:03] |
<marlun> |
coderanger, thank you :) |
| [08:45:47] |
<marlun> |
coderanger, i did [wiki:/ Test] and it does link to the wiki frontpage but it gets a ? after it as if it linked to a page thats not created. |
| [08:46:08] |
<coderanger> |
marlun: [wiki:WikiStart Test] |
| [08:49:25] |
* |
marlun has quit IRC |
| [08:49:25] |
* |
MrDebout_ has quit IRC |
| [08:49:26] |
* |
minsu_ju has quit IRC |
| [08:49:26] |
* |
termie has quit IRC |
| [08:49:26] |
* |
PingYeh has quit IRC |
| [08:49:26] |
* |
WhiteWolf has quit IRC |
| [08:49:53] |
* |
marlun has joined #trac |
| [08:49:53] |
* |
minsu_ju has joined #trac |
| [08:49:53] |
* |
MrDebout_ has joined #trac |
| [08:49:53] |
* |
termie has joined #trac |
| [08:49:53] |
* |
PingYeh has joined #trac |
| [08:49:53] |
* |
WhiteWolf has joined #trac |
| [09:07:56] |
* |
agile has joined #trac |
| [09:09:10] |
* |
dds has joined #trac |
| [09:11:11] |
* |
converter has joined #trac |
| [09:11:53] |
* |
spn|work has quit IRC |
| [09:12:13] |
* |
spn|work has joined #trac |
| [09:18:09] |
* |
idnar has quit IRC |
| [09:18:46] |
* |
blizzardkitty has joined #trac |
| [09:19:52] |
* |
nosferat has quit IRC |
| [09:23:33] |
<zikus> |
managed to get python and apace working |
| [09:23:42] |
<zikus> |
jusy install the 0.10.2 version |
| [09:23:53] |
<zikus> |
it install on python folder is it correct? |
| [09:24:25] |
* |
stretch has joined #trac |
| [09:25:55] |
* |
MrDebout_ has quit IRC |
| [09:25:55] |
* |
minsu_ju has quit IRC |
| [09:25:55] |
* |
termie has quit IRC |
| [09:25:55] |
* |
PingYeh has quit IRC |
| [09:25:55] |
* |
marlun has quit IRC |
| [09:25:55] |
* |
WhiteWolf has quit IRC |
| [09:26:46] |
* |
marlun has joined #trac |
| [09:26:46] |
* |
minsu_ju has joined #trac |
| [09:26:46] |
* |
MrDebout_ has joined #trac |
| [09:26:46] |
* |
termie has joined #trac |
| [09:26:46] |
* |
PingYeh has joined #trac |
| [09:26:46] |
* |
WhiteWolf has joined #trac |
| [09:27:59] |
* |
termie has quit IRC |
| [09:28:12] |
* |
termie has joined #trac |
| [09:30:06] |
* |
webustany has joined #trac |
| [09:33:28] |
* |
otaku42 is now known as otaku42_away |
| [09:34:23] |
* |
cmlenz has joined #trac |
| [09:36:30] |
* |
Jasper^ has joined #trac |
| [09:40:41] |
<zikus> |
i dont get the install bet!! |
| [09:41:30] |
<webustany> |
hi, what's a good value for authz_module_name if I set the authz_file to my SVN passwd file ? |
| [09:52:24] |
* |
webustany has left #trac |
| [09:52:57] |
* |
flox has joined #trac |
| [09:54:06] |
* |
zikus has quit IRC |
| [09:59:52] |
* |
carisenda has left #trac |
| [10:13:07] |
* |
idnar has joined #trac |
| [10:26:49] |
* |
stretch has quit IRC |
| [10:27:09] |
* |
stretch has joined #trac |
| [10:40:25] |
* |
m_g has joined #trac |
| [10:50:54] |
* |
Voya_zeez is now known as Voyavoda |
| [10:52:00] |
* |
Epcylon- has joined #trac |
| [11:04:43] |
* |
Epcylon has quit IRC |
| [11:04:53] |
* |
Epcylon- is now known as Epcylon |
| [11:07:08] |
* |
cookin_ has joined #trac |
| [11:21:06] |
* |
marlun has quit IRC |
| [11:23:11] |
* |
Z32Kyle has joined #trac |
| [11:23:54] |
<Z32Kyle> |
hello all, how do I stop the standalone server ? (Suse Linux) |
| [11:24:12] |
<misc> |
how did you started it ? |
| [11:24:23] |
* |
Niels- has quit IRC |
| [11:24:34] |
<Z32Kyle> |
tracd --port 8000 /path/to/environment |
| [11:30:03] |
* |
cmlenz has quit IRC |
| [11:30:35] |
* |
lightcap has left #trac |
| [11:31:31] |
<Z32Kyle> |
misc did you have an answer? (i just killed the process) |
| [11:32:12] |
<misc> |
Z32Kyle: well, yes, ctrl C |
| [11:32:29] |
<Z32Kyle> |
;) |
| [11:32:45] |
<Z32Kyle> |
i guess we both used the same sledgehammer. |
| [11:36:07] |
<misc> |
well, a initscript is not doing anything magic |
| [11:36:15] |
<misc> |
it just send a signal to stop |
| [11:37:04] |
<Z32Kyle> |
so no difference in the long run... |
| [11:37:27] |
<misc> |
well, depend on the signal :) |
| [11:37:37] |
* |
neddy has joined #trac |
| [11:38:43] |
<Z32Kyle> |
i guess my question would be better asked as: is there a best way, or gentle method to shutdown the trac stand alone server from the shell? |
| [11:38:53] |
<Z32Kyle> |
sorry terminal |
| [11:39:30] |
<misc> |
i would use a init script, personnaly |
| [11:40:54] |
<Z32Kyle> |
k, thanks. |
| [11:40:58] |
* |
Z32Kyle has left #trac |
| [11:47:37] |
* |
zikus has joined #trac |
| [11:47:41] |
<Surye> |
Hmm.. is trac not updated in real time? I just commited something, and it hasn't showed up in the timeline, no the Browse Source |
| [11:48:30] |
<Surye> |
Had to restart apache to get the change to click >_< |
| [11:49:02] |
<zikus> |
is "clearsilver" necessary for the trac? |
| [11:50:03] |
<pacopablo> |
i fyou run 0.10.x or less yes, |
| [11:50:09] |
<misc> |
zikus: yes, for the stable version |
| [11:50:12] |
<pacopablo> |
if you want to be bleeding edge and run trunk, then no |
| [11:50:22] |
<misc> |
Surye: it is, are you running with mod_python ? |
| [11:50:28] |
<misc> |
Surye: maybe a caching problem ? |
| [11:50:29] |
<Surye> |
misc, Yes |
| [11:51:04] |
<Surye> |
Hmm.. I don't remember it doing that last night now that I think about it |
| [11:51:27] |
* |
stretch has quit IRC |
| [11:58:03] |
* |
jeeplover has joined #trac |
| [11:59:22] |
* |
lightcap has joined #trac |
| [12:00:32] |
<jeeplover> |
Hello, have a trac ldap question. I have ldapplugin working with apache auth. What I would like to have happen is read only public access and ldap auth for logins/write permmisions. |
| [12:01:03] |
<jeeplover> |
But it doesn't look like you can disable apache auth and have the ldapplugin work |
| [12:01:38] |
* |
zikusB has joined #trac |
| [12:02:45] |
<zikusB> |
is "clearsilver" compulsary for trac? |
| [12:03:14] |
* |
chandlerc has quit IRC |
| [12:03:36] |
<Surye> |
zikusB, For .10.x and lower |
| [12:03:53] |
<Surye> |
zikusB, Not for trunk |
| [12:08:46] |
<zikusB> |
hrr, i'm trying to install .10.2.. |
| [12:08:48] |
* |
zikus has quit IRC |
| [12:09:13] |
<zikusB> |
just got my python work with my apache.:( |
| [12:09:48] |
* |
lightcap has quit IRC |
| [12:09:54] |
* |
lightcap has joined #trac |
| [12:10:27] |
<zikusB> |
I think mod_python does this already |
| [12:10:37] |
<zikusB> |
no? |
| [12:12:22] |
<pacopablo> |
mmod_python does what already? |
| [12:12:38] |
<zikusB> |
does clearsilver |
| [12:12:51] |
<pacopablo> |
what do you mean "does clearsilver" ? |
| [12:12:59] |
<pacopablo> |
mod_python has very little to do with clearsilver |
| [12:13:08] |
<pacopablo> |
they do not depend on one another |
| [12:13:13] |
<zikusB> |
perhap i'm wrong |
| [12:13:30] |
<pacopablo> |
what are you trying to avoid? |
| [12:13:33] |
* |
lightcap has quit IRC |
| [12:13:35] |
* |
lightcap has joined #trac |
| [12:14:23] |
<zikusB> |
well, i just managed install python on apache and now i got to install clearsilver for trac to work |
| [12:14:46] |
<pacopablo> |
yes |
| [12:15:00] |
<pacopablo> |
mod_python will not install clearsilver for you |
| [12:15:22] |
<zikusB> |
okay, will install clearsilver and come back again. |
| [12:19:38] |
<tsb> |
911 |
| [12:19:44] |
<tsb> |
'pagetopdf' does't export images |
| [12:19:56] |
<tsb> |
it's just a dot |
| [12:20:30] |
<tsb> |
(even if I specify width/height) |
| [12:24:54] |
<zikusB> |
just one last question, i just installed the clearsilver -Binaries(win32) on python directory, do i have to do anything on apache? |
| [12:25:34] |
* |
cboos has joined #trac |
| [12:29:03] |
<tsb> |
doh, it doesn't handle .png |
| [12:41:01] |
<tsb> |
o.O actually it does, just not images if the same url - if I move to some other site it works |
| [12:42:09] |
* |
zikusB has quit IRC |
| [12:43:05] |
<jeeplover> |
Hello, have a trac ldap question. I have ldapplugin working with apache auth. What I would like to have happen is read only public access and ldap auth for logins/write permmisions. |
| [12:43:14] |
<jeeplover> |
any takers on this question yet? |
| [12:43:47] |
<jeeplover> |
I can do it with two different location directives, but that's cludgy |
| [12:52:56] |
<pacopablo> |
cboos: do you kow how I can write a wiki syntax to get everything inbetween \\ and \\, including | characters? |
| [12:54:04] |
<cboos> |
well you mean, matching something like \\n'importe|quel|texte\\ ? |
| [12:54:23] |
<pacopablo> |
yeah |
| [12:55:09] |
* |
pacopablo is trying to remeber what parts are his code and what parts were ripped from trac propper :) |
| [12:57:17] |
<pacopablo> |
r'(?:^|(?<=\W))(?:\\\\(%s)\\\\)(?:(?=\W)|$)' % WORD_RE where WORD_RE = r"[\w\s/\-,:\.'!]+" doesn't seem to work |
| [12:58:26] |
<pacopablo> |
I've got other syntaxes based off of the same regex pattern and they work, but I honestly can't remember wherre I found the pattern |
| [12:58:48] |
<pacopablo> |
though I know I didn't figure it out myself, as I'm not proficient enough with regexes to do something so complex :) |
| [12:59:20] |
<cboos> |
yeah, it's not that complex, it's just it's a pain with the \ |
| [12:59:41] |
<pacopablo> |
but shouldn't escpaing them do the trick? |
| [13:01:45] |
<pacopablo> |
hehe, I think I know what it is |
| [13:01:50] |
<pacopablo> |
it's not my regex |
| [13:01:52] |
<pacopablo> |
it's python |
| [13:01:52] |
* |
cboos still gets caught by the search vs. match thing... |
| [13:02:15] |
<pacopablo> |
the input is is getting escaped |
| [13:02:24] |
<pacopablo> |
re.compile(r'(?:^|(?<=\W))(?:\\\\(%s)\\\\)(?:(?=\W)|$)' % WORD_RE).search(r'\\|2.25|onsite\\').groups() |
| [13:02:27] |
<pacopablo> |
owkrs |
| [13:02:39] |
<pacopablo> |
er, works, but with out the 'r' on the input it doesn't match |
| [13:03:46] |
* |
jeeplover has left #trac |
| [13:04:19] |
<cboos> |
ok, I also have something now ;) |
| [13:04:22] |
<cboos> |
print re.search(r'\\\\((?:[^\\]|\\(?!\\))+)\\\\', r'\aaa\\hello|guys\hows\life\\xxxx').group(1) |
| [13:04:28] |
<cboos> |
hello|guys\hows\life |
| [13:05:09] |
<cboos> |
hope it helps ;) |
| [13:05:39] |
<pacopablo> |
well, it seems that it may be an input thing, but thaks anyway. |
| [13:06:59] |
<pacopablo> |
nevermind, it's not an input issue |
| [13:07:09] |
<pacopablo> |
it's a /me doing someting else wrong issue :) |
| [13:07:14] |
* |
blizzardkitty has quit IRC |
| [13:08:32] |
<pacopablo> |
hmm, no, it was my regex, yours works fine cboos. Thanks. |
| [13:09:31] |
<cboos> |
you're welcome, nice problem (I wonder what it could be good for ;) ) |
| [13:11:59] |
<pacopablo> |
evil, pure evil! :) |
| [13:33:38] |
<coderanger> |
pacopablo: Moving in on my turf? ;-) |
| [13:41:23] |
* |
bmcquay has joined #trac |
| [13:41:32] |
<bmcquay> |
aloha |
| [13:43:43] |
* |
rmbl is now known as rmbl`off |
| [13:44:29] |
<bmcquay> |
http://pastebin.com/836414 |
| [13:44:40] |
<bmcquay> |
i'm having a strage problem inserting a row into the database |
| [13:45:17] |
<bmcquay> |
seems silly |
| [13:47:42] |
* |
agile has quit IRC |
| [13:48:30] |
* |
FFighter has joined #trac |
| [13:48:33] |
<FFighter> |
hi |
| [13:49:19] |
<bmcquay> |
if i return the query and manually run it using the sqlite command line client it inserts fine |
| [13:49:20] |
<FFighter> |
guys, I really some help on getting svn to work with trac... I managed to get it to work but now I receive a "Unsupported version control system "svn" error message |
| [13:50:25] |
* |
shawn has joined #trac |
| [13:50:32] |
<coderanger> |
FFighter: python -c 'from svn import fs' |
| [13:51:01] |
<FFighter> |
Traceback (most recent call last): |
| [13:51:01] |
<FFighter> |
File "<string>", line 1, in ? |
| [13:51:01] |
<FFighter> |
ImportError: No module named svn |
| [13:51:13] |
<coderanger> |
FFighter: The bindings aren't installed |
| [13:51:32] |
<coderanger> |
bmcquay: pastebin.com isn't loading for me |
| [13:51:36] |
<coderanger> |
lisppaste5: url |
| [13:51:36] |
<lisppaste5> |
To use the lisppaste bot, visit http://paste.lisp.org/new/trac and enter your paste. |
| [13:52:08] |
<FFighter> |
coderanger: But I did the "make swig-py; make install-swig-py" and everything appeared to run ok |
| [13:52:27] |
<coderanger> |
FFighter: You probably need to add a .pth file |
| [13:52:37] |
<FFighter> |
hmmm.. where ? |
| [13:52:37] |
* |
tic has quit IRC |
| [13:52:50] |
<coderanger> |
one sec |
| [13:52:59] |
<FFighter> |
coderanger: allright ;) |
| [13:54:13] |
<coderanger> |
echo "/usr/lib/svn-python" >/usr/lib/python/2.x/site-packages/subversion.pth |
| [13:54:22] |
<lisppaste5> |
bmcquay pasted "screwy insert" at http://paste.lisp.org/display/31036 |
| [13:54:44] |
* |
tic has joined #trac |
| [13:54:48] |
<coderanger> |
bmcquay: You dont want to do the interpolation yourself |
| [13:55:03] |
<FFighter> |
coderanger: what do I do with the .pth after its created ? |
| [13:55:34] |
<FFighter> |
coderanger: Sorry, but I didn't get the point |
| [13:55:40] |
* |
cboos has quit IRC |
| [13:55:42] |
<lisppaste5> |
coderanger annotated #31036 with "do this" at http://paste.lisp.org/display/31036#1 |
| [13:55:59] |
<coderanger> |
FFighter: Try the python -c 'from svn import fs' again |
| [13:56:48] |
<bmcquay> |
coderanger: meaning? |
| [13:56:57] |
<coderanger> |
bmcquay: Look at the new code |
| [13:57:03] |
<coderanger> |
that shows how to do it |
| [13:57:19] |
<tsb> |
coderanger: any idea why <!-- PAGE BREAK --> (http://www.htmldoc.org/documentation.php/Comments.html) using the pagetopdf plugin wouldn't work? |
| [13:57:19] |
<bmcquay> |
ahh |
| [13:57:25] |
<FFighter> |
coderanger: The same... |
| [13:57:34] |
<coderanger> |
tsb: Works for us |
| [13:57:44] |
<tsb> |
coderanger: hrm |