LaTeX-Utilities icon indicating copy to clipboard operation
LaTeX-Utilities copied to clipboard

How would one use sympy in snippets?

Open ThunderSmotch opened this issue 5 years ago • 10 comments

Assuming that the user has python3 and sympy package installed using the snippets provided by default shouldn't the text sympy 1+1 sympy return the replacemente 2 ?

In my case when I run sympy the text gets replaced by "SYMPY_CALCULATING" and then by an empty string, returning nothing.

ThunderSmotch avatar Sep 25 '19 19:09 ThunderSmotch

Huh. Works for me. What do you see in the output panel?

tecosaur avatar Sep 26 '19 01:09 tecosaur

Nothing shows up in the output panel no matter which log I select to view.

ThunderSmotch avatar Sep 26 '19 07:09 ThunderSmotch

How would you feel about debuging?

tecosaur avatar Sep 26 '19 08:09 tecosaur

The issue is probably somewhere in

https://github.com/tecosaur/LaTeX-Utilities/blob/f4387441768cd4d6dcb6ec969738f3181a5f4ba0/src/components/completionWatcher.ts#L340-L387

tecosaur avatar Sep 26 '19 08:09 tecosaur

I'll try to take a look and if I find anything I'll let you know!

ThunderSmotch avatar Sep 26 '19 14:09 ThunderSmotch

Any luck?

tecosaur avatar Sep 30 '19 06:09 tecosaur

@ThunderSmotch *cough

tecosaur avatar Oct 07 '19 15:10 tecosaur

Hey sorry but so far I haven't been able to figure out where the problem lies, gonna try to compile the python code and run it from cmd to see if that works. I'll post something when I have progress.

ThunderSmotch avatar Oct 08 '19 15:10 ThunderSmotch

@ThunderSmotch any luck?

tecosaur avatar Oct 16 '19 05:10 tecosaur

@ThunderSmotch I can't reproduce this myself, which means I need your help to solve it :)

tecosaur avatar Oct 28 '19 03:10 tecosaur

Closing for no action for a long time

leoleoasd avatar Aug 19 '22 03:08 leoleoasd