Bug 130301 - QR Code generator not working
Summary: QR Code generator not working
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-30 19:06 UTC by Alfredo
Modified: 2020-02-22 10:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alfredo 2020-01-30 19:06:44 UTC
Description:
The QR Code Extension is not working on Linux.
The Extension Manager shows an error:
In German: "Fehler: der Status der Extension ist nicht bekannt"
In English: "Error: the status of the extension is not known"

The Extension is not active.
Trying to start the Extension throws the following errors:

1. a warning window with this message:
<class 'AttributeError'>: module 'uno_component' has no attribute 'writeRegistryInfo', traceback follows
  File "/usr/lib64/libreoffice/program/pythonloader.py", line 152, in writeRegistryInfo
    return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )

2. an error window
(com.sun.star.uno.RuntimeException) { { Message = "<class 'AttributeError'>: module 'uno_component' has no attribute 'writeRegistryInfo', traceback follows\X000a  File \"/usr/lib64/libreoffice/program/pythonloader.py\", line 152, in writeRegistryInfo\X000a    return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

Steps to Reproduce:
1. open Extension Manager
2. activate QR Code 

Actual Results:
The QR Code shows an error and is not active
on activate shows error messages

Expected Results:
QR Code extension is active


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested on OpenSuse Tumbleweed with KDE-Plasma
Comment 1 Julien Nabet 2020-01-30 20:05:39 UTC
QR Code is integrated in LO from 6.4.0.
For example on Writer, you can generate one from:
- Insert menu
- Object
- QR Code...
Could you give it a try?

About the extension itself, what's the name of it? You could uninstall the extension, rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux) and give a new try.
Comment 2 Alfredo 2020-01-31 20:16:49 UTC
aaah, ok.
Well hidden ;-)

I tried the QR-Code function as you described.
It works! :-)

I will uninstall the QR-Extension.
https://extensions.libreoffice.org/extensions/barcode/1.3.5.0
Comment 3 Julien Nabet 2020-01-31 20:53:05 UTC
Alfredo: thank you for your feedback.

Michael: taking a look at https://extensions.libreoffice.org/extensions/barcode, I see compatibily for LO 3.4 and 3.5 but nothing for more recent LO versions. Whom to ping to remove this extension from tdf website?
Indeed, I would have put NOTOURBUG but the extension is on LO website.
Comment 4 Julien Nabet 2020-01-31 20:54:11 UTC
Sorry Michael, I had put a comment for you in my previous comment but had forgotten to put you in cc.
Any thoughts?