Giter Club home page Giter Club logo

Comments (10)

hackpointt avatar hackpointt commented on June 14, 2024 1

hi, I prefer to communicate via email. my bito account email is [email protected]

from bitoai.

hackpointt avatar hackpointt commented on June 14, 2024

I'm using goland 2022.3 and I have tried to reinstall but not help

from bitoai.

nisha-bito avatar nisha-bito commented on June 14, 2024

hi @hackpointt ,

Can you please share some more information :

  1. OS
  2. Bito Version
  3. logs [from Help -> Show logs in explorer

from bitoai.

hackpointt avatar hackpointt commented on June 14, 2024

os: mac 13.1
bito version: 1.0.134
log:

2023-04-26 18:19:00,858 [15195623] INFO - #co.bito.intellij.actions.ExplainThisCode - {"key":"explain-this-code","data":"{"range":{"start":{"line":664,"column":0,"text":""},"end":{"line":729,"column":1,"text":"}"}},"selectedText":"func (s Server) DirectoryList(ctx context.Context, req pb.DirectoryListRequest, resp pb.DirectoryListResponse) (err error) {\n\tvar (\n\t\tdb = s.dbConn\n\t\ttoken models.Token\n\t\trecord models.Request\n\t\tdirListSrv service.DirectoryList\n\t\tdirListVal interface{}\n\t\tdirListResp service.DirectoryListResponse\n\t)\n\tdefer func() {\n\t\tif err != nil {\n\t\t\terr = status.Error(codes.InvalidArgument, err.Error())\n\t\t}\n\t}()\n\tif record, err = s.generateRequestRecord(ctx, \"DirectoryList\", req, db); err != nil {\n\t\treturn\n\t}\n\tresp.RequestId = record.ID\n\tif token, err = s.fetchToken(req.Token, req.Secret, db); err != nil {\n\t\treturn\n\t}\n\trecord.AppID = &token.App.ID\n\trecord.Token = &token.UID\n\n\tdirListSrv = &service.DirectoryList{\n\t\tBaseService: service.BaseService{DB: db},\n\t\tToken: token,\n\t\tIP: record.IP,\n\t\tSubDir: \"/\",\n\t\tLimit: 10,\n\t\tOffset: 0,\n\t\tSort: \"-type\",\n\t}\n\n\tif req.SubDir != \"\" {\n\t\tdirListSrv.SubDir = req.SubDir\n\t}\n\tif req.Limit != 0 {\n\t\tdirListSrv.Limit = int(req.Limit)\n\t}\n\tif req.Offset != 0 {\n\t\tdirListSrv.Offset = int(req.Offset)\n\t}\n\n\tsort := strings.Replace(req.Sort.String(), \"Desc\", \"-\", -1)\n\tsort = strings.Replace(sort, \"Asc\", \"\", -1)\n\tsort = strings.ToLower(sort)\n\tdirListSrv.Sort = sort\n\n\tif err = dirListSrv.Validate(); !reflect.ValueOf(err).IsNil() {\n\t\treturn\n\t}\n\tif dirListVal, err = dirListSrv.Execute(ctx); err != nil {\n\t\treturn\n\t}\n\tdirListResp = dirListVal.(service.DirectoryListResponse)\n\tresp.Total = int32(dirListResp.Total)\n\tresp.Pages = int32(dirListResp.Pages)\n\tresp.Files = make([]pb.File, len(dirListResp.Files))\n\tfor i, f := range dirListResp.Files {\n\t\tif resp.Files[i], err = s.fileResp(&f, db); err != nil {\n\t\t\treturn\n\t\t}\n\t}\n\treturn\n}","userSelectedText":true,"cloudFile":"n","isDiffView":"n","fileName":"server.go","filePath":"/Users/pecado/Development/go/src/xundu/api/xdcs/rpc/server.go","isGitRepository":false,"initialGitFileStatus":"local"}"}
2023-04-26 18:19:00,859 [15195624] INFO - STDOUT - ExplainThisCode == {"key":"explain-this-code","data":"{"range":{"start":{"line":664,"column":0,"text":""},"end":{"line":729,"column":1,"text":"}"}},"selectedText":"func (s Server) DirectoryList(ctx context.Context, req pb.DirectoryListRequest, resp pb.DirectoryListResponse) (err error) {\n\tvar (\n\t\tdb = s.dbConn\n\t\ttoken models.Token\n\t\trecord models.Request\n\t\tdirListSrv service.DirectoryList\n\t\tdirListVal interface{}\n\t\tdirListResp service.DirectoryListResponse\n\t)\n\tdefer func() {\n\t\tif err != nil {\n\t\t\terr = status.Error(codes.InvalidArgument, err.Error())\n\t\t}\n\t}()\n\tif record, err = s.generateRequestRecord(ctx, \"DirectoryList\", req, db); err != nil {\n\t\treturn\n\t}\n\tresp.RequestId = record.ID\n\tif token, err = s.fetchToken(req.Token, req.Secret, db); err != nil {\n\t\treturn\n\t}\n\trecord.AppID = &token.App.ID\n\trecord.Token = &token.UID\n\n\tdirListSrv = &service.DirectoryList{\n\t\tBaseService: service.BaseService{DB: db},\n\t\tToken: token,\n\t\tIP: record.IP,\n\t\tSubDir: \"/\",\n\t\tLimit: 10,\n\t\tOffset: 0,\n\t\tSort: \"-type\",\n\t}\n\n\tif req.SubDir != \"\" {\n\t\tdirListSrv.SubDir = req.SubDir\n\t}\n\tif req.Limit != 0 {\n\t\tdirListSrv.Limit = int(req.Limit)\n\t}\n\tif req.Offset != 0 {\n\t\tdirListSrv.Offset = int(req.Offset)\n\t}\n\n\tsort := strings.Replace(req.Sort.String(), \"Desc\", \"-\", -1)\n\tsort = strings.Replace(sort, \"Asc\", \"\", -1)\n\tsort = strings.ToLower(sort)\n\tdirListSrv.Sort = sort\n\n\tif err = dirListSrv.Validate(); !reflect.ValueOf(err).IsNil() {\n\t\treturn\n\t}\n\tif dirListVal, err = dirListSrv.Execute(ctx); err != nil {\n\t\treturn\n\t}\n\tdirListResp = dirListVal.(service.DirectoryListResponse)\n\tresp.Total = int32(dirListResp.Total)\n\tresp.Pages = int32(dirListResp.Pages)\n\tresp.Files = make([]pb.File, len(dirListResp.Files))\n\tfor i, f := range dirListResp.Files {\n\t\tif resp.Files[i], err = s.fileResp(&f, db); err != nil {\n\t\t\treturn\n\t\t}\n\t}\n\treturn\n}","userSelectedText":true,"cloudFile":"n","isDiffView":"n","fileName":"server.go","filePath":"/Users/pecado/Development/go/src/xundu/api/xdcs/rpc/server.go","isGitRepository":false,"initialGitFileStatus":"local"}"}
2023-04-26 18:19:00,860 [15195625] INFO - STDOUT - ExplainThisCode Enabled BITO window
*

from bitoai.

nisha-bito avatar nisha-bito commented on June 14, 2024

hi @hackpointt ,

Can you please try to logout and login once and let us know if the issue is resolved or not ?

Thanks,
Nisha

from bitoai.

hackpointt avatar hackpointt commented on June 14, 2024

I have tried these normal ways including re-loign, reinstalling and shit. only thing could I can do is just chatting!

big thanks for helping me out, this plugin is awesome. I'm down to keep working with you

from bitoai.

hackpointt avatar hackpointt commented on June 14, 2024

iShot_2023-04-27_11 30 10

from bitoai.

nisha-bito avatar nisha-bito commented on June 14, 2024

hi @hackpointt ,

Thanks for providing details.
We will analyze the issue at our end. Can you help us with the email you are using with Bito.

Please suggest if you will be comfortable in taking a short call with us ?

Thanks,
Nisha

from bitoai.

nisha-bito avatar nisha-bito commented on June 14, 2024

Thanks @hackpointt .

We have identified a fix for the issue.
The fix should be available with next Bito release [coming soon]. We shall update you about the same]

Thanks,
Nisha

from bitoai.

hackpointt avatar hackpointt commented on June 14, 2024

Thanks y'all!

from bitoai.

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.