| [00:03:02] |
* |
tuxipuxi has joined #trac |
| [00:05:11] |
* |
peppelorum has quit IRC |
| [00:10:39] |
* |
peppelorum has joined #trac |
| [00:20:15] |
* |
idostyle has quit IRC |
| [00:23:08] |
* |
idostyle has joined #trac |
| [00:28:38] |
* |
peppelorum has quit IRC |
| [00:32:17] |
* |
peppelorum has joined #trac |
| [00:35:10] |
<sam`> |
anybody here ? |
| [00:35:35] |
* |
tuxipuxi has quit IRC |
| [00:38:47] |
<athomas> |
maybe |
| [01:17:30] |
* |
kad has joined #trac |
| [01:17:39] |
<kad> |
hi all |
| [01:18:47] |
<kad> |
could someone help with simple question: I have my own macro, and I want to use WikiFormatting features in return value. What should I call ? |
| [02:08:14] |
* |
s0undt3ch has quit IRC |
| [02:12:55] |
<otaku42> |
kad: maybe http://projects.edgewall.com/trac/wiki/ProcessorBazaar#BlockQuote gives you a hint how it might work. but i could be totally wrong :) |
| [02:14:47] |
* |
idnar has quit IRC |
| [02:14:50] |
* |
idnar_ has joined #trac |
| [02:41:53] |
<kad> |
otaku42: thanks! that hint with wiki_to_html() helps. |
| [02:42:52] |
* |
tuxipuxi has joined #trac |
| [02:43:03] |
<otaku42> |
kad: yw |
| [02:55:11] |
* |
tuxipuxi is now known as deimudda |
| [02:55:22] |
* |
deimudda is now known as mudda |
| [02:55:46] |
* |
mudda is now known as tuxipuxi |
| [03:16:22] |
* |
pfn_ has joined #trac |
| [03:17:23] |
* |
pfn has quit IRC |
| [03:39:16] |
* |
pfn_ has quit IRC |
| [03:42:00] |
* |
sam` has quit IRC |
| [03:45:58] |
* |
sam` has joined #trac |
| [04:36:44] |
<tuxipuxi> |
hum guess i'm missing something.. the following configuration lets me access projects fine, but when accessing login it leads me back to the project listing: http://rafb.net/paste/results/6d2hFH94.html |
| [04:39:58] |
* |
tic is now known as tic_ |
| [04:40:00] |
* |
tic_ is now known as tic |
| [04:54:27] |
* |
sam` has quit IRC |
| [05:03:57] |
* |
sam` has joined #trac |
| [05:10:07] |
* |
cmlenz has joined #trac |
| [05:12:58] |
* |
tenshiKur0 has joined #trac |
| [05:14:39] |
* |
cprov has joined #trac |
| [05:22:17] |
<dilinger> |
sweet |
| [05:22:41] |
<dilinger> |
cmlenz: let me know if you run into any problems w/ the mysql stuff |
| [05:23:05] |
<cmlenz> |
sure |
| [05:23:11] |
<dilinger> |
cmlenz: (and if you do, i can probably devote a few hours at work today to helping) |
| [05:23:39] |
<cmlenz> |
I figured you were to busy with other stuff... sorry if you were working on integrating the patch too :-P |
| [05:24:32] |
<cmlenz> |
well, I just tested with mysql 4.1.19 on OSX... we'll declare mysql support as "experimental" in 0.10 so it doesn't need to be perfect just yet |
| [05:24:54] |
<dilinger> |
yea, i am busy w/ other stuff unfortunately.. but integrating the mysql stuff is a lot easier than getting the db unit testing stuff working (which takes a bit of reworking) |
| [05:24:55] |
<cmlenz> |
but if you find any problems... well you have commit access ;-) |
| [05:25:02] |
<dilinger> |
that's what i've been working on |
| [05:25:02] |
<dilinger> |
ok |
| [05:25:20] |
<cmlenz> |
ah right, that'd be nice |
| [05:25:58] |
<dilinger> |
that's what i was hoping to get done before merging the mysql stuff, but it doesn't look like i'll have time to finish it in the immediate future (next 2 weeks) |
| [05:26:06] |
<dilinger> |
so, might as well merge the mysql stuff |
| [05:26:23] |
<cmlenz> |
yeah |
| [05:26:34] |
<cmlenz> |
I'd like to see us push a beta of 0.10 out this month |
| [05:26:48] |
<cmlenz> |
and now we're at least feature complete according to the major points on the roadmap |
| [05:27:31] |
<dilinger> |
cool |
| [05:27:34] |
* |
dilinger heads off to work |
| [05:31:53] |
* |
megalO- has quit IRC |
| [05:44:07] |
* |
tenshiKur0 has quit IRC |
| [05:44:21] |
* |
dna has quit IRC |
| [05:47:49] |
* |
dna has joined #trac |
| [05:50:36] |
* |
agile has quit IRC |
| [05:51:52] |
* |
coderanger_ has joined #trac |
| [06:03:34] |
<coderanger_> |
Someone who can write well should probably add something to the FAQ about this NULL return issue |
| [06:08:37] |
* |
cprov is now known as cprov-office |
| [06:20:45] |
* |
tenshiKur0 has joined #trac |
| [06:22:05] |
<athomas> |
has trac-hacks.org been responsive recently? |
| [06:22:39] |
<coderanger_> |
Its been weird |
| [06:22:51] |
<coderanger_> |
sometimes the timeline comes up without all its formatting |
| [06:23:16] |
<athomas> |
strange, i've never seen that one before |
| [06:23:25] |
<idnar_> |
trouble loading the CSS file, probably |
| [06:23:26] |
* |
idnar_ is now known as idnar |
| [06:23:31] |
<athomas> |
i've noticed it come return an empty page before |
| [06:25:11] |
* |
sam`_ has joined #trac |
| [06:25:34] |
<coderanger_> |
http://www.cs.rpi.edu/~kantrn/trac-hacks-weird.png |
| [06:25:40] |
<coderanger_> |
Thats what I've been seeing |
| [06:26:03] |
<athomas> |
woah |
| [06:26:32] |
<athomas> |
i wonder if that's the timeline css failing to load |
| [06:26:40] |
<coderanger_> |
Not every time, but every few loads |
| [06:26:44] |
* |
tenshiKur0 has joined #trac |
| [06:27:35] |
<dilinger> |
coderanger_: you should take more STS classes, i recall having to write a lot in those :p |
| [06:28:05] |
<coderanger_> |
Bah, I am trying to go 4 years without writting a non-technical paper |
| [06:28:26] |
<athomas> |
hmm also getting lots of session related exceptions in the log too |
| [06:28:38] |
* |
tenshiKur0 has quit IRC |
| [06:30:20] |
* |
sam` has quit IRC |
| [06:30:22] |
* |
sam`_ is now known as sam` |
| [06:33:09] |
* |
agile has joined #trac |
| [06:35:43] |
* |
tenshiKur0 has joined #trac |
| [06:36:59] |
* |
tenshiKur0 has quit IRC |
| [06:45:24] |
<tuxipuxi> |
guess i'm missing something.. the following configuration lets me access projects fine, but when accessing login it leads me back to the project listing: http://rafb.net/paste/results/6d2hFH94.html |
| [06:46:36] |
* |
cprov has joined #trac |
| [06:53:27] |
* |
Blackhex has joined #trac |
| [06:55:47] |
* |
dizzy_p has joined #trac |
| [06:55:53] |
<dizzy_p> |
anyone around? |
| [06:56:00] |
<tuxipuxi> |
yup |
| [06:56:04] |
<coderanger_> |
yahr |
| [06:56:33] |
* |
bwmcadams has joined #trac |
| [06:56:33] |
<dizzy_p> |
I'm trying to setup trac to use mod_python - but when I try to access the trac-installation from a web browser, the server returns a 301 (permanent redirect). |
| [06:56:53] |
<dizzy_p> |
And it doesn't return anything to the browser |
| [06:57:00] |
<tuxipuxi> |
show us the config while coderanger_ has a look at my problem ;) |
| [06:57:07] |
* |
megalO- has joined #trac |
| [06:57:09] |
<coderanger_> |
tuxipuxi:TracUriRoot should be an absolute URI |
| [06:57:14] |
<dizzy_p> |
2sec |
| [06:57:21] |
<coderanger_> |
Something like http://my.server.com/ |
| [06:58:10] |
<megalO-> |
anyone have experience with the sourceforge2trac script? |
| [06:58:15] |
<megalO-> |
i am getting the error "Error: no such column: kind" when trying to run the script |
| [06:58:23] |
<coderanger_> |
tuxipuxi: Hmm, actually nix that |
| [06:58:44] |
<dizzy_p> |
http://pastebin.com/720610 |
| [06:58:44] |
<coderanger_> |
I have / for my config it seems |
| [06:59:01] |
<tuxipuxi> |
coderanger_: an absolute uri? i have never seen someone use an absolute uri :) |
| [06:59:23] |
<coderanger_> |
tuxipuxi: Does it work if you configure a single env? |
| [06:59:48] |
<tuxipuxi> |
haven't tried yet, but the projects itself work, just the authentication doesn't |
| [07:00:36] |
<dizzy_p> |
Should the trac-installation reside under the web root, or should I be placed outside? |
| [07:00:47] |
<tuxipuxi> |
outside |
| [07:00:49] |
<dizzy_p> |
i.e. /var/www/site and /var/trac/site |
| [07:00:51] |
<dizzy_p> |
ok |
| [07:01:31] |
<tuxipuxi> |
should be working with your config when you place the project outside |
| [07:01:39] |
<dizzy_p> |
Do I have to use a <Directory>-block to enable access to it from apache? |
| [07:01:42] |
<tuxipuxi> |
no |
| [07:02:19] |
<dizzy_p> |
PythonOption TracEnv /var/trac/sral |
| [07:02:19] |
<dizzy_p> |
PythonOption TracUriRoot /trac |
| [07:02:30] |
<tuxipuxi> |
looks good |
| [07:02:41] |
<dizzy_p> |
http://www.site.com/trac <-- and it should be accessible from here? |
| [07:02:59] |
<tuxipuxi> |
given that it is configured in the corresponding vhost, yes |
| [07:03:13] |
<dizzy_p> |
yes |
| [07:03:57] |
<dizzy_p> |
Hmpfh... still 301 |
| [07:04:00] |
<megalO-> |
sourceforge2trac.py, anyone? |
| [07:04:02] |
<dizzy_p> |
and blank browser |
| [07:04:32] |
<tuxipuxi> |
megalO-: iirc the script hasn't been updated to newer trac versions |
| [07:04:38] |
<dizzy_p> |
aaargh |
| [07:04:49] |
<megalO-> |
dizzy_p, doesn't sound like it's executing the script |
| [07:04:51] |
<megalO-> |
maybe? |
| [07:04:55] |
<dizzy_p> |
hmm |
| [07:04:58] |
<megalO-> |
tuxipuxi, damn... |
| [07:05:00] |
<dizzy_p> |
mod_python is loaded |
| [07:05:23] |
<dizzy_p> |
and if the TracEnv-path isn't set correctly - mod_python returns an error (i.e. the handler) |
| [07:05:44] |
<tuxipuxi> |
the config looks fine to me.. maybe something else which could be overriding it? |
| [07:05:53] |
<dizzy_p> |
hmm |
| [07:06:13] |
<dizzy_p> |
is it possible to enable more verbose debugging in trac? |
| [07:06:16] |
<dizzy_p> |
logging |
| [07:06:31] |
<athomas> |
@logging |
| [07:06:31] |
<evil_twin> |
athomas: "logging" is http://projects.edgewall.com/trac/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors. |
| [07:06:32] |
<tuxipuxi> |
yes, but i doubt that you will get trac debug output for this problem |
| [07:07:22] |
<dizzy_p> |
I'll try |
| [07:08:19] |
<megalO-> |
dizzy_p, did you set the default page as trac.cgi? |
| [07:08:30] |
<megalO-> |
DirectoryIndex |
| [07:08:39] |
<dizzy_p> |
nope |
| [07:08:51] |
<dizzy_p> |
the installation guide said nothing about it |
| [07:09:01] |
<coderanger_> |
You don't use DirectoryIndex |
| [07:09:05] |
<megalO-> |
i did |
| [07:09:06] |
<megalO-> |
heh |
| [07:09:09] |
<coderanger_> |
mod_python takes care of it |
| [07:09:11] |
<megalO-> |
it works... |
| [07:09:31] |
<coderanger_> |
If you are using CGI you can, but not with the other FEs |
| [07:09:37] |
<dizzy_p> |
ok |
| [07:09:45] |
<dizzy_p> |
megalO-: you're using mod_python? |
| [07:09:55] |
<dizzy_p> |
I find it a bit strange to do that with mod_python... |
| [07:10:20] |
<megalO-> |
honestly, don't know |
| [07:10:30] |
<megalO-> |
mod_python is installed and loaded in apache2 |
| [07:11:56] |
<megalO-> |
i wonder if there is a script to go form sourceforge to bugzilla then use the bugzilla2trac script.... |
| [07:12:58] |
<tuxipuxi> |
dizzy_p: you sure there's nothing else related to /trac in your config? |
| [07:14:06] |
<dizzy_p> |
nope |
| [07:14:20] |
<dizzy_p> |
nope, as in, no, there isn't |
| [07:15:44] |
<dizzy_p> |
http://pastebin.com/720638 full virtualhost-config |
| [07:16:11] |
<dizzy_p> |
can it have something to do with permissions? |
| [07:20:10] |
<dizzy_p> |
hmm, the htdocs directory is empty - should it be? |
| [07:20:20] |
<dizzy_p> |
(its a newly created trac installation) |
| [07:21:53] |
<tuxipuxi> |
yes |
| [07:22:14] |
<dizzy_p> |
apache has rwx on all directories |
| [07:22:24] |
<tuxipuxi> |
correct |
| [07:22:58] |
<dizzy_p> |
Hmpfh... :-/ |
| [07:25:43] |
<coderanger_> |
dizzy_p: Does tracd work? |
| [07:25:58] |
<dizzy_p> |
yes |
| [07:27:14] |
<dizzy_p> |
http://www.sral.org:8000/sral |
| [07:30:34] |
* |
imajes has quit IRC |
| [07:35:18] |
<dizzy_p> |
dohdohdohdohdoh |
| [07:35:45] |
* |
MasterC has joined #trac |
| [07:50:35] |
<megalO-> |
is there any way to get these sourceforge tickets into trac? |
| [07:51:10] |
<tuxipuxi> |
dizzy_p: what? |
| [07:51:16] |
<tuxipuxi> |
megalO-: update sourceforg2trac ;) |
| [07:52:09] |
<megalO-> |
where's the trac db structure? |
| [07:52:16] |
<dizzy_p> |
tuxipuxi: still doesn't work |
| [07:52:32] |
<megalO-> |
i may just do that - just sitting around, waiting for my job to begin :) |
| [07:52:32] |
<dizzy_p> |
tried to recreate the project directory |
| [07:53:16] |
<dizzy_p> |
It's accessing the db - because I got an error before I had set the permissions correctly |
| [07:53:52] |
<dizzy_p> |
(a bit strange, it asked that my local user 'lw' should get the permissions - instead of apache. Probably a bug. (I had to assign the permissions to the apache user). |
| [07:54:53] |
<tuxipuxi> |
megalO-: dunno if it is documented, either on the TracDev site or else in the code or have a look at the database itself |
| [07:55:22] |
<tuxipuxi> |
dizzy_p: hm yeah strange |
| [07:55:53] |
<dizzy_p> |
I'll have to look at it later. Time for food and a football match ;) |
| [07:56:09] |
<tuxipuxi> |
enjoy |
| [08:11:10] |
* |
sam` has quit IRC |
| [08:11:45] |
* |
cboos has joined #trac |
| [08:12:13] |
<cboos> |
hi there, |
| [08:12:26] |
* |
sam` has joined #trac |
| [08:12:31] |
<tuxipuxi> |
hi cboos |
| [08:13:01] |
<cboos> |
just a quick question: I'd like to change the IWikiMacroProvider |
| [08:13:19] |
<cboos> |
in order to pass the 'formatter' object to the macro while rendering |
| [08:13:39] |
<cboos> |
so I think the best is to keep 'render_macro' as it is and add another method |
| [08:13:59] |
<cboos> |
I would like to propose 'generate_content'. What do you think? |
| [08:14:30] |
<cboos> |
(esp. athomas and cmlenz ... wake up call ;) ) |
| [08:15:13] |
<cmlenz> |
I like to keep the names of extension point methods very specific, to minimize collisions when a component implements more than one interface |
| [08:15:23] |
<cmlenz> |
generate_content() is a bit too generic IMO |
| [08:16:06] |
<cboos> |
ah, good point. |
| [08:16:31] |
<cboos> |
I thought about generate_content in reference to the convert_content of the IMimeTypeConverter ... |
| [08:16:39] |
<cmlenz> |
can you reiterate what a macro needs the formatter for? sorry, I'm a bit out of the loop lately :-P |
| [08:16:43] |
<coderanger_> |
Perhaps this is a good time to introduce versioning in the plugin API |
| [08:17:14] |
<cboos> |
Well, various reasons. Have a look at http://projects.edgewall.com/trac/ticket/3089 |
| [08:17:16] |
<cmlenz> |
coderanger_: if you have a simple proposal, I'm all ears ;-) |
| [08:17:30] |
<cboos> |
which also contains a link to the relevant thread on trac-dev |
| [08:18:07] |
<coderanger_> |
Have implements() take tuples of extension points and version numbers |
| [08:18:24] |
<coderanger_> |
and use that to munge the name of the extension point or something |
| [08:19:40] |
<cmlenz> |
cboos: my only concern is that the current formatter infrastructure/APIs may be too shaky ground to build this context stuff on |
| [08:19:52] |
<coderanger_> |
I can think of better ways, but thats the dumb,easy one |
| [08:20:37] |
<cboos> |
well, I agree, but we have to start somewhere ... I don't want to start a branch for that, sorry ;) |
| [08:21:18] |
<coderanger_> |
The best way to find the shakiness in something is sometimes to just try it and see where things break |
| [08:21:19] |
* |
msoares has quit IRC |
| [08:21:44] |
<cmlenz> |
yeah... I guess my point is: we want to get 0.10 out of the door soon... *if* we anticipate the formatter stuff changing in 0.11 (together with the templates layer), maybe now just isn't a good time to enhance the "context-awareness" of the macro API |
| [08:22:33] |
<cboos> |
well, that a point, sure. |
| [08:22:54] |
<coderanger_> |
It may be a good idea to branch 0.10-dev from trunk soon ... |
| [08:22:55] |
* |
mjg2 has quit IRC |
| [08:23:12] |
<coderanger_> |
er, 0.10-rc |
| [08:23:17] |
* |
klasstek has joined #trac |
| [08:24:00] |
* |
cprov is now known as cprov-lunch |
| [08:24:13] |
<cboos> |
well, there's a few moving things that needs to finalize in 0.10, in particular on the mimeview front |
| [08:24:31] |
<cboos> |
I have a lot of pending changes there, |
| [08:24:41] |
<cboos> |
most of my remaining open tickets are in this area. |
| [08:24:58] |
<coderanger_> |
Yeah, there are just a growing number of things that it seems like are being put off because of 0.10 |
| [08:25:43] |
<cmlenz> |
those things should be done on a branch in preparation of 0.11 if they are biggies |
| [08:25:57] |
<cboos> |
cmlenz: what things? |
| [08:26:02] |
<cmlenz> |
btw, what kind of things? |
| [08:26:09] |
<cmlenz> |
dunno :-P |
| [08:26:27] |
<coderanger_> |
Well this formatter stuff is an example :P |
| [08:26:27] |
<cboos> |
Simply look at the open tickets for 0.10 :) |
| [08:26:47] |
<cmlenz> |
the formatter stuff was never planned for 0.10 and noone started any work there |
| [08:26:54] |
<coderanger_> |
and some of alec's branches are being put off until 0.11 I think |
| [08:27:24] |
<cmlenz> |
those were originally planned for 0.12 or later |
| [08:27:33] |
<coderanger_> |
Okay |
| [08:28:58] |
<cmlenz> |
I really need to post my ideas about the template system stuff to trac-dev... I think it'll have quite a bit of an effect on the wiki rendering system, too |
| [08:28:59] |
<coderanger_> |
I just don't want to see development slow down as things move closer to a release :P |
| [08:29:04] |
* |
mjg2 has joined #trac |
| [08:29:32] |
<cmlenz> |
(if it works out, of course) |
| [08:30:31] |
<cboos> |
cmlenz: that kidalike stuff ;) ? |
| [08:30:46] |
<cmlenz> |
yeah |
| [08:30:52] |
* |
pabl0 has joined #trac |
| [08:30:57] |
<pabl0> |
hi |
| [08:31:00] |
<cboos> |
I'm very curious, as usual ;) |
| [08:31:10] |
<cmlenz> |
even assuming we did a migration to straight kid, we'd need to rework the way the wiki system generates its output |
| [08:31:19] |
<cmlenz> |
because kid doesn't like XML in strings, basically |
| [08:31:22] |
<pabl0> |
is there any plugin to deal with spam? I'm getting many spam in my tickets :/ |
| [08:31:35] |
<coderanger_> |
pabl0: TicketDelete on trac-hacks |
| [08:31:41] |
<pabl0> |
thanks :) |
| [08:31:50] |
* |
ryepup has quit IRC |
| [08:32:08] |
<coderanger_> |
cmlenz: Its going to be an interesting if nothing else :P |
| [08:32:22] |
<cboos> |
cmlenz: yes, the more I look at the wiki code, the more I wonder how we manage to produce valid XHTML most of the times ;) |
| [08:32:37] |
<cmlenz> |
pabl0: there's also the SpamFilter plugin on the Trac site, but it requires the devel version of Trac |
| [08:32:58] |
<cmlenz> |
cboos: a "kidalike" could be more relaxed about requiring well-formed output ;-) |
| [08:33:04] |
<pabl0> |
ohh |
| [08:33:09] |
<pabl0> |
thanks anyway |
| [08:33:14] |
* |
danbeck has joined #trac |
| [08:33:37] |
<dilinger> |
;5~/win 2 |
| [08:35:25] |
<coderanger_> |
dilinger: Well hello to you to :) |
| [08:36:17] |
<dilinger> |
hehe |
| [08:36:22] |
* |
cboos will drive home => cu later |
| [08:37:02] |
<tuxipuxi> |
anybody knows how edgewall embeds the trac trac project in projects.edgewall.com? |
| [08:39:22] |
* |
msoares has joined #trac |
| [08:40:05] |
<pabl0> |
sorry for the dumb question :), how can I install a plugin from an egg file? |
| [08:40:12] |
<pabl0> |
I'm not very good in Python |
| [08:40:17] |
<tuxipuxi> |
drop it into your project/plugins dir |
| [08:40:29] |
<pabl0> |
k |
| [08:40:56] |
<pabl0> |
and thats all? |
| [08:41:00] |
<tuxipuxi> |
yes |
| [08:41:15] |
<coderanger_> |
@plugins |
| [08:41:15] |
<evil_twin> |
coderanger_: "plugins" is http://projects.edgewall.com/trac/wiki/TracPlugins |
| [08:42:16] |
<pabl0> |
thanks |
| [08:55:43] |
* |
jjb_lyceum has joined #trac |
| [08:56:19] |
* |
somecat has joined #trac |
| [08:58:22] |
* |
cboos has quit IRC |
| [08:58:39] |
<somecat> |
anyone got a sec for a setup question using mod_python? |
| [09:00:04] |
<ranq_> |
you will find out by asking :o |
| [09:00:16] |
<somecat> |
heh...ok |
| [09:03:06] |
<somecat> |
Im using SELS 9.0, i have apache 2.0.49, mod_python 3.1, python 2.3.3, and trac 0.9.5 installed. If I run tracd, I can view the site so everything w/ trac appears to be working fine and i can run test python scripts thru a regular web request (so, mod_python seems to work fine) |
| [09:04:49] |
<somecat> |
when i try to use mod_python to serve up the trac environment, it is not finding the trac module...I get this in my httpd error log: "ImportError: No module named trac". I have the following directive in my apache config file: "PythonPath "sys.path + ['/usr/lib64/python2.3/site-packages/']"" which is what I thought was supposed to address this...if i go into the python interpreter at the... |
| [09:04:51] |
<somecat> |
...command line...I can import trac w/o a problem. any ideas? |
| [09:05:04] |
* |
Blackhex has left #trac |
| [09:11:13] |
<ranq_> |
u have multiple python installations? |
| [09:11:19] |
<somecat> |
no |
| [09:14:34] |
<HandyAndE> |
somecat: locate trac.py |
| [09:15:23] |
* |
ryepup has joined #trac |
| [09:15:56] |
<somecat> |
that file is not on my system anywhere (...looked using 'find / -name trac.py') |
| [09:17:58] |
<somecat> |
if i import trac in the python interpreter, it is from __init__.pyc |
| [09:18:29] |
<somecat> |
in: /usr/lib64/python2.3/site-packages/trac/__init__.pyc |
| [09:27:32] |
<coderanger_> |
There is not supposed to be a trac.py |
| [09:28:04] |
<somecat> |
i didn't assume so... |
| [09:28:29] |
* |
otaku42 is now known as otaku42_away |
| [09:28:52] |
<coderanger_> |
How did you install mod_python? |
| [09:28:55] |
<somecat> |
it seems to just be a problem w/ apache knowing where that module is...but i thought that the PythonPath dir. 'fixed' that |
| [09:29:27] |
<somecat> |
i believe using 'yast' ...rpm...let me verify... |
| [09:29:32] |
<coderanger> |
It is supposed to, but there may be issues with python versions |
| [09:29:53] |
<coderanger> |
If mod_python is looking for 2.4, and you are using 2.3, of vice versa |
| [09:30:41] |
<somecat> |
...yes...i installed it via the rpm system...i have apache2-mod_python-3.1.3-37.6 |
| [09:32:54] |
<HandyAndE> |
sorry |
| [09:32:58] |
<HandyAndE> |
I meant " locate trac/__init__.py |
| [09:33:11] |
<somecat> |
np...that is there... |
| [09:33:16] |
<HandyAndE> |
sry |
| [09:33:24] |
<HandyAndE> |
is it in lib64 as you thought? |
| [09:33:33] |
<somecat> |
yes |
| [09:33:33] |
<coderanger_> |
What version of python does yast think you have installed |
| [09:33:58] |
<somecat> |
lmc |
| [09:34:31] |
<somecat> |
2.3.3 |
| [09:35:09] |
<somecat> |
sorry:... |
| [09:35:17] |
<somecat> |
coderanger: yast thinks it is 2.3.3 |
| [09:35:59] |
<coderanger_> |
hmm, dunno then |
| [09:36:15] |
<somecat> |
heh...man...this is killin me |
| [09:36:27] |
<coderanger_> |
Does tracd work? |
| [09:36:31] |
<somecat> |
yes |
| [09:37:12] |
<somecat> |
tracd works like a charm |
| [09:38:28] |
<somecat> |
lets try this...here is my location entry in my apache config...let me know i fyou see something 'rank' |
| [09:38:30] |
<somecat> |
<Location /trac > |
| [09:38:32] |
<somecat> |
SetHandler mod_python |
| [09:38:33] |
<somecat> |
PythonHandler trac.web.modpython_frontend |
| [09:38:35] |
<somecat> |
PythonOption TracEnv /usr/var/trac_project |
| [09:38:36] |
<somecat> |
PythonOption TracUriRoot /trac |
| [09:38:38] |
<somecat> |
PythonPath "sys.path + ['/usr/lib64/python2.3/site-packages/']" |
| [09:38:39] |
<somecat> |
</Location> |
| [09:40:23] |
<somecat> |
oh...and just to put it out there.... '/usr/lib64/python2.3/site-packages' is in my python path: |
| [09:40:24] |
<somecat> |
>>> import sys |
| [09:40:26] |
<somecat> |
>>> sys.path |
| [09:40:27] |
<somecat> |
['', '/usr/lib64/python2.3/site-packages', '/usr/lib64/python23.zip', '/usr/lib64/python2.3', '/usr/lib64/python2.3/plat-linux2', '/usr/lib64/python2.3/lib-tk', '/usr/lib64/python2.3/lib-dynload'] |
| [09:40:29] |
<somecat> |
>>> |
| [09:41:02] |
<somecat> |
so, that PythonPath entry in apache probably isn't doing anything |
| [09:47:09] |
<coderanger_> |
Is apache in a chroot by any chance? |
| [09:47:13] |
<somecat> |
no |
| [09:47:19] |
<coderanger_> |
SELinux? |
| [09:47:32] |
<somecat> |
wait...chroot...im not actually sure... |
| [09:47:50] |
<somecat> |
suse enterprise linux (v9.0) |
| [09:48:50] |
<somecat> |
chroot means that it has only xyz permissions on the system, correct? as in it can go to 'these' directories, etc...right? |
| [09:48:58] |
<megalO-> |
i'm working on getting sourceforge2trac.py working with 0.9.5 |
| [09:49:12] |
<megalO-> |
i fixed the error i was getting with 'kind' not being a field in the DB |
| [09:49:16] |
<megalO-> |
but now get "Error: 'ascii' codec can't encode character u'\xf1' in position 776: ordinal not in range(128)" |
| [09:49:20] |
<somecat> |
afaik, that is not set up...unless the OS did that automatically for me...it is not |
| [09:50:15] |
<somecat> |
i do not know how to verify that for sure tho |
| [09:51:37] |
<megalO-> |
anyone know how to fix my error? this is the first time i have touched python code |
| [09:51:56] |
<somecat> |
sorry megal...im no help on this one |
| [09:52:50] |
<megalO-> |
agh, now i have to clean out the db since it won't import with existing tickets in there |
| [09:53:02] |
<megalO-> |
it successfully imported ~20 tickets |
| [09:56:45] |
* |
cboos has joined #trac |
| [09:58:11] |
* |
cprov has joined #trac |
| [10:03:40] |
<megalO-> |
could the database that trac uses possibly have problems with special characters? |
| [10:11:37] |
<coderanger_> |
somecat: Look at the startup scripts I would imagine |
| [10:11:59] |
<coderanger_> |
As for selinux, I dont know if suse includes it |
| [10:12:17] |
* |
lightcap has quit IRC |
| [10:12:33] |
<coderanger_> |
megalO-: The database doesnt care, trac might though |
| [10:12:44] |
<coderanger_> |
pre 0.10 has no handling of non-ASCII |
| [10:15:14] |
<cmlenz> |
actually, pre 0.10 does handle any byte stream (including anything non-ASCII)... it just doesn't will it intelligently in some places |
| [10:15:57] |
<cmlenz> |
likely the import script will need to do some en/decoding |
| [10:18:29] |
<somecat> |
coderanger: ...doesn't look like it |
| [10:22:49] |
* |
mat|work has quit IRC |
| [10:43:11] |
* |
boorad has joined #trac |
| [10:43:29] |
<somecat> |
coderanger: any other ideas? |
| [10:46:17] |
* |
cprov is now known as cprov-office |
| [10:48:30] |
<coderanger_> |
somecat: Not that I can think of |
| [10:48:39] |
* |
mat|work has joined #trac |
| [10:49:00] |
<somecat> |
ok |
| [10:49:06] |
<cboos> |
sorry what was the issue? |
| [10:49:10] |
<coderanger_> |
Does anyone have an ebuild for trac's subversion? |
| [10:49:27] |
<coderanger_> |
cboos: mod_python isn't finding the trac modules |
| [10:49:40] |
<coderanger_> |
but Python on the command-line does |
| [10:49:49] |
<somecat> |
cboos: what coderanger said |
| [10:49:52] |
<somecat> |
;) |
| [10:50:01] |
<cboos> |
ah, I thought it had to do with "special characters", that's why I asked ;) |
| [10:50:08] |
<somecat> |
rats |
| [10:50:19] |
<cboos> |
(I'm a unicode freak) |
| [10:50:20] |
* |
ryepup has quit IRC |
| [10:50:26] |
<somecat> |
ok |
| [10:51:45] |
* |
jjb_lyceum has quit IRC |
| [10:53:41] |
<coderanger_> |
s/unicode// ;-) |
| [10:54:46] |
<cboos> |
right ;) |
| [10:57:26] |
* |
cmlenz has quit IRC |
| [11:00:57] |
* |
ryepup has joined #trac |
| [11:05:21] |
* |
soloturn has joined #trac |
| [11:05:39] |
* |
cprov has joined #trac |
| [11:07:12] |
<somecat> |
coderanger:....I got it... |
| [11:07:19] |
<coderanger_> |
hmm? |
| [11:07:38] |
* |
whitelynx has quit IRC |
| [11:07:46] |
* |
whitelynx has joined #trac |
| [11:08:31] |
<somecat> |
it was permissions on the 'trac' directory |
| [11:08:41] |
<somecat> |
set to 770 & owned by root... |
| [11:08:52] |
<somecat> |
chmoded it to 755 and it's workin like a charm |
| [11:09:19] |
<somecat> |
aparently my umask was 770 when i installed it for somereason |
|