| [01:18:36] |
<asmodai> |
morning |
| [01:52:59] |
* |
davecole has joined #trac |
| [01:57:19] |
<alect> |
hey asmodai |
| [01:59:04] |
<asmodai> |
Hey dude |
| [01:59:07] |
<asmodai> |
perhaps you know this |
| [01:59:08] |
<asmodai> |
def get_query_string(self, new_params=None, remove=None): |
| [01:59:12] |
<asmodai> |
if new_params is None: new_params = {} |
| [01:59:28] |
<asmodai> |
apparently this guards against bugs and memory leaks? |
| [01:59:37] |
<asmodai> |
Commit message said: Eliminated lots of mutable default arguments (since they are bugs |
| [01:59:41] |
<asmodai> |
waiting to happen and are memory leaks too). |
| [01:59:46] |
<asmodai> |
I am just trying to see why. |
| [02:02:51] |
<alect> |
no idea |
| [02:02:59] |
<alect> |
what rev is that? |
| [02:03:04] |
<davecole> |
'cos the default args are bound at compile time |
| [02:03:08] |
<asmodai> |
ah |
| [02:03:15] |
<asmodai> |
alect: it's from another project |
| [02:03:17] |
<davecole> |
so you only ever get one of them |
| [02:03:20] |
<asmodai> |
http://utcc.utoronto.ca/~cks/space/blog/python/DefAsStatementConsequence |
| [02:03:47] |
<asmodai> |
davecole: *nod* |
| [02:03:57] |
<asmodai> |
Never realised that. |
| [02:06:44] |
<alect> |
me either |
| [02:06:55] |
<alect> |
that is annoying |
| [02:07:06] |
<davecole> |
annoying when it bites :-) |
| [02:08:10] |
<asmodai> |
*nod* |
| [02:12:55] |
* |
asmodai tries to understand this, so if you call func(arg=[]) with an argument that fills arg, the next call to func() without arg, will still have arg be the stuff you filled it with the first time? |
| [02:13:04] |
<davecole> |
yup |
| [02:13:08] |
<asmodai> |
ouch |
| [02:13:17] |
<asmodai> |
That's a huge problem if you don't know that yes. |
| [02:13:29] |
<davecole> |
try def a function like that and print the id() of arg every time you call... |
| [02:13:59] |
<davecole> |
Only when you use the default does it cause problems. |
| [02:14:07] |
<davecole> |
Use the default and modify it. |
| [02:15:43] |
* |
cmlenz has joined #trac |
| [02:16:19] |
<asmodai> |
I will give that a small try. |
| [02:16:36] |
<davecole> |
http://trac.pastebin.com/757214 |
| [02:17:02] |
<davecole> |
Only bites when you use the default and modify it. |
| [02:17:15] |
<asmodai> |
crap |
| [02:17:24] |
<asmodai> |
this new dev snapshot of putty breaks the escape key |
| [02:17:53] |
<asmodai> |
hmmm |
| [02:18:04] |
<asmodai> |
that's really a vector for potential bugs |
| [02:21:00] |
<davecole> |
It sort of makes sense once you start looking inside the function. |
| [02:21:33] |
<davecole> |
If you look at f.func_defaults and f.func_code.co_varnames |
| [02:25:35] |
<alect> |
lo cmlenz |
| [02:25:52] |
<cmlenz> |
howdy |
| [02:27:57] |
* |
marlun has joined #trac |
| [02:28:52] |
<asmodai> |
moin cmlenz |
| [02:30:00] |
<marlun> |
Anyone who has experience with installing python language bindings for swig? I've intalled SWIG, and Subversion both of them seems to find my python program but when I try "make swig-py" I get a very large list of errors. If I try to the ruby and perl bindings (make swig-pl for example) it works perfectly. |
| [02:35:00] |
* |
davecole has quit IRC |
| [02:43:43] |
* |
davecole has joined #trac |
| [02:46:23] |
* |
tuxipuxi has joined #trac |
| [02:58:41] |
<marlun> |
Which version of Apache, Subversion, SWIG and Python works together with Trac? |
| [02:59:07] |
<misc> |
python 2.3 or 2.4 |
| [02:59:24] |
<misc> |
and trac just requires a working svn binding |
| [03:16:32] |
* |
Riccc`plula has joined #trac |
| [03:18:39] |
<marlun> |
It's the bindings I'm having problems with. |
| [03:18:53] |
<marlun> |
I install swig to work with python, ruby and perl. |
| [03:19:06] |
<marlun> |
SWIG and Subversion installation works fine. |
| [03:19:21] |
<marlun> |
When I try to compile the python bindings I get alot of errors. |
| [03:19:34] |
<marlun> |
the compilation and installation of ruby and perl bindings works great. |
| [03:21:08] |
<misc> |
marlun: you should ask on a subversion channel |
| [03:34:43] |
* |
Riccc has quit IRC |
| [04:01:42] |
* |
dju` has joined #trac |
| [04:12:59] |
* |
imajes has quit IRC |
| [05:15:17] |
* |
MasterC has joined #trac |
| [05:35:02] |
* |
davecole has left #trac |
| [06:10:55] |
<alect> |
hrrm |
| [06:35:35] |
<asmodai> |
mm? |
| [06:47:36] |
* |
jborg has joined #trac |
| [07:03:26] |
* |
MasterC has quit IRC |
| [08:16:35] |
* |
coderanger_ has quit IRC |
| [08:50:47] |
* |
c00i90wn has joined #trac |
| [08:53:18] |
<c00i90wn> |
Hi, I'm having this problem with my trac installation: Internal Error: Unsupported version control system "svn" |
| [08:58:52] |
<c00i90wn> |
how do I fix that? |
| [09:05:09] |
* |
luks has joined #trac |
| [09:40:43] |
<Kage> |
Anyone here mind helping me with a supposed python error I am having with trac when trying to login? |
| [10:02:04] |
* |
imajes has joined #trac |
| [10:02:12] |
* |
s0undt3ch has quit IRC |
| [10:12:39] |
* |
IceShaman has joined #trac |
| [10:32:11] |
<c00i90wn> |
mmm well, my quesion is there, if anyone has a clue please hilight me |
| [10:32:13] |
<c00i90wn> |
thanks :) |
| [10:33:04] |
<cmlenz> |
c00i90wn: svn bindings for python installed? |
| [10:33:17] |
<c00i90wn> |
cmlenz: yes |
| [10:33:40] |
<cmlenz> |
can you please double check? I can't think of any other cause |
| [10:33:54] |
<c00i90wn> |
cmlenz: yes, how can I check that? |
| [10:34:01] |
<cmlenz> |
python -c "import svn" |
| [10:34:04] |
<cmlenz> |
from the command line |
| [10:34:35] |
<c00i90wn> |
yes, they are :) |
| [10:34:50] |
<c00i90wn> |
I don't get tracebacks errors when doing that |
| [10:34:55] |
<cmlenz> |
weird |
| [10:35:13] |
<cmlenz> |
are you getting the error from trac-admin? |
| [10:35:25] |
<cmlenz> |
or in which context? |
| [10:35:49] |
<c00i90wn> |
in both, trac-admin and the project page |
| [10:35:57] |
<c00i90wn> |
(in browse source) |
| [10:36:05] |
<c00i90wn> |
I'm using the latest trac trunk |
| [10:36:16] |
<c00i90wn> |
and svn 1.3.2 |
| [10:38:03] |
<c00i90wn> |
one example of my mltiple projects: http://dev.litestep.com/projects/xDesktop/browser |
| [10:39:10] |
<c00i90wn> |
in timeline I get this error also: Repository checkins event provider (ChangesetModule) failed: |
| [10:39:13] |
<c00i90wn> |
TracError: Unsupported version control system "svn" |
| [10:47:21] |
<c00i90wn> |
cmlenz: no more clues on this? |
| [10:50:55] |
* |
Kage has quit IRC |
| [10:52:30] |
<cmlenz> |
not really :-/ |
| [10:55:15] |
<c00i90wn> |
:S |
| [10:55:57] |
<c00i90wn> |
if you don't have any more clues I'm in big trouble then :| |
| [10:58:48] |
<c00i90wn> |
cmlenz: before upgrading to latest trunk I had an error message that said something fsfs not found |
| [10:59:33] |
<c00i90wn> |
I don't know if that help though |
| [10:59:41] |
<c00i90wn> |
+s |
| [11:08:01] |
* |
MasterC has joined #trac |
| [11:12:05] |
<jborg> |
c00i90wn, do you get any traceback when you run python -c "import svn.fs" ? |
| [11:16:55] |
* |
timonator is now known as rotaticus |
| [11:17:41] |
* |
rotaticus is now known as rotanomit |
| [11:19:09] |
* |
rotanomit is now known as timonator |
| [11:21:32] |
* |
cmlenz has quit IRC |
| [11:24:16] |
* |
pabl0 has joined #trac |
| [11:24:17] |
<pabl0> |
hey |
| [11:25:32] |
<c00i90wn> |
jborg: ImportError: /usr/lib/libsvn_fs_base-1.so.0: undefined symbol: db_strerror_4002 |
| [11:25:37] |
<pabl0> |
ok, I'm getting lot of spam in my Trac, I know that a possible solution will be to update to subversion but i'd not like to do that..so.. |
| [11:25:46] |
<pabl0> |
how can I require an user to have an account? |
| [11:27:16] |
<jborg> |
c00i90wn, ok, looks like your svn bindings for python installation is broken somehow. |
| [11:27:34] |
<c00i90wn> |
jborg: what should I do? |
| [11:27:57] |
<c00i90wn> |
recompile them? |
| [11:28:03] |
<jborg> |
c00i90wn, probably easiest to reinstall it. But the error message suggest you no longer has the required berkeley db library installed. |
| [11:28:27] |
<jborg> |
s/has/have/ |
| [11:28:45] |
<c00i90wn> |
jborg: yes that's right, I compiled svn without berkley db support |
| [11:29:06] |
<c00i90wn> |
should I recompile them with berkley db support? |
| [11:29:52] |
<c00i90wn> |
and then recompile bindings |
| [11:31:23] |
<jborg> |
has svn previously been installed with bdb support? |
| [11:31:48] |
<c00i90wn> |
jborg: yes |
| [11:31:49] |
* |
cmlenz has joined #trac |
| [11:32:05] |
<c00i90wn> |
jborg: but since I didn't used bdb I compiled without |
| [11:32:36] |
<jborg> |
c00i90wn, ok, but then you probably forgot to rebuild the bindings |
| [11:32:57] |
<c00i90wn> |
jborg: nope, I rebuild the bindings |
| [11:33:06] |
<c00i90wn> |
that's why it's weird |
| [11:33:06] |
* |
tuxipuxi has quit IRC |
| [11:33:48] |
<jborg> |
c00i90wn, ok, it's probably easiest to remove the installed version of svn and the bindings and rebuild from scratch (with or without bdb) |
| [11:34:08] |
<c00i90wn> |
jborg: ok going to do that |
| [11:36:55] |
* |
imajes has quit IRC |
| [12:12:48] |
* |
jborg has quit IRC |
| [12:14:31] |
* |
cmlenz has quit IRC |
| [12:25:23] |
* |
s0undt3ch has joined #trac |
| [12:27:19] |
<marlun> |
is there a de facto standard path where many put their trac enviorments? |
| [12:28:05] |
<misc> |
no |
| [12:28:13] |
<levander> |
marlun: i don't think so, i just read some beginner docs the other day, no mention of one. On ubuntu, stuff like that seems to go into /var/lib |
| [12:28:40] |
<levander> |
I put my trac environments in /var/lib/trac |
| [12:29:30] |
<marlun> |
ok :) |
| [12:31:06] |
* |
asmodai uses /usr/local |
| [12:31:12] |
<asmodai> |
/usr/local/trac even |
| [12:31:24] |
<asmodai> |
But that's more BSD style. |
| [12:32:24] |
<dilinger> |
i go w/ /usr/local/trac, too |
| [12:34:39] |
* |
c00i90wn has left #trac |
| [12:39:50] |
* |
s0undt3ch has quit IRC |
| [12:41:14] |
<asmodai> |
dilinger: Whatever works for $PERSON |
| [12:44:14] |
* |
c00i90wn has joined #trac |
| [12:44:16] |
<dilinger> |
yep |
| [12:45:21] |
<c00i90wn> |
ah, I forgot to ask, I want to authenticate my trac logins with a python script, what .py should I modify? |
| [12:47:07] |
* |
whitelynx|laptop has quit IRC |
| [12:47:12] |
* |
cmlenz has joined #trac |
| [12:52:33] |
* |
tenshiKur0 has joined #trac |
| [12:53:20] |
* |
__doc__ has joined #trac |
| [12:58:00] |
* |
tenshiKur0 has quit IRC |
| [13:02:59] |
* |
s0undt3ch has joined #trac |
| [13:07:07] |
<marlun> |
when I try to create a trac enviorment I get this error message: Failed to create environment. global name 'sqlite' is not defined |
| [13:07:22] |
<marlun> |
I've PySQLite installed. |
| [13:08:12] |
<marlun> |
I've got no idea whats wrong. |
| [13:09:48] |
<asmodai> |
start python from a shell |
| [13:09:50] |
<asmodai> |
type: |
| [13:09:52] |
<asmodai> |
import sqlite |
| [13:09:56] |
<asmodai> |
and see if that works |
| [13:10:30] |
<marlun> |
ImportError: No module named sqlite |
| [13:10:31] |
<marlun> |
argh |
| [13:10:31] |
* |
__doc__ has left #trac |
| [13:10:34] |
<marlun> |
hmmm |
| [13:11:10] |
<marlun> |
so the pysqlite was not installed correctly? |
| [13:13:49] |
* |
coderanger_ has joined #trac |
| [13:14:51] |
<asmodai> |
Apparently |
| [13:15:12] |
<asmodai> |
check your python*/site-packages |
| [13:25:06] |
* |
imajes has joined #trac |
| [13:47:29] |
* |
tuxipuxi has joined #trac |
| [13:50:07] |
* |
tag has quit IRC |
| [13:53:18] |
<marlun> |
asmodai, there is a pysqlite2 folder in the site-packages |
| [13:53:40] |
<marlun> |
however i seem to have both python2.3 and python2.4 |
| [13:53:51] |
* |
EriSanHome has joined #trac |
| [13:54:43] |
<EriSanHome> |
any1 awake or better wait till tomorrow ? |
| [13:55:52] |
<coderanger_> |
Yep |
| [13:56:14] |
<coderanger_> |
There people spread out enough over the globe that there is almost always someone in here |
| [13:56:50] |
<EriSanHome> |
cool |
| [13:57:08] |
<EriSanHome> |
i installed trac + svn following this guide: http://projects.edgewall.com/trac/wiki/TracOnRhel4 |
| [13:57:23] |
<EriSanHome> |
but i'm a bit lost as what are the next steps |
| [13:58:10] |
<EriSanHome> |
ie, are the user accounts shared between trac and svn? |
| [13:58:24] |
<coderanger_> |
What frontend are you planning to use? |
| [13:58:46] |
<EriSanHome> |
frontend ? |
| [13:59:21] |
<coderanger_> |
CGI/FCGI/mod_python/tracd |
| [13:59:38] |
<EriSanHome> |
ah mod_python |
| [13:59:59] |
<coderanger_> |
And you are using DAV for subversion? |
| [14:00:04] |
<EriSanHome> |
yep |
| [14:01:13] |
<coderanger_> |
Then its all done under the user Apache runs as |
| [14:01:22] |
<EriSanHome> |
btw, what is the default user/pass to login to trac? |
| [14:02:07] |
<coderanger_> |
There isnt one |
| [14:02:28] |
<coderanger_> |
It uses HTTP auth, so you have to configure something in Apache |
| [14:03:28] |
<EriSanHome> |
hm, so user management is all handled by apache (for both trac and svn)? |
| [14:07:41] |
<EriSanHome> |
if i add a user with trac-admin i still need to add that user also to apache ? |
| [14:08:33] |
<coderanger_> |
You can't add users in trac-admin |
| [14:09:27] |
<coderanger_> |
You either need to setup your own authentication in Apache, or install one of the alternate authentication plugins |
| [14:11:50] |
<EriSanHome> |
ic, will keep on looking :/ |
| [14:11:53] |
<coderanger_> |
Usually you just use htpasswd authenication, and then manage the user list with the htpasswd utility |
| [14:12:01] |
<coderanger_> |
(Which is part of apache) |
| [14:12:19] |
<coderanger_> |
If you do that, then yes, both subversion DAV and Trac can use the same passwd file) |
| [14:13:33] |
* |
mgalvin has joined #trac |
| [14:14:03] |
* |
mgalvin has quit IRC |
| [14:15:18] |
<EriSanHome> |
so both trac.conf and subversion.conf need to point to the same password file ? |
| [14:17:27] |
* |
imajes has quit IRC |
| [14:27:53] |
* |
dju` has quit IRC |
| [14:33:46] |
<coderanger_> |
EriSanHome: No, all authentication for both Trac and Subversion DAV is handled by Apache via HTTP auth |
| [14:34:42] |
<coderanger_> |
Neither has any mechanism for authentication, they assume Apache will have done it and set the remote_user variable by the time it gets to them |
| [14:35:19] |
* |
MasterC has quit IRC |
| [14:36:51] |
* |
mgalvin has joined #trac |
| [14:36:52] |
<EriSanHome> |
k, i managed to get the authentication working and assigned myself the TRAC_ADMIN level |
| [14:37:15] |
<EriSanHome> |
but i still don't see any configuration stuff in the webgui ?? |
| [14:38:17] |
<coderanger_> |
There isn't any by default. You can download WebAdmin if you want that |
| [14:38:34] |
<EriSanHome> |
oh |
| [14:38:34] |
<coderanger_> |
@webadmin |
| [14:38:34] |
<evil_twin> |
coderanger_: "webadmin" is http://projects.edgewall.com/trac/wiki/WebAdmin |
| [14:39:39] |
<mitsuhiko> |
hiho |
| [14:39:44] |
<EriSanHome> |
hehe, using supybot ? |
| [14:39:52] |
<mitsuhiko> |
i'm looking for a plugin |
| [14:40:06] |
<mitsuhiko> |
a plugin that searches all .py files for |
| [14:40:08] |
<mitsuhiko> |
#XXX |
| [14:40:14] |
<mitsuhiko> |
#TODO |
| [14:40:15] |
<mitsuhiko> |
... |
| [14:40:16] |
<coderanger_> |
mitsuhiko: RepoSearch |
| [14:40:26] |
<mitsuhiko> |
and lists that on a page |
| [14:40:48] |
<coderanger_> |
That part it wont do |
| [14:40:59] |
<mitsuhiko> |
i know |
| [14:41:48] |
<mitsuhiko> |
oki. then i'll implement it myself |
| [14:57:23] |
<EriSanHome> |
probably i missed something somewhere, i installed webadmin but i don't see the admin tab, any idea ? |
| [14:58:09] |
<coderanger_> |
EriSanHome: How did you install it? |
| [14:58:28] |
<coderanger_> |
site-packages/ or the env plugins/ folder? |
| [14:59:03] |
<EriSanHome> |
i did: easy_install TracWebAdmin-0.1.1dev_r2765-py2.3.egg |
| [14:59:35] |
<matt_good> |
you need to enable it in trac.ini |
| [14:59:55] |
<matt_good> |
EriSanHome: http://projects.edgewall.com/trac/wiki/WebAdmin#EnablingthePlugin |
| [15:00:14] |
<EriSanHome> |
i have [components] |
| [15:00:14] |
<EriSanHome> |
webadmin.* = enabled |
| [15:00:20] |
<EriSanHome> |
in trac.ini |
| [15:02:15] |
<EriSanHome> |
any other ideas (allready restarted apache to no avail) |
| [15:04:52] |
<coderanger_> |
Anything in the logs? |
| [15:04:54] |
<coderanger_> |
@logging |
| [15:04:54] |
<evil_twin> |
coderanger_: "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. |
| [15:05:01] |
<marlun> |
What could be wrong if I've installed PySQLite, it's a pysqlite2 folder in the site-packages folder, but trac doesn't seem to see it, when I try to make a trac enviorment I get: "Failed to create environment. global name 'sqlite' is not defined" |
| [15:07:07] |
<mitsuhiko> |
hmm |
| [15:07:22] |
<mitsuhiko> |
how can i get the time of the last commit? |
| [15:08:50] |
<coderanger_> |
matt_good: Got a second? |
| [15:09:06] |
<matt_good> |
coderanger_: ok |
| [15:09:55] |
<coderanger_> |
Is there a reason add_javascript and add_stylesheet prepend /chrome? |
| [15:09:57] |
* |
stevegt has quit IRC |
| [15:10:28] |
<matt_good> |
coderanger_: I'm not sure |
| [15:11:07] |
<mitsuhiko> |
hmmmm |
| [15:11:26] |
<EriSanHome> |
coderanger_, log --> http://pastebin.com/758571 |
| [15:11:35] |
<coderanger_> |
Hmm, I am trying to do some stuff with dynamically generated javascript, but there doesn't seem to be a way to get it into the template |
| [15:12:05] |
<coderanger_> |
EriSanHome: And you said you gave "erisan" TRAC_ADMIN? |
| [15:12:13] |
<EriSanHome> |
yes |
| [15:12:28] |
<coderanger_> |
Dunno then, look at /about/plugins |
| [15:12:29] |
<mitsuhiko> |
mac__: got a sec? |
| [15:12:43] |
* |
marlun has quit IRC |
| [15:13:00] |
<coderanger_> |
matt_good: I should probably ask on trac-dev |
| [15:15:12] |
<mitsuhiko> |
does the root node change each commit? |
| [15:15:21] |
<mitsuhiko> |
just need the time of the last commit |
| [15:16:05] |
<coderanger_> |
mitsuhiko: You may be better off asking in #svn or something, few of us here know the bindings |
| [15:16:18] |
<mitsuhiko> |
coderanger_: it's trac code |
| [15:16:21] |
<mitsuhiko> |
not svn |
| [15:16:28] |
<mitsuhiko> |
http://projects.edgewall.com/trac/browser/trunk/trac/versioncontrol/api.py |
| [15:16:55] |
<coderanger_> |
The Trac versioncontrol bindings are (at least last I looked) a pretty thin layer over the subversion library |
| [15:17:23] |
<matt_good> |
mitsuhiko: you can probably get it off "repos.get_youngest_rev()" |
| [15:17:54] |
<mitsuhiko> |
matt_good: that returns a Node object? |
| [15:18:52] |
<matt_good> |
it returns the revision number |
| [15:19:45] |
<matt_good> |
if you just need the time, then "repos.get_changeset(rev)" and that should have a time on it |
| [15:19:54] |
<mitsuhiko> |
ah. oki |
| [15:19:55] |
<mitsuhiko> |
thyx |
| [15:21:52] |
<mitsuhiko> |
chset.date is a unix timestamp? |
| [15:33:17] |
* |
imajes has joined #trac |
| [15:54:28] |
* |
Kage has joined #trac |
| [15:54:36] |
<Kage> |
Anyone around? |
| [15:55:23] |
<coderanger_> |
Hmm, what would you guys think of this as a feature: If you use EnvParentPath, have a default env so that if you request a path that isn't a subenv, it acts like it was the same path on the default env? |
| [15:55:26] |
<coderanger_> |
Kage: Yep |
| [15:55:51] |
<Kage> |
coderanger_, capable of helping me debug why Trac won't let me login? |
| [15:56:00] |
<coderanger_> |
I can try |
| [15:56:08] |
* |
DDK has joined #trac |
| [15:57:47] |
<Kage> |
http://pastebin.com/756271 |
| [15:57:52] |
<Kage> |
That's my error upon login |
| [15:59:36] |
<coderanger_> |
Kage: You have to configure AccountManager before using it |
| [15:59:43] |
<Kage> |
I did |
| [16:00:20] |
<coderanger_> |
pastebin your trac.ini? |
| [16:00:48] |
<Kage> |
Hold on |
| [16:00:52] |
* |
mgalvin has quit IRC |
| [16:01:46] |
<Kage> |
[account-manager] |
| [16:01:46] |
<Kage> |
password_format = htpasswd |
| [16:01:46] |
<Kage> |
password_file = /var/www/beta.hackthissite.org/trac/users.htpasswd |
| [16:02:13] |
<DDK> |
hi, my source code is encoded in big5, cannot show in trac browse source pages. |
| [16:02:15] |
<Kage> |
users.htpasswd is own: www, group: beta (the account that trac is under) |
| [16:03:06] |
<coderanger_> |
Hmm |
| [16:03:14] |
<DDK> |
i try to modify default_charset, set it to big5, but get errors. |
| [16:03:17] |
<coderanger_> |
DDK: Have you tried trunk? |
| [16:03:37] |
<DDK> |
no. |
| [16:04:11] |
<coderanger_> |
There have been a looot of additions as far as internationalization |
| [16:04:41] |
<Kage> |
coderanger_, I need some help here :/ |
| [16:04:51] |
<DDK> |
i don't know how to manage by using trunk yet. |
| [16:05:06] |
<coderanger_> |
Kage: Go to /about/config |
| [16:05:15] |
<Kage> |
Ok, hold on |
| [16:05:20] |
<coderanger_> |
Do you see the account-manager section? |
| [16:05:43] |
<Kage> |
Where's about/config? |
| [16:05:45] |
<mitsuhiko> |
arg |
| [16:05:53] |
<mitsuhiko> |
trunk of trac broken? |
| [16:06:28] |
<Kage> |
Permission Denied |
| [16:06:28] |
<Kage> |
CONFIG_VIEW privileges are required to perform this operation |
| [16:06:35] |
<mitsuhiko> |
Internal Error |
| [16:06:36] |
<mitsuhiko> |
Unsupported version control system "svn" |
| [16:06:39] |
<mitsuhiko> |
... |
| [16:06:40] |
<Kage> |
coderanger_, I can't login, dude |
| [16:06:40] |
<coderanger_> |
mitsuhiko: Possible, but unlikely |
| [16:06:56] |
<coderanger_> |
Kage: Well the give anonymous TRAC_ADMIN for the moment or something |
| [16:07:06] |
<Kage> |
coderanger_, I CAN'T. |
| [16:07:31] |
<coderanger_> |
Kage: Um, yes, you can, use trac-admin /path/to/env permission add anonymous TRAC_ADMIN |
| [16:07:51] |
<Kage> |
In shell? |
| [16:07:55] |
<coderanger_> |
Yes |
| [16:08:19] |
<Kage> |
And what's my path/to/env ? |
| [16:08:27] |
* |
mgalvin has joined #trac |
| [16:08:30] |
<Kage> |
I didn't set this thing up, by the way |
| [16:08:41] |
<Kage> |
My bitch of a co-admin told me to fix it after he fucked it up |
| [16:09:32] |
<coderanger_> |
Kage: The dir that has conf/trac.ini in it |
| [16:10:23] |
<Kage> |
Done |
| [16:10:25] |
<Kage> |
Now what? |
| [16:10:31] |
<coderanger_> |
You should now be able to view the config |
| [16:10:32] |
<DDK> |
coderanger_, as far as i know, trunk is used for project management, does it related to encoding? |
| [16:10:38] |
<Kage> |
I can. Now what? |
| [16:10:49] |
<coderanger_> |
Look for the account-manager section |
| [16:10:57] |
<coderanger_> |
That shows how trac thinks your config is |
| [16:11:00] |
<Kage> |
account-manager password_file /var/www/beta.hackthissite.org/trac/users.htpasswd |
| [16:11:00] |
<Kage> |
password_format htpasswd |
| [16:11:04] |
<Kage> |
Same thing I showed you. |
| [16:13:01] |
<coderanger_> |
Hrm, how do you have the plugin installed? |
| [16:13:33] |
<coderanger_> |
DDK: I'm sorry, I don't understand what you are asking |
| [16:13:43] |
<Kage> |
coderanger_, what do you mean? |
| [16:14:03] |
<coderanger_> |
Kage: Nevermind, I can tell from the traceback |
| [16:14:12] |
<coderanger_> |
Do you see any errors in the log? |
| [16:14:20] |
<Kage> |
The log is full of debug |
| [16:14:23] |
<Kage> |
Lemme check |
| [16:14:26] |
<coderanger_> |
(other than that one of course) |
| [16:14:29] |
<Kage> |
What should I grep for? |
| [16:14:50] |
<coderanger_> |
Just tail -f it, and try logging in |
| [16:14:56] |
<Kage> |
My co-admin said: |
| [16:14:57] |
<Kage> |
[07:12:59P] [&IceShaman] in [component |
| [16:14:57] |
<Kage> |
[07:13:11P] [&IceShaman] acct_mgr.web_ui.loginmodule enabled |
| [16:15:04] |
<Kage> |
That's how it's installed |
| [16:15:20] |
<DDK> |
i mean: trac can't browse big5 encoding source code. |
| [16:15:46] |
<coderanger_> |
DDK: If the problem exists in trunk, file a ticket. If this is in 0.9.x, try trunk |
| [16:16:31] |
<coderanger_> |
Kage: The only thing I can think of is that the password stores aren't loading |
| [16:16:49] |
<DDK> |
mine is 0.9.5, newest one. |
| [16:16:56] |
<DDK> |
i will try trunk |
| [16:17:00] |
<Kage> |
coderanger_, this is the error |
| [16:17:02] |
<Kage> |
Incoming |
| [16:17:03] |
<Kage> |
23:16:20 Trac[main] ERROR: No password store found. Please configure "account-manager.password_format" in trac.ini. |
| [16:17:03] |
<Kage> |
Traceback (most recent call last): |
| [16:17:04] |
<Kage> |
File "/usr/local/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler |
| [16:17:04] |
<Kage> |
dispatch_request(mpr.path_info, mpr, env) |
| [16:17:04] |
* |
Kage has quit IRC |
| [16:17:22] |
<coderanger_> |
And this is why we use pastebin ... |
| [16:17:49] |
* |
Kage has joined #trac |
| [16:17:52] |
<Kage> |
Oopsie |
| [16:17:56] |
<Kage> |
Anyway, that's the error |
| [16:18:21] |
<mitsuhiko> |
how can i find out why trac refuses to load my egg? |
| [16:18:33] |
<coderanger_> |
Kage: Thats the only error in the log? |
| [16:18:40] |
<Kage> |
coderanger_, yes |
| [16:18:44] |
<Kage> |
When I try to login |
| [16:19:31] |
<Kage> |
It's this code: |
| [16:19:32] |
<Kage> |
http://pastebin.com/758658 |
| [16:19:37] |
<Kage> |
That's what's causing the error |
| [16:19:37] |
<coderanger_> |
Kage: In /about/plugins, do you see an entry for HtPasswdStore |
| [16:20:48] |
<Kage> |
No |
| [16:21:05] |
<coderanger_> |
Well then thats the problem, the password store module isn't loading |
| [16:21:24] |
<coderanger_> |
Do you have the plugin installed as an egg, and if so, where? |
| [16:21:42] |
<Kage> |
I don't know, how do I find it? |
| [16:22:00] |
<coderanger_> |
look in /path/to/env/plugins |
| [16:22:23] |
<coderanger_> |
It would be something like AccountManagerPlugin.py2.x.egg |
| [16:22:59] |
<Kage> |
[beta@beta /var/www/beta.hackthissite.org/trac/plugins]$ ls |
| [16:23:00] |
<Kage> |
TracAccountManager-0.1.2.egg2 TracWebAdmin-0.1.1dev_r2765-py2.4.egg tracchangelog-0.1-py2.4.egg |
| [16:23:00] |
<Kage> |
TracEmoticons-0.1-py2.4.egg WantedPages-0.1-py2.4.egg |
| [16:23:01] |
<Kage> |
Nope |
| [16:23:52] |
<coderanger_> |
Okay, its TracAccountManager-0.1.2.egg |
| [16:23:57] |
<Kage> |
Ok |
| [16:24:29] |
<coderanger_> |
I would recomend deleting that, and trying the install from svn |
| [16:26:04] |
<coderanger_> |
easy_install -m --install-dir=/path/to/env/plugins http://trac-hacks.org/svn/accountmanagerplugin/0.9 |
| [16:31:07] |
<Kage> |