anaconda upload stuck at 100%

0 views
Skip to first unread message

spped...@gmail.com

unread,
Jan 13, 2017, 1:50:46 PM1/13/17
to Anaconda - Public
I had this issue several times now, but couldn't figure aout whats the reason. The upload of a package is not progressing at 100%. When I interrupt the upload (ctrl-c) the traceback:
"catching which that do not inherit from BaseException is not allowed." in binstar-client/commands/upload.py.

Ian Stokes Rees

unread,
Jan 13, 2017, 3:11:39 PM1/13/17
to anac...@continuum.io
That's a weird path.  I'd suggest you update conda and anaconda-client and try again:

conda update conda anaconda-client

Let us know if the problem persists.

Ian


On 1/13/17 1:50 PM, spped...@gmail.com wrote:
I had this issue several times now, but couldn't figure aout whats the reason. The upload of a package is not progressing at 100%. When I interrupt the upload (ctrl-c) the traceback:
"catching which that do not inherit from BaseException is not allowed." in binstar-client/commands/upload.py.
--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.

---
______________________________________________________
Continuum Analytics Banner

Ian Stokes-Rees, PhD
Computational Scientist, Product Marketing Manager
1.617.942.0218
ijst...@continuum.io
@ContinuumIO @ijstokes

Anaconda Powered By Continuum Analytics
.

spped...@gmail.com

unread,
Jan 14, 2017, 3:07:10 AM1/14/17
to Anaconda - Public
Tried that, but still no success.

spped...@gmail.com

unread,
Jan 14, 2017, 4:07:28 AM1/14/17
to Anaconda - Public, spped...@gmail.com
Also a complete reinstall of miniconda doesn't solve this issue.

Here is the complete backtrace after abborting the upload. But maybe this has nothing to do with the error itself.

Traceback (most recent call last):
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/binstar_client/commands/upload.py", line 196, in upload_package
    callback=upload_print_callback(args))
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/binstar_client/__init__.py", line 509, in upload
    res = self.session.post(url, data=data, headers=headers)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/sessions.py", line 522, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
    chunked=chunked)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 389, in _make_request
    httplib_response = conn.getresponse()
  File "/home/fc_builder/anaconda/lib/python3.5/http/client.py", line 1197, in getresponse
    response.begin()
  File "/home/fc_builder/anaconda/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/home/fc_builder/anaconda/lib/python3.5/http/client.py", line 258, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/home/fc_builder/anaconda/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
  File "/home/fc_builder/anaconda/lib/python3.5/ssl.py", line 929, in recv_into
    return self.read(nbytes, buffer)
  File "/home/fc_builder/anaconda/lib/python3.5/ssl.py", line 791, in read
    return self._sslobj.read(len, buffer)
  File "/home/fc_builder/anaconda/lib/python3.5/ssl.py", line 575, in read
    v = self._sslobj.read(len, buffer)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/fc_builder/anaconda/bin/anaconda", line 6, in <module>
    sys.exit(binstar_client.scripts.cli.main())
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/binstar_client/scripts/cli.py", line 87, in main
    description=__doc__, version=version)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/binstar_client/scripts/cli.py", line 66, in binstar_main
    return args.main(args)
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/binstar_client/commands/upload.py", line 244, in main
    args=args))
  File "/home/fc_builder/anaconda/lib/python3.5/site-packages/binstar_client/commands/upload.py", line 202, in upload_package
    except requests_ext.OpenSslError:
TypeError: catching classes that do not inherit from BaseException is not allowed

Ian Stokes Rees

unread,
Jan 14, 2017, 8:10:13 AM1/14/17
to anac...@continuum.io
OK, let's back up a bit.  Can you share with us:

1. Output of `conda info -a`

2. Output of `anaconda whoami`

3. The command you are executing on the command line (verbatim)

4. The output of `ls -Fla` for the Conda package you are trying to upload (or packages)

And some other questions:

1. Has `conda upload` **ever** worked for you?

2. Are you logged in to your Anaconda Cloud account?  (the `whoami` above should show that -- if nothing is output then try `anaconda logout; anaconda login`)

Regards,

Ian

spped...@gmail.com

unread,
Jan 14, 2017, 1:54:21 PM1/14/17
to Anaconda - Public
2. Output of `anaconda whoami`

Member since: Wed Mar 16 11:08:20 2016
  +url: None
  +description: None
  +company: None
  +location: None
  +user_type: user
  +name: None



3. The command you are executing on the command line (verbatim)

conda build . --python=2.7
anaconda upload **path** -u freecad


4. The output of `ls -Fla` for the Conda package you are trying to upload (or packages)

-rw-rw-r-- 1 fc_builder fc_builder 37224310 Jän 13 22:34 freecad-0.17-py27_13.tar.bz2


And some other questions:

1. Has `conda upload` **ever** worked for you?

yes it worked always. But I had this problem allready. Back then I used another name for the project and was able to upload.


2. Are you logged in to your Anaconda Cloud account?  (the `whoami` above should show that -- if nothing is output then try `anaconda logout; anaconda login`)

I allready did this.


1. conda info -a
Current conda install:

               platform : linux-64
          conda version : 4.2.13
       conda is private : False
      conda-env version : 4.2.13
    conda-build version : 2.0.12
         python version : 3.5.2.final.0
       requests version : 2.11.1
       root environment : /home/fc_builder/anaconda  (writable)
    default environment : /home/fc_builder/anaconda
       envs directories : /home/fc_builder/anaconda/envs
          package cache : /home/fc_builder/anaconda/pkgs
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/freecad/linux-64
                          https://conda.anaconda.org/freecad/noarch
                          https://conda.anaconda.org/looooo/linux-64
                          https://conda.anaconda.org/looooo/noarch
                          https://conda.anaconda.org/openglider/linux-64
                          https://conda.anaconda.org/openglider/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /home/fc_builder/.condarc
           offline mode : False

# conda environments:
#
root                  *  /home/fc_builder/anaconda

sys.version: 3.5.2 |Continuum Analytics, Inc.| (defau...
sys.prefix: /home/fc_builder/anaconda
sys.executable: /home/fc_builder/anaconda/bin/python
conda location: /home/fc_builder/anaconda/lib/python3.5/site-packages/conda
conda-build: /home/fc_builder/anaconda/bin/conda-build
conda-convert: /home/fc_builder/anaconda/bin/conda-convert
conda-develop: /home/fc_builder/anaconda/bin/conda-develop
conda-env: /home/fc_builder/anaconda/bin/conda-env
conda-index: /home/fc_builder/anaconda/bin/conda-index
conda-inspect: /home/fc_builder/anaconda/bin/conda-inspect
conda-metapackage: /home/fc_builder/anaconda/bin/conda-metapackage
conda-render: /home/fc_builder/anaconda/bin/conda-render
conda-server: /home/fc_builder/anaconda/bin/conda-server
conda-sign: /home/fc_builder/anaconda/bin/conda-sign
conda-skeleton: /home/fc_builder/anaconda/bin/conda-skeleton
conda-verify: /home/fc_builder/anaconda/bin/conda-verify
user site dirs:

CIO_TEST: <not set>
CONDA_DEFAULT_ENV: <not set>
CONDA_ENVS_PATH: <not set>
LD_LIBRARY_PATH: <not set>
PATH: /home/fc_builder/anaconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PYTHONHOME: <not set>
PYTHONPATH: <not set>

License directories:
    /home/fc_builder/.continuum
    /home/fc_builder/anaconda/licenses
License files (license*.txt):
Package/feature end dates:

Ian Stokes Rees

unread,
Jan 14, 2017, 3:35:21 PM1/14/17
to anac...@continuum.io


On 1/14/17 1:54 PM, spped...@gmail.com wrote:
2. Output of `anaconda whoami`

Member since: Wed Mar 16 11:08:20 2016
  +url: None
  +description: None
  +company: None
  +location: None
  +user_type: user
  +name: None

That part makes me think you aren't logged in. At least the Anaconda command line client can't find your user token.  You still get this output after you've done `anaconda login`?  If so, something weird is going on and I'd encourage you to submit a bug report to:

https://github.com/ContinuumIO/anaconda-issues/issues/new

And it should list a user who can access the "freecad" account on Anaconda Cloud.  It looks like a user looooo is able to upload content to that account.

Ah, but now I see something wacky is going on.  From one angle there is a report that https://anaconda.org/freecad/freecad was last updated ~12 hours ago, however when I go and look at that package the last entry is over a month old.

I can report that issue to the Anaconda Cloud team but there isn't a good path for me to get that information back to you.  The best mechanism is for you to report the problem to the GH issue tracker (URL above).

Sorry for the problems you've had.

Ian


--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.

spped...@gmail.com

unread,
Jan 15, 2017, 11:13:52 AM1/15/17
to Anaconda - Public
The anaconda whoami is the same for all the machines I have. Other packages are also working. So I think there must be something wrong with this specific package.


>>Ah, but now I see something wacky is going on.  From one angle there is a report that https://anaconda.org/freecad/freecad was last updated ~12 hours ago, however when I go and look at that package the last entry is over a month old.

the package is uploaded (100%), anaconda reports there was a package uploaded but there is no visible link to the file. I will try to delete the package via the anaconda-web-interface and upload again.

thanks for the help,
and nice regards.

spped...@gmail.com

unread,
Feb 2, 2017, 5:20:49 PM2/2/17
to Anaconda - Public, spped...@gmail.com
still no solution for this problem. The problem is reported to https://github.com/Anaconda-Platform/anaconda-client/issues/384 . It would be sad if there is no solution to this problem. anaconda worked quite good until now. Is there any alternative cloud service I can use to upload conda packages?
Reply all
Reply to author
Forward
0 new messages