Mailing List Archive

1 2  View All
Re: Re: Trac and Python 3-+ [ In reply to ]
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 <rjollos@gmail.com> 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
>> /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 _load_py_files
>> imp.load_source(plugin_name, plugin_file)
>> File "/usr/lib64/python3.10/imp.py", line 172, in load_source
>> module = _load(spec)
>> File "<frozen importlib._bootstrap>", line 719, in _load
>> File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
>> File "<frozen importlib._bootstrap_external>", line 883, in exec_module
>> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>> File "/vol1/trac/systems/plugins/ASCIIMath.py", line 342, in <module>
>> Symbol(input="alpha", el=El("mi", u"\u03B1"))
>> File "/vol1/trac/systems/plugins/ASCIIMath.py", line 80, in El
>> if isinstance(text, basestring):
>> NameError: name 'basestring' is not defined
>
>
> You'll need to remove that plugin from /vol1/trac/systems/plugins since it's not yet Py3 compatible.
>
>
> --
> 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+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/46a07e81-76b9-4ba2-bc1c-35daaab854ffn%40googlegroups.com.



--
Roger Oberholtzer

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CANkOqwObr%2B%3DZpnJ6yJT_oNx8KUs4%3DfL%3DFnJFK0yKYpbu57fO0Q%40mail.gmail.com.
Re: Re: Trac and Python 3-+ [ In reply to ]
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.
Dept. of Information Science, Graduate School, Korea National Open
University


2022? 9? 12? (?) ?? 4:27, Roger Oberholtzer <roger.oberholtzer@gmail.com>??
??:

> 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 <rjollos@gmail.com> 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
> >> /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 _load_py_files
> >> imp.load_source(plugin_name, plugin_file)
> >> File "/usr/lib64/python3.10/imp.py", line 172, in load_source
> >> module = _load(spec)
> >> File "<frozen importlib._bootstrap>", line 719, in _load
> >> File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
> >> File "<frozen importlib._bootstrap_external>", line 883, in exec_module
> >> File "<frozen importlib._bootstrap>", line 241, in
> _call_with_frames_removed
> >> File "/vol1/trac/systems/plugins/ASCIIMath.py", line 342, in <module>
> >> Symbol(input="alpha", el=El("mi", u"\u03B1"))
> >> File "/vol1/trac/systems/plugins/ASCIIMath.py", line 80, in El
> >> if isinstance(text, basestring):
> >> NameError: name 'basestring' is not defined
> >
> >
> > You'll need to remove that plugin from /vol1/trac/systems/plugins since
> it's not yet Py3 compatible.
> >
> >
> > --
> > 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+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/trac-users/46a07e81-76b9-4ba2-bc1c-35daaab854ffn%40googlegroups.com
> .
>
>
>
> --
> Roger Oberholtzer
>
> --
> 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+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/trac-users/CANkOqwObr%2B%3DZpnJ6yJT_oNx8KUs4%3DfL%3DFnJFK0yKYpbu57fO0Q%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAPCiUfzcn482Gv3JGReznM43gKqsxFfCdXrnYAkoB0Hoyb1Q3A%40mail.gmail.com.

1 2  View All