You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In unoconv-0.4 you could type unoconv --version and it would return the version number, in 0.5 it returns:
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1048, in
op = Options(sys.argv[1:])
File "/usr/bin/unoconv", line 586, in init
self.version()
File "/usr/bin/unoconv", line 633, in version
product = uno.getComponentContext().ServiceManager.createInstance("com.sun.star.configuration.ConfigurationProvider").createInstanceWithArguments("com.sun.star.configuration.ConfigurationAccess", UnoProps(nodepath="/org.openoffice.Setup/Product"))
NameError: global name 'uno' is not defined
Also it doesn't appear to work with export filters:
Gives:
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1048, in
op = Options(sys.argv[1:])
File "/usr/bin/unoconv", line 543, in init
self.exportfilter.append( PropertyValue( name, 0, True, 0 ) )
NameError: global name 'PropertyValue' is not defined
The text was updated successfully, but these errors were encountered:
In unoconv-0.4 you could type unoconv --version and it would return the version number, in 0.5 it returns:
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1048, in
op = Options(sys.argv[1:])
File "/usr/bin/unoconv", line 586, in init
self.version()
File "/usr/bin/unoconv", line 633, in version
product = uno.getComponentContext().ServiceManager.createInstance("com.sun.star.configuration.ConfigurationProvider").createInstanceWithArguments("com.sun.star.configuration.ConfigurationAccess", UnoProps(nodepath="/org.openoffice.Setup/Product"))
NameError: global name 'uno' is not defined
Also it doesn't appear to work with export filters:
unoconv -f pdf -e RestrictPermissions=true -e PermissionPassword=test -e Printing=0 -e Changes=0 -e EnableCopyingOfContent=false tester.doc
Gives:
Traceback (most recent call last):
File "/usr/bin/unoconv", line 1048, in
op = Options(sys.argv[1:])
File "/usr/bin/unoconv", line 543, in init
self.exportfilter.append( PropertyValue( name, 0, True, 0 ) )
NameError: global name 'PropertyValue' is not defined
The text was updated successfully, but these errors were encountered: