On 10/22/2014 07:25 AM, Rich B wrote:
> In the mean time, I have some questions about the tcp-timeout backend
> option. The docs don't say what the units are, what the default value
> is, or how to use the option.
>  From the code, it looks like the units are seconds, and the syntax is
> "--backend-options tcp-timeout=<integer>", however when I try this
> syntax, python barfs:
>
> $ /usr/bin/mount.s3ql --debug --cachedir /data/s3ql-cache --cachesize
> 1048567 --backend-options no-ssl,tcp-timeout=12 s3://myBucket/myPrefix
> /mnt/myMount
> Using 8 upload threads.
> Autodetected 4040 file descriptors available for cache entries
> Uncaught top-level exception:
> Traceback (most recent call last):
>   File "/usr/bin/mount.s3ql", line 9, in <module>
>     load_entry_point('s3ql==2.11.1', 'console_scripts', 'mount.s3ql')()
>   File "/usr/lib/s3ql/s3ql/mount.py", line 121, in main
> [...]
>     return eval_coroutine(self.co_read_response(), self.timeout)
>   File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 1361,
> in eval_coroutine
>     if not next(crt).poll(timeout=timeout):
>   File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 115,
> in poll
>     return bool(poll.poll(timeout*1000)) # convert to ms
> TypeError: timeout must be an integer or None
>
> Am I using tcp-timeout incorrectly? What is the default timeout?

Yes, this looks like a bug in S3QL. Could you report it at
https://bitbucket.org/nikratio/s3ql/issues?

Thanks!
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to s3ql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to