[Slackbuilds-users] crmsh not working

JCA 1.41421 at gmail.com
Wed Mar 6 20:29:10 UTC 2019


By the way, the crmsh version in Slackbuilds (2.2.1) is almost three years
old. I used the Slackbuilds build script to build the latest stable release
(3.0.3) as retrieved from the crmsh github repository; it builds correctly,
and seems to run fine. Interestingly, it reports itself to be version
3.0.1, not 3.0.3. That seems to be something in the build framework as
packaged by the crmsh people - nothing to do with the Slackbuilds build
script.

On Wed, Mar 6, 2019 at 7:40 AM JCA <1.41421 at gmail.com> wrote:

> Thanks. After installing the lxml Python component, crm starts with no
> problem.
>
> On Tue, Mar 5, 2019 at 10:05 PM Jeremy Hansen <jebrhansen+SBo at gmail.com>
> wrote:
>
>> On Tue, Mar 5, 2019, 6:23 PM JCA <1.41421 at gmail.com> wrote:
>>
>>> I installed the crmsh package into two freshly installed Slackware 14.2
>>> systems, fully patched. According to the info file for this package, it
>>> does not have any explicit dependencies. I nevertheless installed
>>> pacemaker, and all of its dependencies, for that's the context in which I
>>> am going to use crmsh.
>>>
>>> When I try to invoke the crm executable that is distributed with crmsh,
>>> here is what I am getting:
>>>
>>> # crm
>>> Fatal error:
>>>         No module named lxml
>>>         No module named modules
>>>
>>>     Failed to start crmsh! This is likely due to a broken
>>>     installation or a missing dependency.
>>>
>>>     If you are using a packaged version of crmsh, please try
>>>     reinstalling the package. Also check your PYTHONPATH and
>>>     make sure that the crmsh module is reachable.
>>>
>>>     Please file an issue describing your installation at
>>>     https://github.com/Clusterlabs/crmsh/issues/ .
>>>
>>> PYTHONPATH is not set in my shell, and it is not found in any file in
>>> /etc/profile.d. I tried setting it myself with
>>>
>>> export PYTHONPATH=/usr/lib64/python2.7/site-packages/crmsh
>>>
>>> and a few variations of the above, but it made no difference.
>>>
>>
>> Looks like there might be some undocumented dependencies somewhere. Based
>> on your error message, I'm assuming you need
>> https://slackbuilds.org/repository/14.2/python/lxml/ for the missing
>> "lxml", but I'm not sure what you'd need for the missing "modules".
>>
>> Jeremy
>>
>>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190306/70affd4d/attachment.html>


More information about the SlackBuilds-users mailing list