| [00:00:06] |
* |
Kage has quit IRC |
| [00:07:52] |
* |
idnar has quit IRC |
| [00:07:55] |
* |
idnar_ has joined #trac |
| [00:08:50] |
* |
contingencyplan has quit IRC |
| [00:24:45] |
<MACscr> |
im getting a weird rss issue with the timeline |
| [00:24:47] |
<MACscr> |
http://www.solid-state.org:8080/solidstate/timeline |
| [00:24:59] |
<MACscr> |
check out ticket number 58 |
| [00:25:15] |
<MACscr> |
teh description comes out really weird in the rss |
| [00:25:40] |
<MACscr> |
http://pastebin.com/759202 |
| [00:25:47] |
<MACscr> |
any ideas? |
| [00:26:35] |
<alect> |
weird |
| [00:26:55] |
* |
Kage has joined #trac |
| [00:28:20] |
<alect> |
actually, the -- is the comment for the change |
| [00:28:28] |
<alect> |
and you didn't add a comment |
| [00:28:57] |
<MACscr> |
what about "worksforme" |
| [00:35:01] |
<MACscr> |
can i filter which milestone is shown |
| [00:35:06] |
<MACscr> |
buy modifying the url |
| [00:35:30] |
<alect> |
on the timeline? |
| [00:35:34] |
<alect> |
i don't think so |
| [00:35:42] |
<MACscr> |
woops meant roadmap, wasnt thinking |
| [00:35:47] |
<MACscr> |
forgot i didnt have the same choices |
| [00:36:03] |
<MACscr> |
right now he has 3 milestones |
| [00:36:17] |
<MACscr> |
1 is completed, one is about 40% and the other is at 0 |
| [00:36:24] |
<MACscr> |
i really only need the middle one |
| [00:37:15] |
<alect> |
click on the milestone and it will only show that one |
| [00:39:21] |
* |
imajes has joined #trac |
| [00:44:01] |
* |
whitelynx has quit IRC |
| [00:48:20] |
<asmodai> |
morn alect |
| [00:50:28] |
<alect> |
hey hey |
| [01:06:50] |
<asmodai> |
:) |
| [01:11:28] |
* |
s0undt3ch has quit IRC |
| [01:32:26] |
* |
whitelynx has joined #trac |
| [01:35:17] |
* |
Blackhex has joined #trac |
| [01:58:11] |
* |
cmlenz has joined #trac |
| [01:59:22] |
<alect> |
g'day chris |
| [02:16:33] |
* |
cboos has joined #trac |
| [02:17:06] |
<cboos> |
hi |
| [02:18:40] |
<cboos> |
alect, cmlenz: yesterday I modified the ticket "Reply to" thing according to your comments. It's even cooler now (/me thinks) ... |
| [02:21:59] |
* |
prisoner has quit IRC |
| [02:23:58] |
* |
Blackhex has quit IRC |
| [02:30:56] |
* |
MACscr has left #trac |
| [02:31:40] |
<cmlenz> |
cboos: where's the patch? I don't see anything new on the ticket |
| [02:31:52] |
<cboos> |
hi, cmlenz |
| [02:31:58] |
<cmlenz> |
hi |
| [02:32:09] |
<cboos> |
no, I just wanted to ask here if you'd like to see the patch before I commit ;) |
| [02:32:22] |
<cboos> |
so I assume yes ... |
| [02:32:33] |
<cboos> |
let me prepare it |
| [02:32:45] |
<cmlenz> |
ah |
| [02:32:53] |
<cmlenz> |
well, it it's not too much trouble ;-) |
| [02:33:04] |
<cboos> |
no no, it's ok |
| [02:34:38] |
<cmlenz> |
actually, I |
| [02:34:49] |
<cmlenz> |
I'm not sure why alect wanted the .depthN classes |
| [02:35:17] |
<cboos> |
What I did was to specify different colors for the depth1, depth2 and depth3 |
| [02:35:21] |
<cmlenz> |
can't you just do ".citation .citation" to select the second depth? |
| [02:35:26] |
<cboos> |
thunderbird style |
| [02:35:30] |
<cmlenz> |
or are they not actually nested? |
| [02:35:39] |
<cboos> |
yes, they are nested |
| [02:35:51] |
<cboos> |
but I cycle through depth1,2,3 |
| [02:36:02] |
<cboos> |
so that way it supports arbitrary depths |
| [02:36:06] |
<cmlenz> |
so would ".citation .citation" work or not? |
| [02:36:27] |
<cmlenz> |
anything > depth 3 is too much anyway I'd think |
| [02:36:55] |
<cboos> |
how would we support flame wars then? ;) |
| [02:37:50] |
<cboos> |
OK, I uploaded the patch, you can have a try if you want! |
| [02:38:04] |
<cboos> |
oops, database is locked ... |
| [02:38:31] |
<cboos> |
retrying... |
| [02:38:59] |
* |
cboos has quit IRC |
| [02:39:51] |
* |
cboos has joined #trac |
| [02:41:12] |
<cboos> |
ah... this time it worked |
| [02:41:14] |
<cboos> |
http://projects.edgewall.com/trac/attachment/ticket/2703/comment_threading-r3361.patch |
| [02:42:07] |
<cboos> |
not sure why ffox crashed, maybe because I didn't restart it since the last automatic update to 1.5.0.4 |
| [02:46:40] |
<cboos> |
just reviewing the patch... in english, does the plural of zero take an 's' (i.e. "zero thing" or "zero things") ? |
| [02:46:55] |
<cmlenz> |
things |
| [02:47:00] |
<cmlenz> |
so yes |
| [02:47:09] |
<cmlenz> |
alect: insist on the "depth" class? I think it's not necessary |
| [02:47:53] |
<alect> |
nah, my main concern was being able to style different depths |
| [02:48:01] |
<alect> |
so yeah, .citation .citation is fine by me |
| [02:48:38] |
<cboos> |
I think my solution is cleaner... depth(x) with (x) being (depth modulo 3) |
| [02:48:55] |
<cboos> |
so you can cycle through 3 colors |
| [02:49:41] |
<cmlenz> |
but that's putting presentation logic in the code... plus, the CSS author (site customizer) may want to be able to differentiate between 5 citation levels |
| [02:49:42] |
<cboos> |
I think it's more elegant than having to hardcode ".citation" , ".citation .citation", ".citation .... .citation" |
| [02:49:53] |
<cmlenz> |
that's just in the CSS |
| [02:49:57] |
<cmlenz> |
and there it's totally natural |
| [02:50:22] |
<cboos> |
mmh... |
| [02:50:48] |
<alect> |
ooh disappearing reply buttons |
| [02:51:22] |
* |
jstuart is now known as jstuart|away |
| [02:52:03] |
<alect> |
that is super cool cboos |
| [02:52:07] |
<cboos> |
yes, a bit similar to the "anchor" stuff for the permalink |
| [02:52:37] |
<alect> |
still not a fan of the links in the change heading |
| [02:52:50] |
<alect> |
but i can live with it :) |
| [02:53:02] |
<cboos> |
(speaking about the buttons) also, I think that in the future, we could have an ''Edit'' button next to the ''Reply'' one .. |
| [02:53:52] |
<cboos> |
IMO, the links in the change heading are quite convenient for navigating within a thread |
| [02:53:54] |
<cboos> |
try it, |
| [02:54:06] |
<cboos> |
you have very few mouse movement to make |
| [02:54:35] |
<cboos> |
e.g. going "upward" you simply click repeatedly |
| [02:55:07] |
<cboos> |
(ok, in my test tickets I have somewhat pathologically deep threads ;) ) |
| [02:56:55] |
<alect> |
hehe |
| [02:57:36] |
<alect> |
just seemed a bit redundant given the links to the parent in the body |
| [02:57:46] |
<alect> |
still as i say, i'm not vehemently opposed :) |
| [02:57:49] |
<alect> |
bbiab |
| [02:57:55] |
<alect> |
you around for a while cboos? |
| [02:57:59] |
<cboos> |
yes |
| [02:58:23] |
<alect> |
cool, i figured we could try and nut out the contentconverter stuff a bit later? |
| [02:58:29] |
<cboos> |
(the rationale for the links was that the 'replying to ...' in the body can be edited away ... |
| [02:58:39] |
<cboos> |
alect: no pb |
| [02:58:48] |
<cboos> |
I'm here to stay ;) |
| [02:58:55] |
* |
peppelorum has joined #trac |
| [02:59:07] |
<cboos> |
(a have a two weeks "break" period) |
| [02:59:36] |
<cboos> |
i.e. a 2 weeks "Trac" hacking period in front of me :) |
| [03:15:05] |
<cmlenz> |
please just leave IHtmlPreviewRenderer out of the picture... it doesn't make sense to move that to IContentConverter IMHO |
| [03:15:55] |
<cmlenz> |
adding stuff like user-configurable annotations has already been worked on (blame branch) |
| [03:16:01] |
* |
Riccc has joined #trac |
| [03:16:18] |
<cmlenz> |
doing that for the content converters would just bloat the interface |
| [03:16:24] |
<cmlenz> |
better to keep them separate |
| [03:16:50] |
* |
tuxipuxi has joined #trac |
| [03:17:01] |
<cmlenz> |
conversion for "export" vs. previewing some file inside the trac chrome with possible interactions |
| [03:20:02] |
<cmlenz> |
although thinking about it, annotations can be handled totally separately |
| [03:33:06] |
* |
Riccc`plula has quit IRC |
| [03:40:50] |
* |
cmlenz has quit IRC |
| [03:51:25] |
* |
Targos has joined #trac |
| [04:10:59] |
* |
MasterC has joined #trac |
| [04:17:11] |
<alect> |
holidays! nice :) |
| [04:19:12] |
* |
jstuart|away has quit IRC |
| [04:25:58] |
* |
jstuart has joined #trac |
| [04:26:27] |
* |
jstuart is now known as jstuart|away |
| [04:29:04] |
<cboos> |
(sorry, was away and will be again for one hour ... beofre leaving, though, just to answer to cmlenz: in my approach, the annotation stuff is left separate, unchanged actually; only the similar stuff is merged (you can have a look at http://projects.edgewall.com/trac/attachment/wiki/ChristianBoos/mimeview_conversion.diff) |
| [04:51:12] |
<jrydberg-> |
cboos: let me know when you get back |
| [04:52:46] |
* |
cboos has quit IRC |
| [05:28:58] |
<Targos> |
did anyone running 0.95 on windows do the upgrade to subversion 1.3.2? i'm wondering whats involved, just update the subversion binaries? or will i have to install the new python bindings and do some messing around with trac? |
| [05:29:22] |
<IceShaman> |
matt_good, you alive? |
| [05:30:26] |
* |
granden has quit IRC |
| [05:31:57] |
* |
granden has joined #trac |
| [05:34:49] |
* |
granden has quit IRC |
| [05:35:44] |
* |
granden has joined #trac |
| [05:42:11] |
* |
marlun has joined #trac |
| [05:43:44] |
<marlun> |
Does Clearsilver work with Apache 2.2.*? When I ./configure it I get: "checking for apache 1.3.x... found 2.2.2 - disabling module build" I know this may not be the best place to ask this but since all of you have to have clearsilver for trac, someone might know :) |
| [05:44:42] |
<misc> |
i think it does, i have tested trac on apache 2.2 |
| [05:44:43] |
* |
coderanger1 has joined #trac |
| [05:45:14] |
<marlun> |
misc, just over that message I also get "checking for apache apxs... found /usr/local/apache2//bin/apxs" but thats all there is about Apache. |
| [05:45:44] |
<marlun> |
misc, do you think it will work even though it seem to disable some module in that first message? |
| [05:46:13] |
<misc> |
marlun: i used a package, let me try to rebuild it |
| [05:48:15] |
<misc> |
clearsilver compile fine |
| [05:48:17] |
* |
coderanger_ has quit IRC |
| [05:48:20] |
<misc> |
but doesn't install :) |
| [05:49:15] |
* |
coderanger1 is now known as coderanger_ |
| [05:55:20] |
* |
davecole has joined #trac |
| [05:56:49] |
<c00i90wn> |
boorad: You have mail |
| [05:57:01] |
<boorad> |
ok |
| [05:57:22] |
<boorad> |
gonna be busy with work today - I'll try to take a break at some point |
| [05:57:59] |
<c00i90wn> |
boorad: ok, no problem ;) |
| [05:59:40] |
<marlun> |
misc, see :P |
| [05:59:54] |
<marlun> |
misc, did you get the same messages as I did? |
| [06:00:13] |
<misc> |
marlun: no, it was a problem with perl and the prefix of installation |
| [06:00:47] |
<marlun> |
misc, so what could be the reason that I get those messages? |
| [06:01:10] |
<misc> |
marlun: no idea :/ |
| [06:01:54] |
<marlun> |
because it finds my apache installation but it's looking for 1.3.x and finds 2.2.2 and just disables the module build. |
| [06:02:04] |
<marlun> |
I havn't tested to just install it though. |
| [06:04:59] |
<misc> |
marlun: what version of clearsilver ? |
| [06:05:42] |
<marlun> |
0.10.3 |
| [06:06:05] |
<misc> |
i used 0.10.2 |
| [06:11:28] |
<marlun> |
oh |
| [06:11:36] |
<marlun> |
I'll test to configure with that version just to see. |
| [06:13:20] |
<marlun> |
Get the same message near the end "checking for apache 1.3.x... found 2.2.2 - disabling module build". |
| [06:14:49] |
<marlun> |
is it that module that is used by Trac? Because it does found my python installation and maybe thats all Trac needs since it uses python together with Clearsilver? |
| [06:15:09] |
* |
msoares has joined #trac |
| [06:16:08] |
* |
prologic has quit IRC |
| [06:16:30] |
* |
imajes_ has joined #trac |
| [06:16:32] |
* |
prologic has joined #trac |
| [06:16:40] |
<misc> |
i think you can avoid it |
| [06:17:48] |
* |
ebcomley has joined #trac |
| [06:20:02] |
<marlun> |
misc, how do you mean? |
| [06:20:17] |
<marlun> |
or, what do you mean? =) |
| [06:20:45] |
<misc> |
marlun: the apache module is not used by trac, only python binding |
| [06:21:23] |
<marlun> |
yeah so I should just be able to go on and don't care that it skipped the apache module build. |
| [06:24:57] |
* |
davecole has quit IRC |
| [06:26:41] |
* |
matt_good has quit IRC |
| [06:29:44] |
* |
ebcomley has quit IRC |
| [06:33:43] |
* |
imajes has quit IRC |
| [06:58:33] |
* |
cboos has joined #trac |
| [07:01:08] |
* |
artur_t has joined #trac |
| [07:04:51] |
* |
danbeck has joined #trac |
| [07:05:52] |
<asmodai> |
mmm |
| [07:06:02] |
<asmodai> |
iteration over non-sequence on login with 0.10-dev |
| [07:06:03] |
* |
mgalvin has joined #trac |
| [07:06:31] |
* |
asmodai updates to the latest trunk |
| [07:07:10] |
* |
phoenixz has joined #trac |
| [07:08:00] |
<asmodai> |
that seemed to have fixed it |
| [07:10:00] |
<asmodai> |
mmm, strange, when I was logged in and I log out, when I press login again it will not pop up a dialog box for username and password. |
| [07:15:46] |
* |
wart has quit IRC |
| [07:18:44] |
* |
artur_t has left #trac |
| [07:42:19] |
<cboos> |
is there some CSS savvy person around? |
| [07:42:37] |
<cboos> |
I've noticed a problem on IE ... (how surprising) |
| [07:43:26] |
<cboos> |
the wiki title permalink (you know, that nifty ¶ sign that appears when hovering on a title) doesn't appear on IE |
| [07:43:46] |
<cboos> |
works with FF and opera, though |
| [07:48:32] |
<jrydberg-> |
cboos: Do you know if there is a way for a plugin to access the database in some "nice" way? |
| [07:48:43] |
<jrydberg-> |
to let the plugin create its own tables and so on |
| [07:49:26] |
<cboos> |
what's usually advised is to hook into the system table to leave your sub-schema version info there, and create prefixed tables |
| [07:49:28] |
<cboos> |
e.g. |
| [07:50:10] |
* |
imajes_ is now known as imajes |
| [07:50:16] |
<cboos> |
insert into system values ('my_version', 9) |
| [07:50:34] |
<cboos> |
and if there's no such key in the first place, then create the tables |
| [07:50:46] |
<cboos> |
like my_cache, my_xyz etc. |
| [07:50:46] |
<asmodai> |
cboos: I know some CSS though, but not every single trick that's out there. |
| [07:51:08] |
<cboos> |
same for me ;) |
| [07:51:33] |
<coderanger_> |
cboos: It looks like IE only supports :hover on <a> |
| [07:51:50] |
<coderanger_> |
(just been doing some quick google research) |
| [07:52:10] |
<cboos> |
coderanger: oh, thanks, that's a good hint |
| [07:52:16] |
<coderanger_> |
IE will accept and parse :hover other places, but its ignored |
| [07:52:34] |
<coderanger_> |
line 33 of wiki.css is the relevant line I think |
| [07:52:36] |
<cboos> |
that can explain the behavior, since the hover is on the h1, h2, etc. |
| [07:52:42] |
<coderanger_> |
Yeah |
| [07:52:43] |
<cboos> |
right |
| [07:53:00] |
<coderanger_> |
http://www.xs4all.nl/~peterned/csshover.html |
| [07:53:05] |
<cboos> |
thx |
| [07:53:08] |
<coderanger_> |
A good site it seems |
| [07:54:34] |
<coderanger_> |
Trac should just list "non-IE browser" as a prereq ;-) |
| [07:55:10] |
<jrydberg-> |
cboos: okey. i will probably need some special tables for my bzr plugin |
| [07:55:38] |
<cboos> |
jrydberg-: I'll probably find the time in the following days to start working on my new cache for 0.11 |
| [07:55:58] |
<jrydberg-> |
cboos: No way that it will make it into 0.10? |
| [07:56:11] |
<jrydberg-> |
I suppose the cache will work with multiple repos? |
| [07:56:29] |
<cboos> |
no ... as I'll probably also find the time to finalize 0.10 (at least to get a beta in one week or two at most) |
| [07:56:39] |
<asmodai> |
cboos: http://www.webdevout.net/ |
| [07:56:58] |
* |
asmodai loves that site |
| [07:57:30] |
<cboos> |
jrydberg-: it might be... see the notes about that on the VcRefactoring page |
| [07:57:48] |
<asmodai> |
Seems IE7 might be better a bit in that aspect |
| [07:57:58] |
<asmodai> |
:hover only works for a element with href |
| [07:58:10] |
<coderanger_> |
Grr, plugin load order issues were solved I though? |
| [07:58:23] |
<adj> |
does python need to be told to reload anything if i modify trac/web/cgi_frontend.py ? |
| [07:58:39] |
<coderanger_> |
adj: No |
| [08:00:27] |
<adj> |
weird. i must have broken something... |
| [08:00:57] |
<adj> |
i get an error message from apache about not finding chrome/common (its looking in the wrong place) |
| [08:01:18] |
<adj> |
and my trac page has no images or styling |
| [08:01:31] |
<coderanger_> |
adj: Are you trying to use htdocs_location? |
| [08:02:38] |
<adj> |
hmm. its set up on a shared environment, i have my trac project in ~/projects/aps, and the trac page uses a cgi script as the DirectoryIndex |
| [08:05:47] |
<adj> |
but i keep getting: [Mon Jun 5 08:04:23 2006] [error] [client xxx.xxx.20.29] File does not exist: /home/jssanders/aps.jssjr.com/chrome/common/trac_logo_mini.png |
| [08:06:06] |
* |
rastejante has joined #trac |
| [08:06:09] |
<rastejante> |
hy |
| [08:07:04] |
<rastejante> |
i need to get a copy of my trac (plus the svn repository) tu a cd... the ideia is on the end of the exporting i can run the site from the cd copy... |
| [08:07:17] |
<rastejante> |
anyone can help me? tks in advance |
| [08:08:08] |
<coderanger_> |
adj: Do you have TracUriRoot set? |
| [08:08:25] |
<coderanger_> |
rastejante: That won't work |
| [08:08:40] |
<coderanger_> |
Trac need r/w access to its database |
| [08:09:10] |
<adj> |
coderanger_: i dont think so |
| [08:09:42] |
<adj> |
each link was pointing to /index.fcgi/wiki, etc, then i changed cgi_frontend.py |
| [08:10:18] |
<coderanger_> |
adj: Try that "SetEnv TRAC_URI_ROOT / |
| [08:10:46] |
<adj> |
so self.cgi_location was set to '/', 15 minutes later, things broke and links switched to blah.com/wiki, etc |
| [08:11:06] |
<adj> |
now ive removed the change and things havent gone back to normal, so i was thinking python needed to reload, or something like that |
| [08:11:24] |
<adj> |
is that a param for apache? |
| [08:11:28] |
<adj> |
err. directive, i mean |
| [08:13:42] |
<coderanger_> |
Yes |
| [08:13:55] |
<adj> |
no luck then =/ |
| [08:14:02] |
<coderanger_> |
CGI is reloaded every time |
| [08:14:10] |
<coderanger_> |
There is nothing persistent |
| [08:14:14] |
<adj> |
im thinking it may be being cached by my host... |
| [08:14:36] |
<rastejante> |
coderanger_: but i don't need to change the trac after the copy was made.... the thing is... i'm using trac to support a class project, and know i need to deliver the work to the teacher... on a cd! |
| [08:14:59] |
<coderanger_> |
rastejante: Every access to Trac changes the db |
| [08:15:10] |
<coderanger_> |
It stores things like last access time for each user |
| [08:16:14] |
<coderanger_> |
rastejante: You could try spidering the site with something like httrack, and give him that |
| [08:16:50] |
<adj> |
coderanger_: it was cached =) i ran a killall and it works now |
| [08:16:59] |
<adj> |
weird dreamhost setup |
| [08:17:11] |
<adj> |
thanks |
| [08:17:21] |
<rastejante> |
coderanger_: ok tks i will see that |
| [08:18:16] |
<coderanger_> |
adj: Ahh, thats weird, Trac sets its caching headers properly most of the time |
| [08:25:22] |
* |
coderanger1 has joined #trac |
| [08:28:06] |
<rastejante> |
coderanger_: but... i already try that approache with wget.... but the name of the files on the svn rep came all "corrupect" |
| [08:29:47] |
<adj> |
why not just give the prof a login to the site? |
| [08:33:47] |
* |
bofh is now known as lowkey |
| [08:33:52] |
* |
lowkey is now known as l0wkey |
| [08:41:27] |
* |
coderanger_ has quit IRC |
| [08:46:08] |
<coderanger1> |
rastejante: Trac is not designed for that kind of off-line use at the moment. It might be possible to make a special read-only version of Trac, but its not a small undertaking |
| [08:49:19] |
* |
coderanger1 is now known as coderanger_ |
| [08:53:45] |
<marlun> |
Anyone know if I can tell the pysqlite build to work against a specific sqlite lib? I get an error (http://marlun.pastebin.com/759907) when testing pysqlite and it seems to have to do with different versions. (sorry for asking it here but the python and sqlite channels don't answer) |
| [08:59:36] |
* |
agile has quit IRC |
| [08:59:45] |
* |
idnar_ is now known as idnar |
| [09:05:36] |
<marlun> |
hmm about that last message, I'm not sure what is wrong, I only have have one version of sqlite(3) in /usr/local/lib/ and /usr/local/include/ so I have no idea what's wrong. |
| [09:06:54] |
<cboos> |
marlun: then your pysqlite binding wasn't compiled against the sqlite lib you have installed in /usr/local ... |
| [09:07:12] |
* |
bnovc_ has joined #trac |
| [09:07:33] |
<bnovc_> |
hello, i was wondering if there was a way to disable anonymous edits on the wiki part of trac - i can't find it in the config or on the trac website |
| [09:07:41] |
<marlun> |
cboos, but thats the only thing in there and thats the path that is set in pysqlite's setup.cfg |
| [09:08:01] |
<cboos> |
so you did compile pysqlite yourself? |
| [09:08:24] |
<marlun> |
yes |
| [09:08:29] |
<cboos> |
mmh ... |
| [09:08:46] |
<marlun> |
or wait...I'm not sure since it uses these python stuff |
| [09:09:07] |
<coderanger_> |
bnovc_: Yes |
| [09:09:10] |
<coderanger_> |
@permissions |
| [09:09:10] |
<evil_twin> |
coderanger_: "permissions" is See http://projects.edgewall.com/trac/wiki/TracPermissions for information on built-in permissions |
| [09:09:15] |
<marlun> |
i did "python setup build" and "python setup install" |
| [09:09:43] |
<marlun> |
.py after the setup part :) |
| [09:10:05] |
<cboos> |
and did you compile sqlite3 yourself too ? |
| [09:10:06] |
<marlun> |
and I didn't get any errors then. |
| [09:10:14] |
<marlun> |
cboos, yes i did |
| [09:10:29] |
<cboos> |
using --enable-shared-cache at configuration time? |
| [09:10:56] |
<marlun> |
nope |
| [09:11:24] |
<marlun> |
cboos, what does that do? :) |
| [09:12:03] |
<cboos> |
enables the shared cache, i.e. add the actual sqlite3_enable_shared_cache among others in your sqlite3 lib |
| [09:12:32] |
<cboos> |
(this is about the possibility to share a connection object amongst different threads) |
| [09:12:33] |
<bnovc_> |
coderanger_: thanks |
| [09:13:05] |
<marlun> |
cboos, ok, I'll re configure/compile/install sqlite and pysqlite adding that to the sqlite configuration. |
| [09:13:42] |
<cboos> |
it's not enabled by default, so if you didn't specify this, your library doesn't contain that function ... but then, the .h files shouldn't let you access the function declaration either |
| [09:13:56] |
<cboos> |
what are the versions of sqlite3 and pysqlite2 you're using |
| [09:13:57] |
<cboos> |
? |
| [09:14:10] |
<marlun> |
I used pysqlite 2.2.2 and sqlite 3.3.5. |
| [09:14:17] |
<cboos> |
good pick ;) |
| [09:14:23] |
<marlun> |
:) |
| [09:15:09] |
<marlun> |
I'll just redo everything and see if it works better. thanks for the help :) |
| [09:15:14] |
<cboos> |
are you sure you don't have a sqlite 2 library somewhere? |
| [09:15:26] |
<cboos> |
see http://lists.initd.org/pipermail/pysqlite/2006-April/000510.html |
| [09:15:50] |
<cboos> |
and the answer http://lists.initd.org/pipermail/pysqlite/2006-April/000511.html |
| [09:20:11] |
<bnovc_> |
could someone point me to the trac help page on creating users? i dont see it on trac-admin or the trac http page |
| [09:20:23] |
<marlun> |
yeah I read that too, and in the /usr/local/lib/ theres only one version and also only one header file in /usr/local/include/. However if I go into both libsqlite0 (2.8.17) and libsqlite3-0 (3.2.8) is installed. |
| [09:21:37] |
<coderanger_> |
bnovc_: You don't create users in Trac, it just uses HTTP auth by default |
| [09:22:14] |
<bnovc_> |
coderanger_: oh..is there a file by default or do i create a user file and point to it? |
| [09:22:28] |
<marlun> |
cboos, but since the setup.cfg has those two paths i thought it would use it. And I still didn't add that "--enable-shared-cache" to my configure. |
| [09:22:56] |
<coderanger_> |
bnovc_: How are you doing authenication? htpasswd perhaps? |
| [09:23:14] |
<bnovc_> |
coderanger_: i didn't specify anywhere to my knowledge |
| [09:23:38] |
<cboos> |
marlun: the pysqlite2 is probably consistent with your sqlite3, but maybe at runtime another sqlite library is picked up ... though you said you checked that |
| [09:23:40] |
<coderanger_> |
bnovc_: How are you running Trac? |
| [09:23:46] |
<bnovc_> |
coderanger_: through apache |
| [09:24:18] |
<coderanger_> |
bnovc_: CGI/FCGI/mod_python ... |
| [09:24:25] |
<bnovc_> |
mod_python i believe |
| [09:24:36] |
<bnovc_> |
i used a package |
| [09:25:05] |
<coderanger_> |
bnovc_: If you just used the config given in the TracModPython guide, you are using htpasswd |
| [09:25:41] |
<marlun> |
cboos, how did I say I checked that? (sorry) |
| [09:25:48] |
<bnovc_> |
coderanger_: ok; well when i go to the trac page apache does not ask me to login |
| [09:26:00] |
<bnovc_> |
where do i put the apache user file? |
| [09:26:09] |
<coderanger_> |
bnovc_: Um, then you probably didn't setup authentication, and you need to do that first |
| [09:26:10] |
<bnovc_> |
htpasswd -c /trac/some_file bnovc ? |
| [09:26:15] |
<cboos> |
marlun: " I only have have one version of sqlite(3) in /usr/local/lib/ and /usr/local/include/ so I have no idea what's wrong." |
| [09:26:16] |
<bnovc_> |
oh, ok |
| [09:26:23] |
<cboos> |
? |
| [09:26:25] |
<marlun> |
cboos, ah, yes :) |
| [09:26:27] |
<bnovc_> |
well that's what i didn't see mentioned in trac.conf |
| [09:26:31] |
<bnovc_> |
*.ini |
| [09:27:03] |
<marlun> |
cboos, it can't hurt to reconfigure sqlite with that caceh thing. |
| [09:27:06] |
<marlun> |
cboos, I'll just try |
| [09:27:10] |
<coderanger_> |
bnovc_: Because its not part of Trac, you have to set it up in Apache |
| [09:27:19] |
<coderanger_> |
http://projects.edgewall.com/trac/wiki/TracModPython#Simpleconfiguration |
| [09:27:42] |
<cboos> |
marlun: if you still see the error after that, then you will be sure that pysqlite is not picking that library ... |
| [09:27:59] |
<marlun> |
cboos, however I did ./configure -h and it doesn't seem to have a "--enable-shared-cache" |
| [09:28:21] |
<cboos> |
well, let me check, that was from memory ... |
| [09:29:08] |
<bnovc_> |
coderanger_: thanks; i'll go read that |
| [09:31:54] |
* |
felipe_br has joined #trac |
| [09:32:21] |
<felipe_br> |
hi, how can I list users registered in a project? |
| [09:32:36] |
<felipe_br> |
I can list permissions, but I don't know which users there are... |
| [09:32:51] |
<cboos> |
marlun: oops, sorry, I confused with --enable-cross-thread-connections |
| [09:33:21] |
<cboos> |
marlun: the enable_shared_cache function is probably _always_ compiled in, in sqlite3 > 3.3.0 |
| [09:33:42] |
<cboos> |
marlun: so you're definitely linking against a different sqlite library at runtime |
| [09:33:57] |
<marlun> |
hmmm ok :) |
| [09:34:20] |
<marlun> |
then I need a way to make sure it linking against my sqlite. |
| [09:36:11] |
<marlun> |
cboos, hmmm i may be wrong. I did a "dpkg -L libsqlite0" and got: /usr/lib/libsqlite.so.0.8.6 |
| [09:36:28] |
<cboos> |
ah, that's probably 2.8.6 |
| [09:37:14] |
<cboos> |
however the sqlite3 library should be sqlite3.so something, no? (don't have a linux system right at hand, now) |
| [09:37:21] |
<cboos> |
check in your /usr/local/lib |
| [09:37:32] |
<marlun> |
yes |
| [09:37:55] |
* |
s0undt3ch has joined #trac |
| [09:38:04] |
* |
felipe_br has left #trac |
| [09:38:05] |
<coderanger_> |
felipe_br: You cannot |
| [09:38:55] |
<marlun> |
cboos, but the setup.cfg has: "library_dirs=/usr/local/lib" and "libraries=sqlite3" so I don't get why it takes the one in the other folder that isn't sqlite3. |
| [09:39:08] |
* |
cboos neither ;) |
| [09:39:23] |
<cboos> |
something else: did you try to run ./scripts/test-pysqlite ? |
| [09:39:42] |
* |
mgalvin has quit IRC |
| [09:40:20] |
<cboos> |
python <installdir>scripts/test-pysqlite |
| [09:41:09] |
<cboos> |
if that script is still installed in 2.2.2, I'm not sure... otherwise it's in pysqlite-2.2.2-srcdir/scripts/ |
| [09:43:24] |
<marlun> |
there is no scripts folder in the source-code folder. |
| [09:43:38] |
<rastejante> |
coderanger_: tks 4 the help. |
| [09:43:42] |
* |
rastejante has quit IRC |
| [09:43:57] |
<bnovc_> |
has 'reports' gone away in newer versions of trac? http://www.edgewall.com/trac/screenshots.html seems to have a reports button at the bottom but mine does not |
| [09:44:19] |
<coderanger_> |
bnovc_: Its being phased out in favor of the query module |
| [09:45:37] |
<cboos> |
marlun: uh, well, that's in svn for sure, maybe not in the package then |
| [09:45:52] |
<cboos> |
nevermind, from the python prompt, try: |
| [09:46:16] |
<cboos> |
>>> from pysqlite2 import dbapi2 as sqlite |
| [09:46:16] |
<bnovc_> |
coderanger_: ok thanks |
| [09:48:00] |
<marlun> |
cboos, almost the same: http://marlun.pastebin.com/760095 |
| [09:48:38] |
<cboos> |
good, then you can do a 'ldd /usr/lib/python2.4/site-packages/pysqlite2/_sqlite.so' from your shell |
| [09:49:19] |
<coderanger_> |
WikiRenamePlugin is up on trac-hacks :) |
| [09:49:56] |
<marlun> |
cboos, http://marlun.pastebin.com/760100 |
| [09:50:14] |
<cboos> |
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 |
| [09:50:29] |
<cboos> |
which means that this libsqlite3.so.0 is pre-3.3.0 |
| [09:50:44] |
<cboos> |
... so not the one you compiled against |
| [09:51:26] |