Barcode extension crashes when installing on libreoffice

Bug #933893 reported by David Favro on 2012-02-17
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
EOEC
Undecided
Miklos Vajna

Bug Description

Install barcode extension (identified as version "1.3.1" when downloaded from http://libreoffice-na.us/English/extensions.html) in libreoffice 3.5.0 on Ubuntu 10.04 (x86_64).

Get error-message dialog; after restarting libreoffice, the extension is present in extension-manager but disabled; if attempt to enable it, get same error-message dialog and it does not enable.

Not really relevant to this report, but the text in the error dialog seems, bizarrely, not to be selectable and hence not easy to copy/paste, which is more than a little frustrating, but I suppose should be reported as a bug in libreoffice, not here. Anyhow, I will attempt to hand-copy the first bit of the message here rather than attach a screenshot:

<type 'exceptions.AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback:
pythonloader.py:158 in function writeRegistryInfo() [return mod.writeRegsitryInfo( self.ctx.ServiceManager, regKey )]

Daniel Darabos (darabos-daniel) wrote :

Yes, I've heard from Kami that the way extensions register has changed with 3.5.0. Kami, have you figured out a solution by any chance?

Changed in eoec:
assignee: nobody → KAMI (kami911)
Miklos Vajna (vmiklos) wrote :

This should be fixed in the just-released 0.4.

Daniel Darabos (darabos-daniel) wrote :

Good point! Thanks again.

Changed in eoec:
assignee: KAMI (kami911) → Miklos Vajna (vmiklos)
status: New → Fix Released
KAMI (kami911) wrote :

Hi,

I released a Barcode oxt from Kami's improved version, here:
http://extensions.libreoffice.org/extension-center/barcode/releases/1.3.5.0

* LibreOffice 3.4-3.5 compatibility
* Resizeable barcodes
* CODE128 fix

mrh (mark-heieis) wrote :

Hi There,

FYI - Just attempted an install using 1.3.5.0 and LO 3. 5.2.1. (Build ID 350M (Build: 201)) and ran into the same error and error message.

See attached install error message.

DOHC95 (double7) wrote :

Hi Dear,

 Now using LibreOffice ver. 3.5.2.2 on Windows7 64bit,
and ran into the same error and same error massage!
about python version error?
why do it error, enabling.
(using 1.3.5.0)
Suddenly FAQ.

Murz (murznn) wrote :

Got the same error on Libreoffice 4.2 too.

Viktor (viktor-kolovski) wrote :

Aboslutely correct - BAR codes 1.3.5.0 can not be loaded to Libre Office 4.2. Is there certain Shortcut ?

Fabricio Biazzotto (fbiazzotto) wrote :

Got the following error on LibreOffice 4.3.5.2:

(com.sun.star.uno.RuntimeException) { { Message = "<class 'AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback follows\X000a C:\\Program Files (x86)\\LibreOffice 4\\program\\pythonloader.py:152 in function writeRegistryInfo() [return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

mitzampt (mitzampt) wrote :

LO Version: 4.4.2.2 Build: 40m0(Build:2)
Same exception

Mathias Neumann (matzeneu) wrote :

Hey Guys, i have the same failure under Libre Office 4.3.7.2 for Mac.

<class 'AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback follows
  /Applications/LibreOffice.app/Contents/MacOS/pythonloader.py:152 in function writeRegistryInfo() [return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )]

I hope we will get it working together.

Mathias Neumann (matzeneu) wrote :

After clicking ok i got the next Error:

(com.sun.star.uno.RuntimeException) { { Message = "<class 'AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback follows\X000a /Applications/LibreOffice.app/Contents/MacOS/pythonloader.py:152 in function writeRegistryInfo() [return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

joska (joska-neuf) wrote :

hi,

same error on ubuntu 15.04 and LO 4.4.2.2
but,the same extension works on AOO in windows 7

what's happen?
see you

ManChesTer (thm-skynet) wrote :

(com.sun.star.uno.RuntimeException) { { Message = "<class 'AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback follows\X000a /usr/lib/libreoffice/program/pythonloader.py:152 in function writeRegistryInfo() [return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

Marcel Möbus (moebus) wrote :

same with LibreOffice 4.4.5.2 on Win10.

<class 'AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback follows
  C:\Program Files (x86)\LibreOffice 4\program\pythonloader.py:152 in function writeRegistryInfo() [return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )]

(com.sun.star.uno.RuntimeException) { { Message = "<class 'AttributeError'>: 'module' object has no attribute 'writeRegistryInfo', traceback follows\X000a C:\\Program Files (x86)\\LibreOffice 4\\program\\pythonloader.py:152 in function writeRegistryInfo() [return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

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

Other bug subscribers