Team Chat Logs

2006 11
Mo Tu We Th Fr Sa Su
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

December 03, 2006

[00:01:41] * prologic has quit IRC
[00:14:47] * hpnadig has joined #trac
[00:47:47] * lelit has joined #trac
[00:50:56] * Zaw has left #trac
[00:53:00] * _johnjosephbachi has quit IRC
[01:14:54] * m_g has joined #trac
[01:22:53] * victori has joined #trac
[01:23:03] <victori> hmm having a terrible spam problem on my trac page
[01:23:12] <victori> how would I install that regex.py filter?
[01:25:57] <coderanger> just install spamfilter
[01:26:12] <coderanger> and then put regexes in the wiki page BadContent
[01:26:18] <victori> hmm
[01:26:21] <coderanger> look at trac-hacks.org/wiki/BadContent for an example
[01:26:22] <victori> AttributeError: 'NoneType' object has no attribute 'group'
[01:26:33] <coderanger> when installing?
[01:26:39] <coderanger> upgrade setuptools
[01:26:40] <victori> yes
[01:26:41] <victori> k
[01:26:53] <coderanger> they needed to change some things for subversion 1.4
[01:27:12] <victori> god I hate spammers ;-/
[01:27:20] * pygi has joined #trac
[01:29:52] <coderanger> yeah, they do suck
[01:30:04] <coderanger> luckily spamfilter 0.2 has been very effective
[01:30:18] <coderanger> trac-hacks is down to <10 month that get through
[01:30:26] <coderanger> out of 2-5 attempts a minute
[01:41:47] <victori> and how can you tell if spamfilter is on?
[01:45:08] <victori> http://fceu.lamer0.com/fceu_cocoa/login login broken
[01:45:38] <coderanger> thats not related to spam filter
[01:45:58] <coderanger> the plugin is indeed loading
[01:46:06] <victori> and you can tell how?
[01:46:11] <coderanger> magic ;-)
[01:46:17] <victori> no seriously, please
[01:46:27] <coderanger> append ?hdfdump=1 to any trac page
[01:46:36] <coderanger> you will get a full dump of the HDF used to form the page
[01:46:43] <coderanger> included in that is the template folders
[01:46:53] <coderanger> you can see the tracspamfilter templates loading
[01:46:59] <victori> ah perfect, except I can't get logins working correctly
[01:47:07] <coderanger> what server?
[01:47:12] <victori> been reading the docs, apache2 on the backend
[01:47:15] <victori> lighttpd on the frontend
[01:47:22] <victori> mod_python
[01:47:22] <coderanger> pastebin your config
[01:47:24] <victori> k
[01:47:37] <coderanger> why not just run through lighty?
[01:47:53] <victori> processes goes up to 100megs
[01:48:03] <coderanger> ah yes
[01:48:04] <victori> embedded processor is running that
[01:48:09] <victori> with only 128 megs
[01:48:10] <coderanger> the fabled memory leaks
[01:48:41] * coderanger is an Apache junkie anyway
[01:48:45] <victori> sec
[01:49:08] <pygi> coderanger, fixed links in css, but robots thingy still not working =)
[01:49:10] <victori> http://pastebin.ca/265477
[01:49:17] <coderanger> pygi: robotstxt?
[01:49:23] <pygi> coderanger, yup
[01:49:27] <coderanger> whats not working
[01:49:33] <victori> btw not too crazy about apache, considering any mods installed are retained in each instance - not cool
[01:49:36] <pygi> well, google doesnt pick it up :)
[01:49:55] <coderanger> pygi: Can you see it?
[01:50:03] <victori> only time I wanted to have it that way was for mod_perl and that did not work out all too well
[01:50:10] <coderanger> victori: Thats why you tune down the number of instances
[01:50:20] <pygi> coderanger, I can see robots.txt yes, but it doesn't help me since google can't :P
[01:50:26] <coderanger> victori: I run Trac using a single worker process
[01:50:35] <coderanger> victori: but thats neither here nor there
[01:50:46] <victori> coderanger: so what is up with my config and auth?
[01:50:58] <coderanger> you need to add a <Location /login> and force HTTP auth on it
[01:51:12] <victori> I did
[01:51:17] <victori> and it completely did not work
[01:51:21] <victori> well let me try again
[01:51:26] <coderanger> I dont see that in your current config
[01:51:31] <coderanger> pygi: Dunno then
[01:51:32] <victori> /login or /fceu_cocoa/login
[01:51:34] <victori> ?
[01:51:57] <coderanger> victori: Based on this config, the Trac should be rooted at /
[01:52:17] <victori> its not
[01:52:19] <coderanger> you probably also need a <Location />
[01:52:21] <victori> /fceu_cocoa is needed
[01:52:33] <coderanger> http://www.coderanger.net/~coderanger/httpd/sdd.conf
[01:52:39] <coderanger> theres an example config
[01:53:07] <coderanger> pygi: If you can get to it from your browser, I don't know why Google would have issues
[01:53:19] <victori> [Sun Dec 03 01:23:41 2006] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /fceu_cocoa/login, referer: http://fceu.lamer0.com/fceu_cocoa/
[01:53:35] <pygi> coderanger, dunno really :P
[01:53:45] <victori> oh
[01:53:46] <victori> its me
[01:54:52] <coderanger> victori: http://pastebin.ca/265478
[01:55:18] <coderanger> pygi: I would send an email to google support
[01:55:28] <coderanger> maybe they need something funky in the robots.txt file
[01:56:01] <pygi> coderanger, it says that it cannot locate file, but lemme submit it again and see what happens
[01:56:26] <coderanger> your not talking about the sitemap file, right?
[01:56:34] <pygi> nop
[01:56:35] <victori> coderanger: why some where else?
[01:56:51] <pygi> coderanger, but when I submit sitemap, it tells me it cannot locate robots.txt
[01:57:00] <coderanger> victori: huh?
[01:57:06] <victori> DocumentRoot /var/www/<somewhere else>
[01:57:10] <victori> why somewhere else?
[01:57:13] <coderanger> victori: Security
[01:57:18] <victori> k
[01:57:38] <coderanger> if something goes wrong, with the docroot as the base of the trac env, someone might be able to download unthing under there
[01:57:44] <coderanger> er, anything
[01:58:01] <coderanger> like the database if you are using sqlite
[01:58:19] <coderanger> you can just make an empty folder and point it there
[01:59:14] <victori> http://fceu.lamer0.com/
[01:59:20] <victori> see what happens when no /fceu_cocoa
[01:59:51] <coderanger> victori: No CSS?
[02:00:01] <victori> file paths all broken
[02:00:19] <coderanger> still loading the site, my computer is a bit grumpy at me
[02:00:29] <coderanger> been running simulations all day
[02:00:30] <victori> its my embedded unit
[02:00:32] <victori> not the site
[02:00:36] <victori> err your comp
[02:00:39] <victori> sorry its late
[02:00:59] <coderanger> that sounds like a forwarding issue then
[02:01:28] <coderanger> which is it supposed to be?
[02:01:36] <victori> ?
[02:01:49] <coderanger> do you want it as / or /fceu_cocoa
[02:01:57] <victori> /fceu_cocoa
[02:02:07] <coderanger> okay, then its fine
[02:02:08] <victori> since I have a site linked to it in that fashion
[02:02:12] <coderanger> and login should be okay now
[02:02:55] <victori> yikes is trac slow on this unit
[02:03:16] <coderanger> what is it running on
[02:03:27] <victori> 233mhz geode / 128mb ram netbsd
[02:03:38] <coderanger> ouch
[02:03:48] <coderanger> not sure much can be done to help that :P
[02:03:55] <victori> its specifically the cpu thats hogging it not the memory
[02:04:30] <coderanger> yeah, 233MHz is somewhat slow compared to what most people use for servers
[02:04:54] <victori> its a personal router/svn dump which also hosts a few personal projects of mine
[02:05:49] <coderanger> yeah, and itl work, just slow as you said
[02:06:07] <coderanger> you could try off loading the DB work onto a remote box using postgres
[02:06:46] <victori> sqlite is *that* slow?
[02:07:12] <coderanger> you are talking about a machine that is an order of magnitude slower than your average server today
[02:07:34] <coderanger> its just not what people write webapps for
[02:09:27] <victori> there was this one trac alternative that run *fast* can't seem to remember the anme'
[02:09:29] <victori> name*
[02:09:52] <coderanger> trac is pretty fast, take a look at www.coderanger.net
[02:10:23] <coderanger> that barely peaks over 10-20% CPU under heavy load
[02:10:49] <victori> coderanger: since your here, what about multiple projects under svntrac/
[02:11:05] <coderanger> what do you mean?
[02:11:11] <victori> can I have /fceu_cocoa
[02:11:22] <victori> and throw in my projects
[02:11:28] <victori> so /projects
[02:11:46] <victori> multiple svn repositiories
[02:12:01] <coderanger> sure, map /projects to a vhost set with PythonOption TracEnvParentDir /var/www/trac
[02:12:16] <coderanger> works the same way as SVNParentDir
[02:12:44] <coderanger> its 5AM over here, I should probably get some sleep
[02:12:49] <victori> same
[02:12:58] <victori> which is why I am blabbling
[02:13:06] <coderanger> 5?
[02:13:07] <victori> ok I am off good night and thank you
[02:13:08] <victori> no
[02:13:09] <victori> 2:03
[02:13:11] <coderanger> or 3 :P
[02:13:14] <victori> but I am a morning bird
[02:13:17] <coderanger> heh
[02:13:21] <coderanger> gnite
[02:13:24] <victori> considering I wake up at 6am
[02:13:26] <victori> ok night
[02:21:48] * maxb has joined #trac
[02:33:42] * pygi notes that google cached his robots.txt but still claims there is no robots.txt, therefore it refuses to index :-/
[02:39:01] <pygi> coderanger, no wonder site didnt get crawled
[02:39:11] <pygi> since trac itself doesn't allow bots to crawl the site
[02:43:11] * alfred has joined #trac
[02:44:13] * hpnadig has quit IRC
[02:59:35] * Niels- has joined #trac
[03:05:18] * _shawn has quit IRC
[03:15:25] * tkp_ has quit IRC
[03:19:27] * jordi has joined #trac
[03:19:48] <jordi> hey
[03:20:25] <jordi> is thre a quick way to get rid of all my tickets^Wspams in one command?
[03:20:31] <jordi> I don't see anything like that in trac-admin
[03:21:06] <jordi> possibly just at sqlite level?
[03:25:39] <pygi> jordi, you mean delete tickets?
[03:25:44] * _shawn has joined #trac
[03:26:59] <jordi> pygi: yes
[03:27:11] <jordi> one of my projects was badly hit by spammers
[03:27:15] <jordi> I have like 600 tickets
[03:27:18] <pygi> jordi, there is a ticketdelete plugin in Trac Hacks
[03:27:21] <pygi> @hacks
[03:27:21] <evil_twin> pygi: "hacks" is http://trac-hacks.org <-- Plugins, Macros, etc.
[03:27:23] <jordi> none of them valid
[03:27:40] <pygi> jordi, see above link and search for ticket delete plugin
[03:27:45] <jordi> pygi: hm, this is running 0.9 still though. Will it work?
[03:27:51] <pygi> jordi, yes
[03:27:59] <jordi> good
[03:28:01] <pygi> you also need webadmin I think
[03:28:05] <pygi> @webadmin
[03:28:05] <evil_twin> pygi: "webadmin" is http://trac.edgewall.org/wiki/WebAdmin
[03:28:06] <jordi> I have disabled all anonymous acces now though
[03:33:28] <jordi> hmm, actually installing these two plugins for a 1 time thing...
[03:33:56] <jordi> I'm looking at doing it directly in sqlite, nobody uses the tickets anyway
[03:35:21] <pygi> jordi, it's easy to install plugins
[03:35:27] <pygi> and why nobody uses tickets? :P
[03:35:31] * tkp has joined #trac
[03:40:53] <jordi> becase it's basically a svn viewer :P
[03:41:00] <jordi> anyway, sqlite> DELETE FROM ticket;
[03:41:16] <jordi> and 3 more like that for _change, attachments and custom and voilà
[03:41:51] <jordi> pygi: I'll have ticketdelete for more serious trac sites I maintain though.
[03:41:53] <jordi> thanks :)
[03:47:42] * iXce has joined #trac
[03:48:18] <iXce> hi
[03:48:20] <iXce> 29123 www-data 15 0 157m 100m 4348 S 99.7 10.2 88:17.81 trac.fcgi
[03:48:21] <iXce> :/
[04:05:52] <blinx> h
[04:05:53] <blinx> m
[04:05:54] <blinx> http://paste.pocoo.org/show/264/
[04:06:11] <blinx> how can I remove the wikinotification plugin?
[04:15:02] <pygi> jordi, yw ^_^
[04:19:01] <jordi> :)
[04:19:21] <jordi> thanks folks, see you next time
[04:19:22] * jordi has left #trac
[04:22:20] <pygi> blinx, remove egg file from plugins/?
[04:23:04] <blinx> yes, mom
[04:25:23] * Niels- has quit IRC
[04:26:34] <blinx> ~hm
[04:26:57] <blinx> there is no file
[04:26:59] <blinx> hm
[04:31:21] <pygi> blinx, have you installed plugin? :P
[04:31:59] <blinx> mom
[04:32:32] * jae has quit IRC
[04:35:19] <pygi> blinx, if you installed plugin, it should be there =)
[04:35:28] <blinx> hm
[04:35:34] <blinx> how I can reinstall it?
[04:36:30] <pygi> you just said you want it removed :P
[04:36:44] <blinx> I want no error ;-)
[04:36:46] <blinx> only that
[04:36:55] <pygi> whats the error? :P
[04:37:02] * jae has joined #trac
[04:37:45] <blinx> OSError: [Errno 2] No such file or directory: '/usr/lib/python2.4/site-packages/TracWikiNotification-0.1.0rc4-py2.4.egg/WikiNotification/templates/notification_email.cs'
[04:37:55] <blinx> if I edit a page
[04:37:59] <blinx> it will appear
[04:39:07] <blinx> AttributeError: 'WikiNotifyEmail' object has no attribute 'hdf'
[04:39:14] <blinx> and this in the preview
[04:39:20] <pygi> some thingy is missing :P
[04:39:46] <pygi> can you build an egg from TracWikiNotification plugin and put it in appropriate place?
[04:39:54] <blinx> http://paste.pocoo.org/show/265/
[04:40:08] <blinx> pygi: sorry I don't know how ;-)
[04:40:25] <pygi> shared hosting or something?
[04:40:26] * blinx is eating...
[04:40:31] <blinx> pygi: own server
[04:40:40] <blinx> pygi: I can do what I want!
[04:40:50] * blinx brb
[04:41:17] <pygi> get the TracWiki notification plugin, and issue : python setup.py bdist_egg
[04:41:19] <pygi> cd dist
[04:41:27] <pygi> and then copy the egg file you get to appropriate dir :)
[04:46:19] * prologic has joined #trac
[04:56:42] <blinx> back
[04:56:59] <pygi> wb :P
[04:57:58] <blinx> hm
[04:58:07] <blinx> where I can find the plugin?
[04:58:20] <blinx> I searched without any result...
[04:58:21] <blinx> hm
[04:58:29] <blinx> http://trac.edgewall.org/wiki/TracNotification
[05:00:07] <blinx> http://trac-hacks.org/wiki/WikiNotificationPlugin
[05:00:09] <blinx> ^ah
[05:01:18] <blinx> http://wikinotification.ufsoft.org/
[05:06:17] <blinx> ok now I have an egg file
[05:06:26] <blinx> where I have to put it ?
[05:08:24] <blinx> root@builtin:~/WikiNotification/dist# trac-admin /var/trac/pylucid/ wiki upgrade
[05:08:24] <blinx> /usr/share/trac/wiki-default/TracUnicode => TracUnicode
[05:08:24] <blinx> /usr/lib/python2.4/site-packages/trac/loader.py:96: UserWarning: Module WikiNotification was already imported from /usr/lib/python2.4/site-packages/TracWikiNotification-0.1.0rc4-py2.4.egg/WikiNotification/__init__.pyc, but /usr/share/trac/plugins/TracWikiNotification-0.1.0rc4-py2.4.egg is being added to sys.path
[05:08:29] <blinx> egg.activate()
[05:09:55] * _shawn has quit IRC
[05:10:49] <blinx> http://paste.pocoo.org/show/269/
[05:10:50] <blinx> hm
[05:10:57] <blinx> the error exists still now
[05:12:12] <blinx> ah
[05:12:19] <blinx> lighty restart -> it works now!
[05:12:20] <blinx> thx
[05:14:58] <blinx> another question
[05:15:05] <blinx> how can I install the pollmacro?
[05:15:23] <pygi> blinx, first inform me what is that ?:P
[05:15:27] <pygi> aha, macro
[05:15:28] <pygi> lol :)
[05:15:32] <blinx> yes
[05:15:59] <pygi> @macro
[05:15:59] <evil_twin> pygi: Error: "macro" is not a valid command.
[05:16:09] <pygi> coderanger, how do I learn the twin a command? :)
[05:16:10] <pygi> 1. Download the <macro>.py file.
[05:16:11] <pygi> 2. Save it to your projenv/wiki-macros directory
[05:16:11] <pygi> 3. Restart your web server
[05:16:11] <pygi> 4. Open a Wiki page and add the macro text to test the macro (usually something like [[Macro]] or [[Macro(argument1, argument2)]
[05:16:15] <blinx> http://trac-hacks.org/wiki/PollMacro
[05:16:26] <pygi> blinx, gave you instructions above ;)
[05:16:26] <blinx> ok
[05:16:28] <blinx> mom
[05:24:30] <blinx> hm
[05:24:38] <blinx> I can't access to the macro
[05:25:18] <blinx> No macro or processor named 'Poll' found
[05:25:28] <pygi> restarted server?
[05:25:30] <pygi> and things? :P
[05:25:32] <blinx> yes
[05:25:34] <blinx> all done
[05:25:46] <pygi> dunno why it wont work then
[05:25:49] <pygi> put it in right dir?
[05:26:23] <blinx> yes
[05:26:32] <blinx> /var/trac/pylucid/wiki-macros
[05:26:37] <blinx> there the .py file
[05:26:47] <blinx> and the css in the htdocs/css/??.css
[05:28:36] <blinx> hm
[05:28:39] <blinx> very strange
[05:36:00] * _dmax has joined #trac
[05:49:49] * dmax has quit IRC
[05:49:57] * _dmax is now known as dmax
[05:50:02] <blinx> pygi: do you have an idea with my problem: I have only the part "Ticket System" in my Admin part
[05:50:18] <blinx> I can do what I want, it won't change anything..
[05:51:20] * s0undt3ch has quit IRC
[05:57:03] <pygi> blinx, what admin part?
[05:57:04] <pygi> webadmin?
[05:57:07] <blinx> yes
[05:57:16] <blinx> only the Ticket System exists
[05:57:25] <blinx> the other things aren't displayed
[06:00:43] <blinx> pygi: do you want temporarily some admin access?
[06:01:01] <pygi> dunno how would that help me
[06:01:04] <pygi> what trac are you using?
[06:02:54] <blinx> 0.11dev
[06:03:04] <blinx> https://pylucid.net/trac
[06:03:09] <blinx> you see^
[06:03:10] <pygi> bleh, 0.11 dev :)
[06:03:18] <pygi> that can always have problems
[06:03:31] <blinx> but the old version had the same probs..
[06:03:34] <blinx> on my config
[06:10:20] * MachinaX^4 has quit IRC
[06:46:25] * tkp has quit IRC
[06:47:14] * Mr_You has quit IRC
[07:09:22] * johnjosephbachir has joined #trac
[07:09:50] * thm has joined #trac
[07:58:09] * hpnadig has joined #trac
[08:00:50] * Wombert has quit IRC
[08:17:29] * dds has joined #trac
[08:17:39] <dds> anyone use the xml-rpc api?
[08:24:21] * jborg has joined #trac
[09:00:00] * agile has joined #trac
[09:02:33] * Wombert has joined #trac
[09:04:33] * Wombert has quit IRC
[09:04:48] * Wombert has joined #trac
[09:08:17] * Wombert has quit IRC
[09:35:30] * lightcap has joined #trac
[10:03:10] * lightcap has quit IRC
[10:16:03] <blinx> pygi: there?
[10:16:07] <blinx> https://pylucid.net/trac/wiki/WikiStart
[10:16:13] <blinx> [[ChangeLog(/changelogplugin, 5)]]
[10:16:24] <blinx> you see what we all see
[10:35:41] <blinx> ok
[10:35:43] <blinx> it works
[10:35:55] <blinx> but pydocplugin actually not
[10:44:48] * tkp has joined #trac
[10:45:45] * tkp has quit IRC
[10:47:25] * victori has quit IRC
[10:48:30] * victori has joined #trac
[10:52:37] <blinx> hm
[10:52:42] <blinx> https://pylucid.net/trac/wiki/WikiStart
[10:53:01] <blinx> the links in the ticketbox are defect
[10:53:10] <blinx> anyone an idea what I can do
[10:53:10] <blinx> ?
[10:56:39] <blinx> hm
[10:58:31] * tenshiKur0 has joined #trac
[11:02:00] * tenshiKur0 has quit IRC
[11:04:31] * _muelli_ has joined #trac
[11:13:34] * s0undt3ch has joined #trac
[11:14:13] * s0undt3ch has joined #trac
[11:16:19] <pygi> blinx, now I'm here
[11:16:28] <pygi> dds, I used some hacky version of mine :-P
[11:16:51] <victori> hmm what would be the most resource intensive part of trac? database access?
[11:16:58] <victori> it runs horrid on my 233mhz embedded unit
[11:17:26] <coderanger> victori: Hard to say
[11:17:32] <coderanger> you would have to profile it
[11:17:41] <coderanger> probably the wiki parser is way up there
[11:17:43] <victori> I am not a python code ;-/
[11:17:50] <victori> python has a built in profiler?
[11:17:56] <coderanger> since its a large number of regexes
[11:18:16] <coderanger> victori: Yes, hotshot
[11:18:20] <victori> would running trac in pysco help?
[11:18:37] <victori> this is an x86 unit , so thats an option
[11:18:40] <coderanger> people haven't seen much of a boost
[11:19:04] <coderanger> psyco optimize number crunching and list op, which Trac does very little of
[11:19:18] <coderanger> mostly string manipulation in one way or another
[11:20:06] <victori> hmm yikes does trac ravage my little unit ;-/
[11:20:19] <victori> its *really* good software too bad it can't scale down
[11:20:38] <coderanger> scaling down to 200MHz is beyond a lot of things :P
[11:20:51] <coderanger> why not run it on a real machine
[11:21:48] <victori> a home appliance that does my routing, runs my db, svn, site and only runs under 8 watts of power - I don't know
[11:23:54] <coderanger> which is fine, and Trac _will_ scale down to what you need. Its just that as it scales down, time scales up. Something that would take a quarter of a second on a 2GHz server will take 2 seconds.
[11:58:52] <maxb> Beyond the obvious (don't use CGI) are there any hints for analyzing or improving trac performance?
[11:59:15] <coderanger> move database stuff off to another box
[11:59:23] <coderanger> thats about it
[11:59:33] <maxb> hmm
[11:59:46] <coderanger> you can sit with a profiler and try to see whats causing slowdowns
[12:03:03] <prologic> I seriously would not run trac on a 200Mhz machine though
[12:24:15] * chandlerc has joined #trac
[12:33:43] * hatezilla has joined #trac
[12:33:53] <hatezilla> can anyone help me accessing a svn repo remotely?
[12:34:27] <hatezilla> nmind...
[12:34:30] * hatezilla checks the faq
[12:38:17] * hatezilla has left #trac
[12:44:15] * CosmicRay has left #trac
[12:47:39] * gak has joined #trac
[12:48:47] * MachinaX^4 has joined #trac
[12:55:06] * gakman has quit IRC