Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

cant get past online demo and hexya updatedb for local demo is failing for me #113

Open
githubfanster opened this issue Feb 27, 2020 · 6 comments

Comments

@githubfanster
Copy link

i'm trying to get hexya-demo going in a windows 10 desktop environment but i've failed 4 times already.

i'm basically following what was discussed in #112,
except that i noticed that hexya-demo was updated dec 22, 2019 (the issue was posted november), and according to the go.mod file, it seems i have to use github.com/hexya-erp/hexya v0.0.43

of the 4 times i've tried, my first try reported errors similar to those reported in #112.
but i was using hexya v0.0.41 then.

after i switched to hexya v0.0.43, hexya updatedb -o -c ./hexya.toml always fails silently. (nothing printed in console)

before i start again, i make sure i start in a CLEAN environment (uninstall golang, delete various folders) but to no avail.

i notice that even the online demo is not working (i cant get past the login process).

any suggestion on what to do next?

should i just wait until perhaps a future update?

thanks!

@npiganeau
Copy link
Member

Thanks for your interest in Hexya. It is indeed difficult for me to keep all module versions compatible as there are a lot of changes in the API.

Basically, keeping all modules with the same version number should work most of the time.
Another option is to pull master branch (or dev branch if you are bolder) on all modules and add "replace" directive in the go.mod to use the local copy of each module.

Testing the web module only has more chance to work, because that is where most work is done today. Module dependency tree is github.com/hexya-addons/web => github.com/hexya-addons/base => github.com/hexya-erp/hexya

Finally,

  • I work on Linux, so there may be specific issues with Windows (I have found out that hexya generate needs to be run as admin).
  • I'm not sure the -c flag actually works. I had issues at some time. Just run the hexya updatedb -o in the directory where hexya.toml is.
  • Compiling Hexya takes a lot of RAM (~ 8GB) because of all the generated code and hexya updatedb does a compilation.

I've reset the demo password too.

@gladstons

This comment was marked as spam.

@jimmiejack12

This comment was marked as spam.

@jenifferjackson12

This comment was marked as spam.

@johndavidjohn22

This comment was marked as spam.

@jameskarter72

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants