hexya-erp / hexya

Hexya business application development framework
http://hexya.io
Apache License 2.0
418 stars 128 forks source link

Undefined: strutils.IsInStringSlice #72

Closed Nemo08 closed 5 years ago

Nemo08 commented 5 years ago

Windows 10x64, PostgreSQL 11 on updatedb on hexya-demo got this errors:

$ hexya updatedb -o
Please wait, Hexya is starting ...
# github.com/hexya-addons/web/scripts
C:\Go\workspace\pkg\mod\github.com\hexya-addons\web@v0.0.0-20181201103026-60ae0dce7bbd\scripts\i18nUpdate.go:146:7: undefined: strutils.IsInStringSlice
# github.com/hexya-erp/pool/m
pool\m\account_account_tag.go:234:31: undefined: h
pool\m\account_tax.go:281:22: undefined: h
pool\m\account_tax.go:283:43: undefined: h
pool\m\account_tax.go:309:31: undefined: h
pool\m\account_tax.go:317:18: undefined: h
pool\m\account_tax.go:347:22: undefined: h
pool\m\account_tax.go:349:21: undefined: h
pool\m\account_tax.go:351:27: undefined: h
pool\m\account_tax.go:379:31: undefined: h
pool\m\account_tax_group.go:225:31: undefined: h
pool\m\account_tax.go:379:31: too many errors
boiledice commented 5 years ago

@Nemo08 how did you fix this error? I am stuck with this error as well.

npiganeau commented 5 years ago

Hi,

Make sure that you have run hexya generate . in the hexya-demo folder to generate the pool packages. On Windows, this command must be run as admin (for some reason...).