-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update other server tests to accomodate zip file
- Loading branch information
Showing
4 changed files
with
136 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
<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>builtins.ValueError</span>: <span>ZipFile requires mode 'r', 'w', 'x', or 'a'</span> | ||
</div> | ||
<div class="stackTrace"> | ||
<div class="frame"> | ||
<div class="location"> | ||
<span>/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py</span>:<span>1418</span> in | ||
<span class="function">_inlineCallbacks</span> | ||
</div> | ||
<div class="snippet"> | ||
<div class="snippetLine"> | ||
<span class="lineno">1417</span> | ||
<code class="code">            else:</code> | ||
</div><div class="snippetHighlightLine"> | ||
<span class="lineno">1418</span> | ||
<code class="code">                result = g.send(result)</code> | ||
</div><div class="snippetLine"> | ||
<span class="lineno">1419</span> | ||
<code class="code">        except StopIteration as e:</code> | ||
</div> | ||
</div> | ||
</div><div class="frame"> | ||
<div class="location"> | ||
<span>/Users/edoardopedrotti/projects/rasa_nlu/rasa_nlu/server.py</span>:<span>354</span> in | ||
<span class="function">train</span> | ||
</div> | ||
<div class="snippet"> | ||
<div class="snippetLine"> | ||
<span class="lineno">353</span> | ||
<code class="code">                RasaNLUModelConfig(model_config), model_name)</code> | ||
</div><div class="snippetHighlightLine"> | ||
<span class="lineno">354</span> | ||
<code class="code">            zipped_path = utils.zip_folder(path_to_model, 'zipfile')</code> | ||
</div><div class="snippetLine"> | ||
<span class="lineno">355</span> | ||
<code class="code"></code> | ||
</div> | ||
</div> | ||
</div><div class="frame"> | ||
<div class="location"> | ||
<span>/Users/edoardopedrotti/projects/rasa_nlu/rasa_nlu/utils/__init__.py</span>:<span>391</span> in | ||
<span class="function">zip_folder</span> | ||
</div> | ||
<div class="snippet"> | ||
<div class="snippetLine"> | ||
<span class="lineno">390</span> | ||
<code class="code">        file = zipfile.ZipFile(zip_name, 'rb',</code> | ||
</div><div class="snippetHighlightLine"> | ||
<span class="lineno">391</span> | ||
<code class="code">                               zipfile.ZIP_DEFLATED)</code> | ||
</div><div class="snippetLine"> | ||
<span class="lineno">392</span> | ||
<code class="code">        _zipdir(folder, file)</code> | ||
</div> | ||
</div> | ||
</div><div class="frame"> | ||
<div class="location"> | ||
<span>/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/zipfile.py</span>:<span>1064</span> in | ||
<span class="function">__init__</span> | ||
</div> | ||
<div class="snippet"> | ||
<div class="snippetLine"> | ||
<span class="lineno">1063</span> | ||
<code class="code">        if mode not in ('r', 'w', 'x', 'a'):</code> | ||
</div><div class="snippetHighlightLine"> | ||
<span class="lineno">1064</span> | ||
<code class="code">            raise ValueError("ZipFile requires mode 'r', 'w', 'x', or 'a'")</code> | ||
</div><div class="snippetLine"> | ||
<span class="lineno">1065</span> | ||
<code class="code"></code> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="error"> | ||
<span>builtins.ValueError</span>: <span>ZipFile requires mode 'r', 'w', 'x', or 'a'</span> | ||
</div> | ||
</div> | ||
|
||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters