question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove hack in `synth.py`

See original GitHub issue

We currently have this hack in synth.py:

s.replace("src/v1/subscriber_client.js",
          "  }\n\s*/\*\*\n\s+\* The DNS address for this API service.",
          "\n    // note: editing generated code\n"
          "    this.waitForReady = function(deadline, callback) {\n"
          "      return subscriberStub.then(\n"
          "        stub => stub.waitForReady(deadline, callback),\n"
          "        callback\n"
          "      );\n"
          "    };\n"
          "    this.getSubscriberStub = function() {\n"
          "      return subscriberStub;\n"
          "    };\n"
          "\g<0>")

The code that’s getting swapped in is creating lint issues in #641. It looks like there is an issue here in the gapic generator causing the pain: https://github.com/googleapis/gapic-generator/issues/2127

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sduskiscommented, Jun 14, 2019

@JustinBeckwith, any objection to recategorize this as a “type: cleanup”, since this doesn’t affect users?

0reactions
alexander-fenstercommented, Feb 25, 2020

Sure! (I actually thought it is closed 😃 )

Read more comments on GitHub >

github_iconTop Results From Across the Web

andresgongora/synth-shell: Boost your terminal, script by script
Edit ~/.bashrc and remove the lines referring to synth-shell, usually at the bottom of the file. If you want to temporarily disable the...
Read more >
Bespoke Synth 1.0 – open-source software modular synthesizer
I've just installed it and wanted to try this Python live-coding but it crashes when loading the example file. This looks all so...
Read more >
A Slew Of Open-Source Synthesizers - Hackaday
Wiring up so many knobs is a breadboard-salad, though, so I've gone through the code for you with a fine-toothed chainsaw, and hacked...
Read more >
PythonInMusic - Python Wiki
This module contains Python bindings for FluidSynth. FluidSynth is a software synthesizer for generating music. It works like a MIDI synthesizer.
Read more >
Discussion | VapourSynth
I'm not sure how to fix it since everything else seems to be working just fine. ... Python exception: module 'vapoursynth' has no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found