Ask Your Question
2

Install Error: Can't download mock-1.0.0.zip

asked 2012-10-17 02:58:58 -0500

finid gravatar image finid flag of United States
129 4 2 10
http://linuxbsdos.com/

updated 2012-10-18 16:12:29 -0500

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

Attempting to install the dev version, and after cloning, and running "python2.7 setup.py develop", I got the following error:

Downloading http://www.voidspace.org.uk/downloads/mock-1.0.0.zip
error: Can't download http://www.voidspace.org.uk/downloads/mock-1.0.0.zip: 404 Not Found

Checking that website shows that only a tar.gz version of mock is available.

How can I tell it to download the tar.gz file instead?

delete close flag offensive retag edit

Comments

I can confirm this error during installation

Toms ( 2012-10-17 13:11:38 -0500 )edit

Is this one of those things were the installer is just tweaked to get a tar.gz instead of a zip file, or is it more complicated?

finid ( 2012-10-17 15:21:46 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-10-18 16:23:35 -0500

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

This is strange, I can reproduce the error, but also find that repeating the "python setup.py develop" command takes you past this issue.

There is nothing we can do, one of the dependency modules requires mock library, which normally used only by the developers for testing the code.

Issues like this one may happen from time to time, because dependency modules are pulled from third party sites. It might be possible to set up an alternative module repository as a backup, but we don't have one now.

link publish delete flag offensive edit
0

answered 2012-10-24 10:50:03 -0500

ReedHedges gravatar image ReedHedges
11 1 2

I had the same problem, and running setup again, it worked.

Can you provide an askbot distribution that includes all the dependencies already so users don't have to keep downloading them for each installation? Then you can also test that it works with those depedency versions...

link publish delete flag offensive edit

Comments

Reed, we might set up an alternative repository hosting for dependencies, but will not be just copying all the dependency code into the askbot repo, because it's just not the right way to do it. With mock the issue is on a third party site... I will try to contact the owner.

Evgeny ( 2012-10-24 11:04:45 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-10-17 02:58:58 -0500

Seen: 67 times

Last updated: Oct 24 '12