Giter Club home page Giter Club logo

Comments (9)

helfrichmichael avatar helfrichmichael commented on June 5, 2024

You're using way too new of a version of Bazel. Please use 0.26.1.

https://github.com/google/loaner/blob/master/docs/gngsetup_part2.md#step-1-set-up-a-development-computer covers this. Give that a try and let me know if you're still having issues.

from loaner.

StephaneConq avatar StephaneConq commented on June 5, 2024

Did not read that correctly indeed
Yet I now have another error :

Traceback (most recent call last): File "/home/stephane/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle handler = _config_handle.add_wsgi_middleware(self._LoadHandler()) File "/home/stephane/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 311, in _LoadHandler handler, path, err = LoadObject(self._handler) File "/home/stephane/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 96, in LoadObject __import__(cumulative_path) File "/home/stephane/.cache/bazel/_bazel_stephane/58a4323a4f6f7345100c61402a4cf47a/execroot/gng/bazel-out/k8-fastbuild/bin/loaner/web_app/runfiles.runfiles/gng/loaner/web_app/main.py", line 23, in <module> from loaner.web_app import constants File "/home/stephane/.cache/bazel/_bazel_stephane/58a4323a4f6f7345100c61402a4cf47a/execroot/gng/bazel-out/k8-fastbuild/bin/loaner/web_app/runfiles.runfiles/gng/loaner/web_app/constants.py", line 26, in <module> import endpoints File "/home/stephane/.cache/bazel/_bazel_stephane/58a4323a4f6f7345100c61402a4cf47a/execroot/gng/bazel-out/k8-fastbuild/bin/loaner/web_app/runfiles.runfiles/gng/external/endpoints_archive/endpoints/__init__.py", line 27, in <module> from .apiserving import * File "/home/stephane/.cache/bazel/_bazel_stephane/58a4323a4f6f7345100c61402a4cf47a/execroot/gng/bazel-out/k8-fastbuild/bin/loaner/web_app/runfiles.runfiles/gng/external/endpoints_archive/endpoints/apiserving.py", line 69, in <module> from . import api_config ImportError: cannot import name api_config

from loaner.

helfrichmichael avatar helfrichmichael commented on June 5, 2024

What commit are you using from GitHub git log should provide this commit info? I would personally recommend master right now since 0.7.1a has some issues I've seen with compiling. We should hopefully be cutting a numbered release soon.

from loaner.

StephaneConq avatar StephaneConq commented on June 5, 2024

Thanks again for your answer, I've been using this commit :

commit ab5e35d
Author: Mike Helfrich [email protected]
Date: Mon Oct 7 11:18:16 2019 -0400

Internal change.

PiperOrigin-RevId: 273295181

from loaner.

helfrichmichael avatar helfrichmichael commented on June 5, 2024

@StephaneConq yeah, that commit probably won't work without some additional modifications (due to changes in packages we are reliant on). I'd recommend swapping to the master branch. We fixed much of the OSS build in 5f898ff. The master branch will include that commit.

You can see our branches here.

from loaner.

StephaneConq avatar StephaneConq commented on June 5, 2024

Hi,

Sorry for the late answer, I was on another project.
So I followed your call and based myself on the latest commit on master :

Author: Mike Helfrich [email protected]
Date: Wed Apr 1 13:33:24 2020 -0400

CHANGE: Set Travis CI to update apt before installing packages. This should resolve Chrome being viewed as unauthenticated.

PiperOrigin-RevId: 304214060

But I still have the first error when logging in (the RuntimeError: no suitable implementation for this system: IOError(13, 'file not accessible') error)

Everything is up to date, Bazel is at the correct version.
Thanks in advance for yourr help.

from loaner.

helfrichmichael avatar helfrichmichael commented on June 5, 2024

Is that error only occurring when you try to run the local server or also when you do a dev push?

from loaner.

StephaneConq avatar StephaneConq commented on June 5, 2024

No that error only occurs when trying to login in local server with dev_appserver.py

from loaner.

helfrichmichael avatar helfrichmichael commented on June 5, 2024

I found this article, but haven't had a chance to investigate/try this.

It looks like it might be caused by a newer version of Google Cloud SDK. If you feel comfortable trying to troubleshoot this using that article, feel free to let us know if it resolves the issue. Otherwise, it will be a bit before I can look into this probably.

from loaner.

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.