Skip to content
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

Ctags error #98

Open
garrett-hopper opened this issue Aug 16, 2016 · 3 comments
Open

Ctags error #98

garrett-hopper opened this issue Aug 16, 2016 · 3 comments

Comments

@garrett-hopper
Copy link

Runne :VaxeCtags I get an error:

Error detected while processing function vaxe#Ctags[1]..vaxe#CompilerClassPaths:                                      
line   17:                                                                                                            
The compiler exited with an error: Haxe Compiler 3.2.0 - (C)2005-2015 Haxe Foundation

How can I view what this error actually was?

@garrett-hopper
Copy link
Author

Looks like it's an issue with zsh:

zsh:1: no matches found: /usr/local/lib/haxe/std/*.hx

Looks like it doesn't quote each path? If that's even the solution?

hxml_sys

> let hxml_sys hxml_sys                cd /system/dev/kha/tree; ctags --languages=haxe --exclude=_std -R /usr/share/haxe/std/js/ /usr /local/lib/haxe/std/haxe/ /usr/local/lib/haxe/std/sys/ /usr/local/lib/haxe/std/tools/ /usr/local/lib/haxe/std/*.hx /us r/share/haxe/std/haxe/ /usr/share/haxe/std/sys/ /usr/share/haxe/std/tools/ /usr/share/haxe/std/*.hx Kha/Sources/ \ Kha /Backends/HTML5/ /nix/store/g414dsvfghpx9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/haxe/ /nix/store/g414dsvfghpx9axiva r6psqhhh2v55i8-haxe-3.2/lib/haxe/std/sys/ /nix/store/g414dsvfghpx9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/tools/ /ni x/store/g414dsvfghpx9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/*.hx /usr/local/lib/haxe/std/js/ /nix/store/g414dsvfghp x9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/js/ /usr/local/lib/haxe/extraLibs/ Sources/ /usr/lib/haxe/extraLibs/ /usr/ lib/haxe/std/js/ /usr/lib/haxe/std/haxe/ /usr/lib/haxe/std/sys/ /usr/lib/haxe/std/tools/ /usr/lib/haxe/std/*.hx;

Running on NixOs, fyi.

@garrett-hopper
Copy link
Author

Possible solutions would be bash -c $hxml_sys perhaps?

jonasmalacofilho added a commit to jonasmalacofilho/vaxe that referenced this issue Jan 24, 2017
Fixes jdonaldson#98 (thank @Jumblemuddle for the solution)
@neillrobson
Copy link

neillrobson commented Nov 29, 2017

update: Actually, I don't think that the solution I have below works. I even tried placing the option into the system's zsh config files to no avail. I've just used Jumblemiddle's solution (as implemented by jonasmalacofilho), which seems to work.


I just ran into this issue as well, but I did not get any error: the tags file simply failed to generate. I only discovered the cause by pasting the generated ctags command into my terminal and getting the zsh error from there.

It's hard to say whether the appropriate place for a fix would be within the vaxe code or within the individual's zsh config. As it turns out, zsh will also balk at urls in curl commands and other common actions.

The fix I chose to go with was to add the CSH_NULL_GLOB option to my .zshrc. It fixes the vaxe ctags issue, and although it may not remedy errors in other commands, it seems to me more reasonable behavior than what it did previously.

Link to zsh documentation: http://zsh.sourceforge.net/Doc/Release/Options.html#Expansion-and-Globbing

jonasmalacofilho added a commit to jonasmalacofilho/vaxe that referenced this issue Jan 30, 2018
Fixes jdonaldson#98 (thank @Jumblemuddle for the solution)
jonasmalacofilho added a commit to jonasmalacofilho/vaxe that referenced this issue Mar 24, 2018
Fixes jdonaldson#98 (thank @Jumblemuddle for the solution)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants