| [00:20:46] |
* |
maxb has joined #trac |
| [00:31:19] |
<asmodai> |
coderanger: http://www.bsdunix.ch/public/pictures/vista_launch.jpg |
| [00:43:47] |
* |
jMCg has joined #trac |
| [00:46:00] |
* |
tkp has joined #trac |
| [01:39:19] |
* |
Tetraboy2 has joined #trac |
| [01:41:57] |
* |
prologic has quit IRC |
| [01:41:57] |
* |
IamLordV1ldemort has quit IRC |
| [01:41:57] |
* |
_shawn has quit IRC |
| [01:41:57] |
* |
FauxFaux has quit IRC |
| [01:41:57] |
* |
xjjk has quit IRC |
| [01:41:57] |
* |
coderanger has quit IRC |
| [01:41:57] |
* |
Tetraboy has quit IRC |
| [01:41:57] |
* |
alect has quit IRC |
| [01:41:57] |
* |
Hadaka has quit IRC |
| [01:41:57] |
* |
killing-joke has quit IRC |
| [01:41:57] |
* |
AllenJB has quit IRC |
| [01:41:57] |
* |
pacopablo has quit IRC |
| [01:41:57] |
* |
SpComb has quit IRC |
| [01:41:57] |
* |
WhiteWolf has quit IRC |
| [01:42:57] |
* |
killing-joke has joined #trac |
| [01:43:04] |
* |
SpComb has joined #trac |
| [01:43:05] |
* |
AllenJB has joined #trac |
| [01:43:05] |
* |
alect has joined #trac |
| [01:43:07] |
* |
prologic has joined #trac |
| [01:43:53] |
* |
pacopablo has joined #trac |
| [01:44:23] |
* |
_shawn has joined #trac |
| [01:44:46] |
* |
m_g has joined #trac |
| [01:45:29] |
* |
WhiteWolf has joined #trac |
| [01:48:02] |
* |
xjjk has joined #trac |
| [01:48:04] |
* |
Naked has joined #trac |
| [01:48:05] |
* |
Naked is now known as Hadaka |
| [01:48:16] |
* |
FauxFaux has joined #trac |
| [01:58:10] |
* |
coderanger has joined #trac |
| [02:12:46] |
* |
goldeagle has joined #trac |
| [02:14:43] |
* |
klando has joined #trac |
| [02:28:42] |
* |
eblot has joined #trac |
| [02:34:06] |
* |
jMCg has quit IRC |
| [02:38:43] |
* |
pygi has quit IRC |
| [02:47:05] |
* |
daniel-w has joined #trac |
| [03:43:40] |
* |
idnar has quit IRC |
| [03:51:19] |
* |
lovedaddy has joined #trac |
| [04:00:23] |
* |
cmlenz has joined #trac |
| [05:21:08] |
* |
Semhirage has quit IRC |
| [05:21:37] |
* |
Semhirage has joined #Trac |
| [05:22:05] |
* |
cmlenz has quit IRC |
| [05:22:29] |
* |
cmlenz has joined #trac |
| [05:26:44] |
* |
divya has quit IRC |
| [05:38:34] |
* |
jMCg has joined #trac |
| [06:01:03] |
* |
_dmax has joined #trac |
| [06:08:35] |
* |
dmax has quit IRC |
| [06:08:35] |
* |
_dmax is now known as dmax |
| [06:31:27] |
* |
stepz_ is now known as ants |
| [06:36:44] |
* |
hpnadig has joined #trac |
| [06:37:13] |
* |
tommyd has joined #trac |
| [06:37:38] |
<tommyd> |
Hi all! |
| [06:38:14] |
<tommyd> |
this is probably asked quite often, but I have a config issue with 0.11dev and mod_python |
| [06:38:42] |
<tommyd> |
tracd runs pretty fine, but if I follow the setup for mod_python closely, I get a server error 500 |
| [06:38:46] |
<tommyd> |
with " PythonHandler trac.web.modpython_frontend: TracError: The user root requires read _and_ write permission to the database file ..." |
| [06:39:06] |
<tommyd> |
the weird thing is: my apache processes do not run under the user root, but rather "wwwrun" |
| [06:39:19] |
<misc> |
that's normal |
| [06:39:31] |
<tommyd> |
(I double-checked this with ps -fA | grep wwwrun) |
| [06:40:08] |
<tommyd> |
now, I checked my db path, and it is always at least executable, the db file itself is group-rw for the www group, where wwwrun is in |
| [06:40:37] |
<misc> |
and the directory ? |
| [06:40:47] |
<tommyd> |
hrm.. does that need that as well? |
| [06:41:07] |
<misc> |
it does |
| [06:41:45] |
<tommyd> |
hrm... didn't help |
| [06:42:03] |
<tommyd> |
any other files/folders which need to be read/writable |
| [06:42:07] |
<tommyd> |
? |
| [06:43:13] |
<tommyd> |
I'd probably vote for a pure local setup, but unfortunately apache doesn't allow the <Location> directive in .htaccess |
| [06:43:31] |
<misc> |
well, can you try to modify the db as wwwrun user ? |
| [06:44:11] |
<tommyd> |
yep, thats it |
| [06:44:29] |
<tommyd> |
apparently only the uid is checked, not the gid |
| [06:44:37] |
* |
elmarco has joined #trac |
| [06:44:40] |
<tommyd> |
is that a bug or a feature? |
| [06:44:43] |
<elmarco> |
hey! |
| [06:44:48] |
<tommyd> |
ho =) |
| [06:45:00] |
<elmarco> |
can someone help me to finish the setup of wiki.bluez.org |
| [06:45:06] |
<elmarco> |
(linux bluetooth stack) |
| [06:45:59] |
<misc> |
tommyd: well, that's unix permission, so i guess that's feature :) |
| [06:46:02] |
<elmarco> |
its a pita, I don't have root access, so I had to recompile the world to make trac running |
| [06:46:21] |
<elmarco> |
(well, not the whole world, but you know...) |
| [06:46:32] |
<misc> |
ouch |
| [06:46:52] |
<elmarco> |
tracd works fine with the plugins installed |
| [06:47:05] |
<elmarco> |
but httpd mod_python don't see any plugin |
| [06:47:29] |
<elmarco> |
I have read http://trac.edgewall.org/wiki/TracPlugins but it does not help |
| [06:49:11] |
<elmarco> |
http://wiki.bluez.org:8080/trac-bluez |
| [06:49:16] |
<elmarco> |
(tracd, plugin works) |
| [06:49:36] |
* |
jonbaer has joined #trac |
| [06:50:06] |
<jonbaer> |
hello, does anyone use the AccountManagerPlugin? |
| [06:50:22] |
<jonbaer> |
http://www.trac-hacks.org/wiki/AccountManagerPlugin |
| [06:51:00] |
* |
jhammel has joined #trac |
| [06:54:11] |
<misc> |
elmarco: some permissions problem ? |
| [06:55:04] |
<elmarco> |
misc: yeah seems so |
| [06:55:12] |
<elmarco> |
misc: but I don't have any log... |
| [06:55:42] |
<misc> |
elmarco: where have you placed the plugin ? have you raised the verbostiy |
| [06:56:17] |
<elmarco> |
misc: how can I rise the verbosity? it's already DEBUG |
| [06:57:42] |
<elmarco> |
2007-02-01 14:44:38,122 Trac[loader] DEBUG: Loading egg plugin git from /home/elmarco/usr/lib/python/TracGit-0.0.1-py2.4.egg |
| [06:57:45] |
<elmarco> |
2007-02-01 14:44:38,134 Trac[loader] DEBUG: Loading egg plugin irclogs from /home/elmarco/usr/lib/python/irclogs-0.2-py2.4.egg |
| [06:57:59] |
<elmarco> |
(log produced with tracd) |
| [06:58:11] |
<elmarco> |
but mod_python does not give any hint... |
| [06:59:39] |
<elmarco> |
jonbaer: I will use it ;) |
| [07:00:01] |
<jonbaer> |
i can't get "Login" to appear with AccountManagerPlugin and wondering if someone knew what the issue is (ive disabled the trac loginmodule) |
| [07:01:02] |
<jonbaer> |
another question is if i can safely upgrade from 0.9 -> 0.11 (trunk) w/ trac-admin x upgrade |
| [07:03:06] |
<misc> |
elmarco: no idea, sorry |
| [07:03:12] |
<s0undt3ch> |
jonbaer: you must also disable the apache /login location block if you have on defined |
| [07:03:13] |
<jhammel> |
jonbaer: does the log indicate AccountManagerPlugin was successfully loaded? |
| [07:03:32] |
<s0undt3ch> |
s/on/one |
| [07:03:40] |
<jonbaer> |
im using tracd |
| [07:03:47] |
<s0undt3ch> |
ah |
| [07:03:51] |
<s0undt3ch> |
dunno |
| [07:06:23] |
<jonbaer> |
10:01:43 Trac[loader] ERROR: Skipping "TracAccountManager 0.2dev-r1861" (version conflict: "(TracAccountManager 0.1.3dev-r1844 (/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TracAccountManager-0.1.3dev_r1844-py2.4.egg), Requirement.parse('TracAccountManager==0.2dev-r1861'))") |
| [07:06:48] |
<jhammel> |
jonbaer: i had the same problem. you'll have to remove one of those eggs |
| [07:07:03] |
<jhammel> |
or something |
| [07:09:14] |
<jonbaer> |
ahh thank u, does work yet but i can @ least see the problems in the log, im guess that the loading sequence in trac.ini is rather important |
| [07:14:18] |
<jonbaer> |
now its working, thank you jhammel |
| [07:17:10] |
<jhammel> |
jonbaer: np |
| [07:24:34] |
<tommyd> |
hrmm... so I followed the basic guide to create an egg for trac |
| [07:24:52] |
<tommyd> |
but apparently I did something wrong with the location part |
| [07:25:04] |
<tommyd> |
because trac is installed in /trac |
| [07:25:36] |
<tommyd> |
and my egg matches the request "/i18nstatus" not "/trac/i18nstatus" |
| [07:26:04] |
<tommyd> |
and more importantly, the link in the menu also points to /i18nstatus instead of /trac/i18nstatus |
| [07:26:12] |
<tommyd> |
while the rest of the modules is perfectly ok |
| [07:27:52] |
* |
DonJ has joined #trac |
| [07:28:01] |
<DonJ> |
Hi, what's the best way to mirror a sourceforge svn? I plan to use trac with the mirrored svn.. |
| [07:36:31] |
* |
coderanger_ has joined #trac |
| [07:42:36] |
* |
jonbaer has quit IRC |
| [07:44:48] |
* |
tenshiKur0 has joined #trac |
| [07:52:35] |
* |
markane has joined #trac |
| [07:53:33] |
* |
markane is now known as mallero |
| [07:54:39] |
<mallero> |
Hi. I am having trouble with file permissions when using trac-admin to create a new environment. |
| [07:55:14] |
<FauxFaux> |
Cool. |
| [07:55:47] |
<mallero> |
unlike the other files, the database 'trac.db' is not group writable. |
| [07:56:49] |
<mallero> |
is there a way to change the default permissions for the database? |
| [07:57:20] |
<coderanger_> |
mallero: Why would it need to be group writtable? |
| [07:58:15] |
<mallero> |
the current file owner is root and the group is apache. |
| [07:58:24] |
<mallero> |
apache needs write access. |
| [07:58:41] |
<coderanger> |
chown apache |
| [07:58:49] |
<coderanger> |
or don't run initenv as root |
| [08:00:19] |
<FauxFaux> |
umask |
| [08:00:54] |
<coderanger_> |
FauxFaux: I believe trac-admin resets umask before making files |
| [08:01:02] |
<FauxFaux> |
Grr. |
| [08:04:57] |
* |
coderanger1 has joined #trac |
| [08:05:07] |
<mallero> |
yes, if I run initenv as root, then the created files are always owned by root |
| [08:06:22] |
<mallero> |
is there something similar to umask, but to set the ownership of created files? |
| [08:06:52] |
<coderanger1> |
chown ... |
| [08:09:45] |
* |
greg72 has joined #trac |
| [08:09:54] |
* |
coderanger_ has quit IRC |
| [08:13:33] |
<coderanger1> |
hmm |
| [08:13:44] |
<coderanger1> |
looks like trac-admin no longer mucks with the umask |
| [08:13:48] |
<coderanger1> |
so you can try that |
| [08:20:15] |
* |
coderanger1 is now known as coderanger_ |
| [08:20:55] |
<mallero> |
umask seems to work on everything except the database file |
| [08:21:21] |
* |
tenshiKur0 has quit IRC |
| [08:24:47] |
* |
cmlenz has quit IRC |
| [08:31:51] |
<jhammel> |
i found some docs on trac.edgewall.org concerning how to create the DBs for mysql. does anyone know of the top of their head where this info might live? i lost it |
| [08:32:13] |
<coderanger_> |
mysqladmin create "name" |
| [08:32:15] |
<coderanger_> |
I think |
| [08:32:51] |
<jhammel> |
coderanger_: yeah, i know that part. there were a few other commands too |
| [08:33:07] |
<coderanger_> |
Just search the wiki for "mysql" |
| [08:33:22] |
<jhammel> |
i'm using "create database trac; grant all privileges on trac.* to trac@localhost identified by 'tr4cd3pl0ym3nt';" and wanted to verify if this is right |
| [08:33:33] |
<jhammel> |
coderanger_: searching, lots of hits. plowing through them |
| [08:33:54] |
<coderanger_> |
jhammel: Thats just generic mysql db admin stuff, not specific to trac |
| [08:33:56] |
<jhammel> |
found it, nm |
| [08:34:32] |
<jhammel> |
wiki/DatabaseBackend |
| [08:35:18] |
<jhammel> |
i don't know anything about DBs. i just want to make sure the DB that was setup for me is compatible with how i'm trying to install trac |
| [08:42:50] |
<greg72> |
Hi there I'm having problem with setting up authentication. Could it be a problem that I created the htpasswd file with htpasswd2? |
| [08:43:07] |
<coderanger_> |
greg72: No, thats just what comes with apache2 |
| [08:43:22] |
<coderanger_> |
prevents naming conflicts if both apache 1.3 and 2.x are installed |
| [08:43:29] |
* |
coderanger_ has quit IRC |
| [08:43:55] |
* |
coderanger_ has joined #trac |
| [08:46:35] |
* |
coderanger_ has quit IRC |
| [08:46:52] |
* |
coderanger_ has joined #trac |
| [08:47:41] |
* |
coderanger_ has joined #trac |
| [08:53:03] |
* |
evands has joined #trac |
| [08:53:39] |
<evands> |
G'morning, folks |
| [08:53:45] |
<coderanger_> |
Alo |
| [08:54:49] |
<evands> |
I'm working on a Trac migration (for Adium) to a beefy new server which I'd *really* like to get up and running today, as we're working for a release tonight... but I've run into a (to me) rather odd unhandled exception. Would you mind taking a look and seeing if you know anything about it? |
| [08:55:11] |
<coderanger_> |
Whats the exception |
| [08:55:53] |
<evands> |
KeyError: 'self' |
| [08:56:00] |
<evands> |
one sec, I'll have the traceback |
| [08:56:05] |
<coderanger_> |
pastebinify |
| [08:56:38] |
<evands> |
http://paste.lisp.org/display/36203 |
| [08:58:02] |
<coderanger_> |
hmm, from the look it thats not the real problem |
| [08:58:22] |
<coderanger_> |
if cgitb is involved, it is likely that something went wrong deeper down |
| [08:58:26] |
<The_Tick> |
would a fastcgi python binding be the problem? |
| [08:59:26] |
<coderanger_> |
hmm, one sec |
| [09:01:02] |
<coderanger_> |
http://trac.edgewall.org/browser/trunk/trac/web/_fcgi.py#L1132 |
| [09:01:18] |
<coderanger_> |
you might want to dump the exception to a log file there |
| [09:01:53] |
<evands> |
I'm not sure how to do that... sorry, Objective-C I can do; Python is Greek to me |
| [09:01:57] |
<coderanger_> |
one sec |
| [09:02:00] |
* |
klando has quit IRC |
| [09:02:22] |
* |
cmlenz has joined #trac |
| [09:02:31] |
<coderanger_> |
import traceback |
| [09:02:44] |
<coderanger_> |
f = open('mylogfile', 'a') |
| [09:02:52] |
<coderanger_> |
traceback.print_exc(file=f) |
| [09:03:18] |
<coderanger_> |
at least that way you will see the real error |
| [09:03:49] |
<evands> |
add that to the end of the error() function? |
| [09:03:58] |
<evands> |
or the handler() ? |
| [09:04:12] |
<coderanger_> |
above the "import cgitb" in error() |
| [09:04:41] |
<evands> |
k, one moment. thank you. |
| [09:07:46] |
<m_g> |
hi there, is it possible to change the ticket URL in the notification bottom? |
| [09:07:57] |
<coderanger_> |
m_g: To what? |
| [09:08:15] |
<m_g> |
coderanger_, to an alias domain under which the project is usually accessed |
| [09:08:34] |
<coderanger_> |
m_g: It uses base_url in trac.ini to form the URLs |
| [09:09:19] |
<m_g> |
coderanger_, ah new in trac 0.10 i suppose? when i change it, the other domain will still work, right? |
| [09:09:36] |
<coderanger_> |
m_g: Been around since 0.9 I think, but yes |
| [09:09:43] |
<m_g> |
let me try :) |
| [09:09:49] |
<coderanger_> |
it uses that as the base path for absolute paths |
| [09:11:05] |
<m_g> |
coderanger_, in the form of http://bla.domain.com/projectname/ right? |
| [09:11:15] |
<coderanger_> |
m_g: Yes |
| [09:11:39] |
* |
greg72 has quit IRC |
| [09:11:41] |
<evands> |
coderanger: I just get IOError: [Errno 24] Too many open files: '/opt/trac/adium_trac_env/VERSION' on load now (in the browser itself, not to console) |
| [09:11:48] |
<m_g> |
coderanger_, thanks :) |
| [09:11:55] |
<coderanger_> |
if you have http://www.blah.com/trac/ticket/1, it would be http://www.blah.com/trac |
| [09:12:07] |
<coderanger_> |
evands: Ouch, sounds like you need to talk to your host ;-) |
| [09:12:20] |
<evands> |
Been working with him all morning |
| [09:12:20] |
<evands> |
we're mystified |
| [09:12:32] |
<coderanger_> |
lsof | wc -l |
| [09:12:50] |
<pacopablo> |
evands: is it running in any type of virtual image or something? |
| [09:12:55] |
<pacopablo> |
openvz perhaps? |
| [09:12:57] |
<The_Tick> |
no, it's not |
| [09:13:00] |
<The_Tick> |
afaik |
| [09:13:04] |
<coderanger_> |
either the limit is too low, or something is gobbling up handles |
| [09:13:13] |
<The_Tick> |
how do we check the limit again? |
| [09:13:20] |
<The_Tick> |
it's in /proc right? |
| [09:13:57] |
<DonJ> |
Hi, what's the best way to mirror a sourceforge svn? I plan to use trac with the mirrored svn.. Can I use svnsync allthough sf.net is running svn v. 1.3.x? |
| [09:14:12] |
<coderanger_> |
DonJ: You can try, if not use svk |
| [09:14:15] |
<The_Tick> |
DonJ: it might be best to ask that in #svn |
| [09:14:29] |
<DonJ> |
ok thx |
| [09:14:31] |
* |
The_Tick thinks it won't work |
| [09:14:39] |
<evands> |
oddly, i've removed the logging I added.... and it's still doing it |
| [09:14:51] |
<The_Tick> |
evands: restarted lightty? |
| [09:14:54] |
<evands> |
ya |
| [09:14:57] |
<The_Tick> |
hrmm |
| [09:15:07] |
<The_Tick> |
tried that lsof | wc -l command? |
| [09:15:11] |
<coderanger_> |
http://confluence.atlassian.com/display/DOC/Fix+%27Too+many+open+files%27+error+on+Linux+by+increasing+filehandles |
| [09:15:20] |
<coderanger_> |
There is something on increasing the limit |
| [09:15:32] |
<evands> |
should lsof | wc -l take a very long time? |
| [09:15:34] |
<The_Tick> |
looks concise |
| [09:15:36] |
<The_Tick> |
evands: ya |
| [09:15:38] |
<evands> |
root@redux [/usr/local/lib/python2.4/site-packages/trac/web]# lsof | wc -l |
| [09:15:38] |
<evands> |
19970 |
| [09:15:56] |
<coderanger_> |
thats really high |
| [09:16:07] |
<coderanger_> |
my webserver has 896 open right now |
| [09:17:19] |
<The_Tick> |
would that have caused the initial error though? |
| [09:17:35] |
<coderanger_> |
Possibly, if cgitb was using a temp file somewhere that exploded |
| [09:17:41] |
<The_Tick> |
makes sense |
| [09:18:08] |
<coderanger_> |
resource limit issues tend to make everything break in hard-to-know-why ways |
| [09:18:28] |
<evands> |
thomas says that we've just got a busy webserver |
| [09:18:35] |
<evands> |
max is 132000 |
| [09:18:39] |
<evands> |
so we're well below |
| [09:19:05] |
<evands> |
oh, i'm still seeingthe key errors |
| [09:19:12] |
<evands> |
i was just looking in the wrong terminal for them |
| [09:19:42] |
* |
danbeck has joined #trac |
| [09:22:46] |
* |
tommyd has quit IRC |
| [09:22:58] |
<coderanger_> |
sudo lsof | perl -lane '$x{$F[1]}++;END{print map { "$_ => $x{$_}\n" } keys %x;}' |
| [09:23:27] |
<coderanger_> |
That will show PID => handles |
| [09:23:32] |
<coderanger_> |
anything like way too high? |
| [09:25:05] |
<evands> |
http://paste.lisp.org/display/36203#1 |
| [09:25:16] |
<evands> |
31980 => 1074 |
| [09:25:34] |
<evands> |
nobody 31980 0.6 0.3 33076 11508 ? S 10:03 0:29 /usr/local/bin/python /usr/local/share/trac/cgi-bin/trac.fcgi |
| [09:25:47] |
<coderanger_> |
that aint good |
| [09:26:12] |
<evands> |
killed that process |
| [09:26:20] |
<evands> |
now the server just hangs when trying to connect rather than throwing an exception |
| [09:26:26] |
<evands> |
to the browser i mean |
| [09:26:32] |
<coderanger_> |
bounce lighty |
| [09:26:37] |
<evands> |
it's throwing KeyError: 'self' constantly to me in the terminal |
| [09:26:49] |
<evands> |
that's after bouncing lighty |
| [09:27:07] |
<evands> |
let me reenable that logging you had me add |
| [09:27:11] |
<coderanger_> |
What about in the logfile? |
| [09:27:12] |
<coderanger_> |
yeah |
| [09:27:19] |
<coderanger_> |
the key error is secondary |
| [09:28:16] |
<evands> |
I have http://paste.lisp.org/display/36203#2 - does that look right ? |
| [09:28:33] |
<coderanger_> |
yep |
| [09:32:48] |
<evands> |
heh |
| [09:32:49] |
<evands> |
IOError: [Errno 13] Permission denied: 'mylogfile' |
| [09:32:53] |
<evands> |
my bad ;) |
| [09:32:54] |
<evands> |
one sec |
| [09:33:13] |
* |
whitelynx|firest has joined #trac |
| [09:33:48] |
<whitelynx|firest> |
hey... anyone know if there's a way to get the trac blog plugin to give me an RSS feed for blogs that aren't tagged with the default tag? |
| [09:33:58] |
<evands> |
brilliant! |
| [09:33:58] |
<evands> |
DatabaseError: could not connect to server: Connection refused |
| [09:33:58] |
<evands> |
Is the server running on host "localhost" and accepting |
| [09:33:59] |
<evands> |
TCP/IP connections on port 5432? |
| [09:34:12] |
<whitelynx|firest> |
we post news items using the blog plugin, so i'd like to get an RSS feed of the news |
| [09:36:44] |
<pacopablo> |
whitelynx|firest: you mean blogs generated by the Bloghow macro? |
| [09:37:29] |
<whitelynx|firest> |
pacopablo: well, ones that we show on the main page using BlogShow, yes... but they're all stored as tagged wiki pages |
| [09:43:59] |
<whitelynx|firest> |
pacopablo: aah... you're the author :-) |
| [09:44:04] |
<whitelynx|firest> |
yes, your plugin |
| [09:45:34] |
<evands> |
coderanger_: so the database appears to be listening now... I'm getting OperationalError: ERROR: relation "system" does not exist now though |
| [09:45:45] |
<coderanger_> |
evands: Does it? |
| [09:45:51] |
<coderanger_> |
evands: (exist that is) |
| [09:45:57] |
<whitelynx|firest> |
pacopablo: is there any way to control what tag the RSS feed page looks at for the blogs? |
| [09:46:01] |
<evands> |
I'm not sure. Could you tell me how to check? |
| [09:46:20] |
<coderanger_> |
pacopablo: I think here is where you get to step in as resident postgres guru :) |
| [09:46:29] |
* |
avar has quit IRC |
| [09:48:02] |
<evands> |
I have a dump of my database from the previous server |
| [09:48:18] |
<evands> |
(which was also using postgres) |
| [09:49:21] |
<evands> |
ah, yeah, having not imported the database, of course there's no system relationship |
| [09:50:24] |
<pacopablo> |
sorry, connection dropped |
| [09:50:48] |
<pacopablo> |
whitelynx|firest: currently the RSS is only for the /blog page |
| [09:50:58] |
<pacopablo> |
whitelynx|firest: which I have been meaning to fix, hopefully soon ;) |
| [09:51:20] |
<pacopablo> |
evands: you can also use UNIX sockets for postgres |
| [09:51:26] |
<pacopablo> |
bbiab |
| [09:52:27] |
<evands> |
pacopablo: ah. we just changed postgres to listen on 0.0.0.0:5432 - would it be better to use sockets? |
| [09:52:41] |
<whitelynx|firest> |
pacopablo: ok... if you want a hand with that, i'd be willing to poke at it :-) |
| [09:53:00] |
<coderanger_> |
evands: Hypothetically more secure I think, but you can change that around later |
| [09:53:04] |
<whitelynx|firest> |
for now i think i'll just switch the default blog tag to news so we get that by default |
| [09:53:16] |
<evands> |
coderanger_: k, thanks |
| [09:54:18] |
<whitelynx|firest> |
hm |
| [09:54:21] |
<whitelynx|firest> |
that didn't work -.- |
| [10:07:05] |
<evands> |
alright! database errors gone now :) |
| [10:07:18] |
<evands> |
though i've got a new one... TracError: Unsupported version control system "svn" |
| [10:07:34] |
<coderanger_> |
run python -c 'from svn import fs' |
| [10:07:35] |
<evands> |
svn python bindings problem? |
| [10:07:52] |
<evands> |
yeah, no module named svn. should have tried that before saying anything |
| [10:08:36] |
<evands> |
Is it pysvn that I need to install? |
| [10:08:55] |
<coderanger_> |
no, the swig bindings that come with subversion |
| [10:09:35] |
<jMCg> |
I need some help fixing a problem: http://trac.brainsware.org/ << yields Internal Server Error --- now I'd like to move from mod_python to mod_fastcgi -- or anything else, for that matter -- with the same layout. One vHost that servers a dozen or howmany ever projects which are accessible via http://trac.brainsware.org/<projectname> |
| [10:09:58] |
<jMCg> |
Due to my lack of XP with *CGI, I could really need a hand - this thing's been dead for 2 days now and it... shouldn't. |
| [10:11:06] |
<evands> |
oh, i see. installing now, thank you. |
| [10:11:29] |
<coderanger_> |
jMCg: Whats the problem? |
| [10:11:48] |
<jMCg> |
coderanger_: several things. Probably just a misunderstanding. |
| [10:11:51] |
<pacopablo> |
evands: yeah, more secure, and should actually be faster, though probably not noticeably so |
| [10:12:34] |
<coderanger_> |
pacopablo: Its the same socket subsystem, the only time saved is wrapping/unwrapping the TCP and IP headers I would think |
| [10:12:41] |
<jMCg> |
coderanger_: first.. when I define a ScriptAlias /trac /usr/share/trac/cgi-bin/trac.fcgi - exactly what does it mean? |
| [10:13:01] |
<pacopablo> |
coderanger_: right, so technically faster, but not noticeably so |
| [10:13:19] |
<coderanger_> |
jMCg: Roughly, for paths under /trac/, run this |
| [10:13:32] |
<coderanger_> |
It has several meanings in Apache |
| [10:13:47] |
<coderanger_> |
it can either mean run the file of the same name in this folder, or run this file |
| [10:14:16] |
* |
_shawn has quit IRC |
| [10:14:22] |
<jMCg> |
coderanger_: the problem is, or rather source of my confusion is I'd like my projects to be accessible via domain.tld/projectname not domain.tld/trac/projectname |
| [10:14:29] |
<jMCg> |
Will this be possbile? |
| [10:14:38] |
<pacopablo> |
jMCg: yes |
| [10:15:11] |
<jMCg> |
Second issue: 19:07 < dabaR> Done? |
| [10:15:14] |
<jMCg> |
O_o? |
| [10:15:21] |
<jMCg> |
Wrong buffer? |
| [10:15:37] |
<jMCg> |
FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/parent/dir/of/projects <<< I have to set this in the Server config. |
| [10:16:48] |
<jMCg> |
That sucks. |
| [10:16:53] |
<jMCg> |
Anyways... |
| [10:17:37] |
<jMCg> |
I also didn't find any settings for an equilent of TracUri |
| [10:19:44] |
* |
cmlenz has quit IRC |
| [10:25:52] |
<jMCg> |
Great. |
| [10:26:05] |
<jMCg> |
So no f*cgi* then. |
| [10:28:42] |
<whitelynx|firest> |
jMCg: i use lighttpd, so i could give you a hand using that, but i'm not very familiar with apache any more |
| [10:29:00] |
* |
whitelynx|firest uses lighttpd+fcgi on a bunch of machines to serve trac projects |
| [10:30:15] |
<coderanger_> |
jMCg: FastCGI doesn't generally screw up the SCRIPT_NAME (except for Lighty) |
| [10:30:37] |
<coderanger_> |
Just ScriptAlias / /path/to/trac.fcgi |
| [10:37:17] |
<evands> |
coderanger_: So I've resolved the python import; python -c 'from svn import fs' doesn't throw any error or anything now |
| [10:37:28] |
<evands> |
coderanger_: but I'm still getting TracError: Unsupported version control system "svn" |
| [10:37:36] |
<evands> |
(i've restarted lightty) |
| [10:37:51] |
<coderanger_> |
how about 'from svn import core' |
| [10:38:13] |
<evands> |
runs without a hitch |
| [10:38:20] |
<evands> |
it shouldn't be giving any feedback if it works, right? |
| [10:39:45] |
<coderanger_> |
right |
| [10:40:27] |
<evands> |
sooo... yeah |
| [10:40:28] |
* |
evands eyes swig suspiciously |
| [10:40:49] |
<coderanger_> |
Where are the bindings installed? |
| [10:41:17] |
<evands> |
they're in /usr/local/lib/svn-python |
| [10:41:20] |
<evands> |
but python wasn't finding them |
| [10:41:30] |
<evands> |
so i did softlinks to /usr/local/lib/python2.4/site-packages |
| [10:41:39] |
<coderanger_> |
use a .pth file |
| [10:41:45] |
<coderanger_> |
remove the links |
| [10:41:47] |
<evands> |
for the contains svn and libsvn directories |
| [10:41:47] |
<evands> |
k |
| [10:42:01] |
<coderanger_> |
and do "echo /usr/local/lib/svn-python > /usr/local/lib/python2.4/site-packages/subversion.pth |
| [10:42:27] |
<evands> |
done. restart lightty? |
| [10:42:32] |
<coderanger_> |
yeah |
| [10:43:03] |
<evands> |
k, all that done |
| [10:43:12] |
<evands> |
same situation - thoug now python works fine without the links in place |
| [10:43:16] |
<evands> |
i still get the TracError: Unsupported version control system "svn" |
| [10:43:29] |
<coderanger_> |
anything in the log? |
| [10:43:32] |
<coderanger_> |
@logging |
| [10:43:32] |
<evil_twin> |
coderanger_: "logging" is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors. |
| [10:45:32] |
<evands> |
looks the same as the log shown at trac.adiumx.com |
| [10:46:06] |
<evands> |
with "2007-02-01 12:40:53,224 Trac[main] ERROR: Unsupported version control system "svn"" above it |
| [10:48:46] |
* |
charzero has joined #trac |
| [10:49:36] |
<coderanger_> |
what trac version is this? |
| [10:51:16] |
* |
cmlenz has joined #trac |
| [10:51:38] |
<evands> |
0.10.3 |
| [10:51:53] |
<evands> |
subversion 1.4.3 |
| [10:52:08] |
<coderanger_> |
evands: python -c 'from svn import fs, repos, core, delta' |
| [10:52:21] |
<evands> |
no error |
| [10:52:25] |
<coderanger_> |
That seems to be the criteria trac uses |
| [10:52:38] |
<jMCg> |
http://apache.pastebin.ca/335949 <<<< This is my current Trac Vhost... |
| [10:52:41] |
<jMCg> |
|