Bug 1984245 - TeXmacs 1.99.13 plugins don't work properly
Summary: TeXmacs 1.99.13 plugins don't work properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: TeXmacs
Version: 34
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-21 04:45 UTC by amit112amit
Modified: 2021-09-24 20:31 UTC (History)
3 users (show)

Fixed In Version: TeXmacs-2.1-1.fc35 TeXmacs-2.1-1.fc34
Clone Of:
Environment:
Last Closed: 2021-09-24 20:24:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description amit112amit 2021-07-21 04:45:22 UTC
Description of problem:
The plugins in the TeXmacs-1.99.13 available through official Fedora repository don't work correctly. The binary available from TeXmacs website is TeXmacs-2.1 and everything works fine in it.

Version-Release number of selected component (if applicable):
1.99.13

How reproducible:
100%

Steps to Reproduce:
1. Start TeXmacs and open a new document (Ctrl + N)
2. Start an interactive Python session. (Click the computer icon, the last item in the middle row in the toolbar)
3. A Python REPL is launched. Type any simply Python code `a = 3` at the prompt and hit enter. It gives a SyntaxError.
Traceback (most recent call last):
  File "/usr/share/TeXmacs/plugins/tmpy/session/tm_python.py", line 129, in <module>
    line= eval(input ())
  File "<string>", line 1
    a = 3
      ^
SyntaxError: invalid syntax
4. The same behavior is seen if we launch a SymPy session or Gnuplot or Asymptote sessions. It does not recognize valid code in the respective programs.

Actual results:
SyntaxError

Expected results:
There should not be any error or any output. The Python REPL prompt should reappear.

Additional Info:
The binary available from TeXmacs website has version 2.1 and it works correctly.

Comment 1 Orion Poplawski 2021-09-16 03:32:40 UTC
Surely you are not using EPEL8 as there is no TeXmacs package there.  What is the output of:

rpm -q TeXmacs

Comment 2 Fedora Update System 2021-09-16 13:51:37 UTC
FEDORA-2021-5ebea5720f has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5ebea5720f

Comment 3 amit112amit 2021-09-16 14:54:54 UTC
The output of `rpm -q TeXmacs` is `TeXmacs-1.99.13-6.fc34.x86_64`.

I also ran `repoquery -i TeXmacs | head` and the output is:

Last metadata expiration check: 1:32:00 ago on Thu 16 Sep 2021 06:50:22 PM IST.
Name         : TeXmacs
Version      : 1.99.13
Release      : 6.fc34
Architecture : x86_64
Size         : 53 M
Source       : TeXmacs-1.99.13-6.fc34.src.rpm
Repository   : fedora
Summary      : Structured WYSIWYG scientific text editor
URL          : http://www.texmacs.org
License      : GPLv2+

Comment 4 Fedora Update System 2021-09-16 17:02:02 UTC
FEDORA-2021-becffff88a has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-becffff88a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-becffff88a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-09-16 19:00:34 UTC
FEDORA-2021-5ebea5720f has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-5ebea5720f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5ebea5720f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-09-24 20:24:36 UTC
FEDORA-2021-becffff88a has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-09-24 20:31:28 UTC
FEDORA-2021-5ebea5720f has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.