obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Bug: OBS Websocket 4.9.1 Compact not installing int he correct Folder, Dialog windows display issues

Open oparada1988 opened this issue 1 year ago • 4 comments

Operating System Info

Ubuntu 22.04 LTS

Other OS

No response

OBS Studio Version

28.0.0

OBS Studio Version (Other)

No response

obs-websocket Version

Git

OBS Studio Log URL

https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2F1ZFgSlHPL6EzNUiu#logURL

OBS Studio Crash Log URL

No response

Expected Behavior

installs in the correct folder, displays labels correctly

Current Behavior

Websocket 4.9.1 installs in /usr/obs-plugins and will not work.

Moving the plugin to /usr/lib/x86_64-linux-gnu/obs-plugins works but the menu entry under tools, and dialog window does not display the labels correctly

Steps to Reproduce

  1. instyall .deb file
  2. move plugin from /usr/obs-plugins to /usr/lib/x86_64-linux-gnu/obs-plugins 3.Plug in works but does not disply menu entries correctly

Screenshot from 2022-09-02 18-01-42

Screenshot from 2022-09-02 18-00-13

Anything else we should know?

No response

oparada1988 avatar Sep 02 '22 22:09 oparada1988

To remedy the incorrect installation paths for the deb package the following changes are required:

  • Install /usr/obs-plugins/64bit/obs-websocket-compat.so to /usr/lib/x86_64-linux-gnu/obs-plugins/obs-websocket-compat.so
  • Install /usr/data/obs-plugins/obs-websocket-compat/locale/*.ini to /usr/share/obs/obs-plugins/obs-websocket-compat/local/*.ini

flexiondotorg avatar Sep 05 '22 22:09 flexiondotorg

On Debian sid/testing the plugin never shows up in OBS at all. I believe it's due to the files being installed in a location that OBS never looks in:

# dpkg -L obs-websocket-compat
/usr
/usr/data
/usr/data/obs-plugins
/usr/data/obs-plugins/obs-websocket-compat
/usr/data/obs-plugins/obs-websocket-compat/locale
/usr/data/obs-plugins/obs-websocket-compat/locale/en-US.ini
/usr/obs-plugins
/usr/obs-plugins/64bit
/usr/obs-plugins/64bit/obs-websocket-compat.so

In this case, OBS never finds the plugin. Only when the plugin file itself is present in /usr/lib/x86_64-linux-gnu/obs-plugins does it work, but then it does so with the above issue. Once the locale files are present in /usr/share/obs/obs-plugins, the UI will appear correctly.

These are the steps I performed to fix it (as root):

cd /usr/lib/x86_64-linux-gnu/obs-plugins
ln -s /usr/obs-plugins/64bit/obs-websocket-compat.so
cd /usr/share/obs/obs-plugins
ln -s /usr/data/obs-plugins/obs-websocket-compat/

My OBS is locally compiled into a deb. It's the latest git master as of today. I'm going to guess that upstream OBS in Debian will behave similarly.

Perhaps there's a directory OBS shares in both Ubuntu and Debian? When using an old third party OBS plugin, this installed entirely into /usr/lib/obs-plugins and worked fine.

DanielCeregatti avatar Sep 15 '22 17:09 DanielCeregatti

Also have this issue

DraconicCode avatar Sep 16 '22 18:09 DraconicCode

To remedy the incorrect installation paths for the deb package the following changes are required:

  • Install /usr/obs-plugins/64bit/obs-websocket-compat.so to /usr/lib/x86_64-linux-gnu/obs-plugins/obs-websocket-compat.so
  • Install /usr/data/obs-plugins/obs-websocket-compat/locale/*.ini to /usr/share/obs/obs-plugins/obs-websocket-compat/local/*.ini

Thank you for this

DraconicCode avatar Sep 16 '22 18:09 DraconicCode