GithubHelp home page GithubHelp logo

Comments (3)

d2gex avatar d2gex commented on June 28, 2024 1

Just popped in at PyPa weekend in London. I'll have a look at this if no-on is on it right now

from bandersnatch.

fried avatar fried commented on June 28, 2024
Traceback (most recent call last):
  File "bandersnatch/package.py", line 118, in sync
  File "bandersnatch/package.py", line 258, in sync_simple_page
  File "/usr/local/fbcode/gcc-5-glibc-2.23/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "bandersnatch/utils.py", line 68, in rewrite
  File "/usr/local/fbcode/gcc-5-glibc-2.23/lib/python3.6/tempfile.py", line 549, in NamedTemporaryFile
    (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
  File "/usr/local/fbcode/gcc-5-glibc-2.23/lib/python3.6/tempfile.py", line 260, in _mkstemp_inner
    fd = _os.open(file, flags, 0o600)
PermissionError: [Errno 13] Permission denied: '/data/pypi/web/simple/c/c/.index.html.31v8csbx'

The issue was the web/simple/c/c directory was 000, setting it to 755 fixed the issue and the sync continued. This is most likely some gluster interaction issue and maybe not an issue with bandersnatch per se.

If this exception raised all the way to the top, I could remediate it in my code that calls synchronize, And just call synchronize again.

from bandersnatch.

cooperlees avatar cooperlees commented on June 28, 2024

I think this was all GlusterFS fun and games. Closing unless someone sees it again.

from bandersnatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.