Giter Site home page Giter Site logo

Comments (9)

rbuj avatar rbuj commented on August 16, 2024 1

@flexiondotorg I will take a look. I have to create a new VM to debug and test the code on Ubuntu MATE 21.10. I haven't seen these log lines on Fedora.

VirtualBox_Fedora_13_10_2021_14_44_08

from python-caja.

rbuj avatar rbuj commented on August 16, 2024 1

#67 may fix the issue, it didn't show any bug on Fedora, I will try it on Ubuntu ASAP...

from python-caja.

N0rbert avatar N0rbert commented on August 16, 2024

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.

from python-caja.

flexiondotorg avatar flexiondotorg commented on August 16, 2024

@rbuj Reverting this commit (from #58) fixes this issue:

from python-caja.

flexiondotorg avatar flexiondotorg commented on August 16, 2024

@rbuj Patched versions (that commit reverted) are published in this PPA for Focal, Hirsute and Impish

My testing confirms the issue is resolved and also the extensions list is correctly displayed now.

from python-caja.

cwendling avatar cwendling commented on August 16, 2024

@rbuj Reverting this commit (from #58) fixes this issue:

* [3ad9a5d](https://github.com/mate-desktop/python-caja/commit/3ad9a5d5e71736632ad979557c6f687596d24992)

Yeah this commit is buggy, because caja_python_load_file() while actually having a const char* argument keeps a reference in all_pyfiles without making a copy, so it must not be freed. It also discards the const qualifier in the PyImport_ImportModuleEx() call, not sure what the implications are there.

from python-caja.

rbuj avatar rbuj commented on August 16, 2024

I may be wrong, but at first glance a g_strdup (filename) seems to be missing at the line

all_pyfiles = g_list_append(all_pyfiles, (gchar*)filename);

from python-caja.

rbuj avatar rbuj commented on August 16, 2024

@flexiondotorg python extensions seem to work properly after applying #67 on Ubuntu MATE 21.10.

VirtualBox_Ubuntu_13_10_2021_18_45_16

from python-caja.

flexiondotorg avatar flexiondotorg commented on August 16, 2024

Thanks for working on this. I'll test it later 👍

from python-caja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.