Comments (3)
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.
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.
I think this was all GlusterFS fun and games. Closing unless someone sees it again.
from bandersnatch.
Related Issues (20)
- High memory usage for `verify --delete` due to deletion occurring at end HOT 3
- No sync of new packages when the package list changes after the first sync HOT 3
- bandersnatch mirror cannot get update data HOT 4
- Add subcmd to use metadata to roughly calculate the size of the local bandersnatch mirror HOT 3
- Update bandersnatch to latest packaging (22.0) to unblock tox 4.0
- Make CI pass in 3.11 + Docker build in 3.11 HOT 2
- Stop issuing PURGE requests on stale serial as PyPI requires authentication now
- heavy io doing glob('**') in /web/simple for global index HOT 4
- bandersnatch.master.XmlRpcError: Unable to get full list of packages HOT 1
- Will bandersnatch delete packages that are not on pypi.org but exist locally when synchronizing? HOT 1
- Exception with UTF-16 encoded requirements.txt file HOT 3
- stale serial errors blocking synchronization HOT 1
- Improve mirror filtering for latest releases HOT 2
- Add TODO file cleanup to avoid a single package blocking the entire sync process HOT 5
- package json digest dict mapped to simple json hashes dict causes pip >23 to fail HOT 3
- Generate SimpleDigests object from what metadata offers
- Bandersnatch mirror do not mirror the dependencies for the packages mentioned on allow list ? HOT 2
- Ensure bandersnatch implements pep700 fields
- bandersnatch verify --delete occurs error HOT 2
- Sync only python 2 packages HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bandersnatch.