Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export filter problem in unoconv-0.5 PropertyValue not defined #78

Closed
johnfcrowhurst opened this issue Aug 20, 2012 · 1 comment
Closed
Assignees
Labels

Comments

@johnfcrowhurst
Copy link

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

@ghost ghost assigned dagwieers Aug 20, 2012
@dagwieers
Copy link
Member

This is not version 0.5, but a broken trunk. Try again ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants