Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: class Queue has no attribute 'Empty' #159

Open
starinacool opened this issue Nov 22, 2017 · 0 comments
Open

AttributeError: class Queue has no attribute 'Empty' #159

starinacool opened this issue Nov 22, 2017 · 0 comments

Comments

@starinacool
Copy link

Installed with command:

pip install https://github.com/danilop/yas3fs/archive/master.zip

mount like this:

yas3fs --no-metadata -df --topic arn:aws:sns:eu-central-1:459171214154:est --region eu-central-1 --queue `hostname` s3://mshokfiles/ /mnt/s3

Got this in Debug log:

AttributeError: class Queue has no attribute 'Empty'
Exception in thread Prefetch-0001:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/yas3fs/__init__.py", line 2988, in run
    super(TracebackLoggingThread, self).run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/yas3fs/__init__.py", line 1977, in download
    except Queue.Empty:
AttributeError: class Queue has no attribute 'Empty'

Exception in thread SNSPublisher:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/yas3fs/__init__.py", line 2988, in run
    super(TracebackLoggingThread, self).run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/yas3fs/__init__.py", line 1359, in publish_messages
    except Queue.Empty:
AttributeError: class Queue has no attribute 'Empty'

Everything is fine with default pip version 2.3.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant