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.

Bug Report: Recent Instability

See original GitHub issue

Early this morning I gave Gentle’s hosted version three audio files without transcripts.

The third completed but the first two (alignments 488ca0e1 and 4467f32d) stalled and are still stuck in the transcription phase.

This afternoon, when retrying to submit the first and second, the first finished without error, however the second dumped me out at http://gentle-demo.lowerquality.com/transcriptions (without a transcription ID) and presented me with the following:

<html><head><title>web.Server Traceback (most recent call last)</title></head><body><b>web.Server Traceback (most recent call last):</b>

<div>
  <style type="text/css">
    div.error {
      color: red;
      font-family: Verdana, Arial, helvetica, sans-serif;
      font-weight: bold;
    }

    div {
      font-family: Verdana, Arial, helvetica, sans-serif;
    }

    div.stackTrace {
    }

    div.frame {
      padding: 1em;
      background: white;
      border-bottom: thin black dashed;
    }

    div.frame:first-child {
      padding: 1em;
      background: white;
      border-top: thin black dashed;
      border-bottom: thin black dashed;
    }

    div.location {
    }

    span.function {
      font-weight: bold;
      font-family: "Courier New", courier, monospace;
    }

    div.snippet {
      margin-bottom: 0.5em;
      margin-left: 1em;
      background: #FFFFDD;
    }

    div.snippetHighlightLine {
      color: red;
    }

    span.code {
      font-family: "Courier New", courier, monospace;
    }
  </style>

  <div class="error">
    <span>exceptions.IOError</span>: <span>[Errno 2] No such file or directory: 'www/view_alignment.html'</span>
  </div>
  <div class="stackTrace">
    <div class="frame">
      <div class="location">
        <span>/usr/local/lib/python2.7/dist-packages/twisted/web/server.py</span>:<span>183</span> in
        <span class="function">process</span>
      </div>
      <div class="snippet">
        <div class="snippetLine">
          <span class="lineno">182</span>
          <code class="code"> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;self._encoder = encoder</code>
        </div><div class="snippetHighlightLine">
          <span class="lineno">183</span>
          <code class="code"> &#160; &#160; &#160; &#160; &#160; &#160;self.render(resrc)</code>
        </div><div class="snippetLine">
          <span class="lineno">184</span>
          <code class="code"> &#160; &#160; &#160; &#160;except:</code>
        </div>
      </div>
    </div><div class="frame">
      <div class="location">
        <span>/usr/local/lib/python2.7/dist-packages/twisted/web/server.py</span>:<span>234</span> in
        <span class="function">render</span>
      </div>
      <div class="snippet">
        <div class="snippetLine">
          <span class="lineno">233</span>
          <code class="code"> &#160; &#160; &#160; &#160;try:</code>
        </div><div class="snippetHighlightLine">
          <span class="lineno">234</span>
          <code class="code"> &#160; &#160; &#160; &#160; &#160; &#160;body = resrc.render(self)</code>
        </div><div class="snippetLine">
          <span class="lineno">235</span>
          <code class="code"> &#160; &#160; &#160; &#160;except UnsupportedMethod as e:</code>
        </div>
      </div>
    </div><div class="frame">
      <div class="location">
        <span>/usr/local/lib/python2.7/dist-packages/twisted/web/resource.py</span>:<span>250</span> in
        <span class="function">render</span>
      </div>
      <div class="snippet">
        <div class="snippetLine">
          <span class="lineno">249</span>
          <code class="code"> &#160; &#160; &#160; &#160; &#160; &#160;raise UnsupportedMethod(allowedMethods)</code>
        </div><div class="snippetHighlightLine">
          <span class="lineno">250</span>
          <code class="code"> &#160; &#160; &#160; &#160;return m(request)</code>
        </div><div class="snippetLine">
          <span class="lineno">251</span>
          <code class="code"></code>
        </div>
      </div>
    </div><div class="frame">
      <div class="location">
        <span>serve.py</span>:<span>219</span> in
        <span class="function">render_POST</span>
      </div>
      <div class="snippet">
        <div class="snippetLine">
          <span class="lineno">218</span>
          <code class="code"> &#160; &#160; &#160; &#160;# Copy over the HTML</code>
        </div><div class="snippetHighlightLine">
          <span class="lineno">219</span>
          <code class="code"> &#160; &#160; &#160; &#160;shutil.copy(get_resource('www/view_alignment.html'), os.path.join(outdir, 'index.html'))</code>
        </div><div class="snippetLine">
          <span class="lineno">220</span>
          <code class="code"></code>
        </div>
      </div>
    </div><div class="frame">
      <div class="location">
        <span>/usr/lib/python2.7/shutil.py</span>:<span>119</span> in
        <span class="function">copy</span>
      </div>
      <div class="snippet">
        <div class="snippetLine">
          <span class="lineno">118</span>
          <code class="code"> &#160; &#160; &#160; &#160;dst = os.path.join(dst, os.path.basename(src))</code>
        </div><div class="snippetHighlightLine">
          <span class="lineno">119</span>
          <code class="code"> &#160; &#160;copyfile(src, dst)</code>
        </div><div class="snippetLine">
          <span class="lineno">120</span>
          <code class="code"> &#160; &#160;copymode(src, dst)</code>
        </div>
      </div>
    </div><div class="frame">
      <div class="location">
        <span>/usr/lib/python2.7/shutil.py</span>:<span>82</span> in
        <span class="function">copyfile</span>
      </div>
      <div class="snippet">
        <div class="snippetLine">
          <span class="lineno">81</span>
          <code class="code"></code>
        </div><div class="snippetHighlightLine">
          <span class="lineno">82</span>
          <code class="code"> &#160; &#160;with open(src, 'rb') as fsrc:</code>
        </div><div class="snippetLine">
          <span class="lineno">83</span>
          <code class="code"> &#160; &#160; &#160; &#160;with open(dst, 'wb') as fdst:</code>
        </div>
      </div>
    </div>
  </div>
  <div class="error">
    <span>exceptions.IOError</span>: <span>[Errno 2] No such file or directory: 'www/view_alignment.html'</span>
  </div>
</div>

</body></html>

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jjskuldcommented, Mar 3, 2017

@strob After more testing, it looks like RAM may have been the issue. We were assigning the image about 1.5 gb of RAM. When we bumped this to 4 gb of RAM the stuck issues seemed to have gone away. Thanks for your help!

0reactions
strobcommented, Mar 3, 2017

Great to hear! Yeah, Gentle uses a lot of RAM… serve.py has a couple of flags to control threading (for full- and alignment-transcription that may give you more control over RAM usage.

On Fri, Mar 3, 2017 at 1:01 PM jjskuld notifications@github.com wrote:

@strob https://github.com/strob After more testing, it looks like RAM may have been the issue. We were assigning the image about 1.5 gb of RAM. When we bumped this to 4 gb of RAM the stuck issues seemed to have gone away. Thanks for your help!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lowerquality/gentle/issues/85#issuecomment-284025465, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMup79kjgmMyrtLlysyLBkIyt19l952ks5riFVhgaJpZM4JJvA0 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reading bug reports | Android Open Source Project
Android bug reports contain dumpsys , dumpstate , and logcat data in text (.txt) format, enabling you to easily search for specific content....
Read more >
How can I write a helpful bug report? - Strong Help Center
If the app is crashing or there is general instability, please also restart your devices and/or Strong before trying to reproduce a bug....
Read more >
9 Intermittent Error (Bug Report) - PinDown Bug ... - Verifyter
An intermittent issue may be a sign of instability: Random Instability: With constrained random testing, reproducing the same test scenario ...
Read more >
Pixel 2 XL - Pie - Sprint LTE Instability [115293776 ... - Issue Tracker
Ever since the release of Pie on the Pixel 2 XL there is a severe instability bug with the LTE connection. LTE will...
Read more >
[INFO] How to Bug Report - Answers HQ
When you report a bug, we review the reports and work with the game development team to identify the reported bugs and issues...
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