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.

Examples failing with error: __init__() got an unexpected keyword argument 'rotate'

See original GitHub issue

None of the examples will run out of the box for me. I am using I2C sdd1306 128x64 module on port 1.

./pi_logo.py

usage: pi_logo.py [-h] [--config CONFIG]
                  [--display {ssd1306,ssd1325,ssd1331,sh1106,capture,pygame,gifanim}]
                  [--width WIDTH] [--height HEIGHT] [--rotate {0,1,2,3}]
                  [--interface {i2c,spi}] [--i2c-port I2C_PORT]
                  [--i2c-address I2C_ADDRESS] [--spi-port SPI_PORT]
                  [--spi-device SPI_DEVICE] [--spi-bus-speed SPI_BUS_SPEED]
                  [--bcm-data-command BCM_DATA_COMMAND]
                  [--bcm-reset BCM_RESET]
                  [--transform {none,identity,scale2x,smoothscale}]
                  [--scale SCALE] [--mode {1,RGB,RGBA}] [--duration DURATION]
                  [--loop LOOP] [--max-frames MAX_FRAMES]
pi_logo.py: error: __init__() got an unexpected keyword argument 'rotate'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aaronnewcombcommented, Jan 10, 2017

Bingo! That did it. I had installed with pip, but then downloaded the master branch from GitHub, so things weren’t in sync. BTW - I am including an example of using this great library in my new book - Linux for Makers. Thanks for everyone’s hard work on this library.

1reaction
rm-hullcommented, Jan 9, 2017

@thijstriemstra agreed – I’ll release a 1.5.0 branch now to PyPi, and with immediate effect, will add a develop branch onto which all PRs should be applied.

Read more comments on GitHub >

github_iconTop Results From Across the Web

scikit-learn/scikit-learn - Gitter
skl.decomposition.FactorAnalysis(rotation='varimax') I receive the following error: TypeError: init() got an unexpected keyword argument 'rotation'.
Read more >
init__() got an unexpected keyword argument 'receive_timeout ...
I have a local app that is using the library django_python3_ldap ... an error saying that TypeError: __init__() got an unexpected keyword ......
Read more >
Full Changelog — SunPy 4.1.0 documentation
Solar rotation calculation and mapcube derotation now use sunpy coordinates. Sample data now downloads automatically on import if not available and is now ......
Read more >
Source code for matplotlib.figure - ProPlot
The figure module provides the top-level :class:`~matplotlib.artist.Artist`, the :class:`Figure`, which contains all the plot elements.
Read more >
TypeError: __init__() got an unexpected keyword argument ...
Hi why I have this error? worker_info.dataset.setup_augmentor(worker_id, worker_seed) File “/content/drive/MyDrive/hover_net-master/dataloader/ ...
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