question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unexpected error - _register_s3_control_events() takes 2 positional arguments but 6 were given

See original GitHub issue

Only as of recently, have I had this error with DVC.

Tracback:

(venv) me@ubuntu-pcs:~/PycharmProjects/project$ dvc push
ERROR: unexpected error - _register_s3_control_events() takes 2 positional arguments but 6 were given                                                                                                                                                          

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

(venv) me@ubuntu-pcs:~/PycharmProjects/project$ dvc doctor
DVC version: 2.28.0 (pip)
---------------------------------
Platform: Python 3.9.13 on Linux-5.15.0-52-generic-x86_64-with-glibc2.35
Subprojects:
        dvc_data = 0.13.0
        dvc_objects = 0.5.0
        dvc_render = 0.0.11
        dvc_task = 0.1.2
        dvclive = 0.12.1
        scmrepo = 0.1.1
Supports:
        http (aiohttp = 3.8.3, aiohttp-retry = 2.8.3),
        https (aiohttp = 3.8.3, aiohttp-retry = 2.8.3),
        s3 (s3fs = 2022.10.0, boto3 = 1.24.59)
Cache types: hardlink, symlink
Cache directory: ext4 on /dev/nvme0n1p5
Caches: local
Remotes: s3
Workspace directory: ext4 on /dev/nvme0n1p5
Repo: dvc, git

.dvc/config/:

[core]
    remote = storage
    autostage = true
['remote "storage"']
    url = s3://bucket/project/dvcstore/

Let me know if I should add anything else to the post.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
efiopcommented, Nov 1, 2022

aiobotocore requires a particular botocore version. What most likely happened is you probably installed some other package that conflicts with aiobotocore. Check that pip check doesn’t complain about anything.

2reactions
paredcommented, Nov 1, 2022

I am able to reproduce for botocore==1.28.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

unexpected error - _register_s3_control_events() takes 2 ...
DVC | ERROR: unexpected error - _register_s3_control_events() takes 2 positional arguments but 6 were given · Can be a discrepancy in some ...
Read more >
How to solve the error? ' __init__() takes 2 positional ...
' __init__() takes 2 positional arguments but 3 were given'. I have an assignment to create a regression model for a given datasets....
Read more >
add() takes 2 positional arguments but 3 were given error
I didn't give 3 arguments: 1 ( num1 ) and 100 ( num2 ) It should return: 101 But it returns: ... add()...
Read more >
Minimizer Problem with Many Arguments - Google Groups
#TypeError: _residual() takes from 2 to 3 positional arguments but 6 were given. The attached file shows the error traces for trying Nelder-Mead...
Read more >
CalculateGeometryAttributes() takes from 0 to 5 positional ...
Technical Article Details : Error: TypeError: CalculateGeometryAttributes() takes from 0 to 5 positional arguments but 6 were given.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found