Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.buildout
Commits
8ca41f42
Commit
8ca41f42
authored
Aug 16, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept non perfectness of urllib2.
parent
a8e370c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/zc/buildout/networkcache.txt
src/zc/buildout/networkcache.txt
+5
-2
No files found.
src/zc/buildout/networkcache.txt
View file @
8ca41f42
...
@@ -197,6 +197,9 @@ Now lets clean up buildout directory:
...
@@ -197,6 +197,9 @@ Now lets clean up buildout directory:
In case if download cache is failing, original resources are used:
In case if download cache is failing, original resources are used:
(Note: Due to usage of urllib2 during download which "eats" real socket error
message not perfect error is shown like <urlopen...Connection Refused>)
>>> write(sample_buildout, 'buildout.cfg',
>>> write(sample_buildout, 'buildout.cfg',
... '''
... '''
... [buildout]
... [buildout]
...
@@ -222,13 +225,13 @@ In case if download cache is failing, original resources are used:
...
@@ -222,13 +225,13 @@ In case if download cache is failing, original resources are used:
Installing eggs.
Installing eggs.
Getting distribution for 'demo'.
Getting distribution for 'demo'.
Downloading demo-0.4c1-py2.7.egg from network cache.
Downloading demo-0.4c1-py2.7.egg from network cache.
Failed to download from network cache demo-0.4c1-py2.7.egg:
[Errno 111] Connection refused
Failed to download from network cache demo-0.4c1-py2.7.egg:
<urlopen error [Errno 111] Connection refused>
Uploading http://localhost/demo-0.4c1-py2.7.egg into network cache.
Uploading http://localhost/demo-0.4c1-py2.7.egg into network cache.
Fail to upload file. [Errno 111] Connection refused
Fail to upload file. [Errno 111] Connection refused
Got demo 0.4c1.
Got demo 0.4c1.
Getting distribution for 'demoneeded'.
Getting distribution for 'demoneeded'.
Downloading demoneeded-1.2c1.zip from network cache.
Downloading demoneeded-1.2c1.zip from network cache.
Failed to download from network cache demoneeded-1.2c1.zip:
[Errno 111] Connection refused
Failed to download from network cache demoneeded-1.2c1.zip:
<urlopen error [Errno 111] Connection refused>
Uploading http://localhost/demoneeded-1.2c1.zip into network cache.
Uploading http://localhost/demoneeded-1.2c1.zip into network cache.
Fail to upload file. [Errno 111] Connection refused
Fail to upload file. [Errno 111] Connection refused
Got demoneeded 1.2c1.
Got demoneeded 1.2c1.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment