-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work! (on Ubuntu 14.04 x64 & windows) #2
Comments
What's more, it doesn't seem like building works at all: it'll pop up an information pane at the bottom and show "Running build..." in the status bar, but nothing shows up, even with Console output:
On the other hand, running
|
Curious, can you confirm you are running Sublime Text 3? |
Yep, I definitely am! Tried it again on Windows -- completions seem to work, but attempting to build fails:
Again, |
Out of curiosity, did you at any point install hxcpp?
|
Nope, both platforms were seeing errors right from a fresh Haxe install. The only thing I could think of that might be interfering is my preexisting Node install...? Incidentally, I just tried slapping together my own build system and it works fine: {
"shell_cmd": "haxelib run flow build web --project $project_path/project.flow",
"working_dir": "${project_path:${folder}}",
"file_regex": "^([^\\t\\n\\r]+.hx):(\\d+): characters (\\d+)-\\d+ : ([^\\t\\n\\r]+)"
} |
What I was saying is you MUST have hxcpp installed. Do you? (check with |
Whoops, okay! I just installed hxcpp and restarted everything, but still no dice. (Was confused because I read that issue and tried |
What does |
Huh! Yeah, that's not working. Here's the output:
|
No, wait, I tried running the same command again and it worked -- looks like it was the same thing as snowkit/flow#29 causing that error I just posted. Deeper and deeper... |
So at this point, everything, including completions, seems to (more or less) work except the sublime_flow build system, which doesn't show any output or do anything -- the build info pane pops up blank. This happens for me both on Windows and Linux. Dropping in my own basic Sublime build target works fine, so I guess I can work around that. sublime_flow definitely seems to be launching a process, but if it's getting anything back it's not saying. |
I find it rather strange that 1 person has run into this (recently), I myself test/work on ubuntu x64 14.04 and haven't had any troubles - I'll check and see if it's up to date and see if there is anything weird/new, but countless people are using it on Windows and linux that I know of to good effect. I wonder if it's permissions related? Though that won't really be a windows thing. |
Yeah -- sorry for being so troublesome! Yesterday was my first day using Haxe in earnest, so it's totally possible I'm doing something silly here. For what it's worth, as soon as I have some time I'll poke at This is totally no longer a blocking issue for me anymore, so feel free to close it if that's easier -- I can always reopen if I find something new. |
The Simply run |
It's no big deal @lostfictions I prefer to root out any potential bugs that are hiding around, it's (as ever) just tricky remote debugging something obscure like this. I am happy to try figure it out though. |
@nadako has also encountered this on windows, still to no clear reasoning :/ |
That's a shame! To be honest, random errors with no clear reasoning are what made me give up on trying to use Haxe for anything, at least for now. For a statically-typed language with a fairly complex type system, compilation errors are frustratingly vague and ambiguous, and documentation is remarkably sparse. (I actually discovered a bunch of new syntax that doesn't seem to be documented anywhere just by (Contrast this with, say, Rust -- it's also a statically-typed language with an advanced type system, but they've made it a top priority to have descriptive, helpful error messages to match. They've also made documentation a first-class entity -- notice how the top header on their site has both In general I've also found the Haxe community at large to be pretty fragmented, without many reliable sources of practical nuts-and-bolts info. (Doesn't help that the Haxe Foundation seems to have shuttered its forums at some point at switched to something else without migrating any of the old posts.) Anyway, sorry to rant -- I just really wanted Haxe to work for me, and it hasn't. I should note that the Snowkit community's been really friendly and helpful where nobody else seemed to be, but it's been the exception in this regard. |
@lostfictions I would be happy if you report me which syntax I'm using which are not documented, so I can make sure they become so :) If you're looking help from the Haxe community, the best place have always been either the IRC channel or the Google Group "haxelang" Also, it seems the issue you're experiencing is quite flow-specific. |
It was a little while back so I don't remember everything, but the first thing that jumped out at me was import aliasing, like I just googled around for a few minutes and it looks like this actually is documented after all -- but just like a lot of critical Haxe documentation, it lives on old.haxe.org and is thus pretty hard to find unless you somehow already know it exists. |
This discussion is unrelated to the flow issue, so hopefully won't take up much of the space here. I do also find it odd that I have an article in draft that mentions some of this around haxe that you may want to keep an eye out for, it especially mentions the fact that the foundation and team are working hard, and have consistently improved things year after year since I entered the community (~2011). I can't speak for your experience specifically, but the documentation, features, and consistently taking feedback seriously has me feeling pretty confident in the haxe eco system overall - even if there are things to be desired along the way. I mean, you got a reply from Nicolas within half an hour, curious about the experience to see these things resolved. The second key component in all of this is us, the community. As much as people like to sidestep open source facts, contributions (including this type of feedback!) are critical to any project continuing to get better for the users/developers. I suspect with that feedback at the time would have had the documentation amended in short time. This is my perspective of course, I'm not dismissing your experience at all, but my experience is that things are massively trending upward and with the communities help these type of concerns fall away pretty quickly. We, the community, can make a lot of difference by putting in the time. Case in point :
Much appreciated :) |
I do believe that |
Back to the issue at hand: I managed to reproduce this behaviour on Mac by running against the Dev Channel of ST3. That is: The good part : I can debug it from my end now as it's reproducible. |
That seems odd as I've also encountered this issue using |
You can't get this behaviour from cli, this is very localized to sublime text. The broken pipe isn't even related to this, this is a sublime text issue that's 100% predictable, and just does not work at all on dev channel. Not once, not sporadically, it just quietly dies somewhere after trying to execute the command. If you are seeing flow just sit doing nothing report that as a separate bug, they are not related. I am hesitant to just draw connections here where none exists, the broken pipe is a flow specific issue, this is sublime specific. |
I'm following the guide at https://underscorediscovery.github.io/flow/guide/sublimetext.html, using the sample
project.flow
in luxe/tests/features/draw. Completion seems to... do nothing. Opening the console, looks like there's an exception:The text was updated successfully, but these errors were encountered: