Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

not found column 'res_company_ldap."user"' #153

Closed
mohamedhagag opened this issue Jan 16, 2020 · 1 comment · Fixed by #154
Closed

not found column 'res_company_ldap."user"' #153

mohamedhagag opened this issue Jan 16, 2020 · 1 comment · Fixed by #154
Assignees
Labels
bug Something isn't working

Comments

@mohamedhagag
Copy link

What happened

while running tbls doc $DSN $DIR

What you expected to happed

generate the docs

What stacktrace or error message from tbls did you see?

err: not found column 'res_company_ldap."user"'

Anything else we need to know?

the column already exists, the DB is an odoo DB and working fine

Environment

  • tbls version latest
  • Database version PG 12.x
  • Stacktrace or error message from tbls ( If you can, set DEBUG=1)
    not found column 'res_company_ldap."user"' github.com/k1LoW/tbls/schema.(*Table).FindColumnByName /Users/k1low/src/github.com/k1LoW/tbls/schema/schema.go:174 github.com/k1LoW/tbls/drivers/postgres.(*Postgres).Analyze /Users/k1low/src/github.com/k1LoW/tbls/drivers/postgres/postgres.go:304 github.com/k1LoW/tbls/datasource.Analyze /Users/k1low/src/github.com/k1LoW/tbls/datasource/datasource.go:83 github.com/k1LoW/tbls/cmd.glob..func4 /Users/k1low/src/github.com/k1LoW/tbls/cmd/doc.go:72 github.com/spf13/cobra.(*Command).execute /Users/k1low/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 github.com/spf13/cobra.(*Command).ExecuteC /Users/k1low/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 github.com/spf13/cobra.(*Command).Execute /Users/k1low/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864 github.com/k1LoW/tbls/cmd.Execute /Users/k1low/src/github.com/k1LoW/tbls/cmd/root.go:59 main.main /Users/k1low/src/github.com/k1LoW/tbls/main.go:33 runtime.main /Users/k1low/.anyenv/envs/goenv/versions/1.13.6/src/runtime/proc.go:203 runtime.goexit /Users/k1low/.anyenv/envs/goenv/versions/1.13.6/src/runtime/asm_amd64.s:1357
  • Config ( .tbls.yml )
@k1LoW
Copy link
Owner

k1LoW commented Jan 16, 2020

Hi @mohamedhagag ! Thank you for your report !!

Fixed version released as v1.24.1. Please check.

Best regards.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants