danilop / yas3fs

YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3. It was inspired by s3fs but rewritten from scratch to implement a distributed cache synchronized by Amazon SNS notifications. A web console is provided to easily monitor the nodes of a cluster.
http://danilop.github.io/yas3fs
MIT License
640 stars 98 forks source link

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

Open starinacool opened 6 years ago

starinacool commented 6 years ago

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