Opened 2 years ago

Closed 2 years ago

#64823 closed defect (fixed)

buildbot-worker is missing dependencies on py310-msgpack py310-autobahn

Reported by: mojca (Mojca Miklavec) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: rajdeepbharati (Rajdeep Bharati)
Port: buildbot-worker

Description

buildbot-worker is missing two dependencies (else it fails to start for me):

Unhandled Error
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 676, in run
    runApp(config)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/scripts/twistd.py", line 30, in runApp
    runner.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 372, in run
    self.application = self.createOrGetApplication()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 448, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/service.py", line 404, in loadApplication
    application = sob.loadValueFromFile(filename, "application")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/persisted/sob.py", line 176, in loadValueFromFile
    eval(codeObj, d, d)
  File "buildbot.tac", line 4, in <module>
    from buildbot_worker.bot import Worker
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/bot.py", line 19, in <module>
    from buildbot_worker.null import LocalWorker
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/null.py", line 23, in <module>
    from buildbot_worker.pb import WorkerForBuilderPbLike
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/pb.py", line 42, in <module>
    from buildbot_worker.msgpack import BuildbotWebSocketClientFactory
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/msgpack.py", line 19, in <module>
    import msgpack
builtins.ModuleNotFoundError: No module named 'msgpack'
Unhandled Error
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 676, in run
    runApp(config)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/scripts/twistd.py", line 30, in runApp
    runner.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 372, in run
    self.application = self.createOrGetApplication()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/app.py", line 448, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/application/service.py", line 404, in loadApplication
    application = sob.loadValueFromFile(filename, "application")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/persisted/sob.py", line 176, in loadValueFromFile
    eval(codeObj, d, d)
  File "buildbot.tac", line 4, in <module>
    from buildbot_worker.bot import Worker
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/bot.py", line 19, in <module>
    from buildbot_worker.null import LocalWorker
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/null.py", line 23, in <module>
    from buildbot_worker.pb import WorkerForBuilderPbLike
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/buildbot_worker/pb.py", line 42, in <module>
    from buildbot_worker.msgpack import BuildbotWebSocketClientFactory
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/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'

Change History (2)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newaccepted

Thanks for the report. I'll add those deps today.

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 8cb98ae458f1b7402e39af5700175e605ca6cb3e/macports-ports (master):

buildbot-worker: Add autobahn and msgpack deps

Closes: #64823

Note: See TracTickets for help on using tickets.