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

I/O error : No such file or directory #41

Open
mehyedes opened this issue May 19, 2016 · 0 comments
Open

I/O error : No such file or directory #41

mehyedes opened this issue May 19, 2016 · 0 comments

Comments

@mehyedes
Copy link

When trying to add new packages to a custom repository (RedHat), it works most of the time but sometimes I face an I/O error. I tried several packages after making sure they do exist but the still problem persisted. And now I can't add any other package to the repository.
For this command:

$ repositorio --repo=centos7 --add-file=acl-2.2.51-12.el7.x86_64.rpm

Here is the stacktrace:

repositorio started.
Spawning worker 0 with 38 pkgs
Spawning worker 1 with 38 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
I/O error : No such file or directory

(process:19266): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: attributes construct error


(process:19266): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: Couldn't find end of Start Tag changelog line 36217


(process:19266): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: Premature end of data in tag package line 36152


(process:19266): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: Premature end of data in tag otherdata line 2

Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 308, in <module>
    main(sys.argv[1:])
  File "/usr/share/createrepo/genpkgmetadata.py", line 280, in main
    mdgen.doRepoMetadata()
  File "/usr/lib/python2.7/dist-packages/createrepo/__init__.py", line 1003, in doRepoMetadata
    rp.getOtherdata(complete_path, csum)
  File "/usr/lib/python2.7/dist-packages/sqlitecachec.py", line 61, in getOtherdata
    self.repoid))
TypeError: Parsing other.xml error: AttValue: ' expected

Error running createrepo. at /usr/local/share/perl/5.18.2/Rex/Repositorio/Repository/Yum.pm line 282.
    Rex::Repositorio::Repository::Yum::_run_createrepo('Rex::Repositorio::Repository::Yum=HASH(0x2016d80)') called at /usr/local/share/perl/5.18.2/Rex/Repositorio/Repository/Yum.pm line 250
    Rex::Repositorio::Repository::Yum::add_file(undef, 'file', 'acl-2.2.51-12.el7.x86_64.rpm') called at /usr/local/share/perl/5.18.2/Rex/Repositorio.pm line 213
    Rex::Repositorio::add_file(undef, 'file', 'acl-2.2.51-12.el7.x86_64.rpm', 'repo', 'centos7') called at /usr/local/share/perl/5.18.2/Rex/Repositorio.pm line 85
    Rex::Repositorio::parse_cli_option('Rex::Repositorio=HASH(0x2016ba0)', 'repo', 'centos7', 'add-file', 'acl-2.2.51-12.el7.x86_64.rpm') called at /usr/local/share/perl/5.18.2/Rex/Repositorio.pm line 68
    Rex::Repositorio::run('Rex::Repositorio=HASH(0x2016ba0)', 'repo', 'centos7', 'add-file', 'acl-2.2.51-12.el7.x86_64.rpm') called at /usr/local/bin/repositorio line 74

Thank you :)

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

1 participant