| [00:11:40] |
* |
stalker` has quit IRC |
| [00:11:55] |
* |
stalker` has joined #trac |
| [00:14:16] |
* |
hatul30 has quit IRC |
| [00:20:07] |
* |
hatul30 has joined #trac |
| [00:27:46] |
* |
__ionut__ has quit IRC |
| [00:36:26] |
* |
kop_ has joined #trac |
| [00:41:11] |
* |
FauxFaux has joined #trac |
| [00:42:48] |
* |
tag- has joined #trac |
| [00:43:06] |
<tag-> |
coderanger: Hey you said something about someone creating a pluggable document generation core for trac, using a document object model |
| [00:44:10] |
<coderanger> |
tag-: A number of people have talked about it, but I don't know of anything useable yet |
| [00:44:19] |
<coderanger> |
(or even remotely close) |
| [00:44:32] |
<tag-> |
I was thinking about this, and as I understood your explanation -- there is a document object model that will be created to represent trac documents specifically? However, I didn't quite understand why one wouldn't just use the W3C's document object model -- having designed an intermediate format, DOM would be a great representation regardless of the intermediate source or target formats. |
| [00:44:47] |
<tag-> |
;-) |
| [00:44:50] |
<coderanger> |
There is this: http://ideas.water-powered.com/projects/puredocs/ |
| [00:44:58] |
<coderanger> |
By the same guy who did TracGantt |
| [00:45:45] |
<coderanger> |
tag-: Not sure what you mean by using a DOM, the idea is to use an XML-based format to handle the dataflow between components |
| [00:45:45] |
* |
kop_ has quit IRC |
| [00:46:01] |
<tag-> |
coderanger: then nevermind |
| [00:46:17] |
<tag-> |
it's precisely what I was describing, I didn't say anything. |
| [00:46:37] |
<coderanger> |
Not sure why anyone would ever reimplement a DOM parser in Python, when two are part of the stdlib |
| [00:46:54] |
<coderanger> |
though there is also a SAX parser and ElementTree |
| [00:46:58] |
<tag-> |
not so much a DOM parser, but an object model to represent any document. |
| [00:47:22] |
<tag-> |
regardless of the presence of XML. |
| [00:47:31] |
<coderanger> |
Yeah, that would dumb |
| [00:48:16] |
<coderanger> |
s/dumb/be dumb/ |
| [00:48:46] |
* |
kop_ has joined #trac |
| [00:48:47] |
<tag-> |
that's funny I didn't even realize you omitted the word "be" the first time I read that statement. |
| [00:53:26] |
<coderanger> |
It would be a really nice thing to build into Trac |
| [00:53:50] |
<coderanger> |
but a good, cross-language system has yet to be found |
| [00:54:19] |
<tag-> |
yeah |
| [00:54:41] |
* |
hpnadig has joined #trac |
| [00:54:55] |
<tag-> |
it'd be sweet :-) seems a lot more robust than the existing pluggable processor approach. |
| [00:56:22] |
<tag-> |
so, implements() I was looking at it, but I find python codebases somewhat difficult to navigate still -- does the implements() that's present in python actually enforce that classes which claim to implement X does indeed implement anything? |
| [00:56:26] |
* |
JosefK has joined #trac |
| [00:56:32] |
<tag-> |
or at the very least have matching method names? |
| [00:57:38] |
<coderanger> |
there is no implements() in Python |
| [00:57:41] |
<coderanger> |
thats a Trac thing |
| [00:57:43] |
<JosefK> |
can anyone point me to some docs on importing tickets? We're migrating project managers here, and can dump our current tickets as CSV |
| [00:57:48] |
<tag-> |
that's what I said |
| [00:57:57] |
<tag-> |
err |
| [00:58:00] |
<tag-> |
I meant to say, even |
| [00:58:09] |
<tag-> |
I meant to say, the implements() that's present in trac.core |
| [00:58:10] |
* |
osimons has joined #trac |
| [00:58:40] |
<coderanger> |
JosefK: What are you migrating from? |
| [00:58:56] |
<coderanger> |
tag-: No, not even remotely |
| [00:59:01] |
<JosefK> |
coderanger, mantis, we're fine importing just the initial tickets without follow-up atm |
| [00:59:08] |
<tag-> |
I see. |
| [00:59:15] |
<tag-> |
so it's just some sort of registration mechanism? |
| [00:59:20] |
<coderanger> |
tag-: Things like zope's interfaces package offer more of that kind of thing |
| [00:59:48] |
* |
tag- really wishes he didn't have to build this in python |
| [00:59:51] |
<coderanger> |
tag-: Yep, think of it as MI, except you can get back everybody who implemented/extended/subclasses $foo |
| [00:59:57] |
<JosefK> |
coderanger, I'm guessing I should just awk the CSV until I can run it in sqlite, but is there a better way? |
| [01:00:08] |
<coderanger> |
JosefK: There is a mantis import script somewhere |
| [01:00:56] |
<coderanger> |
@wiki TracImport |
| [01:00:56] |
<evil_twin> |
coderanger: http://trac.edgewall.org/wiki/TracImport |
| [01:01:04] |
<tag-> |
I've yet to figure out why python is so popular :-) |
| [01:01:17] |
<JosefK> |
coderanger, thanks a lot :) |
| [01:01:44] |
<coderanger> |
tag-: Because people like code that doesn't look like camel vomit ;-) |
| [01:02:25] |
<tag-> |
coderanger: I was about to say, it seems like the only thing it has going for it is that it's not perl... |
| [01:02:34] |
<tag-> |
:-) |
| [01:03:09] |
<coderanger> |
tag-: Well really it fills a different niche than C/C++/Java (dynamic), and Ruby just has huge issues |
| [01:03:32] |
<coderanger> |
tag-: As to why it is gaining more support than things like forth, haskel, or scheme, I can't say |
| [01:03:44] |
* |
osimons_ has quit IRC |
| [01:04:26] |
<tag-> |
forth? Why would you even throw forth in that list? :-) |
| [01:05:12] |
<coderanger> |
tag-: Because its another dynamic language |
| [01:05:33] |
<coderanger> |
I could also add smalltalk and erlang, but those tend to be even less mainstream |
| [01:06:15] |
<tag-> |
forth is far from main stream. Unless something has changed since I last coded in forth before the turn of the century.. |
| [01:06:39] |
<coderanger> |
tag-: About as far as scheme I would say |
| [01:06:55] |
<tag-> |
are we talking about the same forth? |
| [01:07:03] |
<coderanger> |
There is more than one? |
| [01:07:27] |
<coderanger> |
(well technically there is, since there are a number of forth standards I think) |
| [01:09:30] |
<tag-> |
well, I guess forth lacks type checking. But in the same breath, so does most assembler. |
| [01:10:15] |
<tag-> |
I don't really consider either of them to be in the same category as python :-) |
| [01:10:51] |
<coderanger> |
Indeed |
| [01:21:12] |
<tag-> |
abstracting out repository access is a pain |
| [01:22:39] |
<coderanger> |
Indeed |
| [01:23:00] |
<tag-> |
it's unfortunate that nobody has done it for me sufficiently :-) |
| [01:23:41] |
<evil_twin> |
New news from t.e.o: TracUnicode edited by p.jaroszynski@gmail.com <http://trac.edgewall.org/wiki/TracUnicode> |
| [01:24:48] |
<coderanger> |
tag-: What do you need that trac.versioncontrol doesn't have? |
| [01:26:22] |
<tag-> |
coderanger: I need to be able to inspect existing transactions and I need write access to the repository. |
| [01:26:37] |
<coderanger> |
Ahh, good answer |
| [01:26:49] |
<tag-> |
I did my homework :-) |
| [01:27:42] |
<coderanger> |
Have you looked at pysvn? last I heard it sucked but maybe things have changed |
| [01:28:02] |
<tag-> |
it doesn't suck, it's just completely inadequate |
| [01:28:47] |
<tag-> |
it's be fine if I was trying to inspect working copies |
| [01:29:18] |
<tag-> |
but doesn't really provide me with what I need either, and anyway, I'm trying to build a somewhat generic abstraction as it sits -- I have a future goal of possibly supporting multiple SCMs |
| [01:29:45] |
<tag-> |
s/it's/it'd/ |
| [01:30:36] |
<coderanger> |
I wish you luck and look forward to seeing the results :) |
| [01:31:07] |
<tag-> |
it'll be fine, this is one of the less daunting of tasks I've spec'd out to build this shit |
| [01:32:00] |
<technomancy> |
coderanger: sorry; had to take off |
| [01:32:31] |
<technomancy> |
it turns out it works fine with tracd as long as you first load localhost:9000 before any specific pages |
| [01:32:50] |
<technomancy> |
if you load a wiki page first, it crashes |
| [01:33:32] |
<coderanger> |
technomancy: Whats the exact error |
| [01:34:21] |
<coderanger> |
lisppaste5: url |
| [01:34:22] |
<lisppaste5> |
To use the lisppaste bot, visit http://paste.lisp.org/new/trac and enter your paste. |
| [01:34:53] |
* |
maxb has joined #trac |
| [01:35:31] |
<technomancy> |
coderanger: no error; just a blank page. logs are blank |
| [01:35:59] |
<coderanger> |
and the log is set to "file" and "debug"? |
| [01:36:07] |
<technomancy> |
coderanger: earlier i was getting "Clearsilver not installed" under fcgi |
| [01:36:09] |
<technomancy> |
yeah |
| [01:36:31] |
<coderanger> |
technomancy: Try running tracd in the foreground so you can see if it prints anything |
| [01:37:26] |
<technomancy> |
i don't get any output |
| [01:37:44] |
<coderanger> |
You should see at least one per request |
| [01:37:48] |
<tag-> |
alteast python has multiple inheritance |
| [01:38:20] |
<technomancy> |
coderanger: i don't. do i need any special args other than leaving out "-d"? |
| [01:39:40] |
<coderanger> |
technomancy: I don't think so |
| [01:39:58] |
<technomancy> |
coderanger: my bad. i don't get any output when i access it remotely, but that's a separate problem |
| [01:41:12] |
* |
osimons_ has joined #trac |
| [01:41:24] |
<lisppaste5> |
technomancy pasted "tracd error" at http://paste.lisp.org/display/40132 |
| [01:41:36] |
<technomancy> |
when i access it locally, that's what i get |
| [01:41:44] |
<coderanger> |
technomancy: What OS |
| [01:41:44] |
<technomancy> |
in the browser |
| [01:42:05] |
<technomancy> |
it's on ubuntu 7.04 64-bit |
| [01:42:45] |
<technomancy> |
in the console i get the regular access log indicating a 500 error |
| [01:43:31] |
<technomancy> |
i solved it by hitting localhost:9000 via curl in my tracd startup script, but that's uber-hacky |
| [01:44:03] |
<technomancy> |
good enough for now though |
| [01:44:32] |
* |
stalker` has quit IRC |
| [01:46:53] |
<coderanger> |
technomancy: Is CS installed from apt? |
| [01:47:13] |
* |
et- is now known as et |
| [01:48:08] |
<coderanger> |
technomancy: Run `ldd /usr/lib/python2.5/site-packages/neo_cgi.so` |
| [01:48:09] |
* |
osimons has quit IRC |
| [01:48:28] |
<tag-> |
wow, my battery really doesn't last that bloody long. |
| [01:49:22] |
<tag-> |
I've been off the grid since a bit before 11...that's 2.5, maybe 3 hours. Pretty damn lame. |
| [01:50:03] |
<technomancy> |
coderanger: i had to install CS manually to get version 0.14 |
| [01:50:46] |
<coderanger> |
tag-: Mine gets about 1hr at this point, 2 if I turn off all wireless and put the backlight to "good luck reading this" |
| [01:51:06] |
<technomancy> |
coderanger: ldd lists /lib64/ld-linux-x86-64.so.2, libc.so.6 => /lib/libc.so.6, libz.so.1 => /usr/lib/libz.so.1 |
| [01:51:37] |
<coderanger> |
technomancy: What about libpython |
| [01:53:34] |
<lisppaste5> |
technomancy pasted "ldd libpython" at http://paste.lisp.org/display/40133 |
| [01:53:40] |
<coderanger> |
technomancy: If that isn't in there, you have linker problem |
| [01:54:37] |
<coderanger> |
technomancy: No, I mean neo_cgi.so should be linking against libpython |
| [01:54:47] |
<coderanger> |
that would actually explain that behavior |
| [01:55:11] |
<technomancy> |
coderanger: sounds like i'm in over my head. did i compile CS wrongly? |
| [01:55:34] |
<coderanger> |
If you hit some other page first, it loads another library (probably the DB) first, and so by the time neo_cgi.so gets loaded, libpython is already in memory |
| [01:55:41] |
<coderanger> |
technomancy: Sounds like it |
| [01:56:07] |
<coderanger> |
technomancy: Though that should all be buried deep in the autotools insanity for ClearSilver |
| [01:56:14] |
<technomancy> |
hmm... well i thought the instructions were fairly straightforward, but i'll take another look |
| [01:56:25] |
<coderanger> |
technomancy: My personal advice, ditch CS, upgrade to 0.11dev, and install Genshi |
| [01:56:32] |
<technomancy> |
yeah, good thing 0.11 doesn't depend on CS |
| [01:56:45] |
<technomancy> |
i would use 0.11 if this were my own box, but i'm setting it up for a friend |
| [01:56:53] |
<technomancy> |
need it to be stable. =\ |
| [01:57:44] |
<coderanger> |
technomancy: Trunk is relatively stable right now, been a while since the last major feature add |
| [01:57:58] |
* |
_shawn has quit IRC |
| [01:57:59] |
<technomancy> |
if i apt-get build-dep python-clearsilver and then recompile; might thta fix it? |
| [01:58:08] |
* |
_shawn has joined #trac |
| [01:58:26] |
<coderanger> |
technomancy: No, it sounds like its something in the build for neo_cgi.so |
| [01:59:58] |
<technomancy> |
is that specific to CS? |
| [02:00:09] |
<coderanger> |
Yes |
| [02:00:20] |
<coderanger> |
Its the CS python bindings module |
| [02:02:10] |
<technomancy> |
so it's their fault? =) |
| [02:02:13] |
* |
osimons has joined #trac |
| [02:02:20] |
<alect> |
which don't work under 2.5!! |
| [02:02:21] |
<alect> |
AGH |
| [02:02:24] |
<alect> |
frustratingmuch |
| [02:02:33] |
<coderanger> |
alect: They claim they do |
| [02:02:36] |
<coderanger> |
as of 0.10.4 |
| [02:02:52] |
<coderanger> |
(or so says the release notes) |
| [02:03:01] |
<alect> |
i'm pretty sure i tried that last night |
| [02:03:02] |
<coderanger> |
technomancy: Probably |
| [02:03:34] |
<coderanger> |
alect: http://www.clearsilver.net/downloads/Notes-0.10.4 |
| [02:03:50] |
<coderanger> |
alect: Not saying it actually does work, just that you can be even more mad since it is supposed to ;-) |
| [02:04:09] |
<technomancy> |
alect: i got it to sorta-work |
| [02:04:14] |
<alect> |
hrrm |
| [02:04:15] |
* |
osimons_ has quit IRC |
| [02:04:18] |
<alect> |
yeah i did try 10.4 |
| [02:04:38] |
<technomancy> |
alect: are you getting "clearsilver not installed?" |
| [02:04:39] |
<alect> |
checking for python includes... not found |
| [02:04:48] |
<alect> |
/usr/include/python2.5// |
| [02:04:48] |
<alect> |
lame |
| [02:04:56] |
<technomancy> |
ugh |
| [02:05:25] |
<alect> |
this is from configure.in: python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15" |
| [02:05:30] |
<alect> |
note the complete lack of 2.5 |
| [02:05:37] |
<technomancy> |
yeah, i added 2.5 manually... |
| [02:05:50] |
<technomancy> |
http://trac.edgewall.org/wiki/TracForPython2.5 |
| [02:06:10] |
<alect> |
their definition of "2.5 support" seems somewhat outside normal scope |
| [02:06:51] |
<technomancy> |
agreed |
| [02:07:12] |
<alect> |
and it puts the module in mkdir /usr/lib/python2.5/site-packages/site-packages |
| [02:07:20] |
<alect> |
clearsilver has always sucked |
| [02:07:23] |
<alect> |
always |
| [02:09:13] |
<alect> |
>>> import neo_cgi |
| [02:09:13] |
<alect> |
>>> |
| [02:09:14] |
<alect> |
woot |
| [02:10:15] |
<technomancy> |
also, tracd is only serving on 127.0.0.1... is that normal? |
| [02:10:28] |
<alect> |
yeah |
| [02:10:46] |
<technomancy> |
do you have to tracd --hostname=* or something? |
| [02:11:03] |
<technomancy> |
though even my lighttpd proxy doesn't send it on to other hostso |
| [02:13:29] |
* |
dings has quit IRC |
| [02:17:43] |
* |
dings has joined #trac |
| [02:18:39] |
* |
tsb has joined #trac |
| [02:25:47] |
<technomancy> |
http://trac.edgewall.org/wiki/TracStandalone according to this page tracd isn't limited to localhost unless you tell it to be |
| [02:25:54] |
<evil_twin> |
New news from t.e.o: TracFaq edited by cboos <http://trac.edgewall.org/wiki/TracFaq> || TracForPython2.5 edited by athomas <http://trac.edgewall.org/wiki/TracForPython2.5> || clearsilver-sucks.diff attached to TracForPython2.5 <http://trac.edgewall.org/attachment/wiki/TracForPython2.5/clearsilver-sucks.diff> |
| [02:27:39] |
<technomancy> |
but my tracd isn't showing remotely, and i haven't specified a hostname option |
| [02:28:04] |
<coderanger> |
technomancy: sudo netstat -nlt |
| [02:29:29] |
* |
omry__ has joined #trac |
| [02:32:00] |
* |
maxb has quit IRC |
| [02:32:28] |
<coderanger> |
technomancy: Do you see it bound to 0.0.0.0? |
| [02:34:48] |
<technomancy> |
coderanger: yes |
| [02:35:00] |
<coderanger> |
Firewall? |
| [02:35:26] |
<technomancy> |
not unless ubuntu started enabling it by default |
| [02:35:58] |
<technomancy> |
the crazy thing is: neither lighttpd nor nginx will proxy to it either |
| [02:36:13] |
<coderanger> |
strace? |
| [02:36:21] |
<technomancy> |
i don't mind local access to tracd only if i can proxy to it |
| [02:36:33] |
<technomancy> |
i've never had problems doing this in the past... this is absolutely insane |
| [02:36:54] |
<technomancy> |
i don't really know how to use strace |
| [02:38:06] |
<coderanger> |
technomancy: basically just run strace tracd <args> |
| [02:38:50] |
<coderanger> |
and look to see if something looks wrong, granted a single request will probably generate hundreds of syscalls, so even if something is wrong, finding it might be "interesting" |
| [02:39:46] |
<technomancy> |
ok... i must be losing my mind |
| [02:40:01] |
<technomancy> |
if i proxy to tracd on port 8080, it works fine remotely too |
| [02:40:01] |
<coderanger> |
Welcome to the club |
| [02:41:06] |
<technomancy> |
i do the exact same setup under port 80: a blank page |
| [02:43:16] |
<coderanger> |
run tcpdump on the host and make sure the request gets there |
| [02:52:31] |
<technomancy> |
ok... i was using the wrong hostname for the proxying. dumb |
| [02:52:58] |
<technomancy> |
still doesn't explain why tracd refused to answer on 0.0.0.0 |
| [02:53:06] |
<technomancy> |
but at least it works |
| [03:19:25] |
<technomancy> |
all right thnaks for the help |
| [03:19:28] |
<technomancy> |
gotta take off |
| [03:19:34] |
* |
technomancy has quit IRC |
| [03:23:15] |
* |
osimons_ has joined #trac |
| [03:26:14] |
<evil_twin> |
New news from t.e.o: TracUsers edited by Michael Hall <http://trac.edgewall.org/wiki/TracUsers> |
| [03:31:18] |
* |
osimons has quit IRC |
| [03:33:32] |
<asmodai> |
w 10 |
| [03:34:30] |
<coderanger> |
w 20 |
| [03:34:32] |
<coderanger> |
so there! |
| [03:36:16] |
<alect> |
wellp, clearsilver does work |
| [03:36:36] |
<coderanger> |
I doubt it |
| [03:37:10] |
<alect> |
under 2.5 it works |
| [03:37:21] |
<coderanger> |
"works" |
| [03:37:36] |
<alect> |
yeah, well..works as well as it ever did ;) |
| [03:43:48] |
* |
Hydra^ has joined #trac |
| [03:44:44] |
<asmodai> |
Alect! |
| [03:44:46] |
<asmodai> |
coderanger: heh ;) |
| [03:44:57] |
<asmodai> |
coderanger: No, I cut back on my channels. |
| [03:47:18] |
<alect> |
hey asmodai :) |
| [03:49:34] |
* |
tsb has quit IRC |
| [03:50:48] |
* |
kop_ has quit IRC |
| [03:52:10] |
* |
stalker` has joined #trac |
| [04:00:16] |
* |
osimons has joined #trac |
| [04:04:23] |
* |
__ionut__ has joined #trac |
| [04:06:57] |
* |
osimons_ has quit IRC |
| [04:08:46] |
* |
kop_ has joined #trac |
| [04:22:16] |
* |
stalker` has quit IRC |
| [04:22:36] |
* |
stalker` has joined #trac |
| [04:24:27] |
<asmodai> |
alect: Dude |
| [04:24:40] |
<asmodai> |
alect: How much do we differ in wiki stuff from mediawiki syntax? |
| [04:25:17] |
* |
__ionut__ has quit IRC |
| [04:25:28] |
<coderanger> |
asmodai: A lot |
| [04:25:49] |
* |
__ionut__ has joined #trac |
| [04:25:58] |
<asmodai> |
coderanger: Ok |
| [04:29:08] |
<alect> |
trac_wiki.issubset(moinmoin_wiki) |
| [04:30:04] |
<alect> |
actually it's an intersection |
| [04:43:02] |
* |
stalker` has quit IRC |
| [04:56:40] |
<evil_twin> |
New news from t.e.o: TracProject edited by anonymous <http://trac.edgewall.org/wiki/TracProject> || Ticket #5206 (defect closed): Website Error <http://trac.edgewall.org/ticket/5206#comment:1> || Ticket #5206 (defect created): Website Error <http://trac.edgewall.org/ticket/5206> |
| [05:19:25] |
* |
idnar_ is now known as idnar |
| [05:20:48] |
<asmodai> |
alect: Oh, gee ;) |
| [05:34:27] |
* |
techie_ has joined #trac |
| [05:35:13] |
<techie_> |
Is it possible to remove a comment without altering database? |
| [05:35:29] |
<techie_> |
I mean without manually SQLing it. |
| [05:37:34] |
<techie_> |
Hey! The latest version is 0.10.4 - the channel banner is dead worng. :p |
| [05:37:59] |
<kop_> |
oh, so it's time to upgrade for me? :) |
| [05:38:03] |
<coderanger> |
techie_: TicketDelete |
| [05:38:12] |
* |
coderanger changes topic to "http://trac.edgewall.org/ | http://trac-hacks.org/ | Latest version - 0.10.4 | Unofficial logs - http://pacopablo.com/irclogs | Pastebin - http://paste.lisp.org/new/trac" |
| [05:41:40] |
* |
cbrake_away is now known as cbrake |
| [05:43:51] |
<alect> |
techie: ticketdelete plugin |
| [05:44:01] |
<alect> |
aha! beaten to the punch :( |
| [05:45:01] |
<coderanger> |
Gah, just remembered I need to give a 2 hour talk on Python web development tomorrow |
| [05:45:03] |
<coderanger> |
crap |
| [05:48:10] |
* |
tsb has joined #trac |
| [05:50:32] |
<alect> |
fool them all by giving it on ruby |
| [05:50:38] |
<alect> |
make friends |
| [05:51:11] |
<coderanger> |
alect: I don't think I could give a presentation on RoR with a straight face |
| [06:03:29] |
<techie_> |
Tnx. It seems like this could help in a long-term perspective. |
| [06:03:39] |
<coderanger> |
techie_: ? |
| [06:05:09] |
<techie_> |
I mean TicketDelete plugin. But I've made it through the database, because it is faster. =) |
| [06:05:49] |
<coderanger> |
techie_: How could it be faster? Its two commands and two clicks |
| [06:05:50] |
<techie_> |
I wonder if this multiple repositories feature will be component-dependant? |
| [06:06:01] |
<techie_> |
coderanger: If it is installed. |
| [06:06:11] |
<coderanger> |
techie_: No, the two commands are to install it |
| [06:06:26] |
<techie_> |
Hmm, really? |
| [06:06:27] |
<coderanger> |
easy_install TracTicketDelete -md /path/to/env/plugins |
| [06:06:36] |
<coderanger> |
restart your server of choice |
| [06:06:42] |
<coderanger> |
shabam, its installed |
| [06:07:06] |
<coderanger> |
:) |
| [06:07:28] |
* |
ErikRose has joined #trac |
| [06:09:14] |
<techie_> |
Aha - nice. Buuut - I do not really want to install my server. Apache keeped crashing with mod_pyhon through all previous week, but now it seems to be stable and I am curious how long will it last. |
| [06:09:25] |
<techie_> |
s/install/restart/ |
| [06:09:53] |
<coderanger> |
techie_: Seems like you are fixing the wrong problem ;-) |
| [06:10:13] |
<coderanger> |
In the case of Apache, a restart isn't needed anyway |
| [06:10:32] |
<coderanger> |
SIGHUP will flush the mod_python code caches and memory space |
| [06:12:16] |
<techie_> |
Ok. I'll try. What is -md BTW? |
| [06:13:01] |
<coderanger> |
-m is multi-version, otherwise setuptools complains that /path/to/env/plugins isn't an importable directory |
| [06:13:22] |
<coderanger> |
-d is --install-dir, or "this is where to put the egg" |
| [06:15:20] |
* |
_keturn has quit IRC |
| [06:22:36] |
* |
ErikRose has quit IRC |
| [06:30:29] |
* |
simmerz has joined #trac |
| [06:30:36] |
<evil_twin> |
New news from t.e.o: TracTermsNl edited by vrijschrift.org@lacocina.nl <http://trac.edgewall.org/wiki/TracTermsNl> || TracTermsNl edited by vrijschrift.org@lacocina.nl <http://trac.edgewall.org/wiki/TracTermsNl> |
| [06:31:09] |
<simmerz> |
I've got my trac envs on an ext3 fs, and it puts in a lost+found directory. how can I hide it from trac? I'm getting it showing in the environment index |
| [06:32:38] |
<coderanger> |
simmerz: You can't, that folder is part of the way linux does file systems |
| [06:33:01] |
<coderanger> |
simmerz: Other than shift folders and/or mount points around |
| [06:33:23] |
<simmerz> |
coderanger: yeah I know I can't physically get rid of it, but is it possible to have trac just ignore it? |
| [06:34:00] |
<coderanger> |
simmerz: You could use the TracForge project index |
| [06:34:20] |
<coderanger> |
Or you could make a modified template that ignores that folder |
| [06:35:19] |
<simmerz> |
coderanger: thanks. looking at the tracforge project index stuff at the moment. |
| [06:36:04] |
* |
ErikRose has joined #trac |
| [06:37:40] |
<simmerz> |
I like the look of the project index. I'll play with it. Thanks for the help coderanger :) |
| [06:39:09] |
* |
stevegt_ has quit IRC |
| [06:52:12] |
* |
jonasn has joined #trac |
| [06:52:55] |
* |
stevegt_ has joined #trac |
| [06:53:13] |
<jonasn> |
Is it possible to add a permission for all logged in users using trac-admin? how? |
| [06:54:25] |
<jonasn> |
oh "authenticated", never mind. |
| [07:11:14] |
* |
retracile has joined #trac |
| [07:13:54] |
* |
Tux_Paranoid has joined #trac |
| [07:14:54] |
* |
danbeck has joined #trac |
| [07:17:56] |
* |
rep has joined #trac |
| [07:18:03] |
<rep> |
hi there! |
| [07:18:26] |
<rep> |
i have a little problem with xmlrpc plugin |
| [07:18:58] |
<rep> |
the wiki says i should install it through building an egg file and copying it to the plugins dir |
| [07:19:14] |
<rep> |
but there is no build_egg or similar |
| [07:19:33] |
<rep> |
it just installs fine through setup.py install - but how do i enable it in trac then? |
| [07:28:33] |
* |
fwierzbicki has joined #trac |
| [07:35:13] |
* |
jonasn has quit IRC |
| [07:40:42] |
<retracile> |
rep: you enable plugins in the [components] section... there should be some docs on the plugin's page on trac-hacks. |
| [07:44:00] |
<rep> |
jeah done that |
| [07:44:43] |
<rep> |
created [components] line - in that section i tried "tracrpc = enabled" and "tracrpc.* = enabled" |
| [07:45:13] |
<rep> |
neither of them seems to do anything |
| [07:45:18] |
<rep> |
log_level is DEBUG |
| [07:45:20] |
<asmodai> |
pwww |
| [07:45:22] |
<rep> |
but trac.log is empty |
| [07:45:23] |
<asmodai> |
another Trac site. |
| [07:45:29] |
* |
skarab has joined #trac |
| [07:45:43] |
* |
techie_ has quit IRC |
| [07:48:31] |
<rep> |
retracile: still No handler matched request to /xmlrpc |
| [07:51:09] |
* |
kop_ has quit IRC |
| [08:00:47] |
<retracile> |
rep: I haven't used that plugin yet, so I don't have more suggestions at this point. Watch for alect; he should be able to help. |
| [08:01:34] |
<evil_twin> |
New news from t.e.o: TracBrowser edited by anonymous <http://trac.edgewall.org/wiki/TracBrowser> |
| [08:02:20] |
<rep> |
i have some general questions about this plugin architecture - perhaps i am able to solve my problem then... - at first: is the setting log_level = DEBUG in trac.ini in my project environment actually doing enything? my trac.log is still empty... |
| [08:04:08] |
<rep> |
also the plugin is installed globally here (in python2.3/site-packages) and not as an egg file in my environ's plugins dir - this is because the build_egg method was not available... perhaps i am missing something here... is the buuild_egg method of setuptools missing perhaps because i have to install something additional? |
| [08:04:40] |
<retracile> |
rep: verify that log type is not None (it should be file) |
| [08:04:48] |
<retracile> |
rep: restart your webserver if you haven't |
| [08:04:59] |
<retracile> |
rep: perhaps you needed bdist_egg? |
| [08:05:15] |
<rep> |
ah yes sorry i meant bdist_egg not build_egg |
| [08:05:26] |
<retracile> |
rep: when installed globally, it must be enabled in [components] but it sounds like you already did that. |
| [08:05:55] |
<rep> |
jeah did that but does not seem to do anything - just give me a sec trying to get some logs out of trac ;) |
| [08:06:01] |
<retracile> |
rep: I don't know why bdist_egg would be missing, assuming you have setuptools installed. |
| [08:06:42] |
<rep> |
setuptools is there - python setup.py install - worked fine... just bdist_egg is not there (although the plugin documentation says one should do bdist_egg) |
| [08:07:28] |
<retracile> |
so what does python setup.py bdist_egg give you as output? |
| [08:08:04] |
<rep> |
error: invalid command 'bdist_egg' (no module named 'distutils.command.bdist_egg') |
| [08:08:18] |
<retracile> |
huh. ok. |
| [08:11:11] |
<skarab> |
does anybody have trac setup to use a svn repository beneath the root of the repository? |
| [08:11:29] |
<skarab> |
i.e. svn is at /var/lib/svn, but trac is configured to use /var/lib/svn/MyProject/Test |
| [08:11:56] |
<retracile> |
skarab: Haven't done it myself, but I understand that it's possible. |
| [08:12:22] |
<skarab> |
retracile: i think i may have stumbled across a memory leak, but i'm horrible at profiling/debugging python |
| [08:12:49] |
<skarab> |
if i configure it to use the root svn repository (/var/lib/svn), it seems to operate correctly |
| [08:13:00] |
<skarab> |
but if i pick a subdir, my tracd process explodes in res memory size |
| [08:13:13] |
<skarab> |
(this is typically from fetching a changeset) |
| [08:13:35] |
<retracile> |
skarab: Ah, I see. I don't have time to dig into it; but someone else may. |
| [08:14:41] |
* |
Tux_Paranoid has quit IRC |
| [08:14:47] |
<skarab> |
retracile: what kinds of information should i attach to a bug report? |
| [08:16:21] |
<skarab> |
(fyi, this repository has around 50k revisions) |
| [08:16:28] |
<retracile> |
skarab: trac version, tracd memory size before, during, after. anything from the log that seems interesting... |
| [08:16:39] |
<skarab> |
retracile: great, will do |
| [08:17:02] |
<retracile> |
skarab: anything else you can think of... |
| [08:17:40] |
<retracile> |
skarab: you might also try doing a trac-admin resync after pointing to the subdir, and verify you can duplicate the problem then. |
| [08:17:53] |
<skarab> |
retracile: will do |
| [08:22:58] |
* |
_keturn has joined #trac |
| [08:23:52] |
* |
hpnadig_ has joined #trac |
| [08:31:34] |
* |
hpnadig has quit IRC |
| [08:34:33] |
* |
hatul30 has quit IRC |
| [08:48:21] |
* |
StOORm has joined #trac |
| [08:48:45] |
<StOORm> |
when i installed Trac i have this error : The user habib requires read _and_ write permission to the database file /var/trac/doky/db/trac.db and the directory it is located in.) |
| [08:48:46] |
* |
fwierzbicki has quit IRC |
| [08:49:28] |
<StOORm> |
where can i change the permissions |
| [08:52:52] |
* |
_shawn has quit IRC |
| [09:00:57] |
<asmodai> |
It means physical unix permissions. |
| [09:01:12] |
<asmodai> |
i.e. 6 of chmod |
| [09:02:53] |
* |
skarab has left #trac |
| [09 |