APA102

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

···

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.

···

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks Adam, it is appreciated. I really am eager to get going with this. Just let me know what I need to do and I will do it. Thanks once again.

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···

On Fri, Jan 12, 2018 at 6:24 AM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Travis, can you attach your test.json?

···

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Nice :slight_smile: I’m on it… testing right now.

···

On Fri, Jan 12, 2018 at 6:55 AM, Tom Swirly tom@swirly.com wrote:

Done - it’s now in that previous pull request! :slight_smile:

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWXrC0q9VB5G9D3GU2FgL%2B2nhizDEz6B-7fcMuDDpC8nA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Fri, Jan 12, 2018 at 12:52 PM, Tom Swirly tom@swirly.com wrote:

I have it here, I’ll check it in.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 12:51 PM, Adam Haile adammhaile@gmail.com wrote:

Travis, can you attach your test.json?


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Travis,

Run pip install --upgrade bibliopixel and you should get v3.4.2 which will get you back on track.

···

On Fri, Jan 12, 2018 at 6:57 AM, Adam Haile adammhaile@gmail.com wrote:

Nice :slight_smile: I’m on it… testing right now.

On Fri, Jan 12, 2018 at 6:55 AM, Tom Swirly tom@swirly.com wrote:

Done - it’s now in that previous pull request! :slight_smile:

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWXrC0q9VB5G9D3GU2FgL%2B2nhizDEz6B-7fcMuDDpC8nA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Fri, Jan 12, 2018 at 12:52 PM, Tom Swirly tom@swirly.com wrote:

I have it here, I’ll check it in.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 12:51 PM, Adam Haile adammhaile@gmail.com wrote:

Travis, can you attach your test.json?


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

I used ‘sudo pip3 install --upgrade BiblioPixel’ to upgrade and that all seemed fine. Downloaded version 3.4.2 and seemed to successfully do the upgrade. Then I ran the same command as before and the following is what I received. What did I do wrong?

pi@raspberrypi:~ $ bibliopixel run https://github.com/ManiacalLabs/PiPixel/blob/master/Demos/spi.json --ledtype APA102 --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘run’: {‘fps’: 30}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64}, ‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}}

encountered exception

Traceback (most recent call last):

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···

On Fri, Jan 12, 2018 at 9:34 AM, Adam Haile adammhaile@gmail.com wrote:

Travis,

Run pip install --upgrade bibliopixel and you should get v3.4.2 which will get you back on track.

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:57 AM, Adam Haile adammhaile@gmail.com wrote:

Nice :slight_smile: I’m on it… testing right now.

On Fri, Jan 12, 2018 at 6:55 AM, Tom Swirly tom@swirly.com wrote:

Done - it’s now in that previous pull request! :slight_smile:

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWXrC0q9VB5G9D3GU2FgL%2B2nhizDEz6B-7fcMuDDpC8nA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Fri, Jan 12, 2018 at 12:52 PM, Tom Swirly tom@swirly.com wrote:

I have it here, I’ll check it in.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 12:51 PM, Adam Haile adammhaile@gmail.com wrote:

Travis, can you attach your test.json?


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

you didn’t call with sudo
root has it’s own python modules that are often different from the local user

You either need to do pip3 install --user bibliopixel so that you can run without sudo or you need to always run the command with sudo.
I would do sudo pip3 uninstall bibliopixel and pip3 uninstall bibliopixel (yes, BOTH) to make sure you’ve completely cleared out the installs.

I need to investigate but I think something changed in raspbian recently. Because it used to be you ALWAYS ran pip with sudo and then what you installed would be accessible as user AND root.
It probably would be normally but I guess you somehow got bibliopixel also installed into userspace.
Oh… also, after doing the uninstall… for good measure, run sudo rm $(which bp) and sudo rm $(which bibliopixel)

I literally just ran into a similar issue when testing this fix… so I’m pretty sure they changed something with the python install recently.
Also, if you can’t use SPI as non-root, follow this: https://raspberrypi.stackexchange.com/questions/26278/driving-led-stripes-as-non-root-user

···

On Fri, Jan 12, 2018 at 9:43 AM, Travis Stamper tstamper@hardecs.com wrote:

I used ‘sudo pip3 install --upgrade BiblioPixel’ to upgrade and that all seemed fine. Downloaded version 3.4.2 and seemed to successfully do the upgrade. Then I ran the same command as before and the following is what I received. What did I do wrong?

pi@raspberrypi:~ $ bibliopixel run https://github.com/ManiacalLabs/PiPixel/blob/master/Demos/spi.json --ledtype APA102 --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘run’: {‘fps’: 30}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64}, ‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}}

encountered exception

Traceback (most recent call last):

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 9:34 AM, Adam Haile adammhaile@gmail.com wrote:

Travis,

Run pip install --upgrade bibliopixel and you should get v3.4.2 which will get you back on track.

On Fri, Jan 12, 2018 at 6:57 AM, Adam Haile adammhaile@gmail.com wrote:

Nice :slight_smile: I’m on it… testing right now.

On Fri, Jan 12, 2018 at 6:55 AM, Tom Swirly tom@swirly.com wrote:

Done - it’s now in that previous pull request! :slight_smile:

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWXrC0q9VB5G9D3GU2FgL%2B2nhizDEz6B-7fcMuDDpC8nA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Fri, Jan 12, 2018 at 12:52 PM, Tom Swirly tom@swirly.com wrote:

I have it here, I’ll check it in.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 12:51 PM, Adam Haile adammhaile@gmail.com wrote:

Travis, can you attach your test.json?


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Seems to be good now. I will let you know if I hit any other hurdles. Thanks so much, your help is greatly appreciated for someone just learning linux and led’s

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)
···

On Fri, Jan 12, 2018 at 9:50 AM, Adam Haile adammhaile@gmail.com wrote:

you didn’t call with sudo
root has it’s own python modules that are often different from the local user

You either need to do pip3 install --user bibliopixel so that you can run without sudo or you need to always run the command with sudo.
I would do sudo pip3 uninstall bibliopixel and pip3 uninstall bibliopixel (yes, BOTH) to make sure you’ve completely cleared out the installs.

I need to investigate but I think something changed in raspbian recently. Because it used to be you ALWAYS ran pip with sudo and then what you installed would be accessible as user AND root.
It probably would be normally but I guess you somehow got bibliopixel also installed into userspace.
Oh… also, after doing the uninstall… for good measure, run sudo rm $(which bp) and sudo rm $(which bibliopixel)

I literally just ran into a similar issue when testing this fix… so I’m pretty sure they changed something with the python install recently.
Also, if you can’t use SPI as non-root, follow this: https://raspberrypi.stackexchange.com/questions/26278/driving-led-stripes-as-non-root-user

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 9:43 AM, Travis Stamper tstamper@hardecs.com wrote:

I used ‘sudo pip3 install --upgrade BiblioPixel’ to upgrade and that all seemed fine. Downloaded version 3.4.2 and seemed to successfully do the upgrade. Then I ran the same command as before and the following is what I received. What did I do wrong?

pi@raspberrypi:~ $ bibliopixel run https://github.com/ManiacalLabs/PiPixel/blob/master/Demos/spi.json --ledtype APA102 --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘run’: {‘fps’: 30}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64}, ‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}}

encountered exception

Traceback (most recent call last):

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 9:34 AM, Adam Haile adammhaile@gmail.com wrote:

Travis,

Run pip install --upgrade bibliopixel and you should get v3.4.2 which will get you back on track.

On Fri, Jan 12, 2018 at 6:57 AM, Adam Haile adammhaile@gmail.com wrote:

Nice :slight_smile: I’m on it… testing right now.

On Fri, Jan 12, 2018 at 6:55 AM, Tom Swirly tom@swirly.com wrote:

Done - it’s now in that previous pull request! :slight_smile:

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWXrC0q9VB5G9D3GU2FgL%2B2nhizDEz6B-7fcMuDDpC8nA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Fri, Jan 12, 2018 at 12:52 PM, Tom Swirly tom@swirly.com wrote:

I have it here, I’ll check it in.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 12:51 PM, Adam Haile adammhaile@gmail.com wrote:

Travis, can you attach your test.json?


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

No problem. Glad it’s working :slight_smile: We’re here if you need anything!

···

On Fri, Jan 12, 2018 at 10:08 AM, Travis Stamper tstamper@hardecs.com wrote:

Seems to be good now. I will let you know if I hit any other hurdles. Thanks so much, your help is greatly appreciated for someone just learning linux and led’s

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 9:50 AM, Adam Haile adammhaile@gmail.com wrote:

you didn’t call with sudo
root has it’s own python modules that are often different from the local user

You either need to do pip3 install --user bibliopixel so that you can run without sudo or you need to always run the command with sudo.
I would do sudo pip3 uninstall bibliopixel and pip3 uninstall bibliopixel (yes, BOTH) to make sure you’ve completely cleared out the installs.

I need to investigate but I think something changed in raspbian recently. Because it used to be you ALWAYS ran pip with sudo and then what you installed would be accessible as user AND root.
It probably would be normally but I guess you somehow got bibliopixel also installed into userspace.
Oh… also, after doing the uninstall… for good measure, run sudo rm $(which bp) and sudo rm $(which bibliopixel)

I literally just ran into a similar issue when testing this fix… so I’m pretty sure they changed something with the python install recently.
Also, if you can’t use SPI as non-root, follow this: https://raspberrypi.stackexchange.com/questions/26278/driving-led-stripes-as-non-root-user

On Fri, Jan 12, 2018 at 9:43 AM, Travis Stamper tstamper@hardecs.com wrote:

I used ‘sudo pip3 install --upgrade BiblioPixel’ to upgrade and that all seemed fine. Downloaded version 3.4.2 and seemed to successfully do the upgrade. Then I ran the same command as before and the following is what I received. What did I do wrong?

pi@raspberrypi:~ $ bibliopixel run https://github.com/ManiacalLabs/PiPixel/blob/master/Demos/spi.json --ledtype APA102 --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘run’: {‘fps’: 30}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64}, ‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}}

encountered exception

Traceback (most recent call last):

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/home/pi/.local/lib/python3.5/site-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 9:34 AM, Adam Haile adammhaile@gmail.com wrote:

Travis,

Run pip install --upgrade bibliopixel and you should get v3.4.2 which will get you back on track.

On Fri, Jan 12, 2018 at 6:57 AM, Adam Haile adammhaile@gmail.com wrote:

Nice :slight_smile: I’m on it… testing right now.

On Fri, Jan 12, 2018 at 6:55 AM, Tom Swirly tom@swirly.com wrote:

Done - it’s now in that previous pull request! :slight_smile:

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CAOuQWfWXrC0q9VB5G9D3GU2FgL%2B2nhizDEz6B-7fcMuDDpC8nA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Fri, Jan 12, 2018 at 12:52 PM, Tom Swirly tom@swirly.com wrote:

I have it here, I’ll check it in.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 12:51 PM, Adam Haile adammhaile@gmail.com wrote:

Travis, can you attach your test.json?


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:36 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Lol, no problem. I know how that goes. Look at my sig and that will tell you how much I understand

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 6:27 AM, Tom Swirly tom@swirly.com wrote:

And I should have been clearer. “A pull request” means I have made a request to change the code with a possible fix. It doesn’t mean we’ve actually fixed it yet! It’s obvious to me because I do this every day but not so obvious to others.

Next time I’ll be clearer about that. :slight_smile:

On Fri, Jan 12, 2018 at 12:24 PM, Adam Haile adammhaile@gmail.com wrote:

Easiest is to give me a couple hours and I’ll have a new release out. So sorry for this, it’s entirely my bad… It seems something is horribly messed up with my Pi test rig and was not testing the latest as I thought.
You could also pull the code direct from Tom’s pull request via git and install manually… But that’s a lot more complicated. I’m in the car right now, so by the time I get to my computer I’ll have the easy way for you ready to go.


/t

https://tom.ritchford.com

https://tom.swirly.com

On Jan 12, 2018 6:20 AM, “Travis Stamper” tstamper@hardecs.com wrote:

Kinda new to this who thing, how do I incorporate the fix?

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

When it is obvious that the goals cannot be reached, don’t adjust the goals, adjust the action steps."

*- Confucius *

Travis Stamper

IT Manager
MyDad LLC
2540 S Dixie Hwy
Elizabethtown, KY 42701-6341
Ph: (270) 765-5113 Ext. 2235
Fax: (270) 737-2280
tstamper@hardecs.com

http://www.hardecs.com

On Fri, Jan 12, 2018 at 4:44 AM, Tom Swirly tom@swirly.com wrote:

“We” or actually I :slight_smile: introduced this bug in August - https://github.com/ManiacalLabs/BiblioPixel/commit/e64d850f8354963dda4867e4b980b243af040053#diff-57f403ec226f1b9878f9af9a421cac31

Clearly we aren’t testing the SPI drivers as part of our release process. We’ll fix that too!

On Fri, Jan 12, 2018 at 10:42 AM, Tom Swirly tom@swirly.com wrote:

This is definitely our issue. I put out a pull request which I believe will fix it and it’s here: https://github.com/ManiacalLabs/BiblioPixel/pull/570

I can’t actually test it as I don’t have any SPI devices, but I’m reasonably sure it’s correct, and Adam can test it.

(For my own curiosity, I’m now going to take a look and see when we introduced this bug…)


/t

https://tom.ritchford.com

https://tom.swirly.com

On Fri, Jan 12, 2018 at 9:38 AM, dan dan@maniacallabs.com wrote:

HI Travis,

Sorry about that, your previous message got caught in the spam filter. I’ve cleared your user for future posting, and CC’d Adam on this message, just to make sure. He should be able to answer your question.

-dan

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/CACLXGbSQtcOSwvdWwh3YOG6ckAO5D1quKfvgL-qz84FXfjY_Mg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

/t

https://tom.ritchford.com

https://tom.swirly.com

On Thu, Jan 11, 2018 at 12:34 PM, Travis Stamper tstamper@hardecs.com wrote:

I am just getting started with Bibliopixel and I keep getting errors when trying to run my test script for APA102, does it no matter which led I specify.

pi@raspberrypi:~ $ sudo bibliopixel test.json --verbose

ERROR - run - 1 project failed

ERROR - run - When reading description:

{‘animation’: {‘typename’: ‘BiblioPixelAnimations.strip.Rainbows.RainbowCycle’}, ‘layout’: {‘typename’: ‘strip’, ‘brightness’: 128}, ‘run’: {‘fps’: 30}, ‘driver’: {‘typename’: ‘spi’, ‘c_order’: ‘RGB’, ‘num’: 64, ‘ledtype’: ‘APA102’}}

encountered exception

Traceback (most recent call last):

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 57, in _get_animations

project = common_flags.make_project(args, desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/common_flags.py”, line 145, in make_project

return project.project(project_flags, desc, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 53, in project

project = construct.construct(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/construct.py”, line 13, in construct

return datatype(*args, **kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in init

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 36, in

self.drivers = [create(d, ‘drivers’) for d in drivers]

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 34, in create

python_path=‘bibliopixel.’ + name)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 60, in recurse

return call(post, desc) or desc

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/recurse.py”, line 43, in call

return f and f(desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 26, in post

return self.construct_child(**desc)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/project/project.py”, line 16, in construct_child

return datatype(**kwds)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/drivers/SPI/driver.py”, line 34, in SPI

raise ValueError(’{} is not a valid LED type.’.format(ledtype))

ValueError: (‘Unable to create drivers’, ‘APA102 is not a valid LED type.’)

Unable to create drivers

APA102 is not a valid LED type.

Traceback (most recent call last):

File “/usr/local/bin/bibliopixel”, line 15, in

main.main()

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/main.py”, line 74, in main

return run(args) or 0

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 112, in run

animations = _get_animations(args)

File “/usr/local/lib/python3.5/dist-packages/bibliopixel/main/run.py”, line 83, in _get_animations

raise ValueError(‘Run aborted’)

ValueError: Run aborted

I have got the WS2811 to run but the others I can not if I switch the jumper back to SPI and try the script. Thanks

<sup>This electronic mail transmission may contain confidential information and is being sent for the use of the named individual or entity to which it is directed. The contents of this email are not to be transmitted to or received by anyone other than the named addressee or person(s) designated by the addressee. This email is not to be copied or forwarded to any unauthorized persons. The information contained in this electronic mail message, including any attachments, is confidential and is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2522. Unauthorized use, copying or distribution of this message, including any attachments, is strictly prohibited and may be unlawful. </sup>If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding it, and notify the sender of the error by replying via email to tstamper@hardecs.com or by calling Travis Stamper at 1-800-666-9547, so that our address record can be corrected. [http://www.hardecs.com](http://www.hardecs.com)

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/7d840ff4-a0a8-4d5e-9d52-80e38c852e63%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.