Skip to content

rebot update to ignore corrupted files #3959

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

Closed
sebastianciupinski opened this issue May 4, 2021 · 3 comments
Closed

rebot update to ignore corrupted files #3959

sebastianciupinski opened this issue May 4, 2021 · 3 comments

Comments

@sebastianciupinski
Copy link

Rebot is unable to process if one of xml files is corrupted (e.g. when robot process producing output.xml has crashed)
As a result, it is unable to automatically merge many xml files if one of them is corrupted.

There is similar issue: #2237 where https://pypi.org/project/robotfixml/ package is proposed, but I suspect that this too may be dead as is not maintained since 2013 and not described in documentation.

@pekkaklarck
Copy link
Member

FiXml should be resurrected. Are you interested to help with that?

@mkorpela
Copy link
Member

 python3 -m pip install robotfixml
Collecting robotfixml
  Downloading robotfixml-1.0.1.tar.gz (2.8 kB)
Collecting BeautifulSoup
  Downloading BeautifulSoup-3.2.2.tar.gz (32 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-p30q7f3x/BeautifulSoup/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p30q7f3x/BeautifulSoup/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-p30q7f3x/BeautifulSoup/pip-egg-info
         cwd: /tmp/pip-install-p30q7f3x/BeautifulSoup/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-p30q7f3x/BeautifulSoup/setup.py", line 3
        "You're trying to run a very old release of Beautiful Soup under Python 3. This will not work."<>"Please use Beautiful Soup 4, available through the pip package 'beautifulsoup4'."
                                                                                                        ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

This also happens now :/

@pekkaklarck
Copy link
Member

Fixml isn't part if the core. Closing.

@pekkaklarck pekkaklarck closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2025
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