Caja extensions fills ~/.xsession-errors and Extensions listings are corrupt

Bug #1945052 reported by Norbert
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
deja-dup-caja
Invalid
Undecided
Unassigned
caja-admin (Ubuntu)
Invalid
Undecided
Unassigned
caja-extensions (Ubuntu)
Invalid
Undecided
Unassigned
deja-dup-caja (Ubuntu)
Invalid
Undecided
Unassigned
python-caja (Ubuntu)
Fix Released
Medium
Martin Wimpress 
Impish
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Launch Ubuntu MATE 21.10
2. Open terminal to watch `tail -f ~/.xsession-errors`
3. Open Caja, navigate to Edit, Preferences, Extensions

Expected results:
1. Extension list looks good
2. The ~/.xsession-errors is not filled at all.

Actual results:
1. Extension list has wrong characters
2. The ~/.xsession-errors is full of the messages like shown below

```
(caja:4780): Gtk-WARNING **: 13:39:47.438: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xc7t\x9e\xa5U”
...
(caja:4780): Gtk-WARNING **: 13:39:48.654: Failed to set text from markup due to error parsing markup: Error on line 1 char 36: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5'\xfe3\u007f”
```

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: python3-caja 1.26.0-0ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
Uname: Linux 5.13.0-16-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.465
CurrentDesktop: MATE
Date: Sat Sep 25 13:36:33 2021
LiveMediaBuild: Ubuntu-MATE 21.10 "Impish Indri" - Beta amd64 (20210925)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-caja
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Norbert (nrbrtx) wrote :

For `caja-file-management-properties` one can get similar output:

```
(caja-file-management-properties:9334): Gtk-WARNING **: 13:45:25.520: Failed to set text from markup due to error parsing markup: Error on line 1 char 31: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xe7\xd3h\u007f”

(caja-file-management-properties:9334): Gtk-WARNING **: 13:45:25.520: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: Invalid UTF-8 encoded text in name — not valid “Python: \xf0B7\xc0\xcaU”

(caja-file-management-properties:9334): Gtk-WARNING **: 13:45:25.520: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: Invalid UTF-8 encoded text in name — not valid “Python: 9\xb5\x87\x9c\xcfU”

(caja-file-management-properties:9334): Gtk-WARNING **: 13:45:25.520: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: Invalid UTF-8 encoded text in name — not valid “Python: \xe0\xd1%\xc0\xcaU”
```

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1945052

tags: added: iso-testing
Revision history for this message
Norbert (nrbrtx) wrote :

caja-admin causes the following line to appear:

```
(caja-file-management-properties:6800): Gtk-WARNING **: 21:09:10.379: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: Invalid UTF-8 encoded text in name — not valid “Python: \xcb\xe7%C\xb3U”
```

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Norbert (nrbrtx) wrote :

Caja-rename causes the following line to appear:

```
(caja-file-management-properties:7372): Gtk-WARNING **: 21:22:42.535: Failed to set text from markup due to error parsing markup: Error on line 1 char 29: Invalid UTF-8 encoded text in name — not valid “Python: H3\x89c\u0005”
```

Issue is at https://github.com/tari01/caja-rename/issues/6

Revision history for this message
Norbert (nrbrtx) wrote :

deja-dup caja causes the following line to appear:

```
(caja-file-management-properties:7722): Gtk-WARNING **: 21:28:04.420: Failed to set text from markup due to error parsing markup: Error on line 1 char 33: Invalid UTF-8 encoded text in name — not valid “Python: g\xe3\u0002a\u0005”
```

Revision history for this message
Norbert (nrbrtx) wrote :

tortoisehg-caja causes the following line to appear:

```
(caja-file-management-properties:13746): Gtk-WARNING **: 21:42:46.214: Failed to set text from markup due to error parsing markup: Error on line 1 char 31: Invalid UTF-8 encoded text in name — not valid “Python: ;\xee\xda\u0019\xa3U”
```

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Norbert (nrbrtx) wrote :

In the live session (Ubuntu-MATE 21.10 "Impish Indri" - Beta amd64 (20210925)) running `caja-file-management-properties` from terminal and navigating to Extensions tab leads to the following terminal output:

```
$ caja-file-management-properties
Initializing caja-open-terminal extension
Initializing caja-sendto extension
Initializing caja-wallpaper extension

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:49.682: Failed to set text from markup due to error parsing markup: Error on line 1 char 35: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xfb\u000b\xe7\u007f”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:49.682: Failed to set text from markup due to error parsing markup: Error on line 1 char 35: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xfb\u000b\xe7\u007f”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:49.686: Failed to set text from markup due to error parsing markup: Error on line 1 char 31: Invalid UTF-8 encoded text in name — not valid “Python: `\u00192~\xdcU”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:50.885: Failed to set text from markup due to error parsing markup: Error on line 1 char 35: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xfb\u000b\xe7\u007f”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:50.885: Failed to set text from markup due to error parsing markup: Error on line 1 char 35: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xfb\u000b\xe7\u007f”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:50.885: Failed to set text from markup due to error parsing markup: Error on line 1 char 35: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xfb\u000b\xe7\u007f”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:50.886: Failed to set text from markup due to error parsing markup: Error on line 1 char 35: Invalid UTF-8 encoded text in name — not valid “Python: \xb0\xd5\xfb\u000b\xe7\u007f”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:50.887: Failed to set text from markup due to error parsing markup: Error on line 1 char 31: Invalid UTF-8 encoded text in name — not valid “Python: `\u00192~\xdcU”

(caja-file-management-properties:5153): Gtk-WARNING **: 18:54:50.888: Failed to set text from markup due to error parsing markup: Error on line 1 char 31: Invalid UTF-8 encoded text in name — not valid “Python: `\u00192~\xdcU”
```

The above output is not expected.

Norbert (nrbrtx)
Changed in caja-extensions (Ubuntu):
status: New → Invalid
Changed in deja-dup-caja (Ubuntu):
status: New → Invalid
Changed in caja-admin (Ubuntu):
status: New → Invalid
Changed in deja-dup-caja:
status: New → Invalid
Changed in python-caja (Ubuntu):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Martin Wimpress  (flexiondotorg)
Changed in python-caja (Ubuntu):
status: Triaged → In Progress
summary: - Some Caja Python extension fills ~/.xsession-errors with messages like
- "Failed to set text from markup due to error parsing markup: Error on
- line 1 char 36: Invalid UTF-8 encoded text in name — not valid"
+ Caja extensions fills ~/.xsession-errors and Extensions listings are
+ corrupt
Changed in python-caja (Ubuntu):
importance: Low → Medium
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Please provide a complete SRU template for this bug, per https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in python-caja (Ubuntu):
status: Fix Committed → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Norbert, or anyone else affected,

Accepted python-caja into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-caja/1.26.0-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python-caja (Ubuntu Impish):
status: New → Fix Committed
tags: added: verification-needed verification-needed-impish
Revision history for this message
Norbert (nrbrtx) wrote :

Package from proposed fixes the issue. Thanks!

tags: added: verification-done verification-done-impish
removed: verification-needed verification-needed-impish
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-caja - 1.26.0-0ubuntu2

---------------
python-caja (1.26.0-0ubuntu2) impish; urgency=medium

  * debian/patches:
    + Add 1000_fix-xsession-errors.patch. (LP: #1945052)

 -- Martin Wimpress <email address hidden> Wed, 13 Oct 2021 13:33:09 +0100

Changed in python-caja (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for python-caja has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-caja - 1.26.0-0ubuntu2

---------------
python-caja (1.26.0-0ubuntu2) impish; urgency=medium

  * debian/patches:
    + Add 1000_fix-xsession-errors.patch. (LP: #1945052)

 -- Martin Wimpress <email address hidden> Wed, 13 Oct 2021 13:33:09 +0100

Changed in python-caja (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

I went ahead and copied these package versions to jammy:

 $ ./copy-package --from-suite impish-updates --to-suite jammy -b python-caja
Copy candidates:
        python-caja 1.26.0-0ubuntu2 in impish
        python-caja-common 1.26.0-0ubuntu2 in impish amd64
        python-caja-common 1.26.0-0ubuntu2 in impish arm64
        python-caja-common 1.26.0-0ubuntu2 in impish armhf
        python-caja-common 1.26.0-0ubuntu2 in impish i386
        python-caja-common 1.26.0-0ubuntu2 in impish ppc64el
        python-caja-common 1.26.0-0ubuntu2 in impish riscv64
        python-caja-common 1.26.0-0ubuntu2 in impish s390x
        python3-caja 1.26.0-0ubuntu2 in impish amd64
        python3-caja 1.26.0-0ubuntu2 in impish arm64
        python3-caja 1.26.0-0ubuntu2 in impish armhf
        python3-caja 1.26.0-0ubuntu2 in impish ppc64el
        python3-caja 1.26.0-0ubuntu2 in impish riscv64
        python3-caja 1.26.0-0ubuntu2 in impish s390x
        python3-caja-dbgsym 1.26.0-0ubuntu2 in impish amd64
        python3-caja-dbgsym 1.26.0-0ubuntu2 in impish arm64
        python3-caja-dbgsym 1.26.0-0ubuntu2 in impish armhf
        python3-caja-dbgsym 1.26.0-0ubuntu2 in impish ppc64el
        python3-caja-dbgsym 1.26.0-0ubuntu2 in impish riscv64
        python3-caja-dbgsym 1.26.0-0ubuntu2 in impish s390x
Candidate copy target: https://api.launchpad.net/devel/ubuntu/+archive/primary
Copy [y|N]? y
20 copies requested.

Revision history for this message
Norbert (nrbrtx) wrote :

Fixed on Jammy.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.