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

The fix for Issue #75 causes "NameError: global name 'PropertyValue' is not defined" #77

Closed
tcarmen opened this issue Aug 20, 2012 · 4 comments
Assignees
Labels
Milestone

Comments

@tcarmen
Copy link

tcarmen commented Aug 20, 2012

I really appreciate you taking a look at it, and I'm sure this is a trivial fix if I really knew Python, but I can't seem to find what it's complaining about:

Now unoconv throws the following error whenever

-e foo=var is added to the command line. It doesn't seem to matter what foo or var are.

-bash-4.2$ /bin/unoconv -e test=1 -o /tmp/8.pdf -f pdf /tmp.8.fodt
Traceback (most recent call last):
File "/bin/unoconv", line 1048, in
op = Options(sys.argv[1:])
File "/bin/unoconv", line 548, in init
self.exportfilter.append( PropertyValue( name, 0, int(value), 0 ) )
NameError: global name 'PropertyValue' is not defined

@dagwieers
Copy link
Member

Sorry for that, fixed ! You could have notified me through a comment in #75 instead ;-)

@ghost ghost assigned dagwieers Aug 20, 2012
@tcarmen
Copy link
Author

tcarmen commented Aug 20, 2012

Sorry for that, fixed ! You could have notified me through a comment in #75 instead ;-)

75 said "closed" so I didn't think I could post in it anymore.

In any case, thanks for the fix!

I'll download it once it shows up on github and test it.

@dagwieers
Copy link
Member

No problem. I thought I pushed it earlier but I didn't. Should be there now !

@tcarmen
Copy link
Author

tcarmen commented Aug 20, 2012

The current version works great!

Thanks!

Terry

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