Giter Club home page Giter Club logo

s3funnel's People

s3funnel's Issues

Support for uploading of the directory trees

What steps will reproduce the problem?

When I give a directory name as an input parameter for PUT operation, the boto 
module crash on 
open() function with error that directory cannot be read.

What is the expected output? What do you see instead?

I would expect that s3funnel will do the walk in the directory tree and upload 
all the files in that 
tree instead...

What version of the product are you using? On what operating system?

0.5.2 on a linux (Debian 5.0)

Please provide any additional information below.

I am attaching a patch which is adding the functionality I am proposing...

Original issue reported on code.google.com by [email protected] on 30 Mar 2009 at 2:38

Attachments:

Can't seem to stream files in

I'd like to generate a file through a Unix pipe, then write it to a tag.
Thanks to your comments about pipe support, I was hoping the following line
would work:

program_that_generates_a_lot_of_data_to_stdout | s3funnel bucket put filename

It does not - it appears to look for "filename" as a file, then not be able
to write it. This makes me sad.

I feel like this should really, really work, or something along these lines.

Original issue reported on code.google.com by [email protected] on 28 Oct 2008 at 2:25

Return codes meaningless

s3funnel does not appear to provide any convenient way to detect errors.

zorba@queston-build64:~$ s3funnel lolbukkit put test && echo hello
ERROR    test: No such file.
CRITICAL Failed starting workers: S3ResponseError: 404 Not Found
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchBucket</Code><Message>The specified bucket does not
exist</Message><RequestId>989359CC0DB82556</RequestId><BucketName>lolbukkit</Buc
ketName><HostId>xonqowJV+wMXxoshyIsIQBBTb3dTyhAH2ZuXLDvm9gWT3FybsdyallNCz8m4SJ8d
</HostId></Error>
hello

Why does it print "hello"? The operation failed horribly, not only was the
file not found but the bucket didn't even exist! There's simply no way to
tell if the data transmission was successful.

Original issue reported on code.google.com by [email protected] on 28 Oct 2008 at 2:28

Directory support

What steps will reproduce the problem?
1. Try to get from a bucket a file under a directory 
2.
3.

What is the expected output? What do you see instead?
I except that it would get the file.

Here is what I see:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/workerpool-0.9.2-py2.7.egg/workerpool/workers.py", line 61, in run
    job.run(toolbox=self.toolbox)
  File "/usr/local/lib/python2.7/dist-packages/s3funnel-0.5.2-py2.7.egg/s3funnel/jobs.py", line 34, in run
    k.get_contents_to_filename(self.key)
  File "/usr/lib/pymodules/python2.7/boto/s3/key.py", line 677, in get_contents_to_filename
    fp = open(filename, 'wb')
IOError: [Errno 2] No such file or directory: '2011Sep04.encrypted/db12/ei.gpg'


What version of the product are you using? On what operating system?
Last version. Ubuntu.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Jul 2012 at 10:31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.