Closed shabbychef closed 3 years ago
Thanks for the bug report @shabbychef! Any interest in PRing this change? If you do, I'll be able to test it more easily on my end and can merge it into slackr 3.2.0
.
I will, but first I am not sure why the existing code no longer works: has there been a change to tex_preview
? Or does this somehow run differently on a Mac? etc. If the answer is that this function has not been tested in a while, and the API changed, I will make a PR. Otherwise I am afraid of breaking existing code...
@shabbychef Yeah, I'm not sure without looking into it. I didn't write slackr_tex
, so I'll need to play around with if a bit to try to repro the issue and figure out what's going on.
And no worries about breaking the code :) that's my responsibility to worry about, not yours
Sending tex via
slackr_tex
fails with responseno_file_data
.FWIW, I am using
texPreview
1.5 on a Mac. It seems that whentex_preview
is called, two files are written to thefileDir
oftd
. Callingfiles_upload
withfile=td
seems wrong to me. Indeed, I rewroteslackr_tex
as:and this function works just fine in my setup.