Bug 262545 - devel/py-buildbot-worker missing dependency www/py-autobahn
Summary: devel/py-buildbot-worker missing dependency www/py-autobahn
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-14 07:31 UTC by ari
Modified: 2022-03-17 06:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ari 2022-03-14 07:31:32 UTC
Starting buildbot_worker.
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/twisted/application/app.py", line 674, in run
    runApp(config)
  File "/usr/local/lib/python3.8/site-packages/twisted/scripts/twistd.py", line 29, in runApp
    runner.run()
  File "/usr/local/lib/python3.8/site-packages/twisted/application/app.py", line 370, in run
    self.application = self.createOrGetApplication()
  File "/usr/local/lib/python3.8/site-packages/twisted/application/app.py", line 437, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/local/lib/python3.8/site-packages/twisted/application/app.py", line 446, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/local/lib/python3.8/site-packages/twisted/application/service.py", line 404, in loadApplication
    application = sob.loadValueFromFile(filename, "application")
  File "/usr/local/lib/python3.8/site-packages/twisted/persisted/sob.py", line 177, in loadValueFromFile
    eval(codeObj, d, d)
  File "/var/build/buildbot.tac", line 4, in <module>
    from buildbot_worker.bot import Worker
  File "/usr/local/lib/python3.8/site-packages/buildbot_worker/bot.py", line 19, in <module>
    from buildbot_worker.null import LocalWorker
  File "/usr/local/lib/python3.8/site-packages/buildbot_worker/null.py", line 23, in <module>
    from buildbot_worker.pb import WorkerForBuilderPbLike
  File "/usr/local/lib/python3.8/site-packages/buildbot_worker/pb.py", line 42, in <module>
    from buildbot_worker.msgpack import BuildbotWebSocketClientFactory
  File "/usr/local/lib/python3.8/site-packages/buildbot_worker/msgpack.py", line 21, in <module>
    from autobahn.twisted.websocket import WebSocketClientFactory
builtins.ModuleNotFoundError: No module named 'autobahn'


Failed to load application: No module named 'autobahn'


------------

Resolved by installing www/py-autobahn
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-03-17 06:34:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dc041931d95ad097170e3055f6f11ac2523bf32c

commit dc041931d95ad097170e3055f6f11ac2523bf32c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-17 06:23:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-17 06:33:32 +0000

    devel/py-buildbot-worker: Add USERS/GROUPS

    - Fix missing dependency of www/py-autobahn [1]

    PR:             248234 262545 [1]
    Reported by:    ari@ish.com.au

 devel/py-buildbot-worker/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)