Subject: |
RE: Trouble getting a ZenPack to install and work |
Author: |
Pheripheral Pheripheral |
Posted: |
2019-07-11 04:02 |
Hi,
I don't claim to be an expert on this and i've not tried this out to see if it fixes anything...
but does the configure.zcml need something to pull in the actions directory
something like
<include package=".actions"/>
------------------------------
Pheripheral Pheripheral
------------------------------
Subject: |
RE: Trouble getting a ZenPack to install and work |
Author: |
Paul Giordano |
Posted: |
2019-07-11 12:36 |
So I moved the module from the "actions" directory to the base directory, changed the reference in configure.zcml, and it worked. I tried the include, but got a different failure:
ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module ZenPacks.zethcon.Ryver has no global actions')
I'd still like to know why it didn't take the other way.
------------------------------
Paul Giordano
Senior Systems Engineer
Zethcon Corporation
------------------------------
Subject: |
RE: Trouble getting a ZenPack to install and work |
Author: |
Jay Stanley |
Posted: |
2019-07-12 10:27 |
Need the __init__.py in actions directory
------------------------------
jstanley
------------------------------
Subject: |
RE: Trouble getting a ZenPack to install and work |
Author: |
Paul Giordano |
Posted: |
2019-07-12 10:45 |
I figured it was something simple. Thanks Jay.
------------------------------
Paul Giordano
Senior Systems Engineer
Zethcon Corporation
------------------------------