GithubHelp home page GithubHelp logo

Comments (3)

nhuhoan avatar nhuhoan commented on June 8, 2024

v0.7.6.v450 : content assist don't works in some files in packages : io/ioutil, encoding/json, archive/zip, compress/gzip, compress/zlib

from goclipse.

bruno-medeiros avatar bruno-medeiros commented on June 8, 2024

Seems like this is a gocode bug. I get this in the gocode console:

>> Running: D:\devel\goclipse.git\plugin_ide.gocode\tools\windows_amd64\gocode.exe -sock=tcp -f=csv autocomplete D:\devel\DDT\_runtime\GoTest\src\zzz\my_app.go c66
panic: unexpected token: "?"
1(runtime.panic): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:1443
2(main.(*gc_parser).error): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:260
3(main.(*gc_parser).errorf): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:264
4(main.(*gc_parser).parse_type): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:638
5(main.(*gc_parser).parse_field): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:382
6(main._func_014): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:528
7(main.(*gc_parser).parse_struct_type): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:535
8(main.(*gc_parser).parse_type): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:608
9(main.(*gc_parser).parse_type_decl): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:718
10(main.(*gc_parser).parse_decl): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:827
11(main.(*gc_parser).parse_export): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:854
12(main.(*package_file_cache).process_package_data): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:133
13(main.(*package_file_cache).update_cache): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/package.go:91
14(main._func_001): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:316
15(runtime.goexit): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:271

panic: One of the package cache updaters panicked
1(runtime.panic): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:1443
2(main.update_packages): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:324
3(main.(*auto_complete_context).update_caches): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:156
4(main.(*auto_complete_context).apropos): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/autocompletecontext.go:237
5(main.server_auto_complete): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/server.go:122
6(main.(*RPC).RPC_auto_complete): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/gocode/src/github.com/nsf/gocode/rpc.go:25
7(reflect.Value.call): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/reflect/value.go:521
8(reflect.Value.Call): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/reflect/value.go:334
9(net/rpc.(*service).call): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/net/rpc/server.go:352
10(runtime.goexit): /Users/devoncarew/workspaces/workspace_dart/com.googlecode.goclipse.gocode/goroot/src/pkg/runtime/proc.c:271

PANIC,,PANIC,,PANIC

I need to investigate if this is still present in the latest version of gocode or not.

from goclipse.

bruno-medeiros avatar bruno-medeiros commented on June 8, 2024

This doesn't happen with the latest version of gocode. See #88

from goclipse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.