Re: [Trac] Re: Trac and Python 3-+

2022-09-12 Thread jiho lee
If you send an e-mail to the mailing list below, I think someone will respond. https://groups.google.com/g/trac-hacks There is a future society, but my future is not what others do.

Re: [Trac] Re: Trac and Python 3-+

2022-09-12 Thread Roger Oberholtzer
I have ported ASCIIMath.py to Python3. It is at least working for me. How can I check in these changes? Or who can I send them to for review? On Mon, Sep 12, 2022 at 12:40 AM RjOllos wrote: > > > > On Thursday, September 8, 2022 at 5:56:12 AM UTC-7 Roger Oberholtzer wrote: >> >> More info on

Re: [Trac] Re: Trac and Python 3-+

2022-09-12 Thread Roger Oberholtzer
On Mon, Sep 12, 2022 at 12:40 AM RjOllos wrote: > > > > On Thursday, September 8, 2022 at 5:56:12 AM UTC-7 Roger Oberholtzer wrote: >> >> More info on ASCIIMath from the trac log: >> >> 2022-09-08 14:45:08,892 Trac[loader] ERROR: Failed to load plugin from >>

Re: [Trac] Re: Trac and Python 3-+

2022-09-11 Thread RjOllos
On Thursday, September 8, 2022 at 5:56:12 AM UTC-7 Roger Oberholtzer wrote: > More info on ASCIIMath from the trac log: > > 2022-09-08 14:45:08,892 Trac[loader] ERROR: Failed to load plugin from > /vol1/trac/systems/plugins/ASCIIMath.py: > Traceback (most recent call last): > File >

Re: [Trac] Re: Trac and Python 3-+

2022-09-11 Thread RjOllos
On Wednesday, September 7, 2022 at 11:57:01 PM UTC-7 Roger Oberholtzer wrote: > Updating pip to 22.2.2 did not make a difference. > > Perhaps I should check it out via svn. What's the proper command to > get the best version of 1.5? > I added the pip command here:

Re: [Trac] Re: Trac and Python 3-+

2022-09-08 Thread Roger Oberholtzer
More info on ASCIIMath from the trac log: 2022-09-08 14:45:08,892 Trac[loader] ERROR: Failed to load plugin from /vol1/trac/systems/plugins/ASCIIMath.py: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/Trac-1.5.4.dev0-py3.10.egg/trac/loader.py", line 105, in

Re: [Trac] Re: Trac and Python 3-+

2022-09-08 Thread Roger Oberholtzer
I see that I have ASCIIMath.py in a plugins directory for my site. So that must be where Trac 1.2 looked for these things. In that there is a __pycache__ directory. I see that it contains a newly compiled .pyc file. The name is a bit different from the .py file: ASCIIMath.cpython-310.pyc I would

Re: [Trac] Re: Trac and Python 3-+

2022-09-08 Thread Roger Oberholtzer
I have trac 1.5 (svn co) running in Python3. There was confusion my end because the mod_python for my distro uses Python 2.7 (it seems not to be maintained by the distro - it is an old installable). I needed to move to mod_wsgi. That took a couple minutes to figure out. It looks as I expected in

Re: [Trac] Re: Trac and Python 3-+

2022-09-08 Thread Roger Oberholtzer
I can add that if I install jinja2 by hand, then trac installs. It just seems that the trac install does not manage this. Now to see if I can get my site back up in this newfangled trac. On Thu, Sep 8, 2022 at 9:02 AM Roger Oberholtzer wrote: > > I checked out the latest with svn, and tried to

Re: [Trac] Re: Trac and Python 3-+

2022-09-08 Thread Roger Oberholtzer
I checked out the latest with svn, and tried to install it. Similar error: # svn co https://svn.edgewall.org/repos/trac/trunk trac # cd trac # python3 setup.py install Traceback (most recent call last): File "/root/trac/trac/setup.py", line 32, in from trac.dist import

Re: [Trac] Re: Trac and Python 3-+

2022-09-08 Thread Roger Oberholtzer
Updating pip to 22.2.2 did not make a difference. Perhaps I should check it out via svn. What's the proper command to get the best version of 1.5? On Wed, Sep 7, 2022 at 4:52 PM RjOllos wrote: > > > > On Wednesday, September 7, 2022 at 5:50:40 AM UTC-7 Roger Oberholtzer wrote: >> >> I have

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread Jun Omae
On Thu, Sep 8, 2022 at 2:25 AM Jun Omae wrote: > > The issue is reproduced when installing Trac after Babel is installed. > Also, the same issue is raised even when installing trunk. > > Could you please file the issue via trac.edgewall.org/newticket if possible? Sorry, I misunderstood it.

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread Jun Omae
Hi, On Wed, Sep 7, 2022 at 9:50 PM Roger Oberholtzer wrote: > > I have decided to try Trac 1.5 as the system on which this runs was > forced to move to Python3. Or, one can say that Python2 is difficult > to use on this system. > > Anyway, when I tried to install Trac 1.5x with this command: > >

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread jiho lee
Hello Roger Oberholtzer Try installing Trac by creating a Python virtual environment. However, please check out the Trac source code directly from SVN, not from a link you know. There is

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread jiho lee
Hello RjOllos, Please download the file from the link below in the previous email to complete the installation. Install pip https://download.edgewall.org/trac/Trac-latest-dev.tar.gz But the file in the link above gives an error when initializing the trac project. ImportError: Could not import

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread RjOllos
On Wednesday, September 7, 2022 at 7:48:38 AM UTC-7 sea...@gmail.com wrote: > Unfortunately, with Trac version 1.5, you have to download the Trac code, > make some modifications, and then install it. > What modifications did you make? We haven't had any issues reported. If you are

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread RjOllos
On Wednesday, September 7, 2022 at 5:50:40 AM UTC-7 Roger Oberholtzer wrote: > I have decided to try Trac 1.5 as the system on which this runs was > forced to move to Python3. Or, one can say that Python2 is difficult > to use on this system. > > Anyway, when I tried to install Trac 1.5x

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread jiho lee
Unfortunately, with Trac version 1.5, you have to download the Trac code, make some modifications, and then install it. This task can be easily done by someone familiar with Python, but I think there are parts that are difficult for ordinary users to do. I installed Trac 1.5 on Python 3.7 (as

Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread Roger Oberholtzer
On Wed, Aug 17, 2022 at 2:26 AM RjOllos wrote: > > > > On Tuesday, August 16, 2022 at 12:00:21 AM UTC-7 Roger Oberholtzer wrote: >> >> On Mon, Aug 15, 2022 at 11:10 PM RjOllos wrote: >> > >> > >> > >> > On Monday, August 15, 2022 at 1:50:22 AM UTC-7 Roger Oberholtzer wrote: >> >> >> >> I'm

Re: [Trac] Re: Trac and Python 3-+

2022-08-16 Thread RjOllos
On Tuesday, August 16, 2022 at 12:00:21 AM UTC-7 Roger Oberholtzer wrote: > On Mon, Aug 15, 2022 at 11:10 PM RjOllos wrote: > > > > > > > > On Monday, August 15, 2022 at 1:50:22 AM UTC-7 Roger Oberholtzer wrote: > >> > >> I'm getting pressure from our IT guys about the software on our

Re: [Trac] Re: Trac and Python 3-+

2022-08-16 Thread Roger Oberholtzer
On Mon, Aug 15, 2022 at 11:10 PM RjOllos wrote: > > > > On Monday, August 15, 2022 at 1:50:22 AM UTC-7 Roger Oberholtzer wrote: >> >> I'm getting pressure from our IT guys about the software on our Trac >> server being a bit old. I decided to freeze it because the OS >> maintainers (openSUSE)

Re: [Trac] Re: Trac and Python 3-+

2022-08-15 Thread RjOllos
On Monday, August 15, 2022 at 1:50:22 AM UTC-7 Roger Oberholtzer wrote: > I'm getting pressure from our IT guys about the software on our Trac > server being a bit old. I decided to freeze it because the OS > maintainers (openSUSE) were aggressively removing Pytthon2 stuff. I > did not want

Re: [Trac] Re: Trac and Python 3-+

2022-08-15 Thread Roger Oberholtzer
I'm getting pressure from our IT guys about the software on our Trac server being a bit old. I decided to freeze it because the OS maintainers (openSUSE) were aggressively removing Pytthon2 stuff. I did not want to chance that anything went away or otherwise stopped working. At some point I need

Re: [Trac] Re: Trac and Python 3-+

2022-07-01 Thread Roger Oberholtzer
On Fri, Jul 1, 2022 at 7:59 AM figaro wrote: > > And for the record, the following plugins work well with the latest > development release (v1.5.4 at present): > https://trac-hacks.org/wiki/1.6 Thanks for that pointer. I am guessing some that I use might be a part of Trac now. I will start

[Trac] Re: Trac and Python 3-+

2022-06-30 Thread figaro
And for the record, the following plugins work well with the latest development release (v1.5.4 at present): https://trac-hacks.org/wiki/1.6 -- figaro On Friday, 1 July 2022 at 02:23:44 UTC+2 RjOllos wrote: > On Thursday, June 30, 2022 at 3:20:53 AM UTC-7 Roger Oberholtzer wrote: > >> I have

[Trac] Re: Trac and Python 3-+

2022-06-30 Thread RjOllos
On Thursday, June 30, 2022 at 3:20:53 AM UTC-7 Roger Oberholtzer wrote: > I have held off upgrading Trac to use Python 3. But as my Linux distro > (openSUSE) has pretty much dropped all Python < 3 support (the core > release is still available - but very few additional packages), I > really