thinker007 / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

ERROR when exporting project while 2nd has exported in Gridworks-1.0b1-r683 #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Open 2 Chrome browsers, with 2 different datasets
2. Perform various transforms and undo's on the 1st dataset.
3. Perform various transforms and undo's on the 2nd dataset.
4. Perform an export of project from 1st dataset and saves properly.
5. Perform an export of project from 2nd dataset (other browser window) and 
appears to hang on saving and producces exception output below.

What is the expected output? What do you see instead?

14:12:18.200 [         gridworks_server] Initializing context: '/' from 
'C:\User
s\tguidry\Documents\Downloads\gridworks-1.0b1-r683\webapp' (0ms)
14:12:19.939 [          project_manager] Using workspace directory: 
C:\Users\tgu
idry\AppData\Local\Gridworks (1739ms)
14:12:19.940 [          project_manager] Loading workspace: 
C:\Users\tguidry\App
Data\Local\Gridworks\workspace.json (1ms)
14:14:17.769 [   create-project_command] Importing 'iso-639-2_utf-8.txt' 
(117829
ms)
14:14:17.860 [   create-project_command] Best encoding guess: ISO-8859-9 
[confid
ence: 30] (91ms)
14:17:20.346 [          project_manager] Saving some modified projects ... 
(1824
86ms)
14:17:20.450 [                  project] Saved project '1547203739152' 
(104ms)
14:17:20.495 [          project_manager] Saved workspace (45ms)
14:22:20.406 [          project_manager] Saving some modified projects ... 
(2999
11ms)
14:22:20.562 [                  project] Saved project '1547203739152' 
(156ms)
14:22:20.641 [          project_manager] Saved workspace (79ms)
14:27:20.357 [          project_manager] Saving some modified projects ... 
(2997
16ms)
14:27:20.582 [                  project] Saved project '1547203739152' 
(225ms)
14:27:20.683 [          project_manager] Saved workspace (101ms)
14:32:20.514 [          project_manager] Saved workspace (299831ms)
14:37:20.357 [          project_manager] Saving some modified projects ... 
(2998
43ms)
14:37:20.549 [                  project] Saved project '1547203739152' 
(192ms)
14:37:20.655 [          project_manager] Saved workspace (106ms)
14:37:40.692 [ compute-clusters_command] computed clusters 
[binning,fingerprint]
 in 108ms (20037ms)
14:37:44.955 [ compute-clusters_command] computed clusters [binning,ngram-
finger
print] in 25ms (4263ms)
14:37:47.546 [ compute-clusters_command] computed clusters [binning,double-
metap
hone] in 33ms (2591ms)
14:42:20.511 [          project_manager] Saved workspace (272965ms)
14:47:20.462 [          project_manager] Saved workspace (299951ms)
14:52:20.344 [          project_manager] Saving some modified projects ... 
(2998
82ms)
14:52:20.533 [                  project] Saved project '1547203739152' 
(189ms)
14:52:20.640 [          project_manager] Saved workspace (107ms)
14:57:20.408 [          project_manager] Saved workspace (299768ms)
15:02:20.489 [          project_manager] Saved workspace (300081ms)
15:07:20.499 [          project_manager] Saved workspace (300010ms)
15:12:20.485 [          project_manager] Saved workspace (299986ms)
15:17:20.453 [          project_manager] Saved workspace (299968ms)
15:22:20.448 [          project_manager] Saved workspace (299995ms)
15:27:20.481 [          project_manager] Saved workspace (300033ms)
15:32:20.506 [          project_manager] Saved workspace (300025ms)
15:37:20.491 [          project_manager] Saved workspace (299985ms)
15:42:20.491 [          project_manager] Saved workspace (300000ms)
15:47:20.501 [          project_manager] Saved workspace (300010ms)
15:52:20.498 [          project_manager] Saved workspace (299997ms)
15:57:20.497 [          project_manager] Saved workspace (299999ms)
16:02:20.509 [          project_manager] Saved workspace (300012ms)
16:07:20.485 [          project_manager] Saved workspace (299976ms)
16:12:20.501 [          project_manager] Saved workspace (300016ms)
16:17:20.457 [          project_manager] Saved workspace (299956ms)
16:19:08.679 [   create-project_command] Importing 'newberry_honors.txt' 
(108222
ms)
16:19:08.688 [   create-project_command] Best encoding guess: ISO-8859-1 
[confid
ence: 54] (9ms)
16:22:20.344 [          project_manager] Saving some modified projects ... 
(1916
56ms)
16:22:20.375 [                  project] Saved project '1854344801382' 
(31ms)
16:22:20.503 [          project_manager] Saved workspace (128ms)
16:26:09.622 [                  project] Saved project '1854344801382' 
(229119ms
)
16:26:23.807 [                  project] Loaded project 1547203739152 from 
disk
in 0 sec(s) (14185ms)
16:26:24.089 [                  command] Exception caught (282ms)
org.mortbay.jetty.EofException
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:787)
        at 
org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.ja
va:568)
        at 
org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:100
5)
        at 
org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(AbstractGen
erator.java:534)
        at 
org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.ja
va:636)
        at 
org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.ja
va:579)
        at java.util.zip.GZIPOutputStream.finish(Unknown Source)
        at java.util.zip.DeflaterOutputStream.close(Unknown Source)
        at 
com.metaweb.gridworks.commands.edit.ExportProjectCommand.gzipTarToOut
putStream(ExportProjectCommand.java:51)
        at 
com.metaweb.gridworks.commands.edit.ExportProjectCommand.doPost(Expor
tProjectCommand.java:34)
        at 
com.metaweb.gridworks.GridworksServlet.doPost(GridworksServlet.java:2
17)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511
)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
90)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
82)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
65)
        at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:938)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
java:228)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Software caused connection abort: 
socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at org.mortbay.io.ByteArrayBuffer.writeTo(ByteArrayBuffer.java:368)
        at org.mortbay.io.bio.StreamEndPoint.flush(StreamEndPoint.java:122)
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:721)
        ... 29 more
16:26:24.094 [          org.mortbay.log] /command/export-
project/ISO_639_2_codes
.gridworks.tar.gz (5ms)
java.lang.IllegalStateException: STREAM
        at org.mortbay.jetty.Response.getWriter(Response.java:616)
        at com.metaweb.gridworks.commands.Command.respond(Command.java:153)
        at 
com.metaweb.gridworks.commands.Command.respondException(Command.java:
213)
        at 
com.metaweb.gridworks.commands.edit.ExportProjectCommand.doPost(Expor
tProjectCommand.java:42)
        at 
com.metaweb.gridworks.GridworksServlet.doPost(GridworksServlet.java:2
17)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511
)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
90)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
82)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
65)
        at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:938)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
java:228)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Unknown Source)
16:27:20.483 [          project_manager] Saved workspace (56389ms)

THE END

Original issue reported on code.google.com by thadguidry on 26 May 2010 at 9:37

GoogleCodeExporter commented 9 years ago
After closing browser, restarting Windows PC, and relaunching gw, I was 
successful in 
opening and exporting my previous project.  Further inspection revealed that on 
the 
second Chrome window of the 2nd project export a message was showing "multiple 
downloads" blocked on an empty tab that wasn't seen the first time when this 
bug was 
created.  Accepting on that message allowed the download to continue correctly.

Original comment by thadguidry on 27 May 2010 at 3:51

GoogleCodeExporter commented 9 years ago
Not a gw issue.

Original comment by dfhu...@gmail.com on 27 May 2010 at 6:59