| [00:03:34] |
<evil_twin> |
New news from t.e.o: SandBox edited by anonymous <http://trac.edgewall.org/wiki/SandBox> || Ticket #5216 (defect created): Developer at USI Inc, Mongolia <http://trac.edgewall.org/ticket/5216> |
| [00:04:53] |
* |
hpnadig has joined #trac |
| [00:10:51] |
* |
rgk has quit IRC |
| [00:27:22] |
* |
stalker` has quit IRC |
| [00:40:41] |
* |
stalker` has joined #trac |
| [00:45:39] |
<pacopablo> |
matt_good: see my mounds of patches for accountmanager? |
| [00:45:40] |
* |
qasim has joined #trac |
| [00:46:36] |
<matt_good> |
pacopablo: yeah, but then I was having trouble connecting to t-h |
| [00:46:40] |
<qasim> |
what is the default path where the postgresql is present on linux? |
| [00:46:50] |
<qasim> |
i need to give that to setup environment for the trac project |
| [00:46:57] |
<matt_good> |
pacopablo: why'd you submit them as separate patches per-file? |
| [00:47:26] |
<pacopablo> |
qasim: no you don't |
| [00:47:39] |
<pacopablo> |
matt_good: cus I'm crazy? |
| [00:48:00] |
<pacopablo> |
beacuse it's a fairly large patch, so I thought it would be easier to review per-file |
| [00:48:13] |
<pacopablo> |
it's also easier for me to manage if it doesn't get merged |
| [00:48:40] |
<pacopablo> |
qasim: first, use createuser and createdb to create a postgresql user and database |
| [00:49:13] |
<qasim> |
pacopablo: why would i need that? |
| [00:49:35] |
<pacopablo> |
qasim: then, when specifying the database uri in initenv you say: postgres://user:password@localhost/dbname |
| [00:49:47] |
<pacopablo> |
qasim: cus trac doesn't create the database when using postgresql |
| [00:50:01] |
<matt_good> |
pacopablo: it just makes for a lot of steps to actually apply the patch |
| [00:50:07] |
<qasim> |
ok |
| [00:50:10] |
<pacopablo> |
matt_good: yeah, sorry. |
| [00:50:21] |
<pacopablo> |
matt_good: I can add a big patch quickly if you want |
| [00:50:32] |
<qasim> |
and can we find out where the database is located if trac is already connected to it? |
| [00:50:48] |
<pacopablo> |
qasim: you haven't used postgresql much, have you? |
| [00:50:52] |
<qasim> |
nopes |
| [00:50:59] |
<pacopablo> |
forget any notion of "where the database is" |
| [00:51:07] |
<pacopablo> |
it doesn't matter. it's on the server |
| [00:51:32] |
<matt_good> |
pacopablo: if you've got it in an SVN working-copy that'd be convenient, I can merge the patches later myself |
| [00:51:37] |
<matt_good> |
if not |
| [00:51:45] |
<pacopablo> |
what you need to know is the host (localhost), the user (whatever you chose with createuser), and the database name (what you chose when you ran createdb) |
| [00:51:56] |
<qasim> |
pacopablo: yes i know it is on the server...but how to know the exact path |
| [00:52:13] |
<pacopablo> |
qasim: you don't need to know the exact path |
| [00:52:19] |
<pacopablo> |
that's what I'm trying to tell you |
| [00:52:32] |
<pacopablo> |
postgresql is a database management system |
| [00:52:34] |
<qasim> |
Database connection string [sqlite:db/trac.db] what should i write here then? |
| [00:52:45] |
<matt_good> |
there was actually an earlier ticket related to multiple pw stores, but I think it talked specifically about migrating from one backend to another |
| [00:52:45] |
<pacopablo> |
that means that it handles MANY databases |
| [00:53:15] |
<pacopablo> |
qasim: look for documentation in trac-admin re: the format for the postgresql strings |
| [00:53:15] |
<qasim> |
I need to specify the connection string for the database to use |
| [00:53:29] |
<matt_good> |
one problem could be that you can't use the htpasswd and htdigest stores at the same time since they both user the "password_file" setting to locate their file |
| [00:53:30] |
<pacopablo> |
exactly: postgres://user:password@localhost/dbname |
| [00:53:44] |
<pacopablo> |
replacing user, password, and dbname |
| [00:53:52] |
<pacopablo> |
where dbname is simply a name |
| [00:54:06] |
<pacopablo> |
the same name that you used when you ran createdb |
| [00:54:21] |
<qasim> |
ok...thanks |
| [00:54:26] |
<pacopablo> |
btw, why are you using postgres? |
| [00:54:46] |
<pacopablo> |
not that I'm against it, but since you aren't familiar with it, it may be easier to use sqlite |
| [00:54:53] |
<pacopablo> |
especially if you have a small development team |
| [00:54:54] |
<qasim> |
because it is alreayd present on the server and is being used for other purposes as well |
| [00:55:00] |
<pacopablo> |
k |
| [00:58:17] |
<qasim> |
is it possible to know what db is trac environment connected to? |
| [00:59:14] |
<pacopablo> |
you mean sqlite vs postgresql? |
| [01:00:41] |
<qasim> |
no the exact dbname and its path location |
| [01:00:54] |
<pacopablo> |
matt_good: patches are attached |
| [01:01:08] |
<pacopablo> |
qasim: you really need to forget about the path location |
| [01:01:31] |
<pacopablo> |
the only reason that you *might* want to know the actual location of a postgresql database is for backup |
| [01:01:49] |
<pacopablo> |
and even then you shouldn't be backing up the dabase by simply copying the physical files. |
| [01:01:58] |
<pacopablo> |
all you need to know is the name of the database. |
| [01:02:15] |
<pacopablo> |
for example, I created a database named "trac" to hold all of my trac instances |
| [01:02:41] |
<pacopablo> |
so, first I created a user: |
| [01:02:54] |
<qasim> |
does it have to be different for each trac environment? |
| [01:03:04] |
<qasim> |
or one db can cater all the environments |
| [01:03:20] |
<pacopablo> |
createuser -S -R -D -l -P -E tracuser |
| [01:03:29] |
<pacopablo> |
and then I created a databse: |
| [01:03:48] |
<pacopablo> |
createdb -E UTF8 -O tracuser trac |
| [01:03:58] |
<evil_twin> |
New news from t.e.o: Ticket #5216 (defect closed): Developer at USI Inc, Mongolia <http://trac.edgewall.org/ticket/5216#comment:1> |
| [01:04:06] |
<pacopablo> |
now, you can put multiple trac instances in the same database |
| [01:04:14] |
<pacopablo> |
but if you do, then you have to use postgresql schemas |
| [01:05:25] |
<pacopablo> |
otherwise trac ends up in the public schema |
| [01:05:25] |
<pacopablo> |
so, for just one trac env per database, given the user and database that I just created, you say: |
| [01:05:25] |
<pacopablo> |
postgres://tracuser:mypassword@localhost/trac |
| [01:05:25] |
<qasim> |
so your recommendation is to create different databases for different trac environments...one for each |
| [01:05:32] |
<pacopablo> |
if I want to make it such that I can put multiple environments in the same db, then I say: |
| [01:05:55] |
<pacopablo> |
postgres://tracuser:mypassword@localhost/trac?schema=env_one |
| [01:06:12] |
<pacopablo> |
changing the schema name for each env |
| [01:06:12] |
<qasim> |
ok... |
| [01:06:24] |
<qasim> |
aha, ok |
| [01:06:41] |
<pacopablo> |
actually, my recomendation is to put them all in one database using separate schemas |
| [01:06:58] |
<pacopablo> |
unless they are actually completely different things. |
| [01:07:23] |
<pacopablo> |
for example, if you did trac hosting, then schemas isn't the best |
| [01:07:42] |
<pacopablo> |
as you probably don't want strangers sharing the same database |
| [01:07:58] |
<pacopablo> |
but if it's for a host of OSS projects, or internal projects, then yeah, schemas are great. |
| [01:08:03] |
* |
Synapse has quit IRC |
| [01:08:46] |
* |
ntz has quit IRC |
| [01:11:10] |
* |
Synapse has joined #trac |
| [01:12:15] |
* |
ralf-x has quit IRC |
| [01:12:16] |
* |
ralf-x_ has joined #trac |
| [01:13:32] |
* |
stepz_ has joined #trac |
| [01:14:26] |
* |
ntz has joined #trac |
| [01:14:26] |
* |
stepz has quit IRC |
| [01:14:29] |
* |
Synapse has quit IRC |
| [01:15:32] |
* |
bluszcz_ has joined #trac |
| [01:15:42] |
* |
ppr has joined #trac |
| [01:16:52] |
* |
ntz has quit IRC |
| [01:16:52] |
* |
asmodai has quit IRC |
| [01:16:52] |
* |
peper has quit IRC |
| [01:16:52] |
* |
bluszcz has quit IRC |
| [01:16:52] |
* |
Synapse has joined #trac |
| [01:17:04] |
* |
FauxFaux has quit IRC |
| [01:17:39] |
* |
asmodai has joined #trac |
| [01:20:20] |
* |
FauxFaux has joined #trac |
| [01:20:37] |
* |
Synapse has quit IRC |
| [01:22:56] |
* |
ntz has joined #trac |
| [01:22:56] |
* |
Synapse has joined #trac |
| [01:23:22] |
* |
killing-1oke has joined #trac |
| [01:24:09] |
* |
asmodai has quit IRC |
| [01:24:11] |
* |
dings has quit IRC |
| [01:24:11] |
* |
killing-joke has quit IRC |
| [01:24:11] |
* |
Leentje has quit IRC |
| [01:24:11] |
* |
ntz has quit IRC |
| [01:24:15] |
* |
asmodai has joined #trac |
| [01:24:55] |
* |
dings has joined #trac |
| [01:25:01] |
* |
Leentje has joined #trac |
| [01:25:07] |
* |
Synapse has quit IRC |
| [01:26:43] |
* |
FauxFaux has quit IRC |
| [01:28:15] |
* |
FauxFaux has joined #trac |
| [01:28:15] |
* |
Synapse has joined #trac |
| [01:30:32] |
* |
hatul30 has quit IRC |
| [01:30:38] |
* |
ntz has joined #trac |
| [01:31:23] |
<qasim> |
pacopablo: what will be the command if i want to create db in the trac environment directory? |
| [01:32:02] |
* |
Synapse has quit IRC |
| [01:32:46] |
<qasim> |
postgres://tracuser:mypassword@localhost/trac instead i want it should be a specific directory inside the environment |
| [01:33:55] |
* |
Synapse has joined #trac |
| [01:34:54] |
* |
asmodai has quit IRC |
| [01:36:29] |
* |
Synapse has quit IRC |
| [01:38:13] |
* |
asmodai has joined #trac |
| [01:39:34] |
* |
Synapse has joined #trac |
| [01:39:52] |
<matt_good> |
qasim: that's not how postgres works AFAIK |
| [01:40:08] |
<matt_good> |
you usually don't control the file location of the DB, nor should it matter |
| [01:40:29] |
<matt_good> |
with sqlite you can keep the db in the trac folder |
| [01:40:49] |
<matt_good> |
but sqlite is very different from the server-type databases like MySQL and Postgres |
| [01:41:29] |
<matt_good> |
they usually have a central location where the data is stored |
| [01:43:25] |
* |
Synapse has quit IRC |
| [01:45:17] |
* |
Synapse has joined #trac |
| [01:46:16] |
* |
Malesca has joined #trac |
| [01:46:37] |
<Malesca> |
How do I uninstall a plugin installed with easy_install? |
| [01:47:01] |
<qasim> |
so what if i have to create another database for another environment...will this be postgres://tracuser:mypassword@localhost/trac sufficient then? I mean no collision? |
| [01:47:10] |
<Malesca> |
Installed the NavHiderPlugin but get "NameError: name 'set' is not defined" for all my projects. |
| [01:47:43] |
* |
Synapse has quit IRC |
| [01:47:47] |
<matt_good> |
Malesca: I guess it's not written to work on Python 2.3, you can file a ticket about it |
| [01:48:05] |
<Malesca> |
matt_good: Thanks. Still, how do I get rid of it+ |
| [01:48:06] |
<Malesca> |
? |
| [01:48:08] |
<matt_good> |
but to remove it you can delete the folder from the "site-packages" folder |
| [01:48:24] |
<matt_good> |
c:\python23\site-packages or /usr/lib/python2.3/site-packages |
| [01:49:03] |
<Malesca> |
Hm, it's TracNavHider-1.0-py2.3.egg, so one would think it should work on 2.3. |
| [01:49:33] |
* |
Federico2 has joined #trac |
| [01:49:53] |
<matt_good> |
well, coderanger probably created eggs on the different version, but he forgot to import the "set" class which isn't built-in in Python 2.3 |
| [01:50:57] |
<Malesca> |
Delete the folder? I had an .egg in site-packages, but I can't find a folder. |
| [01:50:57] |
<Malesca> |
Ah, OK. |
| [01:50:58] |
* |
Synapse has joined #trac |
| [01:50:58] |
<Malesca> |
No error when I delete the .egg, so I suppose that's what I had to do. Thanks! |
| [01:50:59] |
<matt_good> |
yeah, sorry it can be a file or folder |
| [01:51:21] |
<matt_good> |
they can be installed zipped or extracted |
| [01:51:59] |
* |
matt_good yawns |
| [01:52:10] |
<matt_good> |
ok, I need to get some sleep |
| [01:53:27] |
* |
ntz has quit IRC |
| [01:54:30] |
* |
hatul30 has joined #trac |
| [01:54:42] |
* |
Synapse has quit IRC |
| [01:57:05] |
* |
Synapse has joined #trac |
| [01:57:05] |
* |
matt_good has quit IRC |
| [01:58:45] |
* |
tuxie_ has quit IRC |
| [01:59:12] |
* |
Synapse has quit IRC |
| [02:00:04] |
* |
ntz has joined #trac |
| [02:02:27] |
* |
tic_ has joined #trac |
| [02:02:27] |
* |
Synapse has joined #trac |
| [02:02:27] |
* |
ntz has quit IRC |
| [02:02:37] |
* |
FauxFaux has quit IRC |
| [02:02:37] |
* |
tic has quit IRC |
| [02:03:19] |
* |
FauxFaux has joined #trac |
| [02:05:41] |
* |
Synapse has quit IRC |
| [02:06:01] |
* |
ntz has joined #trac |
| [02:06:09] |
* |
kop_ has joined #trac |
| [02:08:08] |
* |
Synapse has joined #trac |
| [02:11:53] |
* |
Synapse has quit IRC |
| [02:13:51] |
* |
Synapse has joined #trac |
| [02:13:51] |
* |
termie has quit IRC |
| [02:13:59] |
* |
FauxFaux has quit IRC |
| [02:13:59] |
* |
alice|wl has quit IRC |
| [02:14:59] |
* |
alice|wl has joined #trac |
| [02:15:06] |
* |
termie has joined #trac |
| [02:16:56] |
* |
Synapse has quit IRC |
| [02:17:38] |
* |
FauxFaux has joined #trac |
| [02:19:18] |
* |
Synapse has joined #trac |
| [02:22:20] |
* |
Synapse has quit IRC |
| [02:25:27] |
* |
Synapse has joined #trac |
| [02:28:55] |
* |
Synapse has quit IRC |
| [02:29:30] |
* |
asmodai has quit IRC |
| [02:29:34] |
* |
asmodai has joined #trac |
| [02:30:51] |
* |
Synapse has joined #trac |
| [02:33:25] |
* |
Synapse has quit IRC |
| [02:34:48] |
* |
_Vdaemon has joined #trac |
| [02:35:16] |
* |
Megz has joined #Trac |
| [02:36:56] |
* |
Synapse has joined #trac |
| [02:36:56] |
* |
termie_ has joined #trac |
| [02:37:31] |
* |
_dna has joined #trac |
| [02:37:31] |
* |
dna has quit IRC |
| [02:37:32] |
* |
Vdaemon has quit IRC |
| [02:37:32] |
* |
asmodai has quit IRC |
| [02:37:32] |
* |
termie has quit IRC |
| [02:37:32] |
* |
_Vdaemon is now known as Vdaemon |
| [02:37:32] |
* |
_dna is now known as dna |
| [02:37:57] |
* |
FauxFaux_ has joined #trac |
| [02:39:08] |
* |
Synapse has quit IRC |
| [02:40:10] |
* |
asmodai has joined #trac |
| [02:40:51] |
* |
angrymike has joined #trac |
| [02:40:59] |
* |
kop_ has quit IRC |
| [02:40:59] |
* |
lisppaste5 has quit IRC |
| [02:43:16] |
* |
Synapse has joined #trac |
| [02:43:21] |
* |
kop_ has joined #trac |
| [02:43:21] |
* |
lisppaste5 has joined #trac |
| [02:43:36] |
* |
FauxFaux has quit IRC |
| [02:43:47] |
* |
kop_ has quit IRC |
| [02:44:27] |
* |
kop_ has joined #trac |
| [02:45:32] |
<angrymike> |
anyone know of a way to a search replace on an entire wiki ? |
| [02:45:47] |
* |
Synapse has quit IRC |
| [02:48:17] |
* |
Synapse has joined #trac |
| [02:51:36] |
* |
Synapse has quit IRC |
| [02:51:42] |
* |
Synapse has joined #trac |
| [02:57:24] |
* |
FauxFaux_ has quit IRC |
| [02:57:26] |
* |
FauxFaux has joined #trac |
| [03:00:06] |
<qasim> |
Error |
| [03:00:06] |
<qasim> |
(The user apache requires read and write permission to the database file /var/lib/trac/heartbeat2/db/trac.db and the directory it is located in.) |
| [03:08:26] |
<evil_twin> |
New news from t.e.o: TracUsers edited by wusatiuk@gmail.com <http://trac.edgewall.org/wiki/TracUsers> |
| [03:10:04] |
* |
Malesca has left #trac |
| [03:14:35] |
<qasim> |
what needs to be done if we need to delete a trac environment? |
| [03:16:35] |
* |
osimons has joined #trac |
| [03:27:27] |
<coderanger> |
qasim: rm -rf |
| [03:28:02] |
<coderanger> |
angrymike: Check out the code for the WikiRename plugin, that should show you how to do it |
| [03:45:11] |
<qasim> |
coderanger: can you please explain to me in detail about this rm command...i mean there are two environments and i want to delete one |
| [03:45:40] |
<coderanger> |
qasim: Just delete the folder ... |
| [03:46:13] |
<coderanger> |
If you are using postgres or mysql you will also probably want to nuke that database, but it isnt required |
| [03:58:41] |
* |
hatul30 has quit IRC |
| [04:02:55] |
* |
hatul30 has joined #trac |
| [04:06:37] |
* |
fwierzbicki has joined #trac |
| [04:08:47] |
<evil_twin> |
New news from t.e.o: Ticket #5215 (defect closed): Display the value of one textbox is the output of the SQL query <http://trac.edgewall.org/ticket/5215#comment:1> |
| [04:11:00] |
<qasim> |
i have created a postgres db file but am not able to connect to it...i am giving the command postgres://tracuser:mypassword@localhost/trac, why is it not accepting |
| [04:11:31] |
<coderanger> |
Is it listening on localhost? |
| [04:11:50] |
<coderanger> |
And you don't make a "db file" |
| [04:11:56] |
<qasim> |
how can i find that out? |
| [04:12:05] |
<qasim> |
createuser -U postgres -E -P tracuser...i created the db by this command |
| [04:12:28] |
<coderanger> |
qasim: Have you ever used postgred before? |
| [04:12:33] |
<qasim> |
no |
| [04:12:45] |
<coderanger> |
Is there a reason you are not using sqlte |
| [04:13:08] |
<qasim> |
just because that the server on which this trac is hosted already contains postgresql |
| [04:13:13] |
<qasim> |
for other purposes |
| [04:13:27] |
<asmodai> |
mmm |
| [04:13:41] |
<asmodai> |
TracInstall : For HTML rendering, Trac uses the ClearSilver templating system. |
| [04:13:56] |
* |
asmodai wonders if that is a 0.10 install |
| [04:14:26] |
<asmodai> |
Nope, trunk still has that too |
| [04:15:40] |
<coderanger> |
qasim: I would find a good intro to postgres guide and park yourself in front of it ;-) |
| [04:16:39] |
<qasim> |
coderanger: but if you say so I can try my luck with sqlite but it gives me an error regarding apache does not have read/write access to db file |
| [04:16:58] |
<coderanger> |
qasim: And does the apache user have r/w access? |
| [04:17:06] |
<qasim> |
I was not able to solve that and there is one trac environment already installed and running on the postgresql |
| [04:17:09] |
<qasim> |
how can we give that? |
| [04:17:18] |
<coderanger> |
qasim: Check the permissions on the file |
| [04:18:21] |
<qasim> |
it does not have |
| [04:19:05] |
<qasim> |
I removed the whole environment after installing it with sqlite due to this error |
| [04:19:19] |
<qasim> |
and shifted to postgresql to get this thing done |
| [04:19:33] |
<coderanger> |
well then back to the "read up on PG" theory |
| [04:20:00] |
<qasim> |
but if you can assist me in getting those permissions right, i can still give a shot to sqlite |
| [04:20:25] |
<coderanger> |
qasim: chmod o+rw $file; chown $apacheuser $file; |
| [04:21:05] |
<qasim> |
wait, let me set up the environment first and then... |
| [04:22:07] |
* |
fwierzbicki has quit IRC |
| [04:23:23] |
<qasim> |
(The user apache requires read and write permission to the database file /var/lib/trac/test/db/trac.db and the directory it is located in. |
| [04:23:32] |
<qasim> |
this is the error i am getting |
| [04:24:24] |
<coderanger> |
I would say that is very clear |
| [04:25:11] |
<coderanger> |
chmod -r o+rw /var/lib/trac/test/d |
| [04:25:22] |
<coderanger> |
chown -R apache /var/lib/trac/test/db |
| [04:25:35] |
<coderanger> |
er, that first one should be chmod -R o+rw /var/lib/trac/test/db |
| [04:27:36] |
<qasim> |
Great !!! thank you so very much for helping me out in this regard |
| [04:34:13] |
* |
angrymike has left #trac |
| [04:35:10] |
* |
franck34 has joined #trac |
| [04:36:56] |
<franck34> |
hi all |
| [04:37:08] |
<franck34> |
got an issue with permission |
| [04:37:17] |
<franck34> |
TracError: The user root requires read _and_ write permission to the database file /var/www/trac/nebonmedia/db/trac.db and the directory it is located in. |
| [04:37:35] |
<franck34> |
apache is running as apache:apache |
| [04:37:42] |
<franck34> |
db directory is apache |
| [04:37:45] |
<franck34> |
trac.db is apache |
| [04:37:58] |
<franck34> |
i tried 777 everywhere : no luck |
| [04:38:02] |
<franck34> |
any idea please ? |
| [04:38:06] |
* |
franck34 stressy |
| [04:39:35] |
<coderanger> |
franck34: What OS? |
| [04:40:03] |
<franck34> |
FC6 |
| [04:40:09] |
<franck34> |
all installed with yum |
| [04:40:12] |
<franck34> |
as root |
| [04:40:13] |
<coderanger> |
Check that SELinux is off |
| [04:40:18] |
<franck34> |
ok |
| [04:40:32] |
<franck34> |
how ? |
| [04:40:34] |
<franck34> |
lol |
| [04:40:47] |
<coderanger> |
sestatus |
| [04:40:54] |
<franck34> |
enabled |
| [04:41:04] |
<coderanger> |
There ya go |
| [04:41:10] |
<franck34> |
how can i disable that ? |
| [04:41:11] |
<coderanger> |
http://docs.fedoraproject.org/selinux-faq-fc3/ |
| [04:41:14] |
<franck34> |
ok thx |
| [04:41:16] |
<coderanger> |
(good general guide) |
| [04:41:50] |
<coderanger> |
setenforce 0 |
| [04:42:10] |
<coderanger> |
If that fixes it, open the security control panel and disable it there |
| [04:42:20] |
<coderanger> |
(so that it will be off at startup from then on) |
| [04:42:34] |
<franck34> |
what about SELINUX=permissive |
| [04:42:44] |
<coderanger> |
Where? |
| [04:43:08] |
<franck34> |
/etc/selinux/config |
| [04:43:21] |
<coderanger> |
I don't know what FC6 uses to control it |
| [04:43:51] |
<franck34> |
ok |
| [04:43:54] |
<franck34> |
setenforce 0 is ok |
| [04:44:01] |
<coderanger> |
now it works? |
| [04:44:05] |
<franck34> |
yes |
| [04:44:13] |
* |
d0rt has joined #trac |
| [04:44:26] |
<franck34> |
i never think that selinux can make issue with trac :) |
| [04:44:28] |
<coderanger> |
also look in the wiki for info on getting Trac to work with SELinux if you want to leave it running |
| [04:44:37] |
<franck34> |
yes great thianks a lot |
| [04:44:53] |
<coderanger> |
selinux has a problem with everything it isn't explicitly handed a policy for |
| [04:45:09] |
<coderanger> |
though it would be nice if the fedora packages include a policy file |
| [04:46:13] |
<franck34> |
agree |
| [04:47:48] |
<franck34> |
thanks a lot !! |
| [04:50:59] |
* |
d0rt has quit IRC |
| [04:55:39] |
* |
d0rt has joined #trac |
| [05:13:32] |
* |
hatul30 has quit IRC |
| [05:24:53] |
* |
hatul30 has joined #trac |
| [05:41:15] |
* |
LionsMane has joined #trac |
| [06:29:51] |
<qasim> |
when i use webadmin plugin to change the project description it gives me an error that is File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request |
| [06:29:53] |
<qasim> |
why is that? |
| [06:31:28] |
* |
mDuff has joined #trac |
| [06:36:55] |
* |
stalker` has quit IRC |
| [06:46:35] |
* |
stalker` has joined #trac |
| [06:47:26] |
* |
fwierzbicki has joined #trac |
| [07:03:15] |
* |
stevegt_ has quit IRC |
| [07:08:48] |
* |
retracile has joined #trac |
| [07:23:01] |
* |
qasim has quit IRC |
| [07:26:08] |
* |
ppr has quit IRC |
| [07:28:39] |
* |
gauthierbastien has joined #trac |
| [07:28:46] |
<gauthierbastien> |
hi everybody |
| [07:29:59] |
* |
kop_ has left #trac |
| [07:32:52] |
* |
Malesca has joined #trac |
| [07:35:19] |
<Malesca> |
coderanger: You made the NavMoverPlugin, right? Get "NameError: name 'set' is not defined" with that installed. Python 2.3. Looking through the code and it seems it attempts to handle this, but perhaps incorrectly: the code does "except ImportError: from sets import Set as set" but the error is a NameError. |
| [07:38:48] |
* |
gauthierbastien_ has joined #trac |
| [07:41:21] |
<gauthierbastien_> |
we encounter a problem when installing trac on a svn repository |
| [07:41:35] |
<gauthierbastien_> |
SubversionException: ("Failed to load module for FS type 'fsfs'", 160033) |
| [07:41:40] |
<gauthierbastien_> |
what are we doing wrong ? ;-) |
| [07:41:58] |
* |
danbeck has joined #trac |
| [07:42:23] |
<gauthierbastien_> |
the subversion repos is working fine |
| [07:42:40] |
<gauthierbastien_> |
just the trac does not seems to be able connect to the svn... |
| [07:45:47] |
<Malesca> |
coderanger: Ticketed: http://trac-hacks.org/attachment/ticket/1487 |
| [07:53:09] |
<mcr> |
gauthierbastien: I got something different, when using mod_python. |
| [07:53:24] |
<mcr> |
Does it work with tracd? |
| [07:53:39] |
<mcr> |
I'm not sure if my problem was sqlite related or svn related. |
| [07:53:56] |
<mcr> |
but, I think that the apache2 linked libraries didn't work with the python ones. |
| [07:55:06] |
* |
gauthierbastien has quit IRC |
| [07:56:28] |
<pacopablo> |
guess we'll never know! ;) |
| [07:56:40] |
<retracile> |
heh :) |
| [07:56:53] |
* |
bismol has joined #trac |
| [07:57:28] |
<gauthierbastien_> |
mcr: re sorry ;-) |
| [07:57:42] |
<gauthierbastien_> |
it does not work with tracd |
| [07:58:06] |
<gauthierbastien_> |
tracd displays us a python traceback in the browser when accessing the url |
| [07:58:28] |
<pacopablo> |
gauthierbastien_: rebuild your subversion bindings |
| [07:59:12] |
<gauthierbastien_> |
pacopablo: we already rebuild SWIG with make swig-py and make install-swig-py, is there some other bindings we should rebuild ? |
| [07:59:43] |
<mcr> |
I would up running with CGI for now, until I figure out either FastCGI, or why my mod_python and Apache do not work together. I installed everything from rpmforge.net on a centos4 box that is also running freepbx/asterisk. |
| [07:59:51] |
<mcr> |
(there are some reasons I want to run this all on a single XenU) |
| [08:01:01] |
<mcr> |
(it has to do with integrating voice conferencing and ticket management, and geographically distributed pair-programming...) |
| [08:01:12] |
<gauthierbastien_> |
while using tracd with our ip directly as url, I suppose it does not pass thru apache |
| [08:01:26] |
<mcr> |
yes, that's right. and tracd doesn't have any authentication. |
| [08:01:41] |
<mcr> |
I guess it's very efficient to test code with tracd. |
| [08:01:53] |
<mcr> |
easier to do unit tests and the like. |
| [08:02:18] |
<retracile> |
mcr: (sounds interesting... Trac reading tickets into the conference calls? ;) ) |
| [08:02:30] |
<pacopablo> |
gauthierbastien_: open up a python interpreter and import the subversion bindings |
| [08:02:43] |
<mcr> |
yeah... and conference call agenda's being driven by tickets. |
| [08:03:09] |
<pacopablo> |
then try to load your svn repos |
| [08:03:10] |
<mcr> |
and using irc (later jabber) simultaenously with an IRC bot that can talk to trac... we already have one written in python, see.... |
| [08:03:23] |
<pacopablo> |
mcr: oooh ;) |
| [08:03:31] |
<retracile> |
mcr: interesting idea... how well has it worked so far? |
| [08:03:56] |
<gauthierbastien_> |
pacopablo: no problem with for example 'from svn import fs' |
| [08:04:21] |
<pacopablo> |
gauthierbastien_: the problem is when it's trying to open the actual repository |
| [08:04:53] |
<mcr> |
right now, we use hybrid-ircd, git and cvs, mantis, and pmwiki. The robot can report bugs to mantis, and the pmwiki can authenticate that way, but we don't have a way to link the commit messages back to the wiki, and the pmwiki sucks... thus we started to look at trac :-) |
| [08:05:41] |
<gauthierbastien_> |
pacopablo: yes, when i tries to, it just can not... |
| [08:06:01] |
<pacopablo> |
gauthierbastien_: then it's something with your subversion bindings ;) |
| [08:06:10] |
<pacopablo> |
gauthierbastien_: but alas I have no clue what |
| [08:06:13] |
<gauthierbastien_> |
sure ;-) |
| [08:06:13] |
<mcr> |
we do find that simultaenous IRC/jabber along with conference calls works very well. |
| [08:06:19] |
<pacopablo> |
might get a bit more help in #subversion |
| [08:06:21] |
<gauthierbastien_> |
us neither, for some hours... |
| [08:06:31] |
<gauthierbastien_> |
pacopablo: thank you ;-) |
| [08:06:53] |
<mcr> |
we can skip through bug reports, and the robot tells the channel the URL for the bug report, people click on URL, and can see it. We can update the status of the ticket from IRC. |
| [08:06:54] |
* |
rajesh has joined #trac |
| [08:07:16] |
<pacopablo> |
mcr: can you share the code for the bot? |
| [08:08:15] |
<mcr> |
at this time no, but that might change soon. At present, it was supposed to become a product, but I think that it things may change. It's based upon supybot, and it talks to mantis, not trac. |
| [08:09:02] |
<pacopablo> |
k |
| [08:09:25] |
<pacopablo> |
guess I'll just have to find some time to give some brains to evil_twin |
| [08:09:43] |
<mcr> |
the sf.net model is that you have a bunch of machines (maybe only one), and it runs a bunch of services, for multiple projects. |
| [08:09:48] |
<pacopablo> |
good luck with it either way |
| [08:09:52] |
<retracile> |
pacopablo: Yes, please. evil_twin could be a lot more useful. |
| [08:09:56] |
<mcr> |
we've seen this fail to scale. |
| [< |