thisiscam / math-with-slack

Rendered math (MathJax) with Slack's desktop client
MIT License
306 stars 28 forks source link

Installation successful but not working #44

Closed JoeyAndBlueWhale closed 2 years ago

JoeyAndBlueWhale commented 2 years ago

The installation was successful. I fully quited slack and restarted it but it is not working. Is it because my slack version is too new? I saw warnings like: /Users/dolphinerjoey/Desktop/math-with-slack.py:758: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. return LooseVersion(json.load(f)["version"]) /Users/dolphinerjoey/Desktop/math-with-slack.py:737: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if get_platform() == "darwin" and slack_version >= LooseVersion("4.22"): /Users/dolphinerjoey/Desktop/math-with-slack.py:763: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if slack_version <= LooseVersion('4.4'): Downloading MathJax...100%, 4.5 MB / 4.5 MB, 11242.5 KB/s, 0.4 sec /Users/dolphinerjoey/Desktop/math-with-slack.py:1104: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if platform == "darwin" and slack_version >= LooseVersion("4.22"):

thisiscam commented 2 years ago

I just tried the latest Slack version 4.26.1 and it is working for me. The warning you see seems to be Python version related. What's your python version?

That said, I would doubt if the warning is related to the functionality of plugin.

Could you post your macOS version and CPU platform?

thisiscam commented 2 years ago

Also, if you just got a new slack install, you need to open Slack at least once, quit slack, then use the plugin. Hope this helps

JoeyAndBlueWhale commented 2 years ago

Operating system is Monterey 12.4 and CPU is M1 Max. I completely quited and restarted slack multiple times.

thisiscam commented 2 years ago

Hmm, I have 12.3 and and Intel CPU. So your problem could literally be anywhere from CPU platform, script issue to code signing..

If you are willing to debug this with me, you can try these instructions, and let me know of your results?

JoeyAndBlueWhale commented 2 years ago

There is one issue

issue

and some warnings

warnings