atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
180 stars 4 forks source link

Markdown conversions aren't working (alpha 37) #501

Open alexwlchan opened 13 years ago

alexwlchan commented 13 years ago

If you compose a file in Markdown, then using the menu item Actions > Markdown > Convert Document/Selection to HTML fails, replacing the selected text with:

/var/folders/b1/5rnyrz7d1017pcjgvn_39tzc0000gn/T/CHTemporaryFiles/62B1B898-6A92-4093-81DD-1523AE2590F3: line 6: Markdown.pl: command not found
/var/folders/b1/5rnyrz7d1017pcjgvn_39tzc0000gn/T/CHTemporaryFiles/62B1B898-6A92-4093-81DD-1523AE2590F3: line 6: SmartyPants.pl: command not found

A quick perusal through the referenced file (from my admittedly inexperienced eye) suggests that it's calling the Markdown.pl and SmartyPants.pl scripts from the Textmate bundle, but Chocolat can't see said bundle.

Every time I try a Markdown conversion, a new file turns up in that folder with some inscrutable stuff in it. I've uploaded a zip archive of the whole folder here: http://cl.ly/3i2t3I0W2t3h1Y3X3p3t.

Every such command also gives the Console error message:

Chocolat: finout = 0     finerr = 0     isrun = 1
Chocolat: finout = 0     finerr = 0     isrun = 1
Chocolat: finout = 1     finerr = 0     isrun = 0
Chocolat: finout = 1     finerr = 1     isrun = 0  

Trying any of the commands in the MultiMarkdown submenu do nothing toward the end result, except causing the phantom "Chocolat quit unexpectedly" dialogs, as mentioned in issue 390 and issue 493. I've uploaded a crash report from one of these crashes here.

Trying the MultiMarkdown conversion to PDF also throws up an empty window titled Command Output ‹ [No Command].

kohidave commented 12 years ago

+1

ghost commented 12 years ago

Also having this issue. Current build Version 0.15 (0.15). Full license as well.

saverio commented 12 years ago

I'm having the same issue here on Version 1.1 (1.1)

ludwigschubert commented 12 years ago

I experience the same issue and suggest to bind the "Convert Document / Selection to PDF" or "Convert Document / Selection to HTML" to the Run or Build commands. (I openend a seperate ticket for this suggestion, don't worry.)

infomongo commented 12 years ago

I'm having the same failure in 1.1.1

shawnyeager commented 12 years ago

Still failing in 1.1.3.

ghost commented 12 years ago

1.2 here, still failing.

rieder91 commented 11 years ago

1.4, still fails

willwhitney commented 11 years ago

Is supporting the extensions that you include just not at all a priority for you guys? Seriously, there are a bunch of them, like this one, that don't work at all, and haven't since they were created.

fuzzy76 commented 11 years ago

Me too. Is there a command dependency somewhere?

atg commented 11 years ago

@willwhitney The problem is that I don't know what half the commands even do, so it's difficult to judge whether they are working or not. Chocolat includes ~70 bundles and I am but one person.

I could just delete the whole lot (believe me I really want to), but that would make people angry. So we have the present situation where many of them are broken and not a lot gets done about it.

atg commented 11 years ago

As far as this command goes, the problem appears to be that it depends on a Markdown.pl, but no such script exists. There is a MultiMarkdown.pl in the bundle's support folder. IIRC, TM includes the Markdown.pl in its SharedSupport, I'm not sure how a command can reference a file from in there though...

scottishwildcat commented 10 years ago

Same problem in 2.1.1.

pgrilo commented 10 years ago

To fix this issue get Markdown.pl Markdown and SmartyPants.pl SmartyPants.
Drop those two files here: /Applications/Chocolat.app/Contents/SharedSupport/Truffles/markdown.truffle/support/bin/.
Check permissions and you're ready to go.