| [00:00:17] |
<pacopablo> |
free registration and an alotment of $$ for flight/lodging |
| [00:00:53] |
<alect> |
nice |
| [00:01:02] |
<pacopablo> |
so, they are reimbursing me for my flight and the two nights I have booked |
| [00:01:26] |
<alect> |
aah ,and you're staying the rest of the time off your own wallet |
| [00:01:34] |
<pacopablo> |
pretty much |
| [00:01:57] |
<pacopablo> |
though I'm counting on your floor to ease that pain for me ;) |
| [00:02:05] |
<alect> |
hehe |
| [00:02:06] |
* |
agile has joined #trac |
| [00:02:21] |
<pacopablo> |
and I did manage to convince my work to give me those days as work days, so I don't have to take vacation ;) |
| [00:02:26] |
<alect> |
ooh |
| [00:02:29] |
<alect> |
"research" ;) |
| [00:02:33] |
<pacopablo> |
but couldn't get them to foot the whole bill ;) |
| [00:02:53] |
* |
whitelynx|blackb has joined #trac |
| [00:02:53] |
* |
whitelynx has joined #trac |
| [00:02:53] |
* |
Guardian has joined #trac |
| [00:02:53] |
* |
kousuke has joined #trac |
| [00:03:02] |
<pacopablo> |
even better, I'm going to be deploying trac as the face of IT |
| [00:03:12] |
<pacopablo> |
and for inter-department documentation |
| [00:03:23] |
<pacopablo> |
and I really need the security branch and workflow for that |
| [00:03:34] |
<pacopablo> |
so, I hope it gets done at pycon ;) |
| [00:03:45] |
<alect> |
heh |
| [00:03:51] |
<alect> |
i wonder if security will actually go in |
| [00:03:56] |
* |
alect reads trac-dev |
| [00:04:00] |
<pacopablo> |
I hope so |
| [00:04:12] |
<alect> |
paco: BoF! |
| [00:04:13] |
<alect> |
DOIT |
| [00:04:21] |
<pacopablo> |
I also need the UserDir type interface to go in |
| [00:04:24] |
<pacopablo> |
alect: done |
| [00:04:46] |
<pacopablo> |
http://us.pycon.org/TX2007/TracBoF |
| [00:05:36] |
<pacopablo> |
I'm going to be busy: I'm going to be a session chair, spend some time at the registration desk, do a lightning talk, and coordinate the BoF ;) |
| [00:05:38] |
<alect> |
nice |
| [00:05:49] |
<alect> |
keen |
| [00:05:57] |
<alect> |
why so much stuff? |
| [00:06:06] |
<alect> |
what's the lightning talk on? |
| [00:06:08] |
<pacopablo> |
well, I figured that I should pitch in since the PSF is footing my bill |
| [00:06:11] |
<pacopablo> |
pentropy |
| [00:06:14] |
<pacopablo> |
new python blog |
| [00:06:34] |
<pacopablo> |
done by a friend |
| [00:06:39] |
<pacopablo> |
figured I'm pimp it at PyCon |
| [00:06:45] |
<pacopablo> |
s/I'm/I'd |
| [00:07:02] |
<alect> |
cool |
| [00:07:11] |
<alect> |
i am looking forward to it :) |
| [00:07:22] |
<alect> |
pycon, that is ;) |
| [00:07:33] |
<pacopablo> |
me too |
| [00:08:28] |
* |
kousuke has quit IRC |
| [00:09:36] |
* |
whitelynx has quit IRC |
| [00:10:14] |
* |
Guardian has quit IRC |
| [00:16:15] |
<alect> |
i see cboos has been busy again |
| [00:20:01] |
<coderanger> |
Its going to be a good time |
| [00:20:28] |
* |
pacopablo is so geeked out for the sprints |
| [00:20:55] |
<pacopablo> |
have been having trouble communicating how exciting it is to be able to simply hack on stuff all day with a bunch of other people |
| [00:20:59] |
<coderanger> |
I just wish it was one week later |
| [00:21:07] |
<pacopablo> |
wife and coworkers just don't understand ;) |
| [00:21:14] |
<pacopablo> |
coderanger: why? school? |
| [00:21:35] |
<coderanger> |
I have one day of classes after getting back, then spring break |
| [00:22:10] |
<coderanger> |
I shouldn't have all that much to catch up on, but it would have lined up so nicely :) |
| [00:24:05] |
<pacopablo> |
ahh, yes |
| [00:24:09] |
<coderanger> |
of my two profs this semester, one (for intro to web and DB programing) knows I won't have a problem catching up, and the other wishes he could be going so can't complain that I am |
| [00:24:45] |
<alect> |
how long do you have until completion? |
| [00:24:54] |
<coderanger> |
1.5 years |
| [00:24:56] |
<alect> |
...of your degree |
| [00:24:58] |
<alect> |
ah |
| [00:25:03] |
<coderanger> |
june 2008 |
| [00:25:20] |
<pacopablo> |
man, I wish I could graduate then ;) |
| [00:25:30] |
<pacopablo> |
I think I'm slotted for June 2018 |
| [00:25:51] |
<coderanger> |
pacopablo: In retrospect, the having-a-real-job probably would have been better for me |
| [00:26:14] |
<coderanger> |
I have basically zero patience for academic computer science |
| [00:26:17] |
<pacopablo> |
well, it's definitely be better for me, but still, I'd love to actually be done already |
| [00:26:24] |
<pacopablo> |
coderanger: same here ;) |
| [00:26:39] |
<pacopablo> |
one reason that I switched to "software engineering technology" |
| [00:26:49] |
<coderanger> |
I wish RPI offered that |
| [00:27:20] |
<coderanger> |
I spent 6 months arguing with them to offer it as an interdisciplinary major |
| [00:27:54] |
<coderanger> |
Then, after I figured out they were all useless, I found Trac ;-) |
| [00:27:59] |
<alect> |
haha |
| [00:28:58] |
<pacopablo> |
hehe |
| [00:29:02] |
<coderanger> |
And I would say I have learned orders of magnitude more about programming, design, etc etc this way |
| [00:33:01] |
<coderanger> |
alect: security is looking very nifty |
| [00:33:48] |
<alect> |
yeah |
| [00:34:12] |
<alect> |
be nice if it made it in |
| [00:34:32] |
<pacopablo> |
it's got to |
| [00:34:38] |
<pacopablo> |
trac really needs it |
| [00:34:42] |
<alect> |
i agree |
| [00:34:43] |
<pacopablo> |
(or at least something like it) |
| [00:34:49] |
<coderanger> |
given the amount of work in it, and the number of people who want it itl go in in some form |
| [00:34:57] |
<alect> |
yeah |
| [00:35:18] |
<coderanger> |
cmlenz was just worried about the context stuff being over generalized I think |
| [00:35:57] |
* |
_shawn has joined #trac |
| [00:37:38] |
<alect> |
there are some isuses with it in its current state i think |
| [00:39:41] |
<alect> |
eg. the old permission system actually had a "known set" of permissions which permission checks could be validated against |
| [00:40:00] |
<alect> |
i thikn something similar should be implemented for the new system - per-realm permissions |
| [00:40:20] |
<alect> |
eg. wiki would have 'VIEW', 'CREATE', 'MODIFY', etc. |
| [00:40:26] |
<alect> |
while "about" would simply have 'VIEW' |
| [00:41:58] |
<alect> |
and also, having to instantiate a context object every time oyu need to do a permission check is kind of annoying |
| [00:42:18] |
<coderanger> |
well isn't the old req.perm still there? |
| [00:42:27] |
<alect> |
a req.context object would probably be useful |
| [00:43:45] |
<alect> |
yes, but it's largely useless in the new system |
| [00:43:55] |
<alect> |
as top-level permission checks will rarely occur |
| [00:44:57] |
<coderanger> |
alect: Hmm |
| [00:45:29] |
<alect> |
not a big deal, just kind of annoying |
| [00:46:07] |
<coderanger> |
alect: It would be nice if it could go in for 0.11 in the same way as the mimeview stuff did in 0.10 |
| [00:46:16] |
<coderanger> |
like a trial run of the API |
| [00:46:40] |
<alect> |
maybe, but it's a bit more pervasive than mimeview |
| [00:46:41] |
<coderanger> |
then at 0.12 you can see what trouble people are having with it |
| [00:46:54] |
<alect> |
and thus a bit more critical to get it right the first time |
| [00:52:55] |
<alect> |
http://www.dsource.org/projects/tango/forums |
| [00:52:56] |
<alect> |
interesting |
| [00:57:25] |
<coderanger> |
alect: Thats also running ThemeEngine and a custom theme :) |
| [00:57:42] |
<alect> |
yeah so i read :) |
| [01:15:26] |
<coderanger> |
okay, time for sleep |
| [01:15:30] |
<coderanger> |
gnite y'all |
| [01:15:35] |
<pacopablo> |
night |
| [01:17:31] |
<alect> |
see ya |
| [01:26:50] |
<asmodai> |
ALECT! |
| [01:27:24] |
<asmodai> |
wow, that dsource.org URL is pwetty |
| [01:30:31] |
<pacopablo> |
night all |
| [01:30:34] |
<asmodai> |
pacopablo: night |
| [01:32:53] |
<alect> |
hey asmodai :) |
| [01:32:55] |
<alect> |
cya paco |
| [01:34:17] |
<asmodai> |
alect: Sup dudE? |
| [01:39:40] |
<alect> |
sfa my friend, sfa |
| [01:39:46] |
<alect> |
just got back from a week off work |
| [01:39:47] |
<alect> |
woot! |
| [01:40:06] |
* |
m4lu6 has joined #trac |
| [01:40:21] |
<asmodai> |
heh |
| [01:40:31] |
<asmodai> |
isn't SFA known as the gay capital in the USA? |
| [01:41:13] |
* |
_shawn has quit IRC |
| [01:42:50] |
<alect> |
san francisco = sfo |
| [01:43:03] |
<alect> |
afaik |
| [01:48:01] |
<asmodai> |
Oh |
| [01:48:06] |
<asmodai> |
what's SFA then? |
| [01:48:27] |
<alect> |
sweet fsck all :) |
| [01:48:56] |
<asmodai> |
rofl |
| [01:49:07] |
<asmodai> |
Say |
| [01:49:13] |
<asmodai> |
you don't happen to speak Tagalog do you? :) |
| [01:49:28] |
<alect> |
hehe, nope :) |
| [01:49:57] |
<asmodai> |
Shite, trying to get someone to fix up my half-arsed translation |
| [01:50:14] |
<asmodai> |
alect: http://www.in-nomine.org/2007/02/04/kung-wala-ka/ |
| [01:52:04] |
<alect> |
you are the translatotron |
| [01:52:15] |
<asmodai> |
alect: *grin* |
| [01:52:25] |
<asmodai> |
alect: I worked out some tentative schema |
| [01:52:39] |
<asmodai> |
alect: Also working out my REST stuff for the application. |
| [01:52:41] |
<alect> |
ah, cool |
| [01:52:49] |
<alect> |
i did not grok your email tbh |
| [01:52:54] |
<asmodai> |
*chuckles* |
| [01:53:05] |
<asmodai> |
Was it my explanation or the language part? |
| [01:53:05] |
<alect> |
i think it probably requires far more thought applied than i am currently capable of :) |
| [01:53:44] |
<asmodai> |
That's quite ok. |
| [01:53:56] |
<asmodai> |
Perhaps you can better help now that I touch Python related stuff |
| [01:54:04] |
<asmodai> |
alect: So I've been looking at SQLAlchemy |
| [01:54:52] |
<alect> |
me too |
| [01:54:54] |
<alect> |
it is good stuff |
| [01:55:01] |
<asmodai> |
alect: Looks fantastic, however, doesn't seem to support schema migration? |
| [01:56:12] |
<alect> |
no |
| [01:56:22] |
<alect> |
there's an addon for it i believe |
| [01:58:38] |
<asmodai> |
mmm |
| [01:58:50] |
<asmodai> |
also need to write my own url dispatching |
| [02:00:49] |
<asmodai> |
http://erosson.com/migrate/trac/ |
| [02:00:51] |
<asmodai> |
I guess. |
| [02:00:58] |
<asmodai> |
http://erosson.com/migrate/docs/ |
| [02:01:23] |
<alect> |
routes is good |
| [02:01:27] |
<alect> |
cherrypy is also good |
| [02:01:45] |
<alect> |
i've been dabbling with them, plus sqlalchemy, over the last few weeks |
| [02:01:47] |
<alect> |
good stuff |
| [02:01:56] |
<asmodai> |
Nah |
| [02:02:05] |
<asmodai> |
Going from scratch. |
| [02:02:21] |
* |
Guardian has joined #trac |
| [02:02:35] |
<asmodai> |
mmm, routes might be ok |
| [02:02:48] |
<asmodai> |
if it just the dispatching stuff |
| [02:03:00] |
<alect> |
it is |
| [02:03:05] |
<asmodai> |
I don't need the rest of the framework stuff |
| [02:03:16] |
<alect> |
what framework stuff? |
| [02:03:33] |
<asmodai> |
django, cherrypy, et cetera |
| [02:03:43] |
<alect> |
cherrypy is not comparable to django really |
| [02:03:51] |
<alect> |
it's basically just a thin layer |
| [02:03:54] |
<alect> |
very minimal |
| [02:03:54] |
<asmodai> |
Since I am using say genshi for templating, sqlalchemy for the database stuff, undsoweiter |
| [02:04:01] |
<alect> |
exactly what i'm doing :) |
| [02:04:07] |
<alect> |
genshi+sqlalchemy+cherrypy+routes |
| [02:04:20] |
<asmodai> |
why do you need cherrypy then still? |
| [02:04:22] |
<alect> |
cherrypy by default does its own url routing, but that's about it |
| [02:04:46] |
<asmodai> |
nice, routes is at least BSDLd |
| [02:05:01] |
<alect> |
well, it has a wsgi layer |
| [02:05:19] |
<alect> |
handles the http request handling, headers, etc. |
| [02:05:30] |
<alect> |
url query parameters too |
| [02:06:11] |
<asmodai> |
I am using lighttpd with a fcgi python app |
| [02:06:23] |
<asmodai> |
cherrypy seems to waste a lot of code being a webserver too :S |
| [02:07:34] |
<alect> |
same concept as tracd |
| [02:07:42] |
<alect> |
so it's not really waste |
| [02:07:56] |
* |
alect shrugs |
| [02:08:34] |
<asmodai> |
Heh, let me rephrase: I don't need it. :) |
| [02:08:45] |
<asmodai> |
(Neither do I use tracd, obviously.) |
| [02:18:19] |
<asmodai> |
heh, on installing migrate through easy_install: |
| [02:18:24] |
<asmodai> |
py.test.terminal.terminal: module MAY be using inspect.getsource |
| [02:18:25] |
<asmodai> |
File "/tmp/easy_install-1L7tVs/migrate-0.2.2/py-0.8.0_alpha2-py2.5.egg/py/test/testing/data/syntax_error.py", line 3 |
| [02:18:28] |
<asmodai> |
this is really not python |
| [02:18:42] |
* |
em-dash has quit IRC |
| [02:19:04] |
* |
em-dash has joined #trac |
| [02:19:56] |
<alect> |
heh |
| [02:26:28] |
<asmodai> |
w00t |
| [02:26:31] |
* |
asmodai pats Inkscape |
| [02:26:44] |
<asmodai> |
and ehrm, hacking with Nightwish on the speakers is bizarre |
| [02:35:26] |
<AllenJB> |
What's the difference between using enscript and silvercity for code highlighting? |
| [02:39:50] |
<asmodai> |
Isn't Pygments the way to go nowadays btw? |
| [02:41:40] |
* |
m_g has joined #trac |
| [02:47:58] |
<asmodai> |
AllenJB: AFAIK the backend provider for the highlighting. |
| [02:48:05] |
<asmodai> |
other than that, no clue. |
| [02:50:45] |
* |
em-dash has quit IRC |
| [02:51:04] |
* |
Guardian has quit IRC |
| [02:55:02] |
* |
whitelynx|blackb has quit IRC |
| [02:55:20] |
* |
whitelynx|blackb has joined #trac |
| [03:01:02] |
<m_g> |
coderanger, hey there.. doesn't the Ticket class offer a method for setting a custom field value? |
| [03:06:30] |
* |
_dmax has joined #trac |
| [03:06:55] |
<alect> |
m_g: yep |
| [03:07:12] |
<m_g> |
alect, yep it doesn't or yep it does? :) |
| [03:07:45] |
<alect> |
it does |
| [03:08:00] |
<alect> |
same as setting an ordinary field value |
| [03:08:11] |
<alect> |
ticket['some_custom_field'] = 'bar' |
| [03:08:50] |
<m_g> |
oh.. and the ticket class will figure out if the field belongs to the 'ticket' or the 'ticket_custom' table? |
| [03:11:01] |
<alect> |
yep |
| [03:12:22] |
<m_g> |
alect, so, if i have a custom field with type 'checkbox' i would do ticket['myfield'] = '1' or '0' no matter if the field already exists or not? |
| [03:13:24] |
<m_g> |
or would it be an integer, so 0/1? |
| [03:13:39] |
<alect> |
correct |
| [03:13:45] |
<alect> |
integer or string will work |
| [03:13:49] |
<alect> |
or True, False, etc. |
| [03:13:56] |
<m_g> |
awesome, let me try this |
| [03:19:52] |
* |
_shawn has joined #trac |
| [03:20:40] |
* |
rjdave has joined #trac |
| [03:22:28] |
* |
dmax has quit IRC |
| [03:22:30] |
* |
_dmax is now known as dmax |
| [03:24:10] |
* |
rjdave_ has quit IRC |
| [03:36:11] |
<m_g> |
alect, hmmm |
| [03:36:16] |
* |
_shawn has quit IRC |
| [03:37:09] |
<m_g> |
alect, http://rafb.net/p/Vwht3h17.html this is an extrat from the trac-post-commit-hook .. when i put back in the commented ticket[..] line, the script stops working |
| [03:37:11] |
<m_g> |
can you imagine why? |
| [03:38:38] |
<alect> |
redirect stdout/stderr to a file and check it...could be anything |
| [03:45:32] |
<m_g> |
alect, ah the problem was that only '1' is allowed, True and 1 fails with AttributeError |
| [03:45:45] |
<m_g> |
thanks for your help |
| [03:47:24] |
* |
eblot has quit IRC |
| [03:47:37] |
* |
eblot has joined #trac |
| [03:49:22] |
* |
_shawn has joined #trac |
| [03:53:01] |
* |
_dmax has joined #trac |
| [04:08:58] |
* |
dmax has quit IRC |
| [04:08:59] |
* |
_dmax is now known as dmax |
| [04:32:22] |
* |
Guard][an has joined #trac |
| [05:01:24] |
* |
Guard][an has quit IRC |
| [05:03:01] |
* |
avar` is now known as avar |
| [05:47:59] |
* |
pygi has joined #trac |
| [06:18:56] |
* |
idnar has quit IRC |
| [06:21:11] |
* |
idnar has joined #trac |
| [06:36:20] |
* |
PingYeh has joined #trac |
| [06:38:19] |
* |
Guardian has joined #trac |
| [06:59:59] |
* |
linetor has joined #trac |
| [07:02:04] |
* |
Guardian has quit IRC |
| [07:11:59] |
* |
pygi has quit IRC |
| [07:12:34] |
* |
kopernikus has joined #trac |
| [07:28:16] |
<asmodai> |
mmm |
| [07:28:21] |
<asmodai> |
alect: Stil awake? |
| [07:34:18] |
<alect> |
hi |
| [07:45:20] |
<asmodai> |
erh |
| [07:45:25] |
<asmodai> |
what was I about to show you? |
| [07:45:29] |
<asmodai> |
ah yes |
| [07:45:44] |
<asmodai> |
alect: in ref to http://trac.lighttpd.net/trac/ticket/729 I found http://dev.rubyonrails.org/ticket/822 |
| [07:45:52] |
<asmodai> |
alect: would something like that make sense for trac too? |
| [07:48:17] |
* |
agile has quit IRC |
| [07:48:49] |
<alect> |
http://trac.edgewall.org/ticket/2418 |
| [07:48:52] |
<alect> |
? |
| [07:49:00] |
* |
asmodai checks |
| [07:49:26] |
<asmodai> |
alect: I was asking in #lighttpd when this fcgi thing would be fixed... Been asking for months now ;) |
| [07:49:35] |
<asmodai> |
Ah yes |
| [07:49:37] |
<asmodai> |
That problem |
| [07:49:49] |
<asmodai> |
Which refs http://trac.lighttpd.net/trac/ticket/729 at the end |
| [07:50:11] |
<alect> |
it's an infinite loop! |
| [07:50:39] |
<asmodai> |
hahaha |
| [07:50:51] |
<asmodai> |
To be honest IT SUCKING FUCKS! |
| [07:50:51] |
<asmodai> |
err |
| [07:50:55] |
<asmodai> |
fucking sucks too |
| [07:51:44] |
<asmodai> |
But does tha rationale in that rubyonrails ticket even sound sane? |
| [07:51:50] |
<asmodai> |
tha? the, of course. |
| [07:53:07] |
<alect> |
i'm not sure |
| [08:01:09] |
* |
avar has left #trac |
| [08:05:45] |
* |
pradeep has joined #trac |
| [08:15:44] |
* |
jae has quit IRC |
| [08:16:17] |
* |
jae has joined #trac |
| [08:21:54] |
* |
agile has joined #trac |
| [08:23:32] |
* |
LtKettch has joined #trac |
| [08:23:37] |
<LtKettch> |
hi there |
| [08:25:18] |
<LtKettch> |
I'm having trouble installing trac on OS X.4, could someone give me a hand about it plz |
| [08:40:41] |
* |
Guardian has joined #trac |
| [08:46:17] |
* |
kopernikus has quit IRC |
| [08:46:28] |
* |
kopernikus has joined #trac |
| [08:50:51] |
* |
pradeep has quit IRC |
| [08:54:59] |
* |
shubes has joined #trac |
| [08:57:54] |
* |
pygi has joined #trac |
| [09:07:21] |
* |
shubes has quit IRC |
| [09:13:06] |
* |
Guardian has quit IRC |
| [09:56:06] |
* |
rjdave_ has joined #trac |
| [10:01:12] |
* |
rjdave has quit IRC |
| [10:38:30] |
* |
kopernikus has quit IRC |
| [10:43:03] |
* |
LtKettch has left #trac |
| [10:44:15] |
* |
Guardian has joined #trac |
| [11:15:31] |
* |
Guardian has quit IRC |
| [11:22:26] |
* |
goldeagle has joined #trac |
| [11:47:17] |
* |
Epcylon has quit IRC |
| [11:48:13] |
* |
kopernikus has joined #trac |
| [12:00:30] |
* |
sineer has joined #trac |
| [12:00:36] |
<sineer> |
hi! |
| [12:03:59] |
<linetor> |
hi, is it possible to create template files like site_css.cs and site_header.cs that will apply globally to all projects? |
| [12:10:29] |
* |
Epcylon has joined #trac |
| [12:20:57] |
<whereami> |
linetor, maybe the stuff in htdocs/trac/css |
| [12:23:14] |
* |
chandlerc has quit IRC |
| [12:23:21] |
* |
goldeagle has quit IRC |
| [12:23:50] |
* |
pygi has quit IRC |
| [12:25:45] |
* |
pygi has joined #trac |
| [12:32:47] |
<linetor> |
whereami, I've found that you can move the site_*.cs files into the global share/trac/templates directory. But you have to delete the files in the environment's templates directory, because they will override the global ones. |
| [12:33:08] |
* |
hotte has joined #trac |
| [12:33:17] |
<whereami> |
linetor, that makes sense. |
| [12:33:22] |
* |
pygi has left #trac |
| [12:33:49] |
<linetor> |
for the css you can merge global and project-specific styles using http://trac-hacks.org/wiki/SysCssPlugin |
| [12:43:32] |
* |
Synapse has quit IRC |
| [12:47:38] |
* |
goldeagle has joined #trac |
| [12:53:24] |
* |
Guardian has joined #trac |
| [12:58:21] |
* |
som3one has joined #trac |
| [13:03:31] |
* |
Getty has left #trac |
| [13:03:33] |
* |
kopernikus has quit IRC |
| [13:03:50] |
* |
kopernikus has joined #trac |
| [13:10:54] |
* |
omry has quit IRC |
| [13:12:05] |
* |
som3one has quit IRC |
| [13:12:46] |
* |
som3one has joined #trac |
| [13:17:38] |
* |
Guardian has quit IRC |
| [13:22:19] |
* |
chandlerc has joined #trac |
| [13:26:11] |
* |
omry has joined #trac |
| [13:32:41] |
* |
danbeck has joined #trac |
| [13:46:05] |
* |
Guardian has joined #trac |
| [13:46:54] |
* |
hotte has quit IRC |
| [13:57:01] |
* |
Guard][an has joined #trac |
| [14:13:21] |
* |
Guardian has quit IRC |
| [14:25:55] |
* |
Guard][an has quit IRC |
| [14:37:07] |
* |
omry has quit IRC |
| [14:54:22] |
* |
whitelynx has joined #trac |
| [15:02:45] |
* |
Guardian has joined #trac |
| [15:04:31] |
* |
coderanger_ has joined #trac |
| [15:06:35] |
* |
Synapse has joined #trac |
| [15:09:37] |
* |
goldeagle has quit IRC |
| [15:14:05] |
* |
coderanger has quit IRC |
| [15:29:14] |
* |
sineer has quit IRC |
| [15:38:11] |
* |
danbeck has quit IRC |
| [15:39:50] |
* |
gcj has joined #trac |
| [15:40:35] |
* |
coderanger_ is now known as coderanger |
| [15:40:59] |
<gcj> |
hi all, i'm trying to use the PDF output plugins listed on http://trac.edgewall.org/ticket/1468, but not having any luck, can anyone help me install one of them please? (python setup.py install had no effect on TracPDF of TracPageToPDF, no new links appear at the bottom of wiki pages) |
| [15:41:40] |
<coderanger> |
Did you enable it? |
| [15:42:05] |
<gcj> |
err, i guess not. where do i do that? |
| [15:42:26] |
<coderanger> |
@wiki TracPlugins |
| [15:42:26] |
<evil_twin> |
coderanger: http://trac.edgewall.org/wiki/TracPlugins |
| [15:42:33] |
<gcj> |
thanks |
| [15:43:53] |
<kopernikus> |
it would be nice to have a "power on self test" for plugins, does setuptools provide this? |
| [15:46:44] |
<coderanger> |
What do you mean? |
| [15:47:23] |
* |
lisppaste5 has quit IRC |
| [15:47:30] |
<misc> |
that plugins test if they work when trac is "started" , i guess ? |
| [15:48:19] |
<kopernikus> |
yea, maybe the plugin could provide a function the loader calls |
| [15:48:26] |
<coderanger> |
Well you can use IEnvironmentSetupProvider for some things |
| [15:49:01] |
* |
kopernikus looks at loader.py |
| [15:49:10] |
<coderanger> |
Otherwise just have the module listed in the entry point be a wrapper, and only import the real one if some condition is met |
| [15:49:40] |
<gcj> |
ok, enabling a plugin made the link appear, but i get an internal error when i click on it: File "build/bdist.linux-i686/egg/pagetopdf/pagetopdf.py", line 20, in convert_content |
| [15:49:40] |
<gcj> |
File "/usr/src/build/394694-i386/install/usr/lib/python2.3/encodings/iso8859_15.py", line 18, in encode |
| [15:49:40] |
<gcj> |
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2013' in position 85510: character maps to <undefined> |
| [15:51:06] |
* |
lisppaste5 has joined #trac |
| [15:51:07] |
<coderanger> |
You cannot use unicode in a page you want to cnvert to PDF |
| [15:51:34] |
<gcj> |
does that mean i can't use any character code that's not covered in iso-8859-15? |
| [15:53:24] |
<coderanger> |
htmldoc has a list of supported encodings on their site |
| [15:53:33] |
<coderanger> |
you can set the export encoding in trac.ini |
| [15:55:21] |
<kopernikus> |
coderanger, do you mean IEnvironmentSetupParticipant? |
| [15:55:32] |
<coderanger> |
kopernikus: Yeah, that |
| [15:56:48] |
<kopernikus> |
hmm, abuse environment_needs_upgrade()? |
| [15:56:56] |
* |
jesse has joined #trac |
| [15:57:08] |
<coderanger> |
I wouldn't abuse it |
| [15:57:11] |
<gcj> |
the source page includes some pound signs (pound sterling, hex 0xa3 in iso-8859-1), which display OK in the trac page, i guess htmldoc thinks the page is in some other encoding and objects to those? |
| [15:57:25] |
<coderanger> |
But if you can automatically correct the problem, itl work |
| [15:57:39] |
<coderanger> |
kopernikus: Remember that all access to the Trac is blocked if it "needs an upgrade" |
| [15:58:24] |
<kopernikus> |
well, I thought about checking some preconditions like filerights, settings in trac.ini etc. during plugin loadtime |
| [15:58:41] |
<kopernikus> |
and log a descriptive message what is wrong |
| [16:00:48] |
<coderanger> |
kopernikus: Well something in trac.ini would be okay, since you can correct that automatically |
| [16:01:55] |
<kopernikus> |
coderanger, for example: if have a wrapper shell script and need to check if it's installed correctly |
| [16:02:18] |
<kopernikus> |
without the plugin would not work... |
| [16:02:28] |
<coderanger> |
kopernikus: Overload the component enabled check for something like that |
| [16:04:50] |
<kopernikus> |
coderanger, is that in loader.py? |
| [16:04:57] |
<coderanger> |
http://trac.edgewall.org/browser/tags/trac-0.10.3/trac/core.py#L190 |
| [16:05:04] |
<coderanger> |
No, its a component function |
| [16:05:15] |
<coderanger> |
loading is distinct from activation |
| [16:06:06] |
<gcj> |
i removed all special characters from the page source, as far as i can tell with "od", and i still get the same error |
| [16:06:21] |
* |
omry has joined #trac |
| [16:07:03] |
<coderanger> |
gcj: What did you set your output encoding to? |
| [16:07:12] |
<kopernikus> |
coderanger, got it, thanks |
| [16:07:16] |
<gcj> |
i didn't set it, i don't know how to |
| [16:07:36] |
<gcj> |
i thought i removed everything it could complain about |
| [16:07:39] |
<coderanger> |
kopernikus: Its basically depends on if it is something you can correct automatically from Trac or not |
| [16:09:19] |
<kopernikus> |
coderanger, if I can't correct it, I can log a message explaining the problem. That's good enough... |
| [16:09:19] |
<coderanger> |
gcj: Looks like u2013 is an en-dash |
| [16:09:52] |
<gcj> |
does trac use en-dashes itself anywhere? |
| [16:09:54] |
<idnar> |
>>> name(u'\u2013') |
| [16:09:55] |