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

Trouble upgrading to CentOS 6 #56

Closed
anikkar opened this issue May 16, 2012 · 4 comments
Closed

Trouble upgrading to CentOS 6 #56

anikkar opened this issue May 16, 2012 · 4 comments
Labels

Comments

@anikkar
Copy link

anikkar commented May 16, 2012

I setup unoconv & openoffice on a cent 5.8 machine, and got things working perfectly using the following commands:

  1. sudo yum install openoffice.org-pyuno openoffice.org-headless
  2. sudo rpm -ivh http://pkgs.repoforge.org/unoconv/unoconv-0.5-1.el5.rf.noarch.rpm
  3. unoconv -n -d presentation -f ppt preso.odp

The above commands installed openoffice 3.1.1-19.10.el5_8.1

So I went to do the same on Cent 6.2 (except I changed the unoconv to unoconv-0.5-1.el6.rf.noarch.rpm), and I ran into one problem after another:

  1. Yum installed OpenOffice 3.2.1-19.6.el6_0.5, which for some reason did not include the soffice binary. After some digging, and trial and error, I was able to get the binary by installing openoffice.org-writer
  2. I get the following error when running: unoconv -n -d presentation -f ppt preso.odp

UNO IllegalArgument during import phase: Source file cannot be read. URL seems to be an unsupported one.

I made sure the permissions & owner on preso.odp are correct (and tried adding a sudo in front), but it didn't help.

I've been googling around for a few days now, and haven't found anything fruitful.

I tried installing Openoffice 3.1.1, but ran into dependency hell, and didn't make any progress.

I also noticed that Cent 5.8 has python 2.4.3 whereas Cent 6 uses 2.6.6, but I'm not sure if that makes a difference.

I tried looking at the Troubleshooting section in the README, but a lot of it seemed specific to LibreOffice, so I was wondering if anyone else has run into similar issues.

Thanks.

@dagwieers
Copy link
Member

I think you lack the required OpenOffice sub-packages for the PPT conversion to work. The README states which packages you may need. The README may look like it is LibreOffice specific, but LibreOffice and OpenOffice are interchangeable in the documentation (it is stated at the top of that document).

If I can improve the documentation so this is clearer, let me know how. We are looking to make unoconv a better experience.

@anikkar
Copy link
Author

anikkar commented May 17, 2012

Thanks for getting back to me. I had actually installed impress, and some other libraries, and things were still not working. So I decided to walk through your troubleshooting checklist once again, and realized that the listener I had started was still running. I guess the running listener did not have the yum packages I installed, as when I restarted the unoconv listener, things started working...

@anikkar anikkar closed this as completed May 17, 2012
@dagwieers
Copy link
Member

If you find a way to reproduce such a hanging listener (always a LibreOffice or OpenOffice issue) we should report it to the upstream project. There have been various reports of such issues, but nobody reported a reproducable case. Likely this is a timinig/complex deadlock issue that is hard to mimic.

@dagwieers
Copy link
Member

BTW thanks for taking the time to follow the troubleshooting checklist and reporting back !

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