[Trac] Re: Trac as a windows service
I used to use Apache under Windows, but it's difficult to get everything needed for my configurations, and I've since turned to either WSL or full Linux (via Hyper-V). Using WSL probably isn't a good idea, but I used Windows Task Scheduler to start it at bootup. I know of people who have used non-sucking service manager to turn general applications into services, but I don't have specific experience with it myself. I think there are other apps that do something similar. Good Luck On Monday, April 22, 2024 at 11:53:45 AM UTC-5 Jamie wrote: > Hi all, > Does anyone have experience with running trac as a windows service? > > I've tried various methods including the python script provided in trac > hacks, .bat files etc. > > The issue I hit is that it starts trac ok, but stopping it stops the > service but tracd keeps running in the background thus trac doesn't stop. > > Any thoughts on how to fix this or working examples would be appreciated. > Just need a way to ensure trac starts and stops as a service rather than > just using cmd. Stand alone server btw. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/eb0b717b-1e61-420c-bdb9-e78cb64ac828n%40googlegroups.com.
[Trac] Help adding SVN repo to trac 1.6
Hi, Can you please help me configure the SVN repo in Trac 1.6? We ported an old Trac version to 1.6 on Oracle Linux 8.9 and although the tickets/wiki works great, we cannot get it to recognize our svn repository. I am getting the error: *InvalidConnector: Unsupported version control system "svn": cannot import name 'fs'.* I have read https://groups.google.com/g/trac-users/c/xLe5a44ekjg and (I think) followed the suggestions in the replies. SVN is enabled in the trac.ini. The server has python version 3.6.8 and is running svn 1.14.1 and has the following subversion libraries installed: - subversion-libs-1.14.1-2.module+el8.7.0+20805+939fe0ca.x86_64 - subversion-tools-1.14.1-2.module+el8.7.0+20805+939fe0ca.x86_64 - python3-subversion-1.14.1-2.module+el8.7.0+20805+939fe0ca.x86_64 - subversion-1.14.1-2.module+el8.7.0+20805+939fe0ca.x86_64 When I try to verify the loading of the bindings with the python interpreter, I get: $ python3 Python 3.6.8 (default, Jan 16 2024, 02:08:59) [GCC 8.5.0 20210514 (Red Hat 8.5.0-20.0.1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from svn import core Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'core' >>> from libsvn import core >>> (core.SVN_VER_MAJOR, core.SVN_VER_MINOR, core.SVN_VER_MICRO, core.SVN_VER_PATCH) (1, 14, 1, 1) The svn python3 bindings are installed here: /usr/lib64/python3.6/site-packages/libsvn /usr/lib64/python3.6/site-packages/libsvn/__init__.py /usr/lib64/python3.6/site-packages/libsvn/__pycache__ /usr/lib64/python3.6/site-packages/libsvn/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/client.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/client.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/core.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/core.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/delta.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/delta.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/diff.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/diff.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/fs.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/fs.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/ra.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/ra.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/repos.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/repos.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/wc.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/libsvn/__pycache__/wc.cpython-36.pyc /usr/lib64/python3.6/site-packages/libsvn/_client.so /usr/lib64/python3.6/site-packages/libsvn/_core.so /usr/lib64/python3.6/site-packages/libsvn/_delta.so /usr/lib64/python3.6/site-packages/libsvn/_diff.so /usr/lib64/python3.6/site-packages/libsvn/_fs.so /usr/lib64/python3.6/site-packages/libsvn/_ra.so /usr/lib64/python3.6/site-packages/libsvn/_repos.so /usr/lib64/python3.6/site-packages/libsvn/_wc.so /usr/lib64/python3.6/site-packages/libsvn/client.py /usr/lib64/python3.6/site-packages/libsvn/core.py /usr/lib64/python3.6/site-packages/libsvn/delta.py /usr/lib64/python3.6/site-packages/libsvn/diff.py /usr/lib64/python3.6/site-packages/libsvn/fs.py /usr/lib64/python3.6/site-packages/libsvn/ra.py /usr/lib64/python3.6/site-packages/libsvn/repos.py /usr/lib64/python3.6/site-packages/libsvn/wc.py /usr/lib64/python3.6/site-packages/svn /usr/lib64/python3.6/site-packages/svn/__init__.py /usr/lib64/python3.6/site-packages/svn/__pycache__ /usr/lib64/python3.6/site-packages/svn/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/client.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/client.cpython-36.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/core.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/core.cpython-36.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/delta.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/delta.cpython-36.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/diff.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/diff.cpython-36.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/fs.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/fs.cpython-36.pyc /usr/lib64/python3.6/site-packages/svn/__pycache__/ra.cpython-36.opt-1.pyc /usr/lib64/pytho
[Trac] Re: Ticket Action listboxes contain names removed from registered accounts
One way might to remove the session information of those users using trac-admin. I've done it. There may also be a plugin that can manage them. - Dan On Sunday, February 25, 2024 at 7:25:42 PM UTC-6 Rick Macdonald wrote: > I'm using Trac 1.4.3. > > I found a bunch of garbage accounts in the admin/accounts/users list. I > determined they exist because I hadn't disabled the "Register" button on > the main Trac page. Oops. > > I deleted them directly from my .httpasswd file, only because it was > faster than one at a time in the Admin interface. > > The accounts are gone from the admin/accounts/users list, but they still > show up in the Action listboxes when modifying tickets. For example, in > change_owner, reassign. > > My Trac instance runs as a daemon from the command line as I don't have > access to apache2 where the site is hosted. I killed and restarted > tracd, but that didn't help. > > Maybe the names remain visible because I didn't remove them with the > Admin interface? How do I clear out those listboxes? > > 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/63c7d927-1a42-4dbc-b992-16d88861807fn%40googlegroups.com.
Re: [Trac] sync error trac 1.6
Hello Thanks this is perfect Holger Am 30/01/2024 um 10.32 schrieb Jun Omae: On Tue, Jan 30, 2024 at 6:14 PM 'Holger Bruenjes' via Trac Users wrote: Resyncing repository history for (default)... Fatal Python error: none_dealloc: deallocating None Python runtime state: initialized The issue has been reported at https://trac.edgewall.org/ticket/13704, and is an issue of Subversion 1.14.3. Try to downgrade Subversion to 1.14.2 or apply output of the following command to Subversion 1.14.3. svn diff -c1915338 https://svn.apache.org/repos/asf/subversion/branches/1.14.x/ -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/723667b4-5ff4-406b-805f-9d7c929c42f6%40bru.lan.
Re: [Trac] sync error trac 1.6
Uh ohh . I can see this causing problems for years if 1.14.3 gets embedded into Ubuntu LTS. I'll have to figure out a plan to work around it. I'm already ditching the PHP in 22.04 since it causes so many crashes. I don't understand why there are so many updates, but apparently they won't update to new minor bug-fix versions. ugh I hope the Subversion developers can leave us a stable version as a legacy if nothing else. Thanks for the heads up. - Dan On Tuesday, January 30, 2024 at 3:32:28 AM UTC-6 Jun Omae wrote: > On Tue, Jan 30, 2024 at 6:14 PM 'Holger Bruenjes' via Trac Users > wrote: > > Resyncing repository history for (default)... > > Fatal Python error: none_dealloc: deallocating None > > Python runtime state: initialized > > The issue has been reported at https://trac.edgewall.org/ticket/13704, > and is an issue of Subversion 1.14.3. > Try to downgrade Subversion to 1.14.2 or apply output of the following > command to Subversion 1.14.3. > > svn diff -c1915338 > https://svn.apache.org/repos/asf/subversion/branches/1.14.x/ > > -- > Jun Omae (大前 潤) > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/219a939e-2c59-465a-8581-92e8f798e409n%40googlegroups.com.
[Trac] sync error trac 1.6
Hallo Please can you help me to solve this sync issue trac 1.6, python 3.10 --- Resyncing repository history for (default)... Fatal Python error: none_dealloc: deallocating None Python runtime state: initialized Current thread 0x7ff007fe0740 (most recent call first): File "/usr/lib/python3.10/site-packages/trac/versioncontrol/cache.py", line 297 in insert_changeset File "/usr/lib/python3.10/site-packages/trac/versioncontrol/cache.py", line 188 in sync File "/usr/lib/python3.10/site-packages/trac/versioncontrol/admin.py", line 150 in _sync File "/usr/lib/python3.10/site-packages/trac/versioncontrol/admin.py", line 168 in _do_resync File "/usr/lib/python3.10/site-packages/trac/admin/api.py", line 127 in execute_command File "/usr/lib/python3.10/site-packages/trac/admin/console.py", line 246 in default File "/usr/lib64/python3.10/cmd.py", line 216 in onecmd File "/usr/lib/python3.10/site-packages/trac/admin/console.py", line 81 in onecmd File "/usr/lib/python3.10/site-packages/trac/admin/console.py", line 515 in _run File "/usr/lib/python3.10/site-packages/trac/admin/console.py", line 530 in run File "/usr/bin/trac-admin", line 33 in Extension modules: markupsafe._speedups, PIL._imaging, libsvn._fs, libsvn._core, libsvn._delta, libsvn._diff, libsvn._repos (total: 7) Aborted (core dumped) --------- Thanks Holger -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/ae19cf6d-8290-4c5b-95bb-8288228cf8b6%40bru.lan.
[Trac] Re: Whiteboard plugin broken for Trac 1.x
My team is using the cards plugin. It doesn't do ticket operations automatically, but I thought it was pretty generic. We usually end up with a ticket query in each card. https://trac-hacks.org/wiki/CardsPlugin Over the years I have made some patches for plugins and ported some to 1.6, but I'm not sure how much time I would have right now to delve into the issue. It seems the older I get the busier I am lol. Take care. - Dan On Monday, January 22, 2024 at 8:05:47 AM UTC-6 Florian Berger wrote: > Hi, > > my team is requesting an interactive Kanban/Scrum board view. Trac hacks > has quite some options > available in principle, but only the Whiteboard [1] plugin does what I > would need. > > [1] https://trac-hacks.org/wiki/WhiteboardPlugin > > However, as with many plugins, it is very old, and probably has never been > updated to even work with > Trac 1.x . > > Then again, since it merely seems to be an UI for some fairly basic ticket > operations, I thought it > might still work well – but alas, there is an import error when loading > the plugin. I have created a > ticket for the error: https://trac-hacks.org/ticket/14313 > > My questions: > > 1) Are there any current users of the Whiteboard plugin? > 2) Does anyone connect Trac to any sort of Kanban/Scrum board, and if so, > which one? > > I am aware that Joerg asked more or less the same question 5 years back, > and, as it looks, never got > a reply: > > On 26.02.19 09:38, Joerg Pleumann wrote: > > > > What are our options for "Kanban-like" whiteboards? We have tried four, > but > > neither of them works the way we'd like it to. > > [...] > > 4) https://trac-hacks.org/wiki/WhiteboardPlugin cannot be installed. > Error > > in the log is "ImportError: No module named whiteboard.web_ui". > > Cheers > > Florian > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/1ea4c275-53f2-45a9-b330-8c2a1106054an%40googlegroups.com.
[Trac] TracWikiPrint not shoving images
Hi, We are running Trac 1.6 in a virtualenv on Debian 12, using AccountManager and authenticating towards active directory. On wiki pages, we usually attach images to pages and use the [[Image()]] -function to have the images shown on the pages. However, if I try to convert a page to a pdf or printable HTML, the images are not included. Instead there is an empty space in the pdf, and in the printable HTML there is a blurred paperclip(I think). The page describing TracWikiPrint states that: "When using cookie based authentication, like AccountManager, the xhtml2pdf library is given a temporary cookie to authenticate the user, so the conversion process will have the same permissions as the user downloading the .pdf, but you must make sure that the project URL is accessible locally from the Trac server itself." However, we are using wkhtmltopdf and not xhtml2pdf. I don't know if that is the reason it doesn't work. I have ensured that the images are reachable via the same URL on the trac server itself using lynx. There is nothing in the trac.log, not even in debug mode. And nothing in the apache log that explains it: --snip--- 10.23.245.53 - - [21/Dec/2023:10:27:35 +] "GET /wiki/GeneralGuides HTTP/1.1" 200 5111 "https://trac01.example.com/wiki; "Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0" 10.23.245.53 - - [21/Dec/2023:10:27:37 +] "GET /wiki/GeneralGuides/AguideExampleMarmiteCake HTTP/1.1" 200 4782 "https://trac01.example.com/wiki/GeneralGuides; "Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0" 10.23.245.53 - - [21/Dec/2023:10:27:37 +] "GET /raw-attachment/wiki/GeneralGuides/AguideExampleMarmiteCake/marmitecake.jpg HTTP/1.1" 200 127869 "https://trac01.example.com/wiki/GeneralGuides/AguideExampleMarmiteCake; "Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0" 10.23.240.22 - - [21/Dec/2023:10:27:41 +] "GET /wikiprint/GeneralGuides/AguideExampleMarmiteCake HTTP/1.1" 200 2701 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) wkhtmltopdf Safari/534.34" 10.23.240.22 - - [21/Dec/2023:10:27:41 +] "GET /chrome/common/attachment.png HTTP/1.1" 200 651 "https://trac01.example.com/wikiprint/GeneralGuides/AguideExampleMarmiteCake; "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) wkhtmltopdf Safari/534.34" 10.23.245.53 - - [21/Dec/2023:10:27:41 +] "GET /wiki/GeneralGuides/AguideExampleMarmiteCake?format=pdfpage HTTP/1.1" 200 26444 "https://trac01.example.com/wiki/GeneralGuides/AguideExampleMarmiteCake; "Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0" --snip--- Any ideas or suggestions? Thanks in advance, /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Banedanmark, Digital Test Center Carsten Niebuhrs Gade 43, 1577 Copenhagen V -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB603250B7A8E9711EAC45B0C5BD95A%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] Re: How do I enable attachments to pages? SOLVED
Okay, seems a restart of httpd fixed that issue. Odd. But it works now. 10.23.245.48 - - [20/Dec/2023:12:31:15 +] "GET /chrome/tracdragdrop/tracdragdrop.js HTTP/1.1" 404 585 "https://trac01.example.com/attachment/wiki/GeneralGuides/AguideExampleMarmiteCake/; "Mozilla/5.0 (Wind ows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0" 10.23.245.48 - - [20/Dec/2023:12:38:40 +] "GET /chrome/tracdragdrop/tracdragdrop.css HTTP/1.1" 200 18 60 "https://trac01.example.com/wiki/GeneralGuides/AguideExampleMarmiteCake; "Mozilla/5.0 (Windows NT 10. 0; rv:109.0) Gecko/20100101 Firefox/115.0" 10.23.245.48 - - [20/Dec/2023:12:38:40 +] "GET /chrome/tracdragdrop/tracdragdrop.js HTTP/1.1" 200 101 32 "https://trac01.example.com/wiki/GeneralGuides/AguideExampleMarmiteCake; "Mozilla/5.0 (Windows NT 10. 0; rv:109.0) Gecko/20100101 Firefox/115.0" /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Banedanmark, Digital Test Center Carsten Niebuhrs Gade 43, 1577 Copenhagen V -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032C13C67A94B5D2DE14553BD96A%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] How do I enable attachments to pages?
I'm trying to enable the functionality mentioned here: wiki/WikiFormatting Where the code "[[Image(link)]]" should point to an attachment instead of a hyperlink. What I'd like to be able to do is to have a button at the bottom of a wiki page where I can attach files like images and then have them displayed on the wiki page using the [[Image()]] function. How is this done? Thanks, /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Banedanmark, Digital Test Center Carsten Niebuhrs Gade 43, 1577 Copenhagen V -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB60323F24BF4A40AA30F71FABBD96A%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] Re: Issues registering on trac-hacks
Aaand now I made it work using firefox instead of vivaldi.. odd. All is fine, I have an account. /tony -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032C2E20443ED793125A925BD8CA%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] Issues registering on trac-hacks
Hi, Can someone help me out? If I try to register, it says: Error: Submission rejected as potential spam SpamBayes determined spam probability of 99.24% Even after I finish the captcha-thingy. Thanks, /tony -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032BBE48181B5ACCED8D680BD8CA%40VI1PR05MB6032.eurprd05.prod.outlook.com.
Re: [Trac] Re: Unable to get acct_mgr to work with LDAP(AD)
Hi Jun, Yeah, I managed to find that out too. I even managed to get the 'module not found: api' to work by specifying to import from .api instead of just api. I then found out that cPickle has been integrated into pickle, so I changed all references to match that. Then DirectoryAuthPlugin loaded just fine but that just got me into other trouble: 2023-12-14 06:50:16,164 Trac[env] ERROR: Component failed with Traceback (most recent call last): File "/var/www/tracinst/lib/python3.11/site-packages/trac/env.py", line 382, in component_guard yield File "/var/www/tracinst/lib/python3.11/site-packages/trac/env.py", line 750, in needs_upgrade if participant.environment_needs_upgrade(): ^^^ TypeError: DirectoryAuthPluginSetup.environment_needs_upgrade() missing 1 required positional argument: 'db' 2023-12-14 06:50:16,164 Trac[env] ERROR: Exception caught while checking for upgrade: TracError: Unable to check for upgrade of tracext.dirauth.db.DirectoryAuthPluginSetup: TypeError: DirectoryAuthPluginSetup.environment_needs_upgrade() missing 1 required positional argument: 'db' And this is where my limited knowledge of programming is no longer sufficient. /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Banedanmark, Digital Test Center Carsten Niebuhrs Gade 43, 1577 Copenhagen V ________ From: trac-users@googlegroups.com on behalf of Jun Omae Sent: 14 December 2023 03:03 To: trac-users@googlegroups.com Subject: Re: [Trac] Re: Unable to get acct_mgr to work with LDAP(AD) CAUTION: This email originated from outside the organization. On Wed, Dec 13, 2023 at 2:10?PM RjOllos wrote: > There's no message indicating DirectoryAuthPlugin is loading. It seems like > it may not be installed. That said, I'm not sure it's compatible with Trac > 1.6. > > https://trac-hacks.org/wiki/DirectoryAuthPlugin The plugin is unable to be loaded with Python 3 due to incompatibilities with Python 3. $ pyflakes tracext/dirauth/*.py tracext/dirauth/__init__.py:11:1: 'from api import *' used; unable to detect undefined names tracext/dirauth/__init__.py:11:1: 'api.*' imported but unused tracext/dirauth/__init__.py:12:1: 'from auth import *' used; unable to detect undefined names tracext/dirauth/__init__.py:12:1: 'auth.*' imported but unused tracext/dirauth/auth.py:202:24: multiple exception types must be parenthesized except Exception, e: ^ $ /dev/shm/venv-trac16/bin/python >>> import tracext.dirauth Traceback (most recent call last): File "", line 1, in File "/dev/shm/venv-trac16/lib/python3.9/site-packages/tracext/dirauth/__init__.py", line 11, in from api import * ModuleNotFoundError: No module named 'api' I've filed the issue at https://trac-hacks.org/ticket/14263. -- Jun Omae (?? ?) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMaiORzj-toPEKCX08BF4jjCmxnx-c4gHSWLnGcTPYkY2jw%40mail.gmail.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB603257B9DD92F95EE1269D23BD8CA%40VI1PR05MB6032.eurprd05.prod.outlook.com.
Re: [Trac] Re: Unable to get acct_mgr to work with LDAP(AD)
Hmm.. How does one know how to enable a specific plugin in trac? E.g. it's not obvious what to put in trac.ini to enable DirectoryAuthPlugin, neither is it obvious what parameters one can set for it. Any advice is appreciated. Thanks, /tony -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032268A1C9A47F801311193BD8DA%40VI1PR05MB6032.eurprd05.prod.outlook.com.
Re: [Trac] Re: Unable to get acct_mgr to work with LDAP(AD)
Hi Ryan, Ok, that looks right. I'll see if I can get it to load and see what happens. thanks, /tony -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB603221CE4126BB7D25715B66BD8DA%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] Unable to get acct_mgr to work with LDAP(AD)
d', 'operations': ['set_owner_to_self'], 'permissions': ['TICKET_MODIFY'], 'label': 'accept', 'name': '', 'default': 0}, 'create': {'oldstates': [None], 'newstate': 'new', 'default': 1, 'l 69 abel': 'create', 'name': '', 'operations': [], 'permissions': []}, 'create_and_assign': {'oldstates': [None], 'newstate': 'assigned', 'label': 'assign', 'operations': ['may_set_owner'], 'permissions 69 ': ['TICKET_MODIFY'], 'name': '', 'default': 0}, 'leave': {'oldstates': ['*'], 'newstate': '*', 'default': 1, 'operations': ['leave_status'], 'label': 'leave', 'name': '', 'permissions': []}, 'reass 69 ign': {'oldstates': ['new', 'assigned', 'accepted', 'reopened'], 'newstate': 'assigned', 'operations': ['set_owner'], 'permissions': ['TICKET_MODIFY'], 'label': 'reassign', 'name': '', 'default': 0} 69 , 'reopen': {'oldstates': ['closed'], 'newstate': 'reopened', 'operations': ['del_resolution'], 'permissions': ['TICKET_CREATE'], 'label': 'reopen', 'name': '', 'default': 0}, 'resolve': {'oldstates 69 ': ['new', 'assigned', 'accepted', 'reopened'], 'newstate': 'closed', 'operations': ['set_resolution'], 'permissions': ['TICKET_MODIFY'], 'label': 'resolve', 'name': '', 'default': 0}, '_reset': {'d 69 efault': 0, 'label': 'Reset', 'newstate': 'new', 'oldstates': [], 'operations': ['reset_workflow'], 'permissions': ['TICKET_ADMIN']}}) 70 71 2023-12-12 12:54:01,313 Trac[main] DEBUG: Dispatching 72 2023-12-12 12:54:01,314 Trac[main] DEBUG: Chosen handler is 73 2023-12-12 12:54:01,314 Trac[session] DEBUG: Retrieving session for ID '0e5625aac33ddeb97171b983' 74 2023-12-12 12:54:01,318 Trac[main] DEBUG: Negotiated locale: None -> en_GB 75 2023-12-12 12:54:01,323 Trac[main] WARNING: [10.23.245.35] HTTPInternalServerError: 500 Configuration error (Cannot find implementation(s) of the IPasswordStore interface named Di 75 rAuthStore. Please check that the Component is enabled or update the option [account-manager] password_store in trac.ini.), , referrer None 76 2023-12-12 12:54:01,323 Trac[chrome] DEBUG: Prepare chrome data for request 77 2023-12-12 12:54:01,323 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow'] /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Banedanmark, Digital Test Center Carsten Niebuhrs Gade 43, 1577 Copenhagen V -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB603205499D41B00979983986BD8EA%40VI1PR05MB6032.eurprd05.prod.outlook.com.
RE: [Trac] Help with Trac Email Notifications
Thank you for the quick response. Can I please get some clarification. The plugins wikipage shows the stable version 18549 is in the tags directory. I downloaded and installed this plugin and I am still getting the same behavior. https://trac-hacks.org/wiki/AccountManagerPlugin Your link is pointing to the trunk, which is considered a development version. If I understand you correctly, I need to install this development version to correct this problem. Please advise. Best, Patty Cottrill -Original Message- From: trac-users@googlegroups.com On Behalf Of Jun Omae Sent: Tuesday, September 12, 2023 8:04 PM To: trac-users@googlegroups.com Subject: Re: [Trac] Help with Trac Email Notifications *** CAUTION: This email originated outside of IMCI Technologies. Do NOT respond, take any action, click on any links or open any attachments unless you recognize the sender and trust the content is safe. *** On Wed, Sep 13, 2023 at 5:56 AM 'Patty Cottrill' via Trac Users wrote: > > I recently configured password recovery. > It is working fine, except that the email containing the temporary password > is not only being sent to the user, but it also includes the recipients > configured in the always_cc setting under notifications in trac.ini. > Because of the security nature of the email, I never thought the password > reset email would include the cc recipients. > Is there anyway to prevent the password reset email from including the > always_cc recipients? > > Below is our environment: > > Trac 1.2.3 > Genshi 0.7 (with speedups) > mod_python 3.3.1 > Pygments 2.1 > pysqlite 2.7.0 > Python 2.7.12 > setuptools 20.7.0 > SQLite 3.11.0 > jQuery 1.11.3 > jQuery UI 1.11.4 > jQuery Timepicker 1.5.5 > Apache2 2.4.18 > > > Best, > Patty Cottrill It seems that the issue has been reported at https://trac-hacks.org/ticket/13312 and fixed. Please try the latest of https://trac-hacks.org/svn/accountmanagerplugin/trunk . trac-hacks.org server shows currently "503 Service Unavailable" however the page could be confirmed via Google web cache, https://webcache.googleusercontent.com/search?q=cache:https%3A%2F%2Ftrac-hacks.org%2Fticket%2F13312 . -- Jun Omae (大前 潤) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMahiE9uUtpDWz9CvuU3JeWGM17RgDMafy3CVmHN-XsaKUw%40mail.gmail.com. *** CONFIDENTIALITY NOTICE: This email and any attachments from IMCI Technologies are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving. *** -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/MN2PR15MB3168C50A0FF75D78E83290C8C2F0A%40MN2PR15MB3168.namprd15.prod.outlook.com.
[Trac] Help with Trac Email Notifications
I recently configured password recovery. It is working fine, except that the email containing the temporary password is not only being sent to the user, but it also includes the recipients configured in the always_cc setting under notifications in trac.ini. Because of the security nature of the email, I never thought the password reset email would include the cc recipients. Is there anyway to prevent the password reset email from including the always_cc recipients? Below is our environment: * Trac 1.2.3 * Genshi 0.7 (with speedups) * mod_python 3.3.1 * Pygments 2.1 * pysqlite 2.7.0 * Python 2.7.12 * setuptools 20.7.0 * SQLite 3.11.0 * jQuery 1.11.3 * jQuery UI 1.11.4 * jQuery Timepicker 1.5.5 * Apache2 2.4.18 Best, Patty Cottrill *** CONFIDENTIALITY NOTICE: This email and any attachments from IMCI Technologies are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving. *** -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/MN2PR15MB3168701F76D3F618802D3CD2C2F1A%40MN2PR15MB3168.namprd15.prod.outlook.com.
[Trac] Help with Post-receive hook for Git
I have a question regarding the Git post-receive hook. Per the Trac Repository Admin guide (link below), the suggested post-receive hook is: #!/bin/sh tracenv=/path/to/env # set to your Trac environment's path repos=# set to your repository's name while read oldrev newrev refname; do if [ "$oldrev" = ]; then git rev-list --reverse "$newrev" -- else git rev-list --reverse "$newrev" "^$oldrev" -- fi | xargs trac-admin "$tracenv" changeset added "$repos" done https://trac.edgewall.org/wiki/TracRepositoryAdmin Per the ticket below in Trac Edgewall, the above hook is dangerous and the recommended hook is: #!/bin/sh tracenv=/path/to/env # change with your Trac environment's path repos= # change with your repository's name while read oldrev newrev refname; do if expr "$oldrev" : '0*$' >/dev/null; then branches=`git for-each-ref --format="%(refname)" | grep -vw "$refname"` git rev-list --reverse "$newrev" --not $branches -- elif expr "$newrev" : '0*$' >/dev/null; then : # do nothing upon removing a branch else git rev-list --reverse "$newrev" "^$oldrev" -- fi | xargs --no-run-if-empty trac-admin "$tracenv" changeset added "$repos" done https://trac.edgewall.org/ticket/12763 Can you please tell me which hook I should be using. I read through the different comments on that ticket, as well as #10730, but I really did not see any conclusion. As I understand it, the danger of the first script is generating many commits at once, as well as lots of email notifications. However, the problem with the 2nd script is it won't work when pushing multiple branches. Please advise. Below is the environment: * Trac 1.2.3 * Babel 1.3 * Docutils 0.12 * Genshi 0.7 (with speedups) * GIT 2.7.4 * mod_python 3.3.1 * Pygments 2.1 * pysqlite 2.7.0 * Python 2.7.12 * Pytz 2014.10 * setuptools 20.7.0 * SQLite 3.11.0 * jQuery 1.11.3 * jQuery UI 1.11.4 * jQuery Timepicker 1.5.5 * Apache2 2.4.18 Best, Patty Cottrill *** CONFIDENTIALITY NOTICE: This email and any attachments from IMCI Technologies are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving. *** -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/MN2PR15MB316876BBE1C12D7B5137D4C9C213A%40MN2PR15MB3168.namprd15.prod.outlook.com.
Re: [Trac] ModuleNotFoundError: No module named 'trac'
Hi Mike, Are you using pip in the OS or in a virtualenv? You should use it in a virtualenv to prevent packages from polluting your OS. Something like this: $ cd $ python3 -m venv tracinst $ source tracinst/bin/activate (trac)$ pip install --upgrade pip (trac)$ pip install https:// download.edgewall.org /trac/Trac-latest-dev.tar.gz (trac)$ pip install babel docutils pygments textile psycopg2-binary (remove the spaces in the URL) HTH /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Transition Manager - FIT/TMS Delivery Team - Signalling Integrations Banedanmark, Signalling Systems Carsten Niebuhrs Gade 43, 1577 Copenhagen V From: trac-users@googlegroups.com on behalf of Mike Dewhirst Sent: 26 June 2023 08:28 To: Trac Users Subject: [Trac] ModuleNotFoundError: No module named 'trac' CAUTION: This email originated from outside the organization. Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 2022.04 last night to discover Trac has unexpectedly stopped working under Python 3. We are now running on Python 3.10 and PostgreSQL 14. Previously it was Py 3.8 and PostgreSQL 12 which seemed to suit Trac very well over the last couple of years I tried pip install trac==1.5.4 but got "No matching distribution..." Pip can only see 1.4.x and no 1.5.x releases. How can I get Trac working again? Many thanks Mike -- 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<mailto:trac-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au<https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032BC2D2F01FCEB554DBE0ABD26A%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] Import from Trac-Wiki-pages to Confluence
Trac Team, We are looking for support/guidance here. We have an old Trac based wiki system for managing our application documentation [having around 2500+ parent and child pages]. Further we are now trying to identify ways to migrate the wiki documentation pages from Trac-Wiki (1.0.18 version) on to the Confluence (7.19.1 version) system. Is there a way to do this automatically with the help of some already defined solution? Such that we are able to migrate both the parent and child wiki pages at the same time? And also on how to do the bulk documents/pages upload from trac-wiki to Confluence? [ About *Trac*: https://trac.edgewall.org/ ] [ About *Confluence*: https://www.atlassian.com/software/confluence ] FYI - I have also raised a ticket in this regard at Confluence support end [Altassian community]. Refer below ticket. https://community.atlassian.com/t5/Confluence-questions/Import-from-Trac-Wiki-pages-to-Confluence/qaq-p/2244131 Thanks & Regards, Sumit Shrivastava -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/4f20782c-259c-423b-b118-3a0273a24003n%40googlegroups.com.
Re: [Trac] Trac 1.4.3 with Apache2.4 on Ubuntu 22.04 - Problems
@RjOllos > It's actually mentioned here: https://trac.edgewall.org/wiki/TracStandalone And a starpage search on "httpd obey_remote_user_header" does give a few results too. /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Transition Manager - FIT/TMS Delivery Team - Signalling Integrations Banedanmark, Signalling Systems Carsten Niebuhrs Gade 43, 1577 Copenhagen V ____ From: trac-users@googlegroups.com on behalf of RjOllos Sent: 10 March 2023 04:57 To: Trac Users Subject: Re: [Trac] Trac 1.4.3 with Apache2.4 on Ubuntu 22.04 - Problems CAUTION: This email originated from outside the organization. On Thursday, March 9, 2023 at 6:33:04?PM UTC-8 mikel...@gmail.com wrote: Oh for the love of Pete... obey_remote_user_header (try googling that term and you get 0 returns) It was set on an old install. Yeah.. that worked. Is that an option in apache2.conf that needed to be enabled but was not enabled in your new install? I have never heard of it. What is your OS and/or hosting service if not running your own VM? -- 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<mailto:trac-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/3630555e-920c-4a21-8082-a87253d4c1afn%40googlegroups.com<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftrac-users%2F3630555e-920c-4a21-8082-a87253d4c1afn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter=05%7C01%7Cxtoal%40bane.dk%7Ca113c196765a4887396f08db211ba2ba%7C2e91ef123cbc456a8637b8d139d5d3a7%7C0%7C0%7C638140174809506343%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=QWBEwl4YgccZt%2BVklyTBxNucvbSqg38E3SFeejJBDQE%3D=0>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032115B400C94981A5A4E54BDBA9%40VI1PR05MB6032.eurprd05.prod.outlook.com.
Re: [Trac] Trac 1.4.3 with Apache2.4 on Ubuntu 22.04 - Problems
Good morning Mike, See if this helps, it's taken from one of our setups(we're running trac via WSGI though): 38 AuthLDAPBindDN "CN=CommonName,OU=ServiceAccounts,OU=Unit,DC=Base,DC=Place" 39 AuthLDAPBindPassword "whatever" 40 # search user 41 AuthLDAPURL "ldap://ip.ip.ip.ip/OU=ServiceAccounts,DC=Base,DC=Place?sAMAccountName?sub?(objectClass=*)" 42 AuthLDAPBindAuthoritative on 43 AuthType Basic 44 AuthBasicProvider file ldap 45 AuthName "Enter TRAC password" 46 AuthUserFile /opt/trac/htpasswd 47 Require valid-user 48 WSGIApplicationGroup %{GLOBAL} 49 HTH /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Transition Manager - FIT/TMS Delivery Team - Signalling Integrations Banedanmark, Signalling Systems Carsten Niebuhrs Gade 43, 1577 Copenhagen V ________ From: trac-users@googlegroups.com on behalf of Michael LiVolsi Sent: 07 March 2023 23:02 To: Trac Users Subject: [Trac] Trac 1.4.3 with Apache2.4 on Ubuntu 22.04 - Problems CAUTION: This email originated from outside the organization. Glad I found this group. Gist of the Problem: I can authenticate against LDAP and .htpasswd, but the user is still being set to "anonymous". Does authentication Work ? Yes. I know .htpasswd and ldap are working is that when I enter an invalid password, I get re-prompted. Site Location My location for everything is "/var/trac/sites/traffic" How it's all configured: * Apache as the web server with tracd running. * LDAP and .htpasswd as the authentication vehicles. * Postgresql as the database back-end I start the trac daemon like this from unix account : "admin" /usr/local/bin/tracd --daemonize --pidfile=/var/trac/tracd.pid --port=3000 --hostname=localhost --base-path=/traffic -s /var/trac/sites/traffic I've attached my apache configuration. I've attached my trac.ini configuration. I've attached the apache mods that are enabled. and finally, all the modules installed: Package Version --- Genshi 0.7.7 html5lib1.1 Jinja2 2.11.3 MarkupSafe 1.1.1 nose1.3.7 pip 20.3.4 postgres4.0 psycopg2-binary 2.8.6 psycopg2-pool 1.1 pyasn1 0.4.8 pyasn1-modules 0.2.8 python-dateutil 2.8.2 pytz2022.7.1 setuptools 44.1.1 six 1.16.0 svn 1.0.1 Trac1.4.3 TracAutocompleteUsersPlugin 0.4.7 TracSimpleTicket5.0 TracTags0.12.1 webencodings0.5.1 wheel 0.37.1 I'll owe someone a beer (or coffee) is I can get this going. Thanks for any help. - Mike - -- 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<mailto:trac-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/80ac720d-e5ea-4630-b8b0-d83a8a26505cn%40googlegroups.com<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftrac-users%2F80ac720d-e5ea-4630-b8b0-d83a8a26505cn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter=05%7C01%7Cxtoal%40bane.dk%7C57eda163003d47b474cb08db1f5b0cce%7C2e91ef123cbc456a8637b8d139d5d3a7%7C0%7C0%7C638138248144299912%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=pqd2MVNuzubd6XUOh8t%2Fd4wNidl%2BKIlCwF%2BrJ1mdP5I%3D=0>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032CA86A3550D434673B03FBDB49%40VI1PR05MB6032.eurprd05.prod.outlook.com.
Re: [Trac] TRAC and SVN
Hi, Not that I have actual binaries, but trac is in pypi, so couldn't you use that? (disclaimer: I don't know much about windows, so..) /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Transition Manager - FIT/TMS Delivery Team - Signalling Integrations Banedanmark, Signalling Systems Carsten Niebuhrs Gade 43, 1577 Copenhagen V From: trac-users@googlegroups.com on behalf of RjOllos Sent: 24 January 2023 18:21 To: Trac Users Subject: Re: [Trac] TRAC and SVN CAUTION: This email originated from outside the organization. On Tuesday, January 24, 2023 at 7:00:58 AM UTC-8 Dan wrote: I ended up installing on Windows via WSL (Windows Subsystem for Linux). However, if anyone knows of a good place to get Windows binaries, I'd also be curious. - Dan Appears that BitNami discontinued Trac support which is unfortunate. [Screenshot 2023-01-24 at 09.19.20.png] -- 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<mailto:trac-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/255d84da-c41f-4acd-90ee-cf2cdfcfea46n%40googlegroups.com<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftrac-users%2F255d84da-c41f-4acd-90ee-cf2cdfcfea46n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter=05%7C01%7Cxtoal%40bane.dk%7Cc5a7763d8347492302a908dafe2f66ce%7C2e91ef123cbc456a8637b8d139d5d3a7%7C0%7C0%7C638101776818265984%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=rM1ixZN3Pgb61JwwHbCCgvO4AA%2B%2FkQankhxYrAaYrRY%3D=0>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032B0F21656F172B77DE5D4BDCE9%40VI1PR05MB6032.eurprd05.prod.outlook.com.
[Trac] wikinfo plugin and URL
Hi guys, I finally managed to join this group(which is not so easy when you don't have a google account). So, I'm using the wikinfo plugin to have a small table at the bottom of specific pages so that when they're exported to i.e. pdf, you can see what version of the trac page the pdf was made from. The code looks like this: {{{ ||= Page info =|| || || Page URL: || !https://tracker.jobjob.dk/si/wiki/BaseReplacement/svcs/sshd || || Page version: || [[Wikinfo(version)]] || || Page last changed by: || [[Wikinfo(changed_by)]] || || Page last changed: || [[Wikinfo(changed_ts)]] || }}} And that's all fine and dandy. However, I'd like to somehow auto-populate the URL row with the specific full URL of the page. Right now I have to do it manually, and that's quite annoying. Does anyone know of a way to do this? (apart from adding the functionality to the plugin) Thanks, /tony -- Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA Transition Manager - FIT/TMS Delivery Team - Signalling Integrations Banedanmark, Signalling Systems Carsten Niebuhrs Gade 43, 1577 Copenhagen V -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/VI1PR05MB6032DC97E5F8A1FE4670C7A7BDC19%40VI1PR05MB6032.eurprd05.prod.outlook.com.
Re: [Trac] Re: banner customization
Hi I finally managed to do what i wanted So I wrote my own stylesheet included it in site_head.html (as written in the doc) I created a specific site_header.html (as written in the doc) But for the logo (trac.ini), i created a blank logo (as there is no control on it , it belongs to the banner div) Could be interesting, to have the possibility to disable it completely in trac.ini Best Regards Jacques Le ven. 29 oct. 2021 à 19:17, RjOllos a écrit : > > > On Friday, October 29, 2021 at 7:31:12 AM UTC-7 Joe Bird wrote: > >> Hi, >> I'm trying to customize the header, in trac interface. >> I did customize a new logo, as explained in the documentation. >> >> I did modify the *site_header.html* in the templates directory as follow >> >> >> > href="href.chrome('site/ux_header.css')}"/> >> >> >> UUX, make your own custom distro >> >> site/ux_header.css' >> >> >> >> I did also define a specific css for the header (site/*ux_header.css*) >> as follow >> >> mtitle strong { >> color: green; >> margin: 100px; >> } >> >> The thing is the logo is declared in the *banner div,* not in the >> *siteheader* div. >> (see attachement) >> In fact they are defined at the same level so, >> my new style sheet do not apply to the logo. >> >> Hence i'm getting the following result (see attachment) >> >> Note: I also try to use site/style.css with the proper css, but it does >> not apply >> to the header. >> >> Any idea ? >> >> Mfg >> Jacques >> > > Are you using Trac 1.4 or later? > > I think you want to put the custom stylesheet in site_head.html and use > CSS selectors to apply the styles to the banner div and siteheader div. > > https://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance > > Ryan > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Trac Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/trac-users/BFYx8rkFoOc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > trac-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/d0298e78-0bf3-4703-a6e3-c64161070711n%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/d0298e78-0bf3-4703-a6e3-c64161070711n%40googlegroups.com?utm_medium=email_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAKaKgG-X5-TBTR%3Dq2ah5n-ujpvqX_u9VPFu5SoCmgnOKvaajwg%40mail.gmail.com.
Re: [Trac] Re: banner customization
Hi, I'm using 1.4.2 I don't it's possible. At present if you want to customize the upper part of the Gui. One basic thing is to configure the logo. You do it through trac.ini and its fine. This is managed as followed http://bp01:8080/ux;> Recherche: Connecté en tant qu'utilisateur UXDéconnexionPréférencesAide / GuideÀ propos de Trac What i'm trying to achieve something like. --- -- | *LOGO * |*My project title*| -- I can define my My project title by adding this in site_header.html UUX, make your own custom distro Unfortunately i get -- |*My project title*| --- | *LOGO * | - Because the logo belongs to the div called *banner/header* and the my "Project title belongs to the div *siteheader* Any idea , how i could achieve this ? Best Regards Jacques Le ven. 29 oct. 2021 à 19:17, RjOllos a écrit : > > > On Friday, October 29, 2021 at 7:31:12 AM UTC-7 Joe Bird wrote: > >> Hi, >> I'm trying to customize the header, in trac interface. >> I did customize a new logo, as explained in the documentation. >> >> I did modify the *site_header.html* in the templates directory as follow >> >> >> > href="href.chrome('site/ux_header.css')}"/> >> >> >> UUX, make your own custom distro >> >> site/ux_header.css' >> >> >> >> I did also define a specific css for the header (site/*ux_header.css*) >> as follow >> >> mtitle strong { >> color: green; >> margin: 100px; >> } >> >> The thing is the logo is declared in the *banner div,* not in the >> *siteheader* div. >> (see attachement) >> In fact they are defined at the same level so, >> my new style sheet do not apply to the logo. >> >> Hence i'm getting the following result (see attachment) >> >> Note: I also try to use site/style.css with the proper css, but it does >> not apply >> to the header. >> >> Any idea ? >> >> Mfg >> Jacques >> > > Are you using Trac 1.4 or later? > > I think you want to put the custom stylesheet in site_head.html and use > CSS selectors to apply the styles to the banner div and siteheader div. > > https://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance > > Ryan > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Trac Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/trac-users/BFYx8rkFoOc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > trac-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/d0298e78-0bf3-4703-a6e3-c64161070711n%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/d0298e78-0bf3-4703-a6e3-c64161070711n%40googlegroups.com?utm_medium=email_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAKaKgG-aH%2BVEzx9cgDvpnJ%3DP2%2BeKWgvmz9NihAAbDFpev6hZKQ%40mail.gmail.com.
[Trac] banner customization
Hi, I'm trying to customize the header, in trac interface. I did customize a new logo, as explained in the documentation. I did modify the *site_header.html* in the templates directory as follow UUX, make your own custom distro site/ux_header.css' I did also define a specific css for the header (site/*ux_header.css*) as follow mtitle strong { color: green; margin: 100px; } The thing is the logo is declared in the *banner div,* not in the *siteheader* div. (see attachement) In fact they are defined at the same level so, my new style sheet do not apply to the logo. Hence i'm getting the following result (see attachment) Note: I also try to use site/style.css with the proper css, but it does not apply to the header. Any idea ? Mfg Jacques -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/69e7e766-e68a-4a21-8d27-6ccbefc6d7c1n%40googlegroups.com.
[Trac] Milestone management
We've been using Trac for around 14 years and have amassed several hundred milestones. Is there a good way to manage these so the various dropdowns aren't freakishly long? I know the open milestones sort to the top, but that still isn't ideal. Deleting the milestone certainly works, but we lose the ability to see which tickets where in what milestone with that approach. Also not great. Changing the control from a pure dropdown to an editable combobox <https://www.w3.org/TR/wai-aria-practices-1.2/examples/combobox/combobox-autocomplete-list.html> would be great, or an Archived state that prevented the dropdowns from populating those milestones. I'm guessing the answer here is going to be "Good idea -- write a plugin!" with a strong dash of "It sounds like you aren't using milestones correctly..." but I'm hoping someone else might have already addressed this. Thanks! -mck -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/8d6834b7-90dc-40de-966a-4a2f77066202n%40googlegroups.com.
[Trac] Re: Trac 1.2.3 + plugin Wikitopdf 3.0.0.dev - ERR005: Unable to find "None"
Hi, Sorry it is with trac 1.4.2 This the error im getting: *Trac a detecté une erreur interne :*UndefinedError: 'format' is undefined And yesim using Wikitopdf 3.0.0.dev Mfg Jacques Le mardi 30 juillet 2019 à 18:42:14 UTC+2, RjOllos a écrit : > > > On Wednesday, June 12, 2019 at 4:09:01 PM UTC-4, Jacques Cornily wrote: >> >> When generating a pdf in the admin section: >> >> The error come's up : ERR005: Unable to find "None" >> >> Here is the trac.log >> -- >> >> 139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing EMAIL_VIEW on None >> (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing WIKI_VIEW on >> (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing WIKI_VIEW on >> (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing STATS_VIEW on None >> (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing TAGS_VIEW on None >> (139860306393216) Trac[:main] WARNING: [192.168.188.54] >> HTTPInternalError: 500 Erreur Trac (ERR005: Unable to find "None"... >> ERR005: Unable to find "None"... >> PAGES: 7 >> BYTES: 521851 >> >> ), , referrer ' >> http://vmtrac//admin/general/wikitopdf' >> (139860306393216) Trac[:env] INFO: >> environment startup [Trac 1.2.3] >> (139860306393216) Trac[:loader] DEBUG: Loading plugin "STractistics" >> from "/usr/lib/python2.7/site-packages/STractistics-0.6dev-py2.7.egg" >> > > > I haven't been able to reproduce. Do you have the latest revision of > 3.0.0dev installed? The last change before today was February 2019. Today, > I improved the logging. > > - Ryan > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/c3c7b9d4-ee90-4f86-a0c6-5a36c3994da7n%40googlegroups.com.
[Trac] Report list (trac 1.4.2)
Hi, I'm not sure, if my post from yeteday went, cause some how i was bounced from this group any way On the report page, {1} Active Tickets <http://bp01:8080/nfx/report/1> {2} Active Tickets by Version <http://bp01:8080/nfx/report/2> {3} Active Tickets by Milestone <http://bp01:8080/nfx/report/3> {4} Accepted, Active Tickets by Owner <http://bp01:8080/nfx/report/4> {5} Accepted, Active Tickets by Owner (Full Description) <http://bp01:8080/nfx/report/5> {6} All Tickets By Milestone (Including closed) <http://bp01:8080/nfx/report/6> {7} My Tickets <http://bp01:8080/nfx/report/7> {8} Active Tickets, Mine first <http://bp01:8080/nfx/report/8> here come the sun. Is there any way to modify the order of the reports provided ? Any plugin that will do the trick ? Mfg Jacques -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/5beefaa8-ec3d-4195-8bb2-bbe084858f24n%40googlegroups.com.
[Trac] trac customization
Hi I'm using trac 1.2.3 I'm using tracd standalone My config is as follow My trac env /srv/live/ap/trac/nfx I created 3 files files in the templates directory site_header.html, site_footer.html, site_head.html And a stylesheet in htdocs Prior to run tracd I export this variable: export TRAC_ENV_INDEX_TEMPLATE=/srv/live/ap/trac/nfx/templates tracd -p 8080 --basic-auth="*,/srv/live/ap/trac/.htpasswd,My own stuff" -e /srv/live/ap/trac Unfornutally my style sheets get ignred What am i missing ? Best Regards Jacques -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/b37734aa-f1af-48b0-a352-56b2f02c0661n%40googlegroups.com. :link, :visited, dt em, .milestone .info h2 em, #metanav form.trac-logout button, #content.report h3 a em, #content.build h2.config :link, #content.build h2.config :visited, .plugin h3 a { color: #00b;font-weight: bolder; } /* To change red of the source path in browser, we need an extra rule to reset the grey (#998) of the first element */ #content.browser h1 :link, #content.browser h1 :visited { color: #00b;font-weight: bolder; } #content.browser h1 .first:link, #content.browser h1 .first:visited { color: #998; } .trac-button.trac-delete { color: #00b; } lace your footer content here... Place your header content here...
Re: [Trac] Re: Missing reassign button on Trac 1.2.6
Wow, that actually worked. Thanks for the help and I'm glad it was simple! On Tue, Feb 2, 2021 at 11:32 AM RjOllos wrote: > > > On Tuesday, February 2, 2021 at 8:28:10 AM UTC-8 Tyler wrote: > >> Hello, I am attempting an upgrade from: >> >>- Trac 1.2.2 >>- CentOS 6.10 >>- Python 2.7.5 >> >> To: >> >>- Trac 1.2.6 >>- CentOS 7.9 >>- Python 2.7.5 >> >> After importing all our Trac data, the site seems perfectly functional >> minus one major detail. We are unable to reassign tickets, despite no >> configuration change within trac.ini. >> >> Screenshots below of what we expect to see (prod) vs what we see now >> (test). >> >> Also relevant information from our trac.ini in regards to the >> reassignment configuration, which again, is unchanged from production. All >> users who have attempted this have the proper TICKET_MODIFY permissions or >> even have higher permissions. It still will not show up even if explicit >> TICKET_MODIFY permissions are set or if we are explicit in the workflow >> instead of the wildcards. >> >> I do see in the logs what I assume is an attempt to render the reassign >> option: >> >> Trac[default_workflow] DEBUG: render_ticket_action_control: action >> "reassign" >> >> Please let me know if I need to provide more information. >> >> Thanks!! >> >> # Correct >> [image: trac_prod_right.png] >> >> # Incorrect >> [image: trac-test_wrong.png] >> >> >> # trac.ini information: >> >> [ticket] >> ... >> # instead of an open text box, populate the owner list with a drop-down >> restrict_owner = enabled >> >> # Which workflow plugin to use, this is default with Trac >> workflow = ConfigurableTicketWorkflow >> >> ... >> >> [ticket-workflow] >> ... >> # From any ticket state to any other ticket state >> reassign= * -> * >> # Custom prompt that appears >> reassign.name = Reassign Owner >> # Trac action to perform >> reassign.operations = set_owner >> # Trac permissions required to do this action. >> reassign.permissions = TICKET_MODIFY >> > > We had to make a change to correct a bug. Please change: > > - reassign.operations = set_owner > + reassign.operations = set_owner, leave_status > > > https://trac.edgewall.org/wiki/1.3/TracWorkflow?action=diff=4_version=2# > > Ryan > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/696a24e5-da44-4e48-990a-1004b35323d8n%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/696a24e5-da44-4e48-990a-1004b35323d8n%40googlegroups.com?utm_medium=email_source=footer> > . > -- Tyler Boswick Infrastructure, Slurm, & HPC Systems Administrator (NOAA Affiliate) RedLine Performance Solutions LLC Princeton University Forrestal Campus 201 Forrestal Road Princeton, NJ 08540 P. (609) 452-5828 -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEuhVcJCqCbMpbzMr3vZjTfiw%3D4SrU%2BWVA3CZt5ooxUZ%2BJOAhw%40mail.gmail.com.
[Trac] Missing reassign button on Trac 1.2.6
Hello, I am attempting an upgrade from: - Trac 1.2.2 - CentOS 6.10 - Python 2.7.5 To: - Trac 1.2.6 - CentOS 7.9 - Python 2.7.5 After importing all our Trac data, the site seems perfectly functional minus one major detail. We are unable to reassign tickets, despite no configuration change within trac.ini. Screenshots below of what we expect to see (prod) vs what we see now (test). Also relevant information from our trac.ini in regards to the reassignment configuration, which again, is unchanged from production. All users who have attempted this have the proper TICKET_MODIFY permissions or even have higher permissions. It still will not show up even if explicit TICKET_MODIFY permissions are set or if we are explicit in the workflow instead of the wildcards. I do see in the logs what I assume is an attempt to render the reassign option: Trac[default_workflow] DEBUG: render_ticket_action_control: action "reassign" Please let me know if I need to provide more information. Thanks!! # Correct [image: trac_prod_right.png] # Incorrect [image: trac-test_wrong.png] # trac.ini information: [ticket] ... # instead of an open text box, populate the owner list with a drop-down restrict_owner = enabled # Which workflow plugin to use, this is default with Trac workflow = ConfigurableTicketWorkflow ... [ticket-workflow] ... # From any ticket state to any other ticket state reassign= * -> * # Custom prompt that appears reassign.name = Reassign Owner # Trac action to perform reassign.operations = set_owner # Trac permissions required to do this action. reassign.permissions = TICKET_MODIFY -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f7924dbe-743e-46f1-921d-33ff8cae0e7fn%40googlegroups.com.
[Trac] TracHours Problem
Hello, Apologies if this has been covered before; a quick search of this group hasn't turned up much. I seem to have been able to install the TracHours plugin and dependencies; when I create a ticket, I can see the new hours and estimated hours fields. The ticket seems to be created in some capacity, but rendering it causes the following internal error: Python Traceback Most recent call last: File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 639, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 271, in dispatch method=method) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1443, in render_template fragment, iterable, method) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1517, in _render_jinja_template data): File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1930, in _check_for_stream_filters stream, data) File "build/bdist.linux-x86_64/egg/ticketsidebarprovider/ticketsidebar.py", line 49, in filter_stream stream |= filter.after(tag.div(provider.content(req, ticket), File "build/bdist.linux-x86_64/egg/trachours/web_ui.py", line 184, in content load_template('hours_sidebar.html').generate(**data) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1372, in load_template return self._load_jinja_template(filename, text) File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py", line 1398, in _load_jinja_template return (self.jenv_text if text else self.jenv).get_template(filename) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 883, in get_template return self._load_template(name, self.make_globals(globals)) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 857, in _load_template template = self.loader.load(self, name, globals) File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 127, in load code = environment.compile(source, name, filename) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 638, in compile self.handle_exception(source=source_hint) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 832, in handle_exception reraise(*rewrite_traceback_stack(source=source)) File "/var/pqtrac/.egg-cache/TracHours-0.7.4.dev0-py2.7.egg-tmp/trachours/templates/hours_sidebar.html", line 13, in template #time-worked { width: 100%; } My reported versions in the admin panel are: Trac 1.4.2 TicketSidebarProvider 0.0 (0.11 from svn) TracComponentDependency 0.3 TracHours 0.7.4.dev0 All plug-ins where built from svn and copied to the trac enviroment plugins folder. I am not using any other plugins, apart from the TracSqlHelperScript plugin (also required by TracHours; I have no idea why this isn't showing in the admin panel). Any idea on what I should be doing next to resolve this problem would be greatly appreciated? Thanks, Alan -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/9f173b2e-2898-4b28-af8a-1fb7324f0248n%40googlegroups.com.
Re: [Trac] Re: After system updates: TracError: Unsupported database type "postgres"
i am new on trac i need really doc describe all setup to install PyMysql and create new project instance with mysql plz On Wed, Sep 30, 2020 at 5:31 PM Ryan Ollos wrote: > > > On Wed, Sep 30, 2020 at 9:30 AM 'BRAIEK Aymen' via Trac Users < > trac-users@googlegroups.com> wrote: > >> when i try your cmd pip2 install --user psycopg2 i have this error >> Could not fetch URL https://pypi.python.org/simple/pymysql/: There was >> a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] >> certificate verify failed (_ssl.c:727) - skipping > > > Could you try this?: > > https://pypi.org/simple/pymysql/ > > > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/CA%2BBGpn-w46phD7w3ftPPM6wOeAjOa6h%3DNqo%3DRWuETJ7n5N7Dsg%40mail.gmail.com > <https://groups.google.com/d/msgid/trac-users/CA%2BBGpn-w46phD7w3ftPPM6wOeAjOa6h%3DNqo%3DRWuETJ7n5N7Dsg%40mail.gmail.com?utm_medium=email_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CANtrRDPDSEWTu5sQx8_8Aa587fFGTYv8SYZLUgumMDLROeRsHQ%40mail.gmail.com.
[Trac] Re: After system updates: TracError: Unsupported database type "postgres"
when i try your cmd pip2 install --user psycopg2 i have this error Could not fetch URL https://pypi.python.org/simple/pymysql/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) - skipping On Wednesday, August 5, 2020 at 12:21:40 PM UTC+1 Mo wrote: > > Am Mittwoch, 5. August 2020 13:08:52 UTC+2 schrieb Mo: >> >> But the next issue is missing postgres support: >> Trac[env] ERROR: Exception caught while checking for upgrade: TracError: >> Unable to check for upgrade of trac.db.api.DatabaseManager: TracError: >> Unsupported database type "postgres" >> > > The postgres issue I got solved by > pip2 install --user psycopg2 > > Next issue was, Genshi is missing. This I got solved by > pip2 install --user Genshi > > Now Trac is up again. > But just for understanding, why did I need to install those 2 packages, > which have not been required before? > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/dec4a97a-cb77-47af-bfa5-e71db304d8a0n%40googlegroups.com.
[Trac] Re: Inherited ancient Trac systems
As i was building a new system and migrating the data, rather than upgrading in-place (because the originals were unmaintainable), I don't think this would have helped for my current case. But I agree it could be useful in future. Is it possible to upgrade a package installed with easy_install using pip, or would I need to uninstall and re-install it? On Wednesday, August 26, 2020 at 4:57:32 PM UTC+1 RjOllos wrote: > On Wednesday, August 26, 2020 at 8:52:34 AM UTC-7 mfir...@googlemail.com > wrote: > >> Hi, >> >> I think I've got most of the framework worked out now - the only plugins >> on the old systems were Trac itself (it seems this is hierarchical on the >> old version, but gives me lots of top level trac.. things on the >> new one?) and a very old version of the account manager plugin >> ("TracAccountManager 0.2.1dev-r7737" on one and "TracAccountManager >> 0.3dev-r9785" on the other). The old one also has some other ones that look >> like they relate to ticket tracking (e.g. "Tracticketstats 2.1"), but I >> don't think that matters for something so legacy (we don't want to do >> anything new with these systems). >> > > Going forward, using pip, rather than easy_install, the old versions > should get uninstalled when you upgrade a package. It was a common problem > with easy_install that old versions would remain when upgrading. > > - Ryan > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/95167952-139d-4f4d-b7ae-8c85a6e78205n%40googlegroups.com.
[Trac] Re: Inherited ancient Trac systems
Hi, I think I've got most of the framework worked out now - the only plugins on the old systems were Trac itself (it seems this is hierarchical on the old version, but gives me lots of top level trac.. things on the new one?) and a very old version of the account manager plugin ("TracAccountManager 0.2.1dev-r7737" on one and "TracAccountManager 0.3dev-r9785" on the other). The old one also has some other ones that look like they relate to ticket tracking (e.g. "Tracticketstats 2.1"), but I don't think that matters for something so legacy (we don't want to do anything new with these systems). So I think installing a new version of the account manager is the main thing I need in terms of plugins. It looks like the version numbering of this is a bit strange (the "stable" version for new Trac versions is 0.5, but some installation guides talk about using an 0.11, which seems to be older than the 0.5), but the stable version seems to work and looks like it is a superset of what the old systems can do. One stumbling block for a while was that the Jumpbox systems were exposing the SVN repository via HTTP, but the Turnkey Trac server doesn't do that out of the box. By installing "libapache2-mod-svn" and adding a "Location" stanza to the apache.conf file (the only active "site" seems to be the file /etc/trac/apache.conf), I think I have that working - the config I added was DAV svn AuthType Basic AuthName "Trac SVN" AuthUserFile /etc/trac/htpasswd Require valid-user SVNParentPath /srv/repos/svn I think I've gone as far as I can in changing the "svn-helloworld" project that comes with the Turnkey Trac to be like I want the main one to end up, and now need to go through the copy and upgrade processes you've linked with the live data. On Tuesday, August 25, 2020 at 5:20:52 PM UTC+1 RjOllos wrote: > On Tuesday, August 25, 2020 at 9:06:23 AM UTC-7 mfir...@googlemail.com > wrote: > >> Hi, >> >> I've inherited two ancient Trac systems from another part of my company. >> They were originally created around 10 years ago, and haven't been upgraded >> since (I don't think) >> >> Both are from an obsolete "turnkey" application company called Jumpbox, >> which seems to have ceased trading in early 2017. >> >> The older is running Trac V0.12, and the younger is running Trac V0.12.2 >> >> I am wondering whether it would be feasable to migrate these to a modern >> "Trac in a box" system, for example the one from Turnkey Linux >> https://www.turnkeylinux.org/trac >> >> I think most of the challenges will be around migrating the Trac wiki >> from the old version, together with the handful of plugins that are on the >> old systems (e.g. account management). >> >> I think this post here may be about something similar: >> https://groups.google.com/g/trac-users/c/Xv2Pn3AKwks >> >> But the post that worked for Markus isn't linked, and the original >> question isn't quite clear. >> > > Turnkey or Bitnami is probably a good option. > > I suggest reviewing: https://trac.edgewall.org/wiki/TracUpgrade > > It's mainly a matter of installing plugins in the new system, moving the > environment directory over and upgrading. If not using SQLite, there is > slightly more work to dump and create the new database. > > See also: > https://trac.edgewall.org/wiki/TracBackup > > Please let us know if you encounter any trouble. Most issues are quick to > work-through. > > - Ryan > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/58290518-bd1a-45c3-a5ee-87c31305b834n%40googlegroups.com.
[Trac] Inherited ancient Trac systems
Hi, I've inherited two ancient Trac systems from another part of my company. They were originally created around 10 years ago, and haven't been upgraded since (I don't think) Both are from an obsolete "turnkey" application company called Jumpbox, which seems to have ceased trading in early 2017. The older is running Trac V0.12, and the younger is running Trac V0.12.2 I am wondering whether it would be feasable to migrate these to a modern "Trac in a box" system, for example the one from Turnkey Linux https://www.turnkeylinux.org/trac I think most of the challenges will be around migrating the Trac wiki from the old version, together with the handful of plugins that are on the old systems (e.g. account management). I think this post here may be about something similar: https://groups.google.com/g/trac-users/c/Xv2Pn3AKwks But the post that worked for Markus isn't linked, and the original question isn't quite clear. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/19200f7f-079a-400a-a0ea-f7eba25087a1n%40googlegroups.com.
Re: [Trac] Trac URL without 3050
On 8/5/2020 4:58 PM, Antonio José wrote: ... What should be corrected? Don't know off the top of my head: I don't actually use nginx much and run trac in apache + mod_wsgi w/o tracd. Sorry. I'm skeptical about trac.sock, perhaps try http to port 3050 instead. Hopefully someone here has a better answer. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/660bcce8-8f9c-e51a-cd02-f02d7741074e%40bmrb.wisc.edu.
Re: [Trac] Trac URL without 3050
On 8/5/2020 4:28 PM, Antonio José wrote: How to make for entry url in browse without :3050, JUST: htpp://trac.mysite.com Option 1 is to start tracd on port 80 instead of 3050: "--port 80". Option 2 is to install a web server (e.g. apache or nginx) and set it up as a proxy to localhost:80 Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/9efda544-3768-a724-24de-b09376d652b5%40bmrb.wisc.edu.
Re: [Trac] Re: Why my ajax request is too slow?
On 7/9/2020 12:19 PM, RjOllos wrote: dtls_query = "select oppname from opportunity where oppid=%s" cursor.execute(dtls_query, (opp_id,)) dtls = cursor.fetchall() The obvious question is how many rows fetchall() returns, and how many columns. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/abc1b64b-8184-a03a-d862-19304146d05f%40bmrb.wisc.edu.
[Trac] Re: Best way to upgrade Trac data from 0.12.3 to 1.4.0 (latest stable version)?
On Tuesday, March 3, 2020 at 1:18:14 PM UTC-6, RjOllos wrote: > > On Tuesday, March 3, 2020 at 11:09:38 AM UTC-8, Mr. Smith wrote: >> >> *What is the right way to get our data from 0.12.3 upgraded by or for a >> Trac 1.4 installation?* >> >> Be sure to read through TracUpgrade: > https://trac.edgewall.org/wiki/TracUpgrade > We are in the same boat, sadly. I read through the (nice) upgrade wiki but one thing isn't clear to me: do we need to install stepwise (0.12 -> 1.0 -> 1.2 -> 1.4) or can we leap from 0.12 to 1.4 in a single bound? Thanks! -mck -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/c0cea357-f391-4bc0-b9cc-b68373dc75eb%40googlegroups.com.
[Trac] Re: Trac 1.2.5, git and explicit sync
Hi, thanks for the fast response... Enabling the "cached_repository" option does the trick. I activated it and removed any hooks: no updates in timeline and tickets on git push (as expected) Then I reactivated my post-receive hook: updates in timeline and tickets on git push *yeah* Finally I gave the mentioned hook script a try and it works too. Thanks again, Happy Easter and stay healthy, Thomas -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/7014b080-cd7e-4dc7-97c5-b2c8c9ba7b1d%40googlegroups.com.
[Trac] Trac 1.2.5, git and explicit sync
Hi, I can't get rid of the per-request synchronization. Here's the setup: - Ubuntu Server 16.04.6 - Trac 1.2.5 - Git 2.7.4 I have a single Trac project with 2 svn repositories. I've defined post-commit hooks for them and everything works as expected (surce browsing, timeline, ticket referencing). But now I'm trying to add a third repository, a git one. I configured a post-receive hook: #!/bin/sh export PYTHON_EGG_CACHE="/tmp/python_egg_cache" /usr/local/bin/trac-admin /path/to/my_trac_env changeset added "$1" "$2" But it doesn't the job! I can browse the source code, i can see commits in the timeline, but the commits aren't added to the tickets. This behaviour (timeline has commits, tickets don't) is often connected with sync_per_request. But as far as I can see, I don't have it enabled. The trac.ini doesn't have it on and in the "repository" table the "sync_per_request"-option ist set to false for the git repository. The post-receive hook seems ok; if I call it directly (like mentioned here: https://groups.google.com/d/msg/trac-users/ELU632puVSg/cMIUr-44BQAJ ), the ticket get the expected comment. What else can I do? Where can I control the sync-behaviour? Thanks in advance, Thomas -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/b3afa1b8-6908-4eb1-96b0-70537f01ccf0%40googlegroups.com.
Re: [Trac] Re: How to store spanish characters into postgresql database?
On 3/8/2020 11:08 PM, Velu Narasimman wrote: data type of comments column in table is "text". I am using postgresql database. Right. Sorry, brain fart: `psql -l` and look at encoding column. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/1c5e5a40-a4b8-d27b-3ce5-f201e3410453%40bmrb.wisc.edu.
Re: [Trac] Re: How to store spanish characters into postgresql database?
On 3/8/2020 1:08 AM, Velu Narasimman wrote: ... And I am getting below error in log file ProgrammingError: type "u" does not existt LINE 1: ...'sergio.martinez', 'sergio.martinez', 1583649598, u'BRD_PAG_... the original value of the chunk detail['comments'] is "BRD_PAG_009 Pago Establecimientos BRD_ACT_015 Maduración de Operaciones de Crédito". What is the data type of the comments column (`\dt ticket_time` in psql should tell you). (The wisdom of storing unicode in database column aside.) Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/b1286e1a-8e04-cea4-0f66-e3422ee20a04%40bmrb.wisc.edu.
Re: [Trac] Re: counter
On 2/1/2020 10:17 AM, ONeal Freeman wrote: Unfortunately because of company restrictions, I cannot use a free counter where the count is store on a site or has any potential of accessing our network. So it will have to be totally internal. Goaccess, awstats, webalizer, will all read webserver logs -- all internal on your web server. Although in you case why not simply grep the logs for KB URLs. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/fbb9c8e6-7f71-4e13-9c1e-dfa9c1a999e7%40bmrb.wisc.edu.
Re: [Trac] counter
On 1/29/20 3:02 PM, Leho Kraav wrote: > Wow, different thing but supernice. > Well, aside from not needing cookies (which would require modifying trac templates I expect), it's very lightweight. Using something like piwik or elk on one small-ish trac site would be way overkill. Google too, even though it's easier to set up. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/22b1b0c7-dee0-5dcf-4a53-a47f7f8ecdcd%40bmrb.wisc.edu. signature.asc Description: OpenPGP digital signature
Re: [Trac] counter
On 1/29/20 12:21 PM, Leho Kraav wrote: > On 29 January 2020 19:09:14 ONeal Freeman wrote: >> Is there a hit counter for trac to keep a count of how many users are >> accessing the site? ... > I'd probably go with Google Analytics or Matomo. > Ugh. https://goaccess.io/ -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/532cdf91-e138-3467-2f8d-8e540974e73b%40bmrb.wisc.edu. signature.asc Description: OpenPGP digital signature
[Trac] Can timeline view show location instead of repository name?
Hi, Timeline view normally says "Changeset in Repository [1234] by User Name". I am usually much more interested in the location in the repository that the changeset applies to. In fact, since I have only one repository, the repository name does not tell me anything I don't already know and I have to click on changesets to get to the information I really need. The commit message doesn't help me either, most of the time. So, could there be an option to add the location to the timeline view? Or is there one already that I have missed. I have been using Trac since before 1.0 and haven't noticed such an option. I am on 1.4 now. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/e5ec4363-c51d-4ee1-a931-35c7c5b64018%40googlegroups.com.
Re: [Trac] Re: Moving complete Trac installation to pip
On 12/5/2019 7:11 PM, RjOllos wrote: If you want my recommendation: write a requirements.txt, write some scripts for maintaining/upgrading your site and setup an RSS feed so you can track changes to plugins as they happen on trac-hacks and GitHub. Setup a staging site, pull in changes, test them and then deploy them to your production site. Or as I implied earlier, write them down as 'RUN wget ' lines in your Dockerfile and deploy with `docker build` and test with `docker run`. And tag them and roll back to older version if there's a problem you didn't catch in testing. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/0f3207ae-b76c-9f63-4108-7044c13fc74d%40bmrb.wisc.edu.
Re: [Trac] Re: Moving complete Trac installation to pip
On 12/4/2019 2:48 AM, Mo wrote: Could you please describe what problem you are trying to solve with a docker container? I am not the one having a month-long thread, in year 2020, on how to distribute an application with all its dependencies. No problem here, moving right along, Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/bb5c4bb9-f396-819e-6ff4-156c9d382dfb%40bmrb.wisc.edu.
Re: [Trac] Re: Moving complete Trac installation to pip
On 12/3/2019 6:25 AM, Mo wrote: ... Another idea could be that there is some developer would maintain a "Trac distribution" with a central package management, and not every single plugin developer needs to publish to PyPI. I mean after a developer has released a code on a repository... Why not just roll a Dockerfile is what I don't get? You can `RUN git pull` from that repository and not bother with pypis, virtualenvs, maxicondas, distro packages, or any of that python mess. And there's like half a dozen of them out there already. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f4ede50e-4212-81bb-3cb9-3f2e5377f5fa%40bmrb.wisc.edu.
Re: [Trac] Re: Getting Trac running in a venv
On 10/11/2019 2:57 AM, Mike Dewhirst wrote: The Trac server will be Ubuntu 18.04 not Windows. Does that modify your "no alternative."? Containers aren't portable, you need a windows container to run on windows and a linux one to run on linux. As it happens, already running on the target machine is Apache serving four Django sites and svn. That's why I had to take Trac down. Simply put, trac webserver is inside the container and is listening on a port. Host apache is proxying trac url to that port: ProxyPass /trac/ http://127.0.0.1:9876/ What does "core python being incompatible with itself" mean? It means I can still run perl scripts from the 90s. Can't read them, but they'll run on ubuntu 18.04. Python: not so much. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/e41db28b-b5a6-bbbc-7beb-252e019e7cec%40bmrb.wisc.edu.
Re: [Trac] Re: Getting Trac running in a venv
On 10/9/2019 6:40 PM, Mike Dewhirst wrote: Dimitri thank you. I had not thought of Docker because I have avoided thinking of Docker for years. That means I haven't allocated brain-space. Maybe its time I did. With core python being incompatible with itself and its DLL hell on top, there is no alternative. Dima -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/8f80bf41-604b-1dc1-e79d-87f5e219c4fb%40bmrb.wisc.edu.
Re: [Trac] Re: Getting Trac running in a venv
On 10/9/19 2:06 PM, Jonathan Laufersweiler wrote: > Another option would be to use PyInstaller to package up a minimal 2.7 > interpreter with the bytecode for Trac and its dependencies into a into a > stand-alone executable package. This would make updating Trac more of a > chore, but would simplify the service & routing setup compared to the venv > approach. YMMV, of course. Really... https://hub.docker.com/r/mwaeckerlin/trac https://hub.docker.com/r/stephenhsu/trac/ https://github.com/solsson/docker-trac etc. Bitnami claims to have a container too but I don't see a link on their trac page. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f24f8394-78b5-776e-2489-a6f1e8ad024c%40bmrb.wisc.edu. signature.asc Description: OpenPGP digital signature
Re: [Trac] Debian 10 - Can 'browse' git repo but can't see files
repare chrome data for request > 2019-08-29 09:40:13,349 Trac[PyGIT] DEBUG: PyGIT.Storage instance > 140490335568656 constructed > 2019-08-29 09:40:13,349 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage > instance 140490335568656 for '/srv/git/odoo' > 2019-08-29 09:40:13,350 Trac[git_fs] DEBUG: enabled CachedRepository for > '/srv/git/odoo' > 2019-08-29 09:40:13,350 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage > instance 140490335568656 for '/srv/git/odoo' > 2019-08-29 09:40:13,350 Trac[git_fs] DEBUG: enabled CachedRepository for > '/srv/git/odoo' > [varius perm logs removed - all allows] > 2019-08-29 09:40:13,350 Trac[perm] DEBUG: DefaultPermissionPolicy allows > elacunza performing BROWSER_VIEW on source:/'> > 2019-08-29 09:40:13,353 Trac[perm] DEBUG: DefaultPermissionPolicy allows > elacunza performing VERSIONCONTROL_ADMIN on u'admin:versioncontrol/repository'> > 2019-08-29 09:40:13,354 Trac[perm] DEBUG: DefaultPermissionPolicy allows > elacunza performing SEARCH_VIEW on None > 2019-08-29 09:40:13,354 Trac[perm] DEBUG: DefaultPermissionPolicy allows > elacunza performing ROADMAP_VIEW on None > 2019-08-29 09:40:13,355 Trac[perm] DEBUG: DefaultPermissionPolicy allows > elacunza performing TIMELINE_VIEW on > > Any ideas? > > Thanks a lot > Eneko > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/c11b077f-0063-4ebd-b84c-eba18e5e10ce%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/c11b077f-0063-4ebd-b84c-eba18e5e10ce%40googlegroups.com?utm_medium=email_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAKaKgG9kek8pqVu5JaP47yb8wSaOZYSZs0VDoJjPRfK18zg4SA%40mail.gmail.com.
[Trac] trac ticket import plugin with description
Hi; Plugin Ticket Import is fine to import tickets, but it does permit to import description. Did i missed something, or is there another to import tickets with the description field ? Mfg Jacques -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/8d941c96-bb15-462c-ba58-0b2cc7bc70cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Can 'browse' git repo but can't see files
Hi I end up with the same issue, Ryan told me to disable selinux and this fixed the problem I was using trac 1.2.3 Le dim. 23 juin 2019 à 21:36, Ed Sandberg a écrit : > I added a git repo to my trac page and then ran trac-admin > /var/local/trac/site repository resync "myreponame". I can see the "Browse > Source" button and when I look at the page the branches are listed but the > list of files is just "No files found". There are files in the repo and I > can clone the repo without problems. I ran chmod -R a+rx /path/to/repo so I > think it should have all the permissions it needs. > > -- > 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 https://groups.google.com/group/trac-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/77d2aedb-2347-483f-9d62-cf2ba683bb4a%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/77d2aedb-2347-483f-9d62-cf2ba683bb4a%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAKaKgG_og4V-mra7xCYBsUJgruVoyt%2B_VvvGoM7yNUG-msVzAA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Trac] No macro or processor named 'graphviz' found - Trac 1.2.3 + Graphviz 1.3.0.1dev
The error "No macro or processor named 'graphviz' found" The plugin does not appear in the plugin list, in the admin interface. Still, the plugin is enabled in trac.ini, and installed with easy_installed # Trac.log 140053614417728) Trac[:loader] DEBUG: Loading plugin "graphviz" from "/usr/lib/python2.7/site-packages/TracGraphviz-1.3.0.1dev-py2.7.egg" (140053614417728) Trac[:loader] ERROR: Skipping "graphviz = graphviz.graphviz": VersionConflict: (Trac 1.2.3 (/usr/lib/python2.7/site-packages/Trac-1.2.3-py2.7.egg), Requirement.parse('Trac>=1.3dev')) -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/6c0bdeab-ff09-41a2-8166-e15a12fa1099%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. trac.ini Description: Binary data
[Trac] Trac 1.2.3 + plugin Wikitopdf 3.0.0.dev - ERR005: Unable to find "None"
When generating a pdf in the admin section: The error come's up : ERR005: Unable to find "None" Here is the trac.log -- 139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows admin performing EMAIL_VIEW on None (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows admin performing WIKI_VIEW on (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows admin performing WIKI_VIEW on (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows admin performing STATS_VIEW on None (139860306393216) Trac[:perm] DEBUG: DefaultPermissionPolicy allows admin performing TAGS_VIEW on None (139860306393216) Trac[:main] WARNING: [192.168.188.54] HTTPInternalError: 500 Erreur Trac (ERR005: Unable to find "None"... ERR005: Unable to find "None"... PAGES: 7 BYTES: 521851 ), , referrer 'http://vmtrac//admin/general/wikitopdf' (139860306393216) Trac[:env] INFO: environment startup [Trac 1.2.3] (139860306393216) Trac[:loader] DEBUG: Loading plugin "STractistics" from "/usr/lib/python2.7/site-packages/STractistics-0.6dev-py2.7.egg" -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/fe8131c7-4458-4469-bc17-436cb274bf3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. trac.ini Description: Binary data
[Trac] trac 1.2.3 + plugin Stractistics 0.6.dev
An error is returned with accessing Stractistics in the nav bar url: http:///>project>/stractistics AttributeError: 'Environment' object has no attribute 'get_db_cnx' raceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 647, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 248, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.7/site-packages/STractistics-0.6dev-py2.7.egg/stractistics/web_ui.py", line 85, in process_request db = self.env.get_db_cnx() AttributeError: 'Environment' object has no attribute 'get_db_cnx' (139650773723264) Trac[:perm] DEBUG: DefaultPermissionPolicy allows admin performing TRAC_ADMIN on None (139650773723264) Trac[:wikitopdf] DEBUG: Using HTMLDOC version 1.8.28 PS: Stractistic install from : https://trac-hacks.org/svn/stractisticsplugin -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/aacbc7d7-fef0-4112-9a4c-d3252149da4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: trac 1.2.3 + git
Hi Thanks a lot for your help The guilt was an the selinux side It would be worth therefor to update the documentation about that Thanks again Jacques Le lun. 10 juin 2019 à 15:24, J Cornily a écrit : > Hi, > Yes selinux was on, > i try again and keep you posted > > Mfg > Jacques > > Le lun. 10 juin 2019 à 14:48, Jun Omae a écrit : > >> Hi, >> >> On Mon, Jun 10, 2019 at 9:20 PM 'J Cornily' via Trac Users >> wrote: >> > # The main problem, no commits apppear in the repository >> view-- >> > >> > Here below is a log when i browse >> http://vmtrac//admin/versioncontrol/repository >> > >> > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing EMAIL_VIEW on None >> > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing WIKI_VIEW on >> > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing WIKI_VIEW on >> > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows >> admin performing TAGS_VIEW on None >> > (140618003388544) Trac[:PyGIT] DEBUG: Missing Git control file >> 'HEAD' in '/srv/gtrac.git' >> > (140618003388544) Trac[:git_fs] ERROR: GitError: Git control files >> not found in '/srv/gtrac.git' >> > (140618003388544) Trac[:main] DEBUG: Rendering response from handler >> > (140618003388544) Trac[:main] DEBUG: Dispatching >> >> > (140618003388544) Trac[:main] DEBUG: Chosen handler is > tracwikiextras.boxes.Boxes> >> > (140618003388544) Trac[:session] DEBUG: Retrieving session for ID >> u'admin' >> > >> > It complains about the control file HEAD, despite it exists under >> /srv/gtrac.git >> > ls -l /srv/gtrac.git >> > total 12 >> > drwxr-xr-x. 2 jdum apache 6 10 juin 13:52 branches >> > -rw-r--r--. 1 jdum apache 66 10 juin 13:52 config >> > -rw-r--r--. 1 jdum apache 73 10 juin 13:52 description >> > -rw-r--r--. 1 jdum apache 23 10 juin 13:52 HEAD >> > drwxr-xr-x. 2 jdum apache 281 10 juin 13:52 hooks >> > drwxr-xr-x. 2 jdum apache 21 10 juin 13:52 info >> > drwxr-xr-x. 9 jdum apache 80 10 juin 13:56 objects >> > drwxr-xr-x. 4 jdum apache 31 10 juin 13:52 refs >> >> Are you using SELinux? If you're using SELinux, try to disable SELinux >> or configure SELinux security context of the git repository. >> >> >> > Could you tell me how i get access the trac database >> > to check the depot database directly ? >> >> Try to access /svr//db/trac.db with /usr/bin/sqlite3 command if >> you're using SQLite. >> >> >> -- >> Jun Omae (大前 潤) >> >> -- >> 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 https://groups.google.com/group/trac-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/trac-users/CAEVLMagZQmMRSetnkh8_3kgr0TvVyz30Vdbz8%2BigcEcHY-cMxQ%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAKaKgG_avPjWt0pwUTYQg__h%2BtL5GQ13TB1xk28y6-B1jgbDgA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: trac 1.2.3 + git
Hi, Yes selinux was on, i try again and keep you posted Mfg Jacques Le lun. 10 juin 2019 à 14:48, Jun Omae a écrit : > Hi, > > On Mon, Jun 10, 2019 at 9:20 PM 'J Cornily' via Trac Users > wrote: > > # The main problem, no commits apppear in the repository > view-- > > > > Here below is a log when i browse > http://vmtrac//admin/versioncontrol/repository > > > > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows > admin performing EMAIL_VIEW on None > > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows > admin performing WIKI_VIEW on > > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows > admin performing WIKI_VIEW on > > (140618003388544) Trac[:perm] DEBUG: DefaultPermissionPolicy allows > admin performing TAGS_VIEW on None > > (140618003388544) Trac[:PyGIT] DEBUG: Missing Git control file > 'HEAD' in '/srv/gtrac.git' > > (140618003388544) Trac[:git_fs] ERROR: GitError: Git control files > not found in '/srv/gtrac.git' > > (140618003388544) Trac[:main] DEBUG: Rendering response from handler > > (140618003388544) Trac[:main] DEBUG: Dispatching "GET '/wikiextras/dynamicboxes.css'"> > > (140618003388544) Trac[:main] DEBUG: Chosen handler is tracwikiextras.boxes.Boxes> > > (140618003388544) Trac[:session] DEBUG: Retrieving session for ID > u'admin' > > > > It complains about the control file HEAD, despite it exists under > /srv/gtrac.git > > ls -l /srv/gtrac.git > > total 12 > > drwxr-xr-x. 2 jdum apache 6 10 juin 13:52 branches > > -rw-r--r--. 1 jdum apache 66 10 juin 13:52 config > > -rw-r--r--. 1 jdum apache 73 10 juin 13:52 description > > -rw-r--r--. 1 jdum apache 23 10 juin 13:52 HEAD > > drwxr-xr-x. 2 jdum apache 281 10 juin 13:52 hooks > > drwxr-xr-x. 2 jdum apache 21 10 juin 13:52 info > > drwxr-xr-x. 9 jdum apache 80 10 juin 13:56 objects > > drwxr-xr-x. 4 jdum apache 31 10 juin 13:52 refs > > Are you using SELinux? If you're using SELinux, try to disable SELinux > or configure SELinux security context of the git repository. > > > > Could you tell me how i get access the trac database > > to check the depot database directly ? > > Try to access /svr//db/trac.db with /usr/bin/sqlite3 command if > you're using SQLite. > > > -- > Jun Omae (大前 潤) > > -- > 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 https://groups.google.com/group/trac-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/CAEVLMagZQmMRSetnkh8_3kgr0TvVyz30Vdbz8%2BigcEcHY-cMxQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAKaKgG8%2BrGJ89BJpPej1%2BbakJAse_10hWcUSvjxw6_x%3DMHZu9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Trac] trac_logo_mini.png
Hi, I'm trying to customize the trac interface, I managed to change the main logo project, and the color of the fonts as described in the documentation I'd like also change the trac_logo_mini.png at the bottom of the page, i have try to replace all files named trac_logo_mini.png without success. Any ideas ? Mfg Jacques -- 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 https://groups.google.com/group/trac-users. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/d6b5252d-2d27-4253-a159-fe3726814e8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Trac] what to do if I don't get a verification email?
Sorry if this is the wrong forum, but I can't find another option. I'm on this page: https://hevc.hhi.fraunhofer.de/trac/hevc/verify_email And I see "A notification email has been resent to ." I've clicked "resend email" a few times. I have received no verification email in my inbox or spam folder. I've verified that my email address was entered correctly. How to proceed?? Thanks, David -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Replicating https://trac-hacks.org/wiki/TagPublicPlugin functionality with https://trac-hacks.org/wiki/TagsPlugin Trac 1.0.1 ?
I've had another play, it seems to me that the permissions are 'username'-based rather than 'group'-based i.e. I can create tags "joe.blogs:VIEW" and "anonymous:VIEW" for the landing page and Joe will see that page before and after he has logged in. I can just about cope with this as I have a small number of third-parties, but it would be really nice if the plugin supported groups as well as users - I'll add this as a feature request on the Trac page. Incidentally, I can only get this working with TagPolicy as the last argument in the trac.ini permission_policies parameter whilst earlier comments suggest it should be the first - what does the order imply? On Monday, 13 June 2016 16:22:20 UTC+1, Andy wrote: > > I've used TagPublicPlugin in a previous Trac and wanted to use the same > functionality in my new Trac (Bitnami Trac 1.0.1). > > The TagPublicPlugin page says it has been deprecated by the TagsPolicy of > TapsPlugin. > > The latter *seems* to refer to the possibility of adding/removing > permissions from a page using the plugin, but I can't see an actual example > of doing this. > > In my case we have a 'public' Trac that we want third-parties to access to > raise tickets - they will need to be authenticated and *generally* they > shouldn't see any other part of Trac. However, there are a number of wiki > pages that we might want to make available e.g. the landing page, > instructions, etc. I hoped to be able to achieve this by 'giving' wiki_view > privilege to authenticated users on certain pages through the tagging > system. > > I've looked for a wiki/howto but other than a reference to a discussion > list that I couldn't find I've been unable to find any further information. > > Has anyone done this? If so, how? > > Thanks, > > -- > Andy > > -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Replicating https://trac-hacks.org/wiki/TagPublicPlugin functionality with https://trac-hacks.org/wiki/TagsPlugin Trac 1.0.1 ?
On Tuesday, 14 June 2016 01:33:52 UTC+1, RjOllos wrote: > > > > On Monday, June 13, 2016 at 8:22:20 AM UTC-7, Andy wrote: >> >> I've used TagPublicPlugin in a previous Trac and wanted to use the same >> functionality in my new Trac (Bitnami Trac 1.0.1). >> >> The TagPublicPlugin page says it has been deprecated by the TagsPolicy of >> TapsPlugin. >> >> The latter *seems* to refer to the possibility of adding/removing >> permissions from a page using the plugin, but I can't see an actual example >> of doing this. >> >> In my case we have a 'public' Trac that we want third-parties to access >> to raise tickets - they will need to be authenticated and *generally* they >> shouldn't see any other part of Trac. However, there are a number of wiki >> pages that we might want to make available e.g. the landing page, >> instructions, etc. I hoped to be able to achieve this by 'giving' wiki_view >> privilege to authenticated users on certain pages through the tagging >> system. >> >> I've looked for a wiki/howto but other than a reference to a discussion >> list that I couldn't find I've been unable to find any further information. >> >> Has anyone done this? If so, how? >> >> Thanks, >> >> -- >> Andy >> > > I haven't tested, but it looks like you need to add TagPolicy as the > first entry in the list of [trac] permission_policies, or possibly as the > second entry if you are using AuthzPolicy. > https://trac.edgewall.org/wiki/TracIni#trac-section > > You could then grant WIKI_VIEW to all authenticated users by adding the > tag: authenticated:view. The general pattern is user_or_group:action, where > action is the suffix of the permission name: WIKI_VIEW -> view, WIKI_MODIFY > -> modify, WIKI_DELETE -> delete, ... You can negate the permission with a > dash: somegroup:-modify, somegroup:-view, ... > > If you can confirm the behavior works, maybe we can add some documentation > to the page: > https://trac-hacks.org/wiki/TagsPlugin#Installation > > - Ryan > If I put the TagPolicy anywhere other than last then I get a "Tags are not supported on the 'attachment' realm" when I go to a tagged page. When TagPolicy is in last position it 'almost' seems to work i.e. I can tag the landing page (WikiStart) with "anonymous:VIEW" and users can then see that page - but I can't successfully set two tags e.g. I need "anonymous" and "thirdparty" groups to be given 'VIEW' to the landing page. When I try this the thirdparty group is ignored - i.e. "anonymous:VIEW thirdparty:VIEW" and "thirdparty:VIEW" both fail to allow the thirdparty access. Pehaps its just an issue with the non-Trac default groups? Thanks for your help, -- Andy > > -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: Missing header and footer when running with WSGI
I'm not certain that it's a problem, but your Alias directives have an extra space in the filesystem names, which could result in many things not being found... Alias /funambulus/chrome/common /var/wiki/funambulus_trac/www/ htdocs/common ^ Regards,DickMS From: RjOllos <rjol...@gmail.com> To: Trac Users <trac-users@googlegroups.com> Sent: Saturday, February 13, 2016 10:43 AM Subject: [Trac] Re: Missing header and footer when running with WSGI On Saturday, February 13, 2016 at 9:08:49 AM UTC-8, Vijay Varadan wrote: I did a fresh install of trac in the following environment: Ubuntu 14.04.3python 2.7.,6PostgreSQL 9.3.11psycopg2 2.6.1Genshi 0.7-3Babel 1.3setuptools 3.3 Everything works fine when I use tracd as follows (user and group are set to be the same as Apache): tracd --port 8000 -r --group=www-data --user=www-data /var/wiki/funambulus_trac I proceeded to using the trac wiki with Apache 2.4.7 WSGI configured as follows: Alias /funambulus/chrome/common /var/wiki/funambulus_trac/www/ htdocs/common Alias /funambulus/chrome/site /var/wiki/funambulus_trac/www/ htdocs/site # For Apache 2.4 Require all granted WSGIScriptAlias /funambulus /var/wiki/funambulus_trac/www/ cgi-bin/trac.wsgi Options -Indexes -MultiViews -SymLinksIfOwnerMatch AllowOverride All WSGIApplicationGroup %{GLOBAL} # For Apache 2.4 Require all granted And the trac.wsgi file is the standard one created via trac-admin ... deploy import os def application(environ, start_request): if not 'trac.env_parent_dir' in environ: environ.setdefault('trac.env_ path', '/var/wiki/funambulus_trac') if 'PYTHON_EGG_CACHE' in environ: os.environ['PYTHON_EGG_CACHE'] = environ['PYTHON_EGG_CACHE'] elif 'trac.env_path' in environ: os.environ['PYTHON_EGG_CACHE'] = \ os.path.join(environ['trac. env_path'], '.egg-cache') elif 'trac.env_parent_dir' in environ: os.environ['PYTHON_EGG_CACHE'] = \ os.path.join(environ['trac. env_parent_dir'], '.egg-cache') from trac.web.main import dispatch_request return dispatch_request(environ, start_request) When I access trac through WSGI, the header and footer are missing everywhere. The site seems to work fine otherwise. I've added TRAC_ADMIN temporarily to anonymous role to help with debugging, in case someone wants to take a look. Does anyone have pointers as to where to start looking to resolve this? I've not done much web development with Python / WSGI, but since everything seems to be working fine without WSGI - I could use some pointers. Thanks,Vijay Varadan I'm unsure what the issue it, but I can reproduce by putting a file name theme.html in $env/templates, with the following content: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;>http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n" py:strip=""> Continuing to investigate ... - Ryan -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: Missing header and footer when running with WSGI
And, looking further, it would appear that there is that same space in almost every usage and only one of them is quoted, if you actually for some reason really wanted the space there... From: 'Dick Martin Shorter' via Trac Users <trac-users@googlegroups.com> To: "trac-users@googlegroups.com" <trac-users@googlegroups.com> Sent: Saturday, February 13, 2016 11:12 AM Subject: Re: [Trac] Re: Missing header and footer when running with WSGI I'm not certain that it's a problem, but your Alias directives have an extra space in the filesystem names, which could result in many things not being found... Alias /funambulus/chrome/common /var/wiki/funambulus_trac/www/ htdocs/common ^ Regards,DickMS From: RjOllos <rjol...@gmail.com> To: Trac Users <trac-users@googlegroups.com> Sent: Saturday, February 13, 2016 10:43 AM Subject: [Trac] Re: Missing header and footer when running with WSGI On Saturday, February 13, 2016 at 9:08:49 AM UTC-8, Vijay Varadan wrote: I did a fresh install of trac in the following environment: Ubuntu 14.04.3python 2.7.,6PostgreSQL 9.3.11psycopg2 2.6.1Genshi 0.7-3Babel 1.3setuptools 3.3 Everything works fine when I use tracd as follows (user and group are set to be the same as Apache): tracd --port 8000 -r --group=www-data --user=www-data /var/wiki/funambulus_trac I proceeded to using the trac wiki with Apache 2.4.7 WSGI configured as follows: Alias /funambulus/chrome/common /var/wiki/funambulus_trac/www/ htdocs/common Alias /funambulus/chrome/site /var/wiki/funambulus_trac/www/ htdocs/site # For Apache 2.4 Require all granted WSGIScriptAlias /funambulus /var/wiki/funambulus_trac/www/ cgi-bin/trac.wsgi Options -Indexes -MultiViews -SymLinksIfOwnerMatch AllowOverride All WSGIApplicationGroup %{GLOBAL} # For Apache 2.4 Require all granted And the trac.wsgi file is the standard one created via trac-admin ... deploy import os def application(environ, start_request): if not 'trac.env_parent_dir' in environ: environ.setdefault('trac.env_ path', '/var/wiki/funambulus_trac') if 'PYTHON_EGG_CACHE' in environ: os.environ['PYTHON_EGG_CACHE'] = environ['PYTHON_EGG_CACHE'] elif 'trac.env_path' in environ: os.environ['PYTHON_EGG_CACHE'] = \ os.path.join(environ['trac. env_path'], '.egg-cache') elif 'trac.env_parent_dir' in environ: os.environ['PYTHON_EGG_CACHE'] = \ os.path.join(environ['trac. env_parent_dir'], '.egg-cache') from trac.web.main import dispatch_request return dispatch_request(environ, start_request) When I access trac through WSGI, the header and footer are missing everywhere. The site seems to work fine otherwise. I've added TRAC_ADMIN temporarily to anonymous role to help with debugging, in case someone wants to take a look. Does anyone have pointers as to where to start looking to resolve this? I've not done much web development with Python / WSGI, but since everything seems to be working fine without WSGI - I could use some pointers. Thanks,Vijay Varadan I'm unsure what the issue it, but I can reproduce by putting a file name theme.html in $env/templates, with the following content: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;>http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n" py:strip=""> Continuing to investigate ... - Ryan -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout. -- 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+unsubs
Re: [Trac] On-the-fly ticket title and content search during typing title of new ticket
I use this one: https://trac-hacks.org/wiki/DuplicateTicketSearchPlugin --Danny On March 20, 2015 10:25:54 AM CDT, Karl-Philipp Richter rich...@richtercloud.de wrote: Hi, I'd like to know if there's function of `trac` (including official and unofficial add-ons if such thing exists) yet to display search results for possible duplicate tickets during typing the title of new ticket which is about to be created by searching the titles and contents of existing tickets with keywords of the new title which is about to be typed (or something more sophisticated) and displaying them in a dropdown menu (e.g. like stackoverflow.com Co, some bugzilla instances (e.g. bugzilla.mozilla.org) do). I don't seem to find anything in google.com and duckduckgo.com and have never seen a trac instance with that feature. If it doesn't exist, have there ever been plans about such a feature. -Kalle -- 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. -- 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] Read only ticket according to custom resolution type
restore Sent from Yahoo Mail on Android -- 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:
Hi! http://fumarcachimba.com/_redirect?qefys944240 -- 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] UNSUBSCRIBE
--~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---