[Trac] Re: ImportError: No module named trac.web.main
after some troubleshooting, i found that it was selinux that caused that.. for now i put it in permissive mode, but I'd like to know how to tweak it so it can remain in enforcing mode. On Wednesday, March 4, 2015 at 2:07:51 PM UTC-5, RjOllos wrote: On Wednesday, March 4, 2015 at 9:53:46 AM UTC-8, alexus wrote: I keep getting following error inside of my apache's error_log: mod_wsgi (pid=23016): Exception occurred processing WSGI script '/var/www/html/trac/X/cgi-bin/trac.wsgi'. Traceback (most recent call last): File /var/www/html/trac/X/cgi-bin/trac.wsgi, line 30, in application from trac.web.main import dispatch_request ImportError: No module named trac.web.main system: # uname -a Linux X 3.10.0-123.20.1.el7.x86_64 #1 SMP Wed Jan 21 09:45:55 EST 2015 x86_64 x86_64 x86_64 GNU/Linux # rpm -q httpd mod_wsgi python httpd-2.4.6-19.el7_0.x86_64 mod_wsgi-3.4-12.el7_0.x86_64 python-2.7.5-16.el7.x86_64 # ll /usr/lib/python2.7/site-packages/Trac-1.0.4-py2.7.egg -rw-r--r--. 1 root root 1986947 Mar 4 12:51 /usr/lib/python2.7/site- packages/Trac-1.0.4-py2.7.egg # any help would be appreciate, thanks! Do you have any other symptoms, or do the errors seem to be benign? I'm not suggesting you shouldn't be interested in finding the cause, just wondering about the scope of the problem. -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: python - Unsupported version control system svn: No module named svn
Actually You're 100% correct and I'm the one who's wrong. I'm mixed it with FreeBSD as on FreeBSD that's separate and on RHEL6 that comes with subversion, so I apologize for wrong information. On Monday, February 9, 2015 at 12:17:39 PM UTC-5, alexus wrote: Hello, I'm using The Trac Project http://trac.edgewall.org/ with TracModWSGI – The Trac Project http://trac.edgewall.org/wiki/TracModWSGI on RHEL7: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # rpm -q httpd mod_wsgi subversion swig httpd-2.4.6-18.el7_0.x86_64 mod_wsgi-3.4-12.el7_0.x86_64 subversion-1.7.14-6.el7.x86_64 swig-2.0.10-4.el7.x86_64 # grep tracopt.versioncontrol conf/trac.ini tracopt.versioncontrol.git.* = enabled tracopt.versioncontrol.svn.* = enabled # While trying to Browse Source (Subversion), I'm getting following error: Trac Error: - Unsupported version control system svn: No module named svn Logging: Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py, line 296, in __init__ _import_svn() File build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py, line 78, in _import_svn from svn import fs, repos, core, delta ImportError: No module named svn Issue is with Python bindings for Subversion can't be loaded by Trac: # python Python 2.7.5 (default, Feb 11 2014, 07:46:25) [GCC 4.8.2 20140120 (Red Hat 4.8.2-13)] on linux2 Type help, copyright, credits or license for more information. from svn import core Traceback (most recent call last): File stdin, line 1, in module ImportError: No module named svn # Quote from TracSubversion – The Trac Project http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting: One simple solution for rpm-based operating systems, is to install the subversion-python bindings rpm. Unfortunately No package subversion-python available.: # subscription-manager repos | grep '^Repo ID' | egrep -v 'beta|debug|fastrack|source' Repo ID: rhel-7-server-v2vwin-1-rpms Repo ID: rhel-7-server-rpms Repo ID: rhel-7-server-extras-rpms Repo ID: rhel-7-server-rhn-tools-rpms Repo ID: rhel-7-server-thirdparty-oracle-java-rpms Repo ID: rhel-7-server-rh-common-rpms Repo ID: rhel-7-server-supplementary-rpms Repo ID: rhel-7-server-optional-rpms # yum install subversion-python Loaded plugins: product-id, subscription-manager No package subversion-python available. Error: Nothing to do # yum repolist Loaded plugins: product-id, subscription-manager repo id repo name status !epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 7,192 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs)5,320 repolist: 12,512 # I'm researching pysvn (as alternative) instead of subversion-python meanwhile. Please advise. -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] python - Unsupported version control system svn: No module named svn
you're welcome, but it seems like jomae made another set of change and changes makes wiki incorrect again.. On Tuesday, February 10, 2015 at 6:06:57 PM UTC-5, RjOllos wrote: On Tue, Feb 10, 2015 at 2:53 PM, alexus ale...@gmail.com javascript: wrote: Ryan, http://trac.edgewall.org/wiki/TracSubversion?action=diffversion=125 That's great. Thanks! -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] python - Unsupported version control system svn: No module named svn
Ryan, I went through this in RHEL5, RHEL6 and now RHEL7. I corrected it again in revision 128. On Wed, Feb 11, 2015 at 3:16 PM, Ryan Ollos rjol...@gmail.com wrote: On Wed, Feb 11, 2015 at 12:10 PM, alexus ale...@gmail.com wrote: you're welcome, but it seems like jomae made another set of change and changes makes wiki incorrect again.. I don't have experience with RHEL to judge, but he may reply if you describe here which of edits you think are incorrect. Other RHEL users might have input as well. -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] python - Unsupported version control system svn: No module named svn
actually that's it, as soon as I installed that missing rpm, it pretty much works out of the box, no need for any symbolic links. On Tuesday, February 10, 2015 at 12:45:32 PM UTC-5, RjOllos wrote: On Tue, Feb 10, 2015 at 8:01 AM, alexus ale...@gmail.com javascript: wrote: Greg, You're right, after I download install rpm, binding works as expected now) Thank you! It would be great if the documentation could be updated with your findings: http://trac.edgewall.org/wiki/TracSubversion#RedHatFedoraCentOSLinux Do you know whether symbolics links are needed, or is it sufficient to just install the python-subversion package the workstation repository? -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] python - Unsupported version control system svn: No module named svn
Ryan, http://trac.edgewall.org/wiki/TracSubversion?action=diffversion=125 On Tuesday, February 10, 2015 at 5:21:12 PM UTC-5, RjOllos wrote: On Tue, Feb 10, 2015 at 1:13 PM, alexus ale...@gmail.com javascript: wrote: actually that's it, as soon as I installed that missing rpm, it pretty much works out of the box, no need for any symbolic links. Thanks, documented in: http://trac.edgewall.org/wiki/TracSubversion?action=diffversion=124 Please refine the statement if you see room for improvement. -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] python - Unsupported version control system svn: No module named svn
Hello, I'm using The Trac Project http://trac.edgewall.org/ with TracModWSGI – The Trac Project http://trac.edgewall.org/wiki/TracModWSGI on RHEL7: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # rpm -q httpd mod_wsgi subversion swig httpd-2.4.6-18.el7_0.x86_64 mod_wsgi-3.4-12.el7_0.x86_64 subversion-1.7.14-6.el7.x86_64 swig-2.0.10-4.el7.x86_64 # grep tracopt.versioncontrol conf/trac.ini tracopt.versioncontrol.git.* = enabled tracopt.versioncontrol.svn.* = enabled # While trying to Browse Source (Subversion), I'm getting following error: Trac Error: - Unsupported version control system svn: No module named svn Logging: Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py, line 296, in __init__ _import_svn() File build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py, line 78, in _import_svn from svn import fs, repos, core, delta ImportError: No module named svn Issue is with Python bindings for Subversion can't be loaded by Trac: # python Python 2.7.5 (default, Feb 11 2014, 07:46:25) [GCC 4.8.2 20140120 (Red Hat 4.8.2-13)] on linux2 Type help, copyright, credits or license for more information. from svn import core Traceback (most recent call last): File stdin, line 1, in module ImportError: No module named svn # Quote from TracSubversion – The Trac Project http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting: One simple solution for rpm-based operating systems, is to install the subversion-python bindings rpm. Unfortunately No package subversion-python available.: # subscription-manager repos | grep '^Repo ID' | egrep -v 'beta|debug|fastrack|source' Repo ID: rhel-7-server-v2vwin-1-rpms Repo ID: rhel-7-server-rpms Repo ID: rhel-7-server-extras-rpms Repo ID: rhel-7-server-rhn-tools-rpms Repo ID: rhel-7-server-thirdparty-oracle-java-rpms Repo ID: rhel-7-server-rh-common-rpms Repo ID: rhel-7-server-supplementary-rpms Repo ID: rhel-7-server-optional-rpms # yum install subversion-python Loaded plugins: product-id, subscription-manager No package subversion-python available. Error: Nothing to do # yum repolist Loaded plugins: product-id, subscription-manager repo id repo name status !epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 7,192 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs)5,320 repolist: 12,512 # I'm researching pysvn (as alternative) instead of subversion-python meanwhile. Please advise. -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] python - Unsupported version control system svn: No module named svn
Ryan, First, I'd like to Thank you for your reply. As I mention in my topic subversion is already installed on my system: # rpm -q subversion subversion-1.7.14-6.el7.x86_64 # I also went over TracSubversion – The Trac Project http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs and tried implementing some of it on my system as well: # pwd /usr/lib64/python2.7/site-packages # cat svn.pth /usr/lib64/ # ll /usr/lib64/libsvn_*.0.0 -rwxr-xr-x. 1 root root 380256 Mar 5 2014 /usr/lib64/libsvn_client-1.so.0.0.0 -rwxr-xr-x. 1 root root 57488 Mar 5 2014 /usr/lib64/libsvn_delta-1.so.0.0.0 -rwxr-xr-x. 1 root root 70048 Mar 5 2014 /usr/lib64/libsvn_diff-1.so.0.0.0 -rwxr-xr-x. 1 root root 32704 Mar 5 2014 /usr/lib64/libsvn_fs-1.so.0.0.0 -rwxr-xr-x. 1 root root 201032 Mar 5 2014 /usr/lib64/libsvn_fs_base-1.so.0.0.0 -rwxr-xr-x. 1 root root 184680 Mar 5 2014 /usr/lib64/libsvn_fs_fs-1.so.0.0.0 -rwxr-xr-x. 1 root root 11152 Mar 5 2014 /usr/lib64/libsvn_fs_util-1.so.0.0.0 -rwxr-xr-x. 1 root root 49520 Mar 5 2014 /usr/lib64/libsvn_ra-1.so.0.0.0 -rwxr-xr-x. 1 root root 37320 Mar 5 2014 /usr/lib64/libsvn_ra_local-1.so.0.0.0 -rwxr-xr-x. 1 root root 162376 Mar 5 2014 /usr/lib64/libsvn_ra_neon-1.so.0.0.0 -rwxr-xr-x. 1 root root 104496 Mar 5 2014 /usr/lib64/libsvn_ra_svn-1.so.0.0.0 -rwxr-xr-x. 1 root root 191592 Mar 5 2014 /usr/lib64/libsvn_repos-1.so.0.0.0 -rwxr-xr-x. 1 root root 419168 Mar 5 2014 /usr/lib64/libsvn_subr-1.so.0.0.0 -rwxr-xr-x. 1 root root 83544 Mar 5 2014 /usr/lib64/libsvn_swig_py-1.so.0.0.0 -rwxr-xr-x. 1 root root 615296 Mar 5 2014 /usr/lib64/libsvn_wc-1.so.0.0.0 # as /usr/lib64 is where my libsvn resides. same documentation also mentions following: One simple solution for rpm-based operating systems, is to install the subversion-python bindings rpm. and again as I stated in my topic earlier subversion-python is not available for RHEL7. if I overlooked something or you have any other ideas, please let me know. Thanks again! On Monday, February 9, 2015 at 1:40:38 PM UTC-5, RjOllos wrote: On Mon, Feb 9, 2015 at 9:17 AM, alexus ale...@gmail.com javascript: wrote: Hello, I'm using The Trac Project http://trac.edgewall.org/ with TracModWSGI – The Trac Project http://trac.edgewall.org/wiki/TracModWSGI on RHEL7: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) # rpm -q httpd mod_wsgi subversion swig httpd-2.4.6-18.el7_0.x86_64 mod_wsgi-3.4-12.el7_0.x86_64 subversion-1.7.14-6.el7.x86_64 swig-2.0.10-4.el7.x86_64 # grep tracopt.versioncontrol conf/trac.ini tracopt.versioncontrol.git.* = enabled tracopt.versioncontrol.svn.* = enabled # While trying to Browse Source (Subversion), I'm getting following error: Trac Error: - Unsupported version control system svn: No module named svn Logging: Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py, line 296, in __init__ _import_svn() File build/bdist.linux-x86_64/egg/tracopt/versioncontrol/svn/svn_fs.py, line 78, in _import_svn from svn import fs, repos, core, delta ImportError: No module named svn Issue is with Python bindings for Subversion can't be loaded by Trac: # python Python 2.7.5 (default, Feb 11 2014, 07:46:25) [GCC 4.8.2 20140120 (Red Hat 4.8.2-13)] on linux2 Type help, copyright, credits or license for more information. from svn import core Traceback (most recent call last): File stdin, line 1, in module ImportError: No module named svn # Quote from TracSubversion – The Trac Project http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting: One simple solution for rpm-based operating systems, is to install the subversion-python bindings rpm. Unfortunately No package subversion-python available.: # subscription-manager repos | grep '^Repo ID' | egrep -v 'beta|debug|fastrack|source' Repo ID: rhel-7-server-v2vwin-1-rpms Repo ID: rhel-7-server-rpms Repo ID: rhel-7-server-extras-rpms Repo ID: rhel-7-server-rhn-tools-rpms Repo ID: rhel-7-server-thirdparty-oracle-java-rpms Repo ID: rhel-7-server-rh-common-rpms Repo ID: rhel-7-server-supplementary-rpms Repo ID: rhel-7-server-optional-rpms # yum install subversion-python Loaded plugins: product-id, subscription-manager No package subversion-python available. Error: Nothing to do # yum repolist Loaded plugins: product-id, subscription-manager repo id repo name status !epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 7,192 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise
[Trac] delete ticket
is there a way to get rid of all tickets? like actually deleting them not just closing -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] delete ticket
what about by exporting wiki and somehow re-importing it back into new environment ? On Fri, Aug 20, 2010 at 4:21 PM, Noah Kantrowitz n...@coderanger.net wrote: Yes, the TicketDelete plugin on trac-hacks (also built-in in 0.12 I think?) --Noah -Original Message- From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of alexus Sent: Friday, August 20, 2010 1:05 PM To: trac-users@googlegroups.com Subject: [Trac] delete ticket is there a way to get rid of all tickets? like actually deleting them not just closing -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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-us...@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. -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Cannot load Python bindings for SQLite
i just installed it with rpm On Wed, Jul 28, 2010 at 10:17 AM, Mike Hanby mha...@uab.edu wrote: From the TracInstall wiki page for 0.12: SQLite 2.x is no longer supported. For SQLite 3.x, the pysqlite 1.1.x bindings are also no longer supported, use pysqlite 2.x. It looks like your python-sqlite bindings are not new enough. -Original Message- From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of alexus Sent: Tuesday, July 27, 2010 4:07 PM To: trac-users@googlegroups.com Subject: [Trac] Cannot load Python bindings for SQLite i did following steps to install setuptools + trac 85 wget http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c11-py2.4.egg#md5=bd639f9b0eac4c42497034dec2ec0c2b 86 sh setuptools-0.6c11-py2.4.egg 87 easy_install Trac now i'm trying to create new env and i'm running into problem, can someone help me? [r...@pvrep01 dc]# trac-admin . initenv Creating a new Trac environment at /var/www/html/trac/dc Trac will first ask a few questions about your environment in order to initialize and prepare the project database. Please enter the name of your project. This name will be used in page titles and descriptions. Project Name [My Project] Please specify the connection string for the database to use. By default, a local SQLite database is created in the environment directory. It is also possible to use an already existing PostgreSQL database (check the Trac documentation for the exact connection string syntax). Database connection string [sqlite:db/trac.db] Creating and Initializing Project Initenv for '/var/www/html/trac/dc' failed. Failed to create environment. Cannot load Python bindings for SQLite Traceback (most recent call last): File build/bdist.linux-i686/egg/trac/admin/console.py, line 413, in do_initenv File build/bdist.linux-i686/egg/trac/env.py, line 221, in __init__ File build/bdist.linux-i686/egg/trac/env.py, line 409, in create File build/bdist.linux-i686/egg/trac/db/api.py, line 145, in init_db File build/bdist.linux-i686/egg/trac/db/api.py, line 195, in get_connector TracError: Cannot load Python bindings for SQLite Initenv for '/var/www/html/trac/dc' failed. 1 Traceback (most recent call last): File build/bdist.linux-i686/egg/trac/admin/console.py, line 418, in do_initenv SystemExit: 1 [r...@pvrep01 dc]# [r...@pvrep01 dc]# rpm -q sqlite sqlite-3.3.6-5 [r...@pvrep01 dc]# rpm -q python-sqlite python-sqlite-1.1.7-1.2.1 [r...@pvrep01 dc]# any ideas? thanks! -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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-us...@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. -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Cannot load Python bindings for SQLite
i did following steps to install setuptools + trac 85 wget http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c11-py2.4.egg#md5=bd639f9b0eac4c42497034dec2ec0c2b 86 sh setuptools-0.6c11-py2.4.egg 87 easy_install Trac now i'm trying to create new env and i'm running into problem, can someone help me? [r...@pvrep01 dc]# trac-admin . initenv Creating a new Trac environment at /var/www/html/trac/dc Trac will first ask a few questions about your environment in order to initialize and prepare the project database. Please enter the name of your project. This name will be used in page titles and descriptions. Project Name [My Project] Please specify the connection string for the database to use. By default, a local SQLite database is created in the environment directory. It is also possible to use an already existing PostgreSQL database (check the Trac documentation for the exact connection string syntax). Database connection string [sqlite:db/trac.db] Creating and Initializing Project Initenv for '/var/www/html/trac/dc' failed. Failed to create environment. Cannot load Python bindings for SQLite Traceback (most recent call last): File build/bdist.linux-i686/egg/trac/admin/console.py, line 413, in do_initenv File build/bdist.linux-i686/egg/trac/env.py, line 221, in __init__ File build/bdist.linux-i686/egg/trac/env.py, line 409, in create File build/bdist.linux-i686/egg/trac/db/api.py, line 145, in init_db File build/bdist.linux-i686/egg/trac/db/api.py, line 195, in get_connector TracError: Cannot load Python bindings for SQLite Initenv for '/var/www/html/trac/dc' failed. 1 Traceback (most recent call last): File build/bdist.linux-i686/egg/trac/admin/console.py, line 418, in do_initenv SystemExit: 1 [r...@pvrep01 dc]# [r...@pvrep01 dc]# rpm -q sqlite sqlite-3.3.6-5 [r...@pvrep01 dc]# rpm -q python-sqlite python-sqlite-1.1.7-1.2.1 [r...@pvrep01 dc]# any ideas? thanks! -- http://alexus.org/ -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] tracd auth
Hello, I'm trying to run trac using tracd, as soon as I hit login i get this error: Trac Error Authentication information not available. Please refer to the installation documentation. TracGuide — The Trac User and Administration Guide and I get this is in my log 2008-08-18 15:56:03,200 Trac[main] WARNING: 500 Trac Error (Authentication information not available. Please refer to the a href=/test/wiki/TracInstall#ConfiguringAuthentication title=Configuring Authenticationinstallation documentation/a.) i tried tracd with --basic-auth and with --auth, no luck:( -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: trac-admin
?? On Feb 11, 2008 12:38 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: On Feb 11, 2008, at 9:36 AM, alexus wrote: i'm adding myself a TRAC_ADMIN permission, when I do permission list, i can see myself having this permission, yet when i login through web (apache, not tracd) i'm not seeing admin button i dont know what to do, i even turn on loggin and i'm not seeing any errors at all. On Feb 6, 2008 2:21 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: On Feb 6, 2008, at 2:19 PM, [EMAIL PROTECTED] wrote: If you are executing the command from the command line, you will need to cycle the trac daemon to effect the change. If you implement the ADMIN GUI, I believe you need to cycle trac. This is not that case for permission changes. To the OP, please post your current permission list, and what exactly you think you should see but are not. ^ --Noah -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: trac-admin
i'm sorry, i actually was wrong, after restarting apache i found following in my logs Feb 11 17:41:51 dd Trac[loader] ERROR: Skipping pysqlite 2.4.1 (version conflict: (pysqlite 2.4.0 (/usr/local/lib/python2.5/site-packages), Requirement.parse('pysqlite==2.4.1'))) Feb 11 17:41:51 dd kernel: Feb 11 17:41:51 dd Trac[loader] ERROR: Skipping pysqlite 2.4.1 (version conflict: (pysqlite 2.4.0 (/usr/local/lib/python2.5/site-packages), Requirement.parse('pysqlite==2.4.1'))) Feb 11 17:41:51 dd Trac[api] DEBUG: Updating wiki page index Feb 11 17:41:51 dd Trac[loader] ERROR: Skipping pysqlite 2.4.1 (version conflict: (pysqlite 2.4.0 (/usr/local/lib/python2.5/site-packages), Requirement.parse('pysqlite==2.4.1'))) Feb 11 17:41:51 dd kernel: Feb 11 17:41:51 dd Trac[loader] ERROR: Skipping pysqlite 2.4.1 (version conflict: (pysqlite 2.4.0 (/usr/local/lib/python2.5/site-packages), Requirement.parse('pysqlite==2.4.1'))) Feb 11 17:41:52 dd Trac[main] WARNING: 404 Not Found (404 Not Found (No handler matched request to %s)) Feb 11 17:42:54 dd Trac[loader] ERROR: Skipping pysqlite 2.4.1 (version conflict: (pysqlite 2.4.0 (/usr/local/lib/python2.5/site-packages), Requirement.parse('pysqlite==2.4.1'))) Feb 11 17:42:54 dd kernel: Feb 11 17:42:54 dd Trac[loader] ERROR: Skipping pysqlite 2.4.1 (version conflict: (pysqlite 2.4.0 (/usr/local/lib/python2.5/site-packages), Requirement.parse('pysqlite==2.4.1'))) dd# ls -ld /usr/local/lib/python2.5/site-packages/pysqlite* -rw-r--r-- 1 root wheel 1078 Feb 11 17:53 /usr/local/lib/python2.5/site-packages/pysqlite-2.4.1-py2.5.egg-info -rw-r--r-- 1 root wheel 1078 Jan 17 21:41 /usr/local/lib/python2.5/site-packages/pysqlite-2.4.0-py2.5.egg-info i moved 2.4.0 out of that dir, and restarted apache again and i'm no longer seeing that conflicts in the logs, but i'm seeing this line Feb 11 17:55:32 dd Trac[main] WARNING: 404 Not Found (404 Not Found (No handler matched request to %s)) any help would be appreciate it thanks On Feb 11, 2008 12:36 PM, alexus [EMAIL PROTECTED] wrote: i'm adding myself a TRAC_ADMIN permission, when I do permission list, i can see myself having this permission, yet when i login through web (apache, not tracd) i'm not seeing admin button i dont know what to do, i even turn on loggin and i'm not seeing any errors at all. On Feb 6, 2008 2:21 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: On Feb 6, 2008, at 2:19 PM, [EMAIL PROTECTED] wrote: If you are executing the command from the command line, you will need to cycle the trac daemon to effect the change. If you implement the ADMIN GUI, I believe you need to cycle trac. This is not that case for permission changes. To the OP, please post your current permission list, and what exactly you think you should see but are not. --Noah -- http://alexus.org/ -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: trac-admin
i'm adding myself a TRAC_ADMIN permission, when I do permission list, i can see myself having this permission, yet when i login through web (apache, not tracd) i'm not seeing admin button i dont know what to do, i even turn on loggin and i'm not seeing any errors at all. On Feb 6, 2008 2:21 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: On Feb 6, 2008, at 2:19 PM, [EMAIL PROTECTED] wrote: If you are executing the command from the command line, you will need to cycle the trac daemon to effect the change. If you implement the ADMIN GUI, I believe you need to cycle trac. This is not that case for permission changes. To the OP, please post your current permission list, and what exactly you think you should see but are not. --Noah -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] trac-admin
hi i'm trying to modify some of permissions for some of my users using guide from http://trac.edgewall.org/wiki/TracPermissions and i'm not getting any errors but new permissions wont take effect either... -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: increase file size of attachment
thanks :) On Jan 31, 2008 6:11 PM, Daniel Hahn [EMAIL PROTECTED] wrote: I had to play with this a bit myself, as a note I found that a -1 value appears to remove all limits on attatchment size Daniel Hahn Twin Techs - Senior Systems Engineer [EMAIL PROTECTED] 509-416-2136 www.twintechs.com From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Moretti Sent: Thursday, January 31, 2008 2:20 PM To: trac-users@googlegroups.com Subject: [Trac] Re: increase file size of attachment RTFM ;) http://trac.edgewall.org/wiki/0.11/TracIni On 31/01/2008, alexus [EMAIL PROTECTED] wrote: how do I increase file size of attachment in TRAC? -- Stephen Moretti Blog : http://nil.checksite.co.uk/ Twitter : http://twitter.com/mr_nil -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] increase file size of attachment
how do I increase file size of attachment in TRAC? -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Warning: Can't synchronize with the repository (Unsupported version control system svn. Check that the Python support libraries for svn are correctly installed.)
Hi i need some help, for some unknown reason i'm getting following error: Warning: Can't synchronize with the repository (Unsupported version control system svn. Check that the Python support libraries for svn are correctly installed.) the funny part is that i'm not getting it all the time, its on and off, while i'm browsing or writing something in there it appears and go away as it pleases i went through http://trac.edgewall.org/wiki/TracSubversion and seems like it's ok, meaning everything works there from there ( at least when i checked ) i spent two days trying to figure this thing out, and i cant! now i'm asking you guys if someone can help me out here thanks in advance -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: TracError: Unsupported version control system svn. Check that the Python bindings for svn are correctly installed.
i just took their latest through svn build and it works fine now On Jan 26, 2008 6:06 PM, Alexander Coles [EMAIL PROTECTED] wrote: How did you install Python / SVN? The package you need is in pkgsrc: - if you were using pkgsrc, then it would be a matter of cd /opt/pkgsrc/devel/py-subversion bmake install - however, pkgsrc currently only provides python 2.4.4 You could either go back to python2.4.4 - or build the bindings yourself. On 24 Jan 2008, at 06:03, alexus wrote: Traceback (most recent call last): File /usr/local/lib/python2.5/site-packages/trac/web/main.py, line 406, in dispatch_request dispatcher.dispatch(req) File /usr/local/lib/python2.5/site-packages/trac/web/main.py, line 191, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File /usr/local/lib/python2.5/site-packages/trac/web/main.py, line 263, in _pre_process_request chosen_handler = f.pre_process_request(req, chosen_handler) File /usr/local/lib/python2.5/site-packages/trac/versioncontrol/ api.py, line 73, in pre_process_request self.get_repository(req.authname).sync() File /usr/local/lib/python2.5/site-packages/trac/versioncontrol/ api.py, line 94, in get_repository ((self.repository_type,)*2)) TracError: Unsupported version control system svn. Check that the Python bindings for svn are correctly installed. i found this: http://trac.edgewall.org/wiki/TracSubversion#unsupported-vcs I'm using FreeBSD and they said on a FreeBSD on /usr/local/lib/svn- python/ i dont have svn-python, where do I get that? -- http://alexus.org/ -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: TracError: Unsupported version control system svn. Check that the Python bindings for svn are correctly installed.
no, i dont use ports, i build it from source, but anyway i got it to work, thanks On Jan 27, 2008 2:32 AM, Jeroen Ruigrok van der Werven [EMAIL PROTECTED] wrote: -On [20080126 23:58], alexus ([EMAIL PROTECTED]) wrote: I'm using FreeBSD and they said on a FreeBSD on /usr/local/lib/svn-python/ No idea who it was that added that, but it is wrong, wrong, wrong. That's not how you deal with a FreeBSD system. Did you install Subversion from ports? If so, make sure you install from devel/subversion-python. That will automatically install your Subversion Python bindings. Alternatively do a `make config` in devel/subversion and make sure the Python bindings are selected. devel/subversion-python is a simple meta port for that. -- Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ We have met the enemy and they are ours... -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] trac-admin trac initenv
-bash-3.2$ trac-admin trac initenv Creating a new Trac environment at /usr/home/alexus/alexus/wirepass.com/trac Trac will first ask a few questions about your environment in order to initalize and prepare the project database. Please enter the name of your project. This name will be used in page titles and descriptions. Project Name [My Project] wirepass Please specify the connection string for the database to use. By default, a local SQLite database is created in the environment directory. It is also possible to use an already existing PostgreSQL database (check the Trac documentation for the exact connection string syntax). Database connection string [sqlite:db/trac.db] Please specify the type of version control system, By default, it will be svn. If you don't want to use Trac with version control integration, choose the default here and don't specify a repository directory. in the next question. Repository type [svn] Please specify the absolute path to the version control repository, or leave it blank to use Trac without a repository. You can also set the repository location later. Path to repository [/path/to/repos] /usr/home/alexus/alexus/wirepass.com/svn Please enter location of Trac page templates. Default is the location of the site-wide templates installed with Trac. Templates directory [/usr/local/share/trac/templates] Creating and Initializing Project Failed to create environment. database parameter must be string or APSW Connection object Traceback (most recent call last): File /usr/local/lib/python2.5/site-packages/trac/scripts/admin.py, line 613, in do_initenv options=options) File /usr/local/lib/python2.5/site-packages/trac/env.py, line 145, in __init__ self.create(options) File /usr/local/lib/python2.5/site-packages/trac/env.py, line 250, in create DatabaseManager(self).init_db() File /usr/local/lib/python2.5/site-packages/trac/db/api.py, line 70, in init_db connector.init_db(**args) File /usr/local/lib/python2.5/site-packages/trac/db/sqlite_backend.py, line 121, in init_db cnx = sqlite.connect(path, timeout=int(params.get('timeout', 1))) ValueError: database parameter must be string or APSW Connection object -bash-3.2$ -- http://alexus.org/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] [sqlite:db/trac.db]
i'm ending up with following: i assume i'm doing something wrong with sqlite, do I need to create sqlite db prior running this script? if so how do I do that? Creating and Initializing Project Failed to create environment. database parameter must be string or APSW Connection object Traceback (most recent call last): File /usr/local/lib/python2.5/site-packages/trac/scripts/admin.py, line 613, in do_initenv options=options) File /usr/local/lib/python2.5/site-packages/trac/env.py, line 145, in __init__ self.create(options) File /usr/local/lib/python2.5/site-packages/trac/env.py, line 250, in create DatabaseManager(self).init_db() File /usr/local/lib/python2.5/site-packages/trac/db/api.py, line 70, in init_db connector.init_db(**args) File /usr/local/lib/python2.5/site-packages/trac/db/ sqlite_backend.py, line 121, in init_db cnx = sqlite.connect(path, timeout=int(params.get('timeout', 1))) ValueError: database parameter must be string or APSW Connection object -bash-3.2$ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---