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

Image on ghcr.io/unoconv/unoserver-docker is outdated. #58

Open
aizpy opened this issue Sep 25, 2024 · 4 comments
Open

Image on ghcr.io/unoconv/unoserver-docker is outdated. #58

aizpy opened this issue Sep 25, 2024 · 4 comments
Assignees

Comments

@aizpy
Copy link

aizpy commented Sep 25, 2024

The current image on ghcr.io/unoconv/unoserver-docker is outdated (version 0.3.21). The unoserver version used in the image is 2.0.1, while the latest unoserver version is 2.2.2. When I use unoconvert version 2.2.2 for file conversion, the following error is reported:

unoconvert --host-location remote --convert-to docx /data/convert/3060177.doc /data/3060177.docx
INFO:unoserver:Connecting.
Traceback (most recent call last):
  File "/usr/local/bin/unoconvert", line 8, in <module>
    sys.exit(converter_main())
  File "/usr/local/lib/python3.10/dist-packages/unoserver/client.py", line 354, in converter_main
    result = client.convert(
  File "/usr/local/lib/python3.10/dist-packages/unoserver/client.py", line 124, in convert
    info = self._connect(proxy)
  File "/usr/local/lib/python3.10/dist-packages/unoserver/client.py", line 52, in _connect
    info = proxy.info()
  File "/usr/lib/python3.10/xmlrpc/client.py", line 1122, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.10/xmlrpc/client.py", line 1464, in __request
    response = self.__transport.request(
  File "/usr/lib/python3.10/xmlrpc/client.py", line 1166, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.10/xmlrpc/client.py", line 1182, in single_request
    return self.parse_response(resp)
  File "/usr/lib/python3.10/xmlrpc/client.py", line 1354, in parse_response
    return u.close()
  File "/usr/lib/python3.10/xmlrpc/client.py", line 668, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: '<class \'Exception\'>:method "info" is not supported'>

As mentioned in this link Issue 130, this error is due to the version mismatch between the two.

@jimisola
Copy link
Member

jimisola commented Sep 30, 2024

You'll have to use the version (via docker or pypi) in both places for now. The github action pipeline broke after an update, I've spent hours on resolving it, but I haven't been successful. I don't have an unlimited amount of time to put into this project. Especially, not since I'm not using unoserver anymore myself.

I see now that they have released a new major version, so it's worth having a look at it again.

@regebro Would you have time to have a look at it? Or is there someone else that can take over?

@regebro
Copy link
Member

regebro commented Oct 2, 2024

@jimisola I haven't got the foggiest idea of anything that is going on in this repository, and I have run out of time trying to understand it. If you don't have time to maintain it, we should mark it as unmaintained.

@jimisola
Copy link
Member

jimisola commented Oct 5, 2024

Sorry for the delayed response due to sickness. The merge step in pipeline fails due to an issue with the quotation. I'm not sure (tried everything including manipulation with awk and sed) how to fix it other than a workaround that removes some information from the build.

I've reported the issue to the github action and they're looking at it. So, when I'm not sick I'll revert to the workaround in order to make a release and then wait for a fix upstreams.

@jimisola
Copy link
Member

jimisola commented Oct 7, 2024

Trying to revert back to a working workflow while awaiting docker/build-push-action#1200
But, so far no luck. It can be that it has to be fixed in docker build-push action but I hope not.

@jimisola jimisola self-assigned this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants