thisiscam / math-with-slack

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

Invalid Argument #21

Closed dang1507 closed 3 years ago

dang1507 commented 3 years ago

Several versions of Slack are installed. 0) c:\Users\myusername\AppData\Local\slack\app-4.13.0\resources\app.asar <== (default) 1) c:\Users\myusername\AppData\Local\slack\app-4.12.2\resources\app.asar Choose from above:0

Using Slack installation at: c:\Users\myusername\AppData\Local\slack\app-4.13.0\resources\app.asar

Downloading MathJax...100%, 4.4 MB / 4.4 MB, 1488.4 KB/s, 3.0 secc

Traceback (most recent call last): File "C:\Users\myusername\AppData\Local\slack\SlackLateX\math-with-slack.py", line 501, in open(app_path, mode='wb') as new_app_fp:

OSError: [Errno 22] Invalid argument: 'c:\Users\myusername\AppData\Local\slack\app-4.13.0\resources\app.asar'

thisiscam commented 3 years ago

Which version of math-with-slack are you using? Is it the release version for Windows or the one on master branch?

thisiscam commented 3 years ago

In either case, I have just updated the repo to give better error message. Please try again with the updated version and report back if it's still not working for you?

thisiscam commented 3 years ago

Closing. Assuming this is a duplicate of #18. Error message should be better reported now.

dang1507 commented 3 years ago

I just saw this. I'll give it a try and let you know. I've been using the master branch.

On Wed, Mar 17, 2021, 21:07 Cambridge Yang @.***> wrote:

Closed #21 https://github.com/thisiscam/math-with-slack/issues/21.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thisiscam/math-with-slack/issues/21#event-4473260398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL4NHFPNY5MYNP2O26JOGTTEFG4LANCNFSM4ZG6CL2Q .

dang1507 commented 3 years ago

Worked like a charm.

Thank you!

On Thu, Mar 18, 2021, 07:56 Daniel Girardi @.***> wrote:

I just saw this. I'll give it a try and let you know. I've been using the master branch.

On Wed, Mar 17, 2021, 21:07 Cambridge Yang @.***> wrote:

Closed #21 https://github.com/thisiscam/math-with-slack/issues/21.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thisiscam/math-with-slack/issues/21#event-4473260398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOL4NHFPNY5MYNP2O26JOGTTEFG4LANCNFSM4ZG6CL2Q .