Comments (4)
I have redone an installation from scratch on a Vagrant vm with ansible and still experience the same issue.
from localshop.
Ok, will try to reproduce. I assume the filesize doesn't match either?
from localshop.
Right they do not. I digged a bit deeper and at one point I thought it was the distutils upload method from Python 2.7.8 on Mac going wrong during the multipart upload.
I finally gave up and setup pypiserver
for now. The upload step worked well and did not corrupt the tar gz.
from localshop.
I'm also affected by this.
I put a bit of research into it and it appears that there is an unnecessary UTF-8 encoding happening somewhere. An ZIP archive starting with
000000 50 4b 03 04 14 00 00 00 08 00 c5 6e 65 47 cb af >PK.........neG..<
becomes when uploaded
000000 50 4b 03 04 14 00 00 00 08 00 c3 85 6e 65 47 c3 >PK..........neG.<
Notice that the byte sequence 00 c5 6e 65
changed to the sequence 00 c3 85 6e 65
. The byte sequence c3 85
is the UTF-8 encoded value for the character Å
which has the code point 197
or to express it in hexadecimal c5
, the byte of the original input.
I can't tell who's here the one to be blamed though.
Edit:
It appears to be working with twine though. So it's highly likely that distutils/setuptools is the one to be blamed here. But then again why is it working with other implementations of the PYPI?
from localshop.
Related Issues (20)
- When localshop not found a version great than the last stored in database start an update action. HOT 8
- Upload returns HTTP 200 and xml.parser.expat.ExpatError HOT 1
- Packages not being updated HOT 2
- Configuring the package folder
- ImportError: Could not import settings 'localshop.settings' HOT 7
- Upgrade from 0.4.1 causes "500 server error" on /permissions/credentials/ page HOT 4
- pip 8.1.1 HOT 1
- Several packages cannot be cached with localshop
- The order of packages_release may be wrong HOT 1
- Python 2.6 compatibility HOT 1
- How to follow docker instructions ? HOT 6
- Issues with urllib3 install using `mysqlclient` database backend
- Unable to run when installing like described in the documentation HOT 4
- Package names with a dot do not work with pip >= 8.1.2 HOT 1
- Still maintained? HOT 2
- Possible to pass the proxy settings in from environment variables ?
- Fix simple typo: appreaciated -> appreciated
- Migrate pipeline to GitHub actions
- Install gets stuck at pillow
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 localshop.