Code Monkey home page Code Monkey logo

Comments (5)

imanabu avatar imanabu commented on May 27, 2024

Originally I wrote that URL is not printed on the console. This was my fault. I had duplicate function names. I copied example twice. After correcting that error, the URL does show, but the Line 1 error persists.

from firebase-functions-python.

imanabu avatar imanabu commented on May 27, 2024

Just noticed this also happens in the emulator launch so I might dive deeper into this issue.

from firebase-functions-python.

russellwheatley avatar russellwheatley commented on May 27, 2024

Hey @imanabu, thanks for creating the issue. I'm not sure I follow, what do you mean by "Line 1 error" ? (I'm looking at the logs you provided).

from firebase-functions-python.

imanabu avatar imanabu commented on May 27, 2024

Yes, this line:

/bin/sh: line 1: 91546 Terminated: 15 python3.11 "/Users/sushi/Development/sushi-verse/fb/functions-py/venv/lib/python3.11/site-packages/firebase_functions/private/serving.py"

It states line 1 error. At any rate, it does not seem to cause any harmful effect, I was able to run the coding example completely. It does seem to be missing some environment variable when serving.py is invoked.

from firebase-functions-python.

exaby73 avatar exaby73 commented on May 27, 2024

This happens because a flash server is setup which is responsible for generating a yaml configuration for the emulator and GCP to setup your functions. Then this server has to be terminated after which is what this error is. It's perfectly fine, and currently there isn't a workaround for this. serving.py is not meant to be invoked by the user. It's an internal server used only to generate this yaml config.

Due to these reasons, I will close this issue. If you disagree, please comment with your reasoning, and I can reopen this issue. Thank you

from firebase-functions-python.

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.