[Trac] XMLRPC and authentication 401 Authorization Required
I'm using {{{ Trac0.12.2 Babel 0.9.5 Docutils0.6 FullBlog0.1.1 Genshi 0.6 Pygments1.0 pysqlite2.3.2 Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] pytz2009j RPC 1.1.2 setuptools 0.6c11 SilverCity 0.9.7 SQLite 3.3.4 Subversion 1.5.6 (r36142) jQuery: 1.4.2 }}} Connection is running with webserver apache 2.2 and mod_wsgi. I try to use XMLRPC-Plugin. When I put http://user:passwrd@myserver/GeneralIssueTracker/login/xmlrpc in my Browser, all works fine. When I use the same in my script for python for example {{{ import xmlrpclib server = xmlrpclib.ServerProxy(http://user:passwrd@myserver/ GeneralIssueTracker/login/xmlrpc) qstr=status=closed server.ticket.query(qstr) }}} I get always:401 Authorization Required With anonymous user all works fine. With script and browser. I installed httpauth and configured necessary path also. To my mind should the python script work because the request works with browser. Do anybody know or have a experience with this situation? didley -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] No module named trac error
Hello, I keep getting the following error messages in Apache: [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213] PythonHandler trac.web.modpython_frontend: File /usr/lib64/ python2.4/site-packages/mod_python/apache.py, line 287, in HandlerDispatch\nlog=debug) [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213] PythonHandler trac.web.modpython_frontend: File /usr/lib64/ python2.4/site-packages/mod_python/apache.py, line 461, in import_module\nf, p, d = imp.find_module(parts[i], path) [Wed Jul 13 15:33:35 2011] [error] [client 139.222.121.213] PythonHandler trac.web.modpython_frontend: ImportError: No module named trac My Apache conf file contains: Location /trac SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /data/trac PythonOption TracUriRoot /trac Order allow,deny Allow from all /Location I have followed the instructions on: http://ruk.ca/content/importerror-no-module-named-trac but I still cannot get it to work. The path /usr/lib64/python2.4/site- packages/ doesn't list Trac egg, but the path the path /usr/lib/ python2.4/site-packages/ does. My system is a 64 bit RHEL5.5 Linux. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Trac evaluation
I am starting to evaluate Trac for product and documentation development, including software, firmware, electronic, and mechanical design. I have used Bugzilla in the past. When I went to the demo website, I noticed a couple of differences 1. The displayed form confuses priority (do first, do second, etc.) with severity (self destructs, nice to have, etc.). 2. Many of the listed times were relative (2 hours ago, etc.). How easy is it to configure to use a severity label for the appropriate field and to change time stamps to absolute? Thad Smith 303-443-6699 Linx Technologies 5345 Arapahoe Ave, #5 Boulder, CO 80301 -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Trac evaluation
On 07/13/2011 11:39 AM, Thad Smith wrote: How easy is it to configure to use a severity label for the appropriate field Easy. This is configurable via the web ui, or the .ini file. and to change time stamps to absolute? More difficult. It will require hacking on core trac or writing a plugin. One may exist already, but if so, I'm not aware of it. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] RE: Trac evaluation
The fields an choice lists in the fields are customizable. Severities and Priorities are customizable directly from the trac-admin gui. I am not quite sure about the time stamps From: trac-users@googlegroups.com [trac-users@googlegroups.com] on behalf of Thad Smith [tha...@linxtechnologies.com] Sent: Wednesday, July 13, 2011 11:39 AM To: trac-users@googlegroups.com Subject: [Trac] Trac evaluation I am starting to evaluate Trac for product and documentation development, including software, firmware, electronic, and mechanical design. I have used Bugzilla in the past. When I went to the demo website, I noticed a couple of differences 1. The displayed form confuses “priority” (do first, do second, etc.) with severity (self destructs, nice to have, etc.). 2. Many of the listed times were relative (2 hours ago, etc.). How easy is it to configure to use a “severity” label for the appropriate field and to change time stamps to absolute? Thad Smith 303-443-6699 Linx Technologies 5345 Arapahoe Ave, #5 Boulder, CO 80301 -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Trac evaluation
and to change time stamps to absolute? More difficult. It will require hacking on core trac or writing a plugin. One may exist already, but if so, I'm not aware of it. That is supposed to be contained in the 0.13dev development tree, as a user configurable item. See http://trac.edgewall.org/ticket/9777 regards Patrick -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Trac + fcgid crashes on ubuntu 10.04 LTS
Hi! I'm currently facing severe difficulties running trac on ubuntu 10.04 LTS (64bit). I did a basic install of apache: Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 mod_ssl/2.2.14 OpenSSL/0.9.8k I run trac using: Directory /var/local/trac/cgi-bin Options FollowSymLinks MultiViews ExecCGI AllowOverride None Order allow,deny allow from all /Directory ScriptAlias /trac /var/local/trac/cgi-bin/trac.fcgi/ I use the shipped version of trac.fcgi, just added these lines at the top (after import os): os.environ['TRAC_ENV'] = /var/local/trac os.environ['PYTHON_EGG_CACHE'] = /tmp os.environ['LC_TIME'] = en_DK.UTF-8 Here's the information from about trac: System information Trac0.12.2 Babel 0.9.4 Docutils 0.6 Genshi 0.6 MySQL server: 5.1.41-3ubuntu12.10, client: 5.1.41, thread-safe: 1 MySQLdb 1.2.2 Pygments 1.2.2 Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] setuptools 0.6 Subversion 1.6.6 (r40053) jQuery: 1.4.2 As soon as I access any trac-url, I get the following errors in apache's error.log: --- [Wed Jul 13 23:00:46 2011] [emerg] mod_fcgid: server is restarted, pid 3434 must exit ... [Wed Jul 13 23:00:46 2011] [emerg] mod_fcgid: server is restarted, pid 3435 must exit Unhandled exception in thread started by bound method Connection.run of trac.web._fcgi.Connection object at 0x1fc5950[Wed Jul 13 23:00:46 2011] [warn] [client 178.202.22.28] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: https://example.org/trac/about [Wed Jul 13 23:00:46 2011] [warn] [client 178.202.22.28] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function, referer: https://example.org/trac/about [Wed Jul 13 23:00:46 2011] [emerg] mod_fcgid: server is restarted, pid 3435 must exit ... [Wed Jul 13 23:00:46 2011] [emerg] mod_fcgid: server is restarted, pid 3434 must exit [Wed Jul 13 23:00:46 2011] [warn] [client 178.202.22.28] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: https://example.org/trac/about [Wed Jul 13 23:00:46 2011] [error] [client 178.202.22.28] Premature end of script headers: trac.fcgi, referer: https://example.org/trac/about [Wed Jul 13 23:00:46 2011] [emerg] mod_fcgid: server is restarted, pid 3434 must exit ... [Wed Jul 13 23:00:47 2011] [emerg] mod_fcgid: server is restarted, pid 3434 must exit [Wed Jul 13 23:00:47 2011] [notice] mod_fcgid: process /var/local/trac/cgi-bin/trac.fcgi(3496) exit(shutting down), terminated by calling exit(), return code: 0 [Wed Jul 13 23:00:47 2011] [notice] mod_fcgid: process /var/local/trac/cgi-bin/trac.fcgi(3518) exit(shutting down), terminated by calling exit(), return code: 0 [Wed Jul 13 23:00:47 2011] [error] mod_fcgid: fcgid process manager died, restarting the server --- These errors just appear over and over again... Eventually, the requested page show up... Mostly without any css, because subsequent files failed to load. I have absolutely no idea where to start, because a few other servers using the very same version do work fine. The only thing that differs is, that this machine uses mysql for trac instead of the sqlite backend. But I just created a default (i.e. using sqlite) env and get the same errors. Any help is greatly appreciated... Thanks! Greetings, Nico -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Trac evaluation
On 2011-07-13 15:39, Thad Smith wrote: 1. The displayed form confuses priority (do first, do second, etc.) with severity (self destructs, nice to have, etc.). You can define them as you like. 2. Many of the listed times were relative (2 hours ago, etc.). Yes, this is annoying. I believe, there was a plugin or sth. changing the timeline etc. to normal ISO-8601 time stamps, but I can't find it just now. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.