Skip to content

play install redis error #6

@chenhongbinbiti

Description

@chenhongbinbiti
    I am trying to download redis module and I am getting this error 
    constantly. I tried it so many times. Tried command line installation 
    and browser download too. But I cannot resume download when it stops. 
    Here some errors. Is there any other links to download? 

    C:\Users\Administrator>play install redis
    C:\Users\Administrator>set JAVA_OPTS=-Xms800m -Xmx800m -XX:PermSize=256M -XX:MaxNewSize=1024m -XX:MaxPermSize=512m
    ~        _            _
    ~  _ __ | | __ _ _  _| |
    ~ | '_ \| |/ _' | || |_|
    ~ |  __/|_|\____|\__ (_)
    ~ |_|            |__/
    ~
    ~ play! 1.2.7, http://www.playframework.org
    ~
    ~ Will install redis-0.3
    ~ This module is compatible with:
    ~ Do you want to install this version (y/n)? y
    ~ Installing module redis-0.3...
    ~
    ~ Fetching http://www.playframework.org/modules/redis-0.3.zip
    ~ [--------------------------95%------------------------- ] 6.9 KiB/s
    Traceback (most recent call last):
      File "D:\play-1.2.7\play", line 155, in <module>
        status = cmdloader.commands[play_command].execute(command=play_command, app=
    play_app, args=remaining_args, env=play_env, cmdloader=cmdloader)
      File "D:\play-1.2.7\framework\pym\play\commands\modulesrepo.py", line 58, in e
    xecute
        install(app, args, env)
      File "D:\play-1.2.7\framework\pym\play\commands\modulesrepo.py", line 414, in
    install
        Downloader().retrieve(fetch, archive)
      File "D:\play-1.2.7\framework\pym\play\commands\modulesrepo.py", line 88, in r
    etrieve
        try: urllib.urlretrieve(url, destination, self.progress)
      File "D:\play-1.2.7\python\lib\urllib.py", line 94, in urlretrieve
        return _urlopener.retrieve(url, filename, reporthook, data)
      File "D:\play-1.2.7\python\lib\urllib.py", line 277, in retrieve
        "of %i bytes" % (read, size), result)
    urllib.ContentTooShortError: retrieval incomplete: got only 707576 out of 748270
     bytes

    can you help me? thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions