weskinner / symbol-gen

Generate tags file for a project in the atom text editor
MIT License
33 stars 17 forks source link

Stacked with generating tags #44

Open Dinococcus opened 8 years ago

Dinococcus commented 8 years ago

Hi everyone, I am new in Atom and I would like to use "Go to declaration" feature but I am stacked with generating tags with this package. When I click Symbol-gen: generate, nothing happens and tags are not generated. Then I did some research and start atom with the --dev parameter. I realized via console some JS errors:

symbol-gen: ctag:stderr /home/pepe/.atom/packages/symbol-gen/vendor/ctags-linux: 1: /home/pepe/.atom/packages/symbol-gen/vendor/ctags-linux: Syntax error: "(" unexpected (anonymous function) @ symbol-gen-view.coffee:67emitOne @ events.js:77emit @ events.js:169readableAddChunk @ _stream_readable.js:146Readable.push @ _stream_readable.js:110onread @ net.js:523 symbol-gen-view.coffee:70 symbol-gen: Error swapping file: Error: ENOENT: no such file or directory, rename '/var/www/biopedia5.local/.tags_swap' -> '/var/www/biopedia5.local/tags'(…)

I am working on Linux (Ubuntu 14.04). I was thinking that the permissions blocked creation of swap file in some way. I copied the project in another location, change permissions but that did not help.

I tried installing Atom on Windows 8.1 and the package works like a charm. Temporary .tags-swap file is generated, than renamed to tags, and the tags are displayed in Atom project...

Does anyone have any suggestion what to do ?

Thank you Peter (alias Dinococcus)

amirtgm commented 8 years ago

i have the same issue on osx

weskinner commented 8 years ago

@Dinococcus can you update symbol-gen and try again?