| [00:00:51] |
<major> |
hmm .. |
| [00:01:01] |
<major> |
3 pageto* plugins installed now |
| [00:01:23] |
<major> |
maybe I can do a pagetoebonics |
| [00:02:09] |
<major> |
hmm .. pagetomarkovchain |
| [00:02:12] |
<major> |
that would be fun |
| [00:02:41] |
* |
__off__ is now known as __doc__ |
| [00:03:10] |
<coderanger> |
lovely |
| [00:03:33] |
<coderanger> |
I managed to generate some weird markup, and now tiddlywiki is sitting in an infinite loop of some kind |
| [00:05:50] |
<major> |
nice |
| [00:09:26] |
<coderanger> |
mental note: do web development in firefox |
| [00:12:48] |
* |
hpnadig has joined #trac |
| [00:23:16] |
* |
hpnadig has quit IRC |
| [00:24:59] |
* |
dings has quit IRC |
| [00:25:39] |
* |
hpnadig has joined #trac |
| [00:31:35] |
* |
spn|work has quit IRC |
| [00:40:08] |
* |
spn|work has joined #trac |
| [00:40:18] |
* |
m_g has joined #trac |
| [00:53:15] |
* |
gak has joined #trac |
| [00:59:04] |
<m_g> |
is there any news regarding the restricted mode problem? or any reliable way to fix it? |
| [01:01:44] |
* |
flox has joined #trac |
| [01:03:00] |
* |
gakman has quit IRC |
| [01:04:05] |
* |
blackbird has joined #trac |
| [01:05:15] |
* |
tharvey has quit IRC |
| [01:07:35] |
* |
hpnadig has quit IRC |
| [01:07:57] |
<blackbird> |
cmlenz, ping :D |
| [01:09:01] |
<cmlenz> |
hi |
| [01:10:46] |
<blackbird> |
hoi |
| [01:10:56] |
<blackbird> |
cmlenz, arn't you working on the tracpygments stuff at the moment? |
| [01:11:01] |
* |
blackbird == mitsuhiko at school |
| [01:12:23] |
<cmlenz> |
yeah |
| [01:12:45] |
<cmlenz> |
merged it into trac yesterday |
| [01:13:01] |
<cmlenz> |
http://trac.edgewall.org/changeset/4399 |
| [01:13:15] |
<blackbird> |
aaah |
| [01:13:22] |
<blackbird> |
cmlenz, and i looked at trac-hacks all the time |
| [01:13:29] |
* |
angrymike has joined #trac |
| [01:13:34] |
<blackbird> |
wow. wicked :D |
| [01:13:35] |
* |
angrymike has left #trac |
| [01:13:37] |
* |
blackbird checks out the changes |
| [01:13:57] |
<cmlenz> |
heh, yeah, the plugin is basically untouched |
| [01:14:10] |
<cmlenz> |
s/basically/ |
| [01:14:18] |
<cmlenz> |
gotta drive to work, bbiab |
| [01:14:20] |
* |
cmlenz has quit IRC |
| [01:15:01] |
* |
eblot_ has joined #trac |
| [01:19:01] |
* |
spn|work has quit IRC |
| [01:21:49] |
<blackbird> |
lol: http://ohloh.net/projects/3052 |
| [01:21:54] |
<blackbird> |
12% csharp xD |
| [01:23:51] |
<coderanger> |
probably the templates |
| [01:23:53] |
<coderanger> |
.cs |
| [01:24:31] |
* |
eblot_ has quit IRC |
| [01:24:33] |
* |
eblot has quit IRC |
| [01:25:21] |
<blackbird> |
coderanger, jep |
| [01:25:30] |
<blackbird> |
nevertheless it's funny :D |
| [01:26:00] |
* |
spn|work has joined #trac |
| [01:26:20] |
<coderanger> |
oh jeez does the wiki formatter need an overhaul |
| [01:29:14] |
<asmodai> |
:) |
| [01:30:40] |
<coderanger> |
its alive! |
| [01:30:44] |
<asmodai> |
Who is? |
| [01:30:46] |
<asmodai> |
What is? |
| [01:31:21] |
<prologic> |
hey coderanger ever heard of Text_Wiki ? |
| [01:34:23] |
<coderanger> |
asmodai: http://www.coderanger.net/~coderanger/test.html |
| [01:34:28] |
<coderanger> |
prologic: Nope |
| [01:35:27] |
<prologic> |
google it up |
| [01:35:38] |
<coderanger> |
prologic: yeah, just did |
| [01:35:38] |
<prologic> |
it's a wiki formatter written in php (from pear I think) |
| [01:35:43] |
<prologic> |
I ported it to python a while back |
| [01:35:45] |
<prologic> |
and works really well |
| [01:36:16] |
<coderanger> |
what needs to be done is to split parsing and output |
| [01:36:37] |
<major> |
coderanger, is the page rename wiki supposed to require Ctxtnavadd? |
| [01:36:39] |
<prologic> |
I believe text_wiki does this |
| [01:36:42] |
<coderanger> |
so Trac parses the wiki text into some in-memory structure, and then passes it to an output plugin |
| [01:36:45] |
<prologic> |
you wanna have a look at my python port ? |
| [01:37:07] |
<coderanger> |
major: "No", however Trac doesn't support optional dependencies, so I have to list it |
| [01:37:19] |
<coderanger> |
prologic: Not right now, I am very brain fried |
| [01:37:26] |
<asmodai> |
TiddlyWiki? :) |
| [01:37:28] |
<prologic> |
nps |
| [01:37:31] |
<major> |
so I just comment out the import attempt or something? |
| [01:37:32] |
<coderanger> |
its 4.5 AM over here, last week of classes |
| [01:37:46] |
<asmodai> |
It appears that this TiddlyWiki has been incorrectly saved. |
| [01:37:47] |
<prologic> |
git://git.shortcircuit.net.au/sahriswiki if you get a change later - might be sometthing that trac could use *shrugs* |
| [01:37:51] |
<coderanger> |
major: It should test for it being installed I thought |
| [01:38:01] |
<coderanger> |
asmodai: Yeah, still working on that |
| [01:38:18] |
<asmodai> |
coderanger: So what it this? |
| [01:38:19] |
<coderanger> |
asmodai: still works fine though |
| [01:38:28] |
<coderanger> |
asmodai: New output format on combinewiki |
| [01:38:37] |
<asmodai> |
oh |
| [01:38:48] |
<asmodai> |
Seems pretty clear |
| [01:38:51] |
<coderanger> |
translates a given set of trac wiki pages into a single tidllywiki |
| [01:38:59] |
<major> |
coderanger, it just skips it |
| [01:39:10] |
<major> |
skips loading it that is |
| [01:39:12] |
<coderanger> |
major: I'll look tomorrow |
| [01:39:20] |
<coderanger> |
major: You could also just install ctxtnavadd ;-) |
| [01:39:28] |
<coderanger> |
its nice to have the button |
| [01:41:02] |
<major> |
starting to worry about the sheer number of plugins I have running on here |
| [01:41:17] |
* |
prologic counts his |
| [01:41:22] |
<coderanger> |
major: My dev server runs most of the plugins I've made (so quite a few) |
| [01:41:31] |
<prologic> |
# ls *.egg | wc -l |
| [01:41:31] |
<prologic> |
57 |
| [01:41:33] |
<coderanger> |
not noticible hit |
| [01:42:22] |
<prologic> |
admittedly my box is an AMD Sempron 2400+ 1G ram |
| [01:43:23] |
<coderanger> |
46 over here |
| [01:43:36] |
<major> |
o.O |
| [01:43:42] |
<blackbird> |
coderanger, working on the wiki formatter stuff? |
| [01:44:04] |
<blackbird> |
i stumbled about that some time ago. it's even worse than the moin moin solution xD |
| [01:44:15] |
<coderanger> |
blackbird: The Trac wiki -> tiddly wiki syntax conversion is done with a subclass of Formatter |
| [01:44:35] |
<blackbird> |
prologic, Text_Wiki looks like a darn hackish and slow solution to me |
| [01:44:48] |
<blackbird> |
coderanger, ah |
| [01:45:05] |
<blackbird> |
anyway. have to go offline |
| [01:45:18] |
<blackbird> |
but a text parsing (just parsing, not rendering) package for python would be really nice |
| [01:45:21] |
* |
blackbird has quit IRC |
| [01:45:32] |
<coderanger> |
*cough*pyparsing*cough* |
| [01:46:06] |
<coderanger> |
not sure if it would be too much overhead for the Trac is the problem |
| [01:46:15] |
<coderanger> |
one of these days I should just try it I guess |
| [01:48:03] |
<major> |
coderanger, whats the prospects looking like on tracforge btw? |
| [01:48:20] |
<coderanger> |
major: Its going |
| [01:48:32] |
<coderanger> |
more slowly lately as school is in full-tilt insanity mode ATM |
| [01:48:35] |
<prologic> |
hrmm |
| [01:48:43] |
<prologic> |
I don't agree with blackbird |
| [01:48:50] |
<prologic> |
I've ran tests on it and it's quite fast |
| [01:49:00] |
<coderanger> |
but I have a solid 4 weeks to work on it after Friday (end of classes) |
| [01:49:22] |
<major> |
coderanger, fun |
| [01:49:27] |
* |
cmlenz has joined #trac |
| [01:49:50] |
* |
otaku42_away is now known as otaku42 |
| [01:51:16] |
<major> |
was pondering installing that one and playing with it |
| [01:51:31] |
<coderanger> |
major: The features that are there, work |
| [01:51:55] |
<coderanger> |
major: I have been trying to work on it in somewhat manageable chunks |
| [01:53:27] |
<major> |
any idea if tossing the ldapplugin in with it at the same time is realistic? :) |
| [01:53:44] |
<coderanger> |
they don't overlap AFAIK |
| [01:53:49] |
<coderanger> |
they just do different things |
| [01:54:25] |
<coderanger> |
I suppose it does the same job as tracforge's certral perms, but they should still play nice together |
| [01:54:58] |
<major> |
k, will set up an env and find out |
| [01:55:01] |
<major> |
should be a hoot |
| [01:55:21] |
* |
hpnadig has joined #trac |
| [01:57:08] |
* |
pygi has joined #trac |
| [01:57:26] |
<pygi> |
prologic, ping |
| [01:57:45] |
<prologic> |
pong |
| [02:01:23] |
<major> |
so long as the LdapPlugin is only used to define group permissions .. it has a remotely decent chance of working :) |
| [02:08:59] |
<coderanger> |
major: I think so |
| [02:11:11] |
<major> |
i take it tracforge isn't going to work with multiple existing env's |
| [02:11:20] |
<coderanger> |
sure it will |
| [02:11:41] |
<major> |
bonus |
| [02:13:04] |
<major> |
it automagicly add the various env's to the intertrac links list? |
| [02:13:38] |
<coderanger> |
not yet |
| [02:13:55] |
<coderanger> |
what is listed in the instructions is literally everything |
| [02:14:04] |
<major> |
cool |
| [02:24:58] |
* |
coderanger -> sleep |
| [02:27:48] |
<pygi> |
night coderanger |
| [02:57:54] |
* |
wkornewald has joined #trac |
| [02:58:43] |
<wkornewald> |
hi, how can I instruct trac.fcgi to load its modules which resite in a separate path? |
| [02:59:10] |
<wkornewald> |
I'm using sys.path.insert(0, ...), but this only gets Trac to load. the modules don't load although they are in the same path |
| [03:00:26] |
* |
pygi has quit IRC |
| [03:11:43] |
* |
ScottMac_ is now known as ScottMac |
| [03:19:08] |
* |
stepz has joined #trac |
| [03:22:13] |
<wkornewald> |
so, does nobody want to give me suggestions for the user store (was: IUserDirectory)? shall I upload what I have? it's not finished, but you could at least comment on the API and what would be needed to get it integrated into Trac |
| [03:40:14] |
* |
spn|work has quit IRC |
| [04:04:33] |
* |
wkornewald has quit IRC |
| [04:36:46] |
* |
cmlenz has quit IRC |
| [04:45:07] |
* |
frepe has joined #trac |
| [04:59:32] |
<frepe> |
I have a problem with the timingandestimate plugin. I've installed the plugin so that the trac start page has a "Billing and estimate" tab, but if I click that tab, I'm sent to the URL http://<myip>/Billing which does not exist. What am I doing wrong? |
| [04:59:48] |
* |
ErikRose_ has joined #trac |
| [05:12:10] |
* |
fantasio has quit IRC |
| [05:14:50] |
* |
Cashel has joined #trac |
| [05:15:35] |
* |
Cashel has left #trac |
| [05:16:31] |
* |
ErikRose has quit IRC |
| [05:16:41] |
* |
bryanl has joined #trac |
| [05:16:54] |
<bryanl> |
is there a simple way to bulk close a group of tickets? |
| [05:21:19] |
<bryanl> |
update ticket set status = 'closed'; |
| [05:21:21] |
<bryanl> |
simple enough |
| [05:30:04] |
* |
Rica has quit IRC |
| [05:30:58] |
* |
ytxistlaboc has joined #trac |
| [05:38:22] |
* |
cobaltsixty has quit IRC |
| [05:53:23] |
* |
cmlenz has joined #trac |
| [06:15:13] |
* |
cobaltsixty has joined #trac |
| [06:21:31] |
* |
ph8 has quit IRC |
| [06:21:42] |
* |
ph8 has joined #trac |
| [06:39:03] |
* |
ytxistlaboc has quit IRC |
| [06:39:25] |
* |
ytxistlaboc has joined #trac |
| [06:56:29] |
* |
cobaltsixty has quit IRC |
| [07:08:49] |
* |
dort has quit IRC |
| [07:08:51] |
* |
stepz has quit IRC |
| [07:21:57] |
* |
danbeck has joined #trac |
| [07:29:53] |
* |
hpnadig has quit IRC |
| [07:40:53] |
* |
jesterKing is now known as amino |
| [07:55:01] |
* |
rsalveti has joined #trac |
| [07:55:32] |
* |
The_Tick has joined #trac |
| [08:07:15] |
* |
ErikRose_ is now known as ErikRose |
| [08:10:55] |
* |
flox has quit IRC |
| [08:25:14] |
* |
lisppaste5 has quit IRC |
| [08:27:45] |
* |
agile has quit IRC |
| [08:28:41] |
* |
lisppaste5 has joined #trac |
| [08:33:08] |
<Leentje> |
hello peops |
| [08:33:26] |
<Leentje> |
got a prob with TOC macro... |
| [08:33:31] |
<Leentje> |
Loading egg plugin tractoc.macro from /usr/lib/python2.4/site-packages/TracTocMacro-1.0-py2.4.egg |
| [08:33:44] |
<Leentje> |
thats in log, but then on page: |
| [08:33:45] |
<Leentje> |
Error: Failed to load processor TOC |
| [08:33:45] |
<Leentje> |
No macro or processor named 'TOC' found |
| [08:33:52] |
<Leentje> |
any ideas? :) |
| [08:35:03] |
<cmlenz> |
enabled it? |
| [08:35:19] |
<cmlenz> |
see the trouble-shooting section on the TracPlugins page |
| [08:45:17] |
* |
m_g has quit IRC |
| [08:47:56] |
* |
m_g has joined #trac |
| [08:50:31] |
<Leentje> |
well, what more should i enable... its loaded right? |
| [08:50:46] |
<cmlenz> |
loaded != enabled |
| [08:51:00] |
<Leentje> |
then how can i enable it... |
| [08:51:10] |
<cmlenz> |
that's documented on the TracPlugins page, no? |
| [08:51:20] |
<Leentje> |
tocmacro.* = enabled |
| [08:51:22] |
<Leentje> |
i got that |
| [08:53:04] |
* |
tpollari has joined #trac |
| [08:53:13] |
<Leentje> |
so i would guess its enabled too... |
| [08:53:36] |
<cmlenz> |
looks like the name should be "tractoc" |
| [08:53:46] |
<cmlenz> |
that doesn't seem to be documented though |
| [08:53:51] |
<cmlenz> |
http://trac-hacks.org/browser/tocmacro/0.10 |
| [08:53:53] |
* |
em-dash has joined #trac |
| [08:53:55] |
<cmlenz> |
is that what you're using? |
| [08:54:00] |
<Leentje> |
yep |
| [08:54:23] |
<cmlenz> |
tractoc.* |
| [08:55:16] |
<Leentje> |
that works, thanks... couldnt find it on that page... figured since it was called tocmacro i'd add that |
| [08:55:38] |
<cmlenz> |
yeah, stuff like that needs to be documented |
| [08:55:47] |
<cmlenz> |
by the individual plugins |
| [09:00:10] |
* |
otaku42 is now known as otaku42_away |
| [09:10:36] |
* |
agile has joined #trac |
| [09:17:02] |
* |
tuxipuxi_ has joined #trac |
| [09:22:34] |
* |
stretch has joined #trac |
| [09:30:59] |
* |
o_cee has quit IRC |
| [09:40:39] |
<Wombert> |
cmlenz: y000 you're there |
| [09:40:51] |
<cmlenz> |
yeah |
| [09:40:54] |
<Wombert> |
some questions about spamfilter |
| [09:41:01] |
<Wombert> |
(if you don't mind) |
| [09:41:05] |
<Wombert> |
(and if you have a minute |
| [09:41:06] |
<Wombert> |
) |
| [09:41:09] |
<cmlenz> |
shoot |
| [09:41:33] |
<Wombert> |
the monitoring list in webadmin |
| [09:41:41] |
<Wombert> |
how do I know which items I marked as spam or ham already |
| [09:42:15] |
<Wombert> |
because right now I mark all items (a "mark all" button would be great :D) and then do "mark as spam" |
| [09:42:17] |
<Wombert> |
then mark all again and delete them |
| [09:42:33] |
<cmlenz> |
the only indication is when there's a discrepancy between the karma and the row color (red or not) |
| [09:42:51] |
<cmlenz> |
hmm, you should be careful not to overtrain the filter I think |
| [09:43:02] |
<Wombert> |
well I don't have 25 trainings yet so... |
| [09:43:06] |
<cmlenz> |
just feed it the items where it got it wrong, or where it wasn't so certain |
| [09:43:25] |
<Wombert> |
yes but those that got catched by askimet or so won't ever be fed to bayes, right? |
| [09:43:30] |
<Wombert> |
or will they after a week? |
| [09:43:39] |
<cmlenz> |
you can lower the minimum, spambayes works pretty well if you have 5-10 ham/spam |
| [09:44:09] |
<cmlenz> |
all filters get a submission, even if one of them thinks it's spam |
| [09:44:18] |
<cmlenz> |
the overall score determines the outcome |
| [09:44:41] |
<cmlenz> |
after a week? |
| [09:44:44] |
<Wombert> |
well |
| [09:44:54] |
<Wombert> |
spambayes won't work before it has 25 tranings by default, right |
| [09:44:59] |
<Wombert> |
so I have to feed it items |
| [09:45:44] |
<cmlenz> |
(or lower the minimum) |
| [09:46:35] |
<cmlenz> |
to clarify: if akismet rejects a submission, it is still fed to bayes and all the other filters |
| [09:46:44] |
* |
m_g has quit IRC |
| [09:48:51] |
* |
mcantelon has joined #trac |
| [09:52:20] |
* |
The_Tick has quit IRC |
| [10:01:05] |
* |
tpollari has quit IRC |
| [10:01:37] |
* |
tpollari has joined #trac |
| [10:04:17] |
* |
ScottMac_ has joined #trac |
| [10:04:24] |
<coderanger> |
cmlenz: syn |
| [10:04:42] |
<cmlenz> |
yo |
| [10:04:50] |
<coderanger> |
http://paste.lisp.org/display/31262 |
| [10:04:54] |
<coderanger> |
whadya think |
| [10:05:30] |
* |
frepe has quit IRC |
| [10:06:37] |
<cmlenz> |
cboos sent out a mail along those lines today, although only to the feeders, not the troll himself |
| [10:06:54] |
<coderanger> |
ahh, okay |
| [10:06:55] |
<cmlenz> |
personally, I think banning is an option |
| [10:07:36] |
<coderanger> |
things are just getting silly at this point |
| [10:08:14] |
<misc> |
coderanger: where you the one who posted the link on producingfoss.com some days ago ? |
| [10:08:24] |
<coderanger> |
misc: That was eblot |
| [10:08:40] |
<cmlenz> |
manuzhai, actually |
| [10:08:41] |
<tpollari> |
and, as a recent addition to the community, I can say the whole interaction just drags the project down |
| [10:09:00] |
<cmlenz> |
(manuzhai != eblot) |
| [10:09:08] |
* |
bmcquay has joined #trac |
| [10:09:11] |
<coderanger> |
ahh, misremembered |
| [10:09:13] |
<cmlenz> |
(even though both ~= "manu") |
| [10:09:19] |
<bmcquay> |
aloha |
| [10:09:23] |
<misc> |
hi |
| [10:10:02] |
<bmcquay> |
i've got a strange problem |
| [10:10:05] |
<misc> |
coderanger: because if i am not wrong, the book explain you need to give strong evidence about the problem, and i do not feel the mail you pasted is showing sufficient "proof" |
| [10:10:25] |
<coderanger> |
misc: I think this is well beyond proof |
| [10:10:39] |
<bmcquay> |
my plugin only allows you to publish if the ticket['ticketaction'] is set to Publish |
| [10:10:45] |
<misc> |
coderanger: can't you simply ignore him ? |
| [10:10:50] |
<coderanger> |
misc: Several people have looked at the number of posts he has made, but it isn't about quantity |
| [10:11:38] |
<bmcquay> |
in the ticket (and i verified in the database) the ticketaction = Publish |
| [10:12:05] |
<bmcquay> |
and i can see the correct ticketaction in some tickets |
| [10:12:15] |
<coderanger> |
misc: Its also not just about me. Every ticket he files that is useless takes someone's time to go and look it over, and then usually deal with a few cycles of you closing it and him repoening it |
| [10:12:33] |
<misc> |
coderanger: well, i mean you and the devs |
| [10:12:34] |
<bmcquay> |
but if i take a ticket and i change the ticketaction and save, then try to publish, it lists the old ticketaction |
| [10:12:48] |
<bmcquay> |
it looks like its something strange with cacheing the old ticketaction to me |
| [10:13:04] |
<coderanger> |
bmcquay: Is the code online somewhere? |
| [10:13:05] |
<bmcquay> |
does that sound familar to anyone? |
| [10:13:08] |
<misc> |
coderanger: i have read some ticket, and i have already faced this type of people, and i know how "exhausting" they can be |
| [10:13:16] |
<bmcquay> |
one sec and i'll commit |
| [10:13:36] |
<misc> |
and i remember the day someone said here "beware, illias is in the place" |
| [10:13:49] |
<misc> |
coderanger: but he will not stop if you send such email |
| [10:14:03] |
<coderanger> |
misc: Which is what bans are for |
| [10:14:26] |
<misc> |
coderanger: bans make you appear hostile |
| [10:14:41] |
<coderanger> |
misc: But even now I think it would be good to take the high road and at least give him a chance to stop on his own |
| [10:14:53] |
<coderanger> |
by making it clear that his comments are no longer desired |
| [10:15:02] |
<coderanger> |
if that doesn't work, then move to the next level |
| [10:15:36] |
<misc> |
and if it still doesn't work, then use the secret trac orbital ray :) ? |
| [10:15:51] |
<coderanger> |
Well Alec does work for Google ........ |
| [10:16:21] |
<misc> |
i have heard the google laser was still in beta |
| [10:16:33] |
<coderanger> |
Early beta test ftw |
| [10:16:36] |
<bmcquay> |
http://trac-hacks.org/browser/publishrevertplugin |
| [10:17:14] |
<coderanger> |
bmcquay: You don't need to check in the build, dist, or egg-info folders |
| [10:17:21] |
<bmcquay> |
sure |
| [10:17:33] |
<coderanger> |
or pycs or backup files :P |
| [10:17:50] |
<bmcquay> |
i know i know |
| [10:18:01] |
<bmcquay> |
easier to just do svn add * though |
| [10:18:01] |
<coderanger> |
hmm |
| [10:18:11] |
<coderanger> |
ticketaction is a custom field? |
| [10:18:14] |
<bmcquay> |
yeah |
| [10:18:24] |
<bmcquay> |
setcahngeset.py is what i' |
| [10:18:29] |
<bmcquay> |
i'm calling |
| [10:18:51] |
* |
ScottMac has quit IRC |
| [10:18:57] |
<bmcquay> |
it should just list the set of changesets with the ticket and display a link to svnpublish if ticketaction = clonepublish |
| [10:19:52] |
<bmcquay> |
185 of setchangeset.py i set req.hdf[ticket'] = ticket.values |
| [10:20:46] |
<bmcquay> |
5 of setchangeset.cs is where it is being funny |
| [10:20:57] |
<coderanger> |
what if on line 99 of svnpublish you add self.log.debug('PublishRevert: %r', ticket['ticketaction']) |
| [10:21:18] |
<bmcquay> |
but it messes up before i ever get to svnpublish |
| [10:23:58] |
<bmcquay> |
i call setchangeset first |
| [10:24:34] |
<coderanger> |
ahh |
| [10:25:14] |
<bmcquay> |
if i look at the ticketaction while looking at a ticket its set right |
| [10:26:33] |
<coderanger> |
dump repr(ticket.fields) to the log |
| [10:26:41] |
<coderanger> |
make sure the field name shows up there |
| [10:29:53] |
* |
boorad has quit IRC |
| [10:30:10] |
* |
boorad has joined #trac |
| [10:30:17] |
* |
neddy has joined #trac |
| [10:30:55] |
* |
chandlerc has quit IRC |
| [10:33:25] |
<bmcquay> |
self.log.debug('PublishRevert: %r', repr(ticket.fields)) ? |
| [10:34:15] |
<coderanger> |
you can lose the repr() |
| [10:34:18] |
<coderanger> |
%r does it for you |
| [10:35:58] |
<bmcquay> |
mm, nothing related to that is showing up in the logs |
| [10:36:04] |
<bmcquay> |
i have it on DEBUG |
| [10:36:18] |
<bmcquay> |
i see other crap in there about loading the plugins |
| [10:36:31] |
<coderanger> |
so its never getting to that point |
| [10:37:09] |
<bmcquay> |
i hope so its in render_html |
| [10:38:36] |
<coderanger> |
you restarted the server and whatnot? |
| [10:38:54] |
<bmcquay> |
yep |
| [10:39:18] |
<coderanger> |
dunno then |
| [10:42:58] |
<bmcquay> |
strange, it worked |
| [10:43:21] |
* |
stretch has quit IRC |
| [10:43:21] |
* |
stretch_ has joined #trac |
| [10:44:24] |
<bmcquay> |
name': 'ticketaction', 'value': '1', |
| [10:46:12] |
<bmcquay> |
ok, this is weird |
| [10:46:34] |
<coderanger> |
what type is it? |
| [10:46:37] |
<bmcquay> |
i added req.hdf['message'] = 'poop' and it started logging |
| [10:46:47] |
<bmcquay> |
i removed it since i don't really need it |
| [10:47:09] |
<bmcquay> |
restarted and everything i usually do |
| [10:47:14] |
<bmcquay> |
and its still there |
| [10:47:22] |
<bmcquay> |
its like its caching the old egg |
| [10:48:05] |
<coderanger> |
er you using develop mode? |
| [10:48:15] |
<bmcquay> |
i've just been running the same thing each time i build up to now, python setup.py bdist_egg; cp dist/TracPublishRevert-0.2-py2.4.egg /var/www/localhost/htdocs/trac_project_env/plugins/; /etc/init.d/apache2 restart |
| [10:48:24] |
<coderanger> |
ouch |
| [10:48:30] |
<coderanger> |
use develop mode :P |
| [10:48:45] |
<coderanger> |
setup.py develop -md /var/www/localhost/htdocs/trac_project_env/plugins/ |
| [10:48:53] |
<coderanger> |
then you just need to HUP apache |
| [10:49:11] |
<cmlenz> |
(better yet use tracd --auto-reload) |
| [10:49:18] |
<coderanger> |
alias ahup="sudo killall -HUP apache2" |
| [10:49:22] |
<coderanger> |
that too |
| [10:50:14] |
* |
tpollari has quit IRC |
| [10:50:54] |
* |
tpollari has joined #trac |
| [10:51:37] |
<bmcquay> |
develop mode gives me a warning about being installed with --multi-version or --install-dir |
| [10:51:53] |
<bmcquay> |
is that something i should worry about |
| [10:51:55] |
<coderanger> |
just ignore it |
| [10:52:03] |
<coderanger> |
trac will handle it for you :) |
| [10:53:46] |
<bmcquay> |
yeah its still loading the old one |
| [10:53:54] |
<bmcquay> |
still have the poop message that isn't in the code anymore |
| [10:54:26] |
<coderanger> |
also remove all egg versions of it |
| [10:54:27] |
<bmcquay> |
oh, i should delete the egg out of the plugin dir then |
| [10:54:28] |
<coderanger> |
from all folders |
| [10:54:41] |
<coderanger> |
also check site-pacakges |
| [10:54:47] |
<coderanger> |
and the global plugins folder |
| [10:56:14] |
<bmcquay> |
now i have no handler |
| [10:56:38] |
<bmcquay> |
TracPublishRevert.egg-link is in the project plugin directory |
| [10:56:48] |
<coderanger> |
did you activate it? |
| [10:57:11] |
<coderanger> |
publishrevert.* = enabled |
| [10:57:16] |
<coderanger> |
in [components] |
| [10:57:41] |
<bmcquay> |
yeah |
| [10:57:51] |
<bmcquay> |
that's how i got the egg to work |
| [10:58:09] |
<bmcquay> |
i think this is why i was cooking eggs each time |
| [10:58:13] |
* |
coderanger -> work |
| [10:58:20] |
<bmcquay> |
heh |
| [10:58:27] |
<bmcquay> |
halfass work |
| [11:00:39] |
<bmcquay> |
oh, this is with 0.9.4 if that matters |
| [11:10:20] |
* |
cmlenz has quit IRC |
| [11:15:06] |
* |
__doc__ has quit IRC |
| [11:15:45] |
* |
jborg has joined #trac |
| [11:19:04] |
<bmcquay> |
ok, i've install the plugin in develop mode to the project env and globally and neither work |
| [11:19:13] |
<bmcquay> |
trac.ini has publishrevert.* = enabled |
| [11:19:23] |
<bmcquay> |
the logs don't show the plugin being loaded at all |
| [11:20:30] |
* |
converter has joined #trac |
| [11:21:45] |
<bmcquay> |
hmm, i moved the directory out of /root and into my user home and magic |
| [11:21:55] |
<bmcquay> |
ok poop message is gone |
| [11:23:46] |
* |
rsalveti has quit IRC |
| [11:24:33] |
* |
rsalveti has joined #trac |
| [11:26:48] |
<bmcquay> |
alrighty, that look like it cleaned up those strange caching problems |
| [11:26:56] |
<bmcquay> |
thanks, you gu |