lionheart / git-bigstore

Bigstore is a Git extension that helps you track big files in your repositories.
Apache License 2.0
183 stars 28 forks source link

Push error with Google Cloud Storage #38

Open ajlitton opened 6 years ago

ajlitton commented 6 years ago

Can't figure this out - getting an error when pushing. Any thoughts?

C:\[redacted]>git bigstore push
pulling bigstore metadata...done
Traceback (most recent call last):
  File "c:\Python27\Scripts\git-bigstore", line 87, in <module>
    args = parser.parse_args()
  File "c:\Python27\lib\argparse.py", line 1701, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "c:\Python27\lib\argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "c:\Python27\lib\argparse.py", line 1942, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "c:\Python27\lib\argparse.py", line 1898, in consume_positionals
    take_action(action, args)
  File "c:\Python27\lib\argparse.py", line 1807, in take_action
    action(self, namespace, argument_values, option_string)
  File "c:\Python27\lib\argparse.py", line 1096, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "c:\Python27\lib\argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "c:\Python27\lib\argparse.py", line 1942, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "c:\Python27\lib\argparse.py", line 1898, in consume_positionals
    take_action(action, args)
  File "c:\Python27\lib\argparse.py", line 1807, in take_action
    action(self, namespace, argument_values, option_string)
  File "c:\Python27\Scripts\git-bigstore", line 33, in __call__
    push()
  File "c:\Python27\lib\site-packages\bigstore\bigstore.py", line 248, in push
    backend.push(file, hexdigest, cb=ProgressPercentage(filename))
  File "c:\Python27\lib\site-packages\bigstore\backends\google.py", line 36, in
push
    self.key(hash).set_contents_from_file(file, cb=cb)
  File "c:\Python27\lib\site-packages\boto\s3\key.py", line 1305, in set_content
s_from_file
    chunked_transfer=chunked_transfer, size=size)
  File "c:\Python27\lib\site-packages\boto\s3\key.py", line 762, in send_file
    chunked_transfer=chunked_transfer, size=size)
  File "c:\Python27\lib\site-packages\boto\s3\key.py", line 963, in _send_file_i
nternal
    query_args=query_args
  File "c:\Python27\lib\site-packages\boto\s3\connection.py", line 671, in make_
request
    retry_handler=retry_handler
  File "c:\Python27\lib\site-packages\boto\connection.py", line 1071, in make_re
quest
    retry_handler=retry_handler)
  File "c:\Python27\lib\site-packages\boto\connection.py", line 940, in _mexe
    request.body, request.headers)
  File "c:\Python27\lib\site-packages\boto\s3\key.py", line 834, in sender
    cb(data_len, cb_size)
TypeError: __call__() takes exactly 2 arguments (3 given)
rogeru commented 5 years ago

Having the same exact issue. Any news on this?