FEDORA-2019-cd4008c5ce created by kkofler 11 months ago for Fedora 31
stable

This update enables Kig Python 3 scripting support and updates Kig to the latest upstream release, version 19.08.3, which includes a few bug fixes, see: https://cgit.kde.org/kig.git/log/?h=Applications%2F19.08

It also fixes:

  • pykig to actually work with Python 3,
  • an assertion failure when calling a Python function with arguments (due to an incorrect reference count),
  • the missing OK and Cancel buttons in the Coordinate Precision dialog.

How to install

sudo dnf upgrade --advisory=FEDORA-2019-cd4008c5ce

This update has been submitted for testing by kkofler.

11 months ago

This update's test gating status has been changed to 'waiting'.

11 months ago

This update's test gating status has been changed to 'ignored'.

11 months ago
User Icon paolini commented & provided feedback 11 months ago

python script can now be created but kig crashes as soon as an object is moved in the kig window.

Details:

I created a Point, then asked for its x-coordinate, then created a python scripting with the numeric value of the x coordinate as an argument and the following script:

def calc( arg1 ): # Calculate whatever you want to show here, and return it. # For example, to return one half of the input number, # you would put this code here: # return DoubleObject( arg1.value()/ 2 ) # Please refer to the manual for more information.

return DoubleObject( arg1.value()/ 2 )
User Icon paolini commented & provided feedback 11 months ago

Forgot to mention. The error showing up upon kig crash is:

$ kig org.kde.ksyntaxhighlighting: Rule: Unknown format "Normal" in context "Normal" of definition "Python-Kig" org.kde.ksyntaxhighlighting: Rule: Unknown format "Normal" in context "parenthesised" of definition "Python-Kig"

BZ#1777998 python scripting not present
User Icon kkofler commented & provided feedback 11 months ago

Do you have a backtrace for the crash? I don't think the warnings you see on the console are related.

User Icon paolini commented & provided feedback 11 months ago

kig: /usr/include/boost/python/object_core.hpp:422: boost::python::api::object_base::~object_base(): Assertion `Py_REFCNT(m_ptr) > 0' failed. Aborted (core dumped)

So I suspect that this is related to the same bug that I reported upstream as https://bugs.kde.org/show_bug.cgi?id=388241

Sorry this seems something that has to be fixed upstream as I get

User Icon kkofler commented & provided feedback 11 months ago

I reopened your downstream report https://bugzilla.redhat.com/show_bug.cgi?id=1778000 but I cannot promise anything at this time.

User Icon paolini commented & provided feedback 11 months ago

Thanks... sorry, I mangled my comment above. The error appearing there comes from a kig compiled from source, I don't know how to help you. To get a backtrace I need help; is the problem present in fedora 32?

This update has been pushed to testing.

11 months ago

This update can be pushed to stable now if the maintainer wishes

10 months ago

kkofler edited this update.

New build(s):

  • kig-19.08.3-3.fc31

Removed build(s):

  • kig-19.08.3-1.fc31

Karma has been reset.

10 months ago

This update has been submitted for testing by kkofler.

10 months ago
User Icon paolini commented & provided feedback 10 months ago
karma

Just tested and it seems working fine. Regarding the coordinate precision dialog: now the panel works fine; however the new value does not seem to affect the number of decimal digits printed. This is by sure an upstream issue and I will open a report there.

BZ#1311513 coordinate precision cannot be changed
BZ#1777998 python scripting not present
BZ#1778000 Python scripting assertion failure

This update's test gating status has been changed to 'greenwave_failed'.

10 months ago

This update's test gating status has been changed to 'ignored'.

10 months ago

FEDORA-2019-cd4008c5ce ejected from the push because "Cannot find relevant tag for kig-19.08.3-3.fc31. None of ['f31-updates-testing', 'f31-updates-testing-pending'] are in ['dist-6E-epel-testing-candidate', 'epel7-testing-candidate', 'dist-5E-epel-testing-candidate', 'f27-modular-updates-candidate', 'f30-modular-updates-candidate', 'f30-container-updates-candidate', 'f30-flatpak-updates-candidate', 'f28-modular-updates-candidate', 'f28-container-updates-candidate', 'epel8-testing-candidate', 'f31-modular-updates-candidate', 'f32-container-updates-candidate', 'f31-container-updates-candidate', 'f31-flatpak-updates-candidate', 'f29-modular-updates-candidate', 'f29-container-updates-candidate', 'f29-flatpak-updates-candidate', 'f22-updates-candidate', 'f21-updates-candidate', 'f25-updates-candidate', 'f24-updates-candidate', 'f23-updates-candidate', 'f26-updates-candidate', 'f27-updates-candidate', 'f30-updates-candidate', 'f28-updates-candidate', 'f31-updates-candidate', 'f32-updates-candidate', 'f29-updates-candidate', 'el8-modular-updates-candidate']."

9 months ago

This update has been pushed to testing.

9 months ago

This update can be pushed to stable now if the maintainer wishes

9 months ago
User Icon kkofler commented & provided feedback 9 months ago

however the new value does not seem to affect the number of decimal digits printed. This is by sure an upstream issue and I will open a report there.

I still don't see an upstream report for that…

User Icon paolini commented & provided feedback 9 months ago

I am a bit confused... I still do not see the 'ok' button in the coordinate precision dialog when I compile from git sources. Moreover: actually a change in the coordinate precision WORKS! Only it works only on the "Coordinates" of a point when obtained right-clicking on a point -> Add Text Label -> Coordinate. This could actually make sense.

User Icon kkofler commented & provided feedback 9 months ago

That's because the fix is only in the release/19.12 branch and was not merged to master yet.

User Icon paolini provided feedback 9 months ago
karma
BZ#1311513 coordinate precision cannot be changed
BZ#1777998 python scripting not present
BZ#1778000 Python scripting assertion failure
User Icon kkofler commented & provided feedback 9 months ago

I am sending this one to stable now, it is definitely an improvement over the status quo. I will be pushing a fix for #416037 to testing soon. If there are any fixes needed for coordinate precision, please point me to those so that I can apply those, too.

This update has been submitted for stable by kkofler.

9 months ago

This update has been pushed to stable.

9 months ago

Please login to add feedback.

Metadata
Type
enhancement
Severity
medium
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-10
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
11 months ago
in testing
9 months ago
in stable
9 months ago
modified
10 months ago
BZ#1311513 coordinate precision cannot be changed
0
1
BZ#1777998 python scripting not present
0
1
BZ#1778000 Python scripting assertion failure
0
1

Automated Test Results