Cannot edit cluster results because open refine does not display results properly in window

237 views
Skip to first unread message

Peter Prins

unread,
Jan 20, 2015, 2:40:21 AM1/20/15
to openr...@googlegroups.com
Hi,

When I use Text facet for one column and selecting cluster functionality, Open refine usually shows results in a new window and enables me to merge rows and edit new cell value (see picture Cluster_success.PNG).
Now I have multiple files that will not display a proper window layout: the window gets expanded and I cannot merge rows and cannot edit the new cell values (see picture Cluster_failure.PNG).
I am using google-refine-2.5-r2407. Any help appreciated.
Cluster_success.PNG
Cluster_failure.PNG

Thad Guidry

unread,
Jan 20, 2015, 10:15:22 AM1/20/15
to openrefine
I think the dialog expansion is fixed (limited) in the 2.6 beta version.  Note that most folks are using 2.6 without problems.  I would suggest downloading 2.6 version and try again.

Let us know if you still have an issue with that.

--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Prins

unread,
Jan 21, 2015, 3:06:55 AM1/21/15
to openr...@googlegroups.com
Hi Thad,

Thanks for your help. I tried to install version 2.6-beta1 (windows) but it will not run:
- starting openrefine.exe shows an error in the command box (ResourceManager: unable to find resource 'macros.vm' in any resource loader)
- starting refine.bat comes with 
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Running version 2.5 on same machine is still possible (no problem with PATH to java_home).

I did not find any match on google for same error with openrefine.

Tnx,

Peter

Op dinsdag 20 januari 2015 16:15:22 UTC+1 schreef Thad Guidry:

Thad Guidry

unread,
Jan 21, 2015, 10:11:09 AM1/21/15
to openrefine
You will need to install a 64bit Java VM if your running a 64bit OS.
Java 6 and above should work just fine.  You will have trouble with Java 5 and lower.

You can check what your running with "java -version"

Peter Prins

unread,
Jan 22, 2015, 3:03:04 AM1/22/15
to openr...@googlegroups.com
Thad,

Installed new version and changed JAVA_HOME to 64 bit java 8 version.
OpenRefine 2.6 gets up and running.

But this new version will still have the 'window overflow' as a described in my first post and I am not able to merge rows and enter new cell values.



Op woensdag 21 januari 2015 16:11:09 UTC+1 schreef Thad Guidry:

Thad Guidry

unread,
Jan 22, 2015, 10:27:18 AM1/22/15
to openrefine
Not sure WHY this is happening to you other than perhaps a screensize detection bug for your OS and screen resolution.
OpenRefine tries to detect your max browser resolution, then bases the dialogs width on this.

You can manually (temporarily) change this in Chrome by right clicking on the dialog itself and finding the <div class="dialog-frame"...>
inside this is a style="width: ...." and you can change the pixel value from something like 1000px or whatever it is showing to something reduced like 700px or whatever.

Have you tried in Firefox to see if it changes the outcome ?

What is your browser resolution / screen resolution ?

Peter Prins

unread,
Jan 23, 2015, 5:22:56 AM1/23/15
to openr...@googlegroups.com
Thad,

I have added one text file (test2.log) with 3 lines (first one is the header) and this one will give 'window overflow' with text facet (cluster and select metaphone3).
I also added a screen shot of 'inpsect element' for dialog-frame, width = 1000px (dialog-frame.PNG).
The table defined within the dialog-frame explodes to a width of more than 20000px (table within dialog.PNG).

Maybe you are willing to check my text file and see what is happening.

Both Chrome and Firefox displays same overflow.

Thanks.

Op donderdag 22 januari 2015 16:27:18 UTC+1 schreef Thad Guidry:
test2.log
dialog-frame.PNG
table within dialog.PNG

Thad Guidry

unread,
Jan 23, 2015, 12:30:26 PM1/23/15
to openrefine
Ah great!  Thanks Peter!  Yes, screenshots and test files are very helpful.  Will take a look tonight and let you know (I have boring Friday Nights ;)


Thad Guidry

unread,
Jan 26, 2015, 2:38:03 PM1/26/15
to openrefine
Peter,

It looks like this is somewhat fixed in the latest code in our Trunk.  You can build trunk (development version) by following the instructions here: https://github.com/OpenRefine/OpenRefine/wiki/Get-Development-Version

It seems the issue is because large text context is not ideally controllable via our current <table> class used in the Clustering dialog, so this will need some hacking on it to switch out from using <table><td> with <li> to simply <div> elements where we can control the overflow, white-space: nowrap, and text-overflow:ellipsis

I have created an issue for it on our tracker: https://github.com/OpenRefine/OpenRefine/issues/938

Thad

Peter Prins

unread,
Jan 27, 2015, 2:06:45 AM1/27/15
to openr...@googlegroups.com
Thad,

I hope you did enjoy your weekend and Friday night :). Thanks for the update. When I have more time I will try the development version.
Never heard of bounties but I will support it (when I am at home).
Thanks anyway for your support.

Peter

Op maandag 26 januari 2015 20:38:03 UTC+1 schreef Thad Guidry:
Reply all
Reply to author
Forward
0 new messages