OpenRefine / OpenRefine

OpenRefine is a free, open source power tool for working with messy data and improving it
https://openrefine.org/
BSD 3-Clause "New" or "Revised" License
10.86k stars 1.95k forks source link

Nothing is on the Web Page #1717

Closed wentianq closed 6 years ago

wentianq commented 6 years ago

Describe the bug A clear and concise description of what the bug is. When OpenRefine is running, my browser at http://127.0.0.1:3333/. However, nothing is on the web page except an icon

Screenshots If applicable, add screenshots to help explain your problem. image image

Desktop (please complete the following information):

OpenRefine (please complete the following information):

wetneb commented 6 years ago

Hi! Thanks for the report. Can you open the javascript console in your browser and check if there are any errors there?

wentianq commented 6 years ago

Thx for your reply. Here is the console. Can you please help me to fix these error? image

wetneb commented 6 years ago

Can you click on the index-bundle.js:63726 link and post another screenshot of what you see?

wentianq commented 6 years ago

I jump to this screen. capture

wetneb commented 6 years ago

can you scroll down to line 63726 and see what is there?

wentianq commented 6 years ago

capture

wetneb commented 6 years ago

@wentianq which version of Chrome are you using and have you tried updating it?

wentianq commented 6 years ago

It is version 68.0.3440.106.

wetneb commented 6 years ago

Ok then I really don't know - have you added any extension or is it just the default OpenRefine package?

wentianq commented 6 years ago

It is the default package.

ostephens commented 6 years ago

Do you have any extensions installed in Chrome? If so can you try turning these off and seeing if that helps? Or trying in another browser?

wentianq commented 6 years ago

After I forbade the extensions in Chrome, it still didn't work. I also tried IE, but I got the same result.

jackyq2015 commented 6 years ago

could you please provide:

Another thing you can try is to switch to another user which has no space in between

wentianq commented 6 years ago
jackyq2015 commented 6 years ago

@wentianq Most of the OR users are using Java 8. Java 9 is not fully tested and there are some known issues. Java 10 is barely tested. I would suggest you to install the version 8 and set the JAVA_HOME environment variable and have another try.

wetneb commented 6 years ago

Ah yes of course, why didn't we think about the Java version! That's clearly the issue.

wentianq commented 6 years ago

I reinstalled Java with version 8, but I get the same result for OpenRefine. capture

jackyq2015 commented 6 years ago

Are you sure Java 8 is picked up? Did you set JAVA_HOME variable?

You can run the refine.bat from the command line and paste the output

wentianq commented 6 years ago

I downloaded JRE of Java SE 8u181 from http://www.oracle.com/technetwork/java/javase/downloads/index.html. capture1 I also set JAVA_HOME variable like this: capture I tried to run refine.bat, but it quit immediately.

thadguidry commented 6 years ago

@wentianq For Windows users, I've added 2 more things to check in our FAQ about this https://github.com/OpenRefine/OpenRefine/wiki/FAQ#i-am-having-trouble-connecting-to-openrefine-with-my-browser

But first, try http://localhost:3333

wentianq commented 6 years ago

I have tried http://localhost:3333, but I still get the following page: capture I read your FAQ about browser and checked all bullet points except the third one since I had no idea about how to use a different IP address and Port. Still, I got the same result.

thadguidry commented 6 years ago

@wentianq How to change the IP address and Port , as well as many other things , is described in the FAQ, can you scroll up and down on the page and read it a bit ?

wentianq commented 6 years ago

I think the Port is correct by default. If not, What should I change it into? capture

thadguidry commented 6 years ago

@wentianq Anything that works ! Try 8888 or 8181 or 3334 Note you have to remove the # comment character

But the defaults you have are already working... since OpenRefine and the Jetty servlet are serving out the beginnings of a webpage to you from what we see on your screenshot.

So the problem will lie somewhere else...

Try Firefox in Private Incognito mode perhaps ? (eliminating any add-ons)

wentianq commented 6 years ago

I tried Firefox on this computer, as well as IE. None of these works. capture capture1

thadguidry commented 6 years ago

I give up.

Wait, maybe Javascript etc is completely blocked from running on this machine somehow ? Does this page https://jsfiddle.net/boilerplate/jquery show a white HELLO WORLD box in lower right corner ? capture

wentianq commented 6 years ago

It also shows on my computer. capture

thadguidry commented 6 years ago

I officially give up. Perhaps others on the team can help discover the solution for you.

jackyq2015 commented 6 years ago

It is not right to exit quietly when you run refine.bat. are you running it from the command line?

can you run "refine /h" to see what happen?

wentianq commented 6 years ago

I just double clicked refine.bat. I don't know how to pause it in the end. I tried to add PAUSE at the end of refine.bat, but it didn't work either. capture

jackyq2015 commented 6 years ago

no, you don't have to do pause. it should print the message on your command line console when you run refine.bat. If it does not, then something is wrong

wentianq commented 6 years ago

Well... Assuming something is wrong, what should I do? Frankly speaking, I just wanna give up using OpenRefine. Fixing here and there without any fruit is so exhausting to me.

jackyq2015 commented 6 years ago

Sorry to hear that. It is not easy to troubleshooting your issue since it is hard to reproduce. could you please try two things

If still cannot resolve, you can upload your copy of your installation somewhere I will take a look for you.

wentianq commented 6 years ago

I don't think the problem comes from the installation package since it is directly download from the OpenRefine website without any change. In addition, the zip file is too large to upload here.

jackyq2015 commented 6 years ago

You can just rename the folder: C:\Users(user id)\AppData\Local\OpenRefine

And start again from the command line:

e:\openrefine > refine.bat
wentianq commented 6 years ago

C:\Users(user id)\AppData\Local\OpenRefine is exactly the path of the workspace at present.

pollyhunter commented 6 years ago

i have the same problem. who can solve it ?

wetneb commented 6 years ago

@wentianq @pollyhunter have you tried running older versions of OpenRefine, like 2.8 or even 2.7? Does it make any difference?

pollyhunter commented 6 years ago

if apache ant is necessary?

pollyhunter commented 6 years ago

@wentianq @pollyhunter have you tried running older versions of OpenRefine, like 2.8 or even 2.7? Does it make any difference?

thank u i have tried openrefine 2.8. it succeed!

wentianq commented 6 years ago

Thx. OpenRefine 2.8 also works on my computer.

wetneb commented 6 years ago

@jackyq2015 I have the feeling that this bug has to do with the Data Package PR. The Javascript error happens in the javascript library used for JSON editing. Not sure why though.

thadguidry commented 6 years ago

Which library is that @wetneb ?

wetneb commented 6 years ago

main/webapp/modules/core/externals/jsoneditor/jsoneditor.js

jackyq2015 commented 6 years ago

I suspect that also. For some reason, the js may be combined in different way as usual. Maybe caused by Java version and OS specific. I am sure if I can reproduce it, I can fix it.

@pollyhunter what's the version of your Java and the OS version?

wetneb commented 6 years ago

Given that this seems to affect quite a lot of people (three have reported it so far) I am removing the not-reproducible tag. The next release will be without the data package PR so hopefully it should solve the issue.

AlexGuo1998 commented 6 years ago

Hello? Same issue on my Windows PC.

It seems that they (we) all are using a Chinese Windows 10. Could it be some issue related to locale?

Please check that, thanks!

AlexGuo1998 commented 6 years ago

BTW, @wetneb

      can you scroll down to line 63726 and see what is there?

Line 63726 shows something like this:

63726

AlexGuo1998 commented 6 years ago

Quick fix: Replace webapp\modules\core\externals\jsoneditor\jsoneditor.js with this file jsoneditor.zip (unzip first).

jackyq2015 commented 6 years ago

put the fix in master. will release at V3.1. Or you can apply PR #1745 before the release