Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Problem in Windows 7 #1

Open
hluling opened this issue Feb 17, 2018 · 2 comments
Open

Installation Problem in Windows 7 #1

hluling opened this issue Feb 17, 2018 · 2 comments

Comments

@hluling
Copy link

hluling commented Feb 17, 2018

I installed this extension for OpenRefine 2.6 on my Mac without a problem.

When I tried to install it on a Windows 7 desktop (for OpenRefine 2.7), I did not see the added functions in the dropdown menu. I followed the instructions (https://github.com/OpenRefine/OpenRefine/wiki/Installing-Extensions). I also tried unzipping the folder into "webapp\extensions." Same problem.

To see whether I installed OpenRefine 2.7 correctly, I tried another extension (https://github.com/sparkica/refine-stats). The installation of refine-stats was successful.

Here is a screenshot of the Command window:
capture

@ostephens
Copy link
Owner

Hi. That would suggest that for some reason some of the files in the extension aren't being found correctly when OpenRefine starts up.

Could you check that in the directory/folder C:/Users/tuf15333/AppData/Roaming/OpenRefine/extensions/refine-gokbutils/master/module/MOD-INF/classes/com/k_int/gokb you can see the folders 'commands', 'functions' and 'operations', and that they in turn contain files ending with '.class' (e.g. AddRowsCommand.class in the commands folder)?

I don't have a Windows machine at hand right now to check this, but I have sometimes seen problems with installing OpenRefine on roaming profiles - which I think maybe what you have here. Another thing you could try (if it is possible) is installing OpenRefine in a non-roaming directory under the C drive - but of course this may not be possible if you don't have administer privileges on the computer.

Best wishes

@hluling
Copy link
Author

hluling commented Feb 18, 2018

Thanks for your help.

I installed OpenRefine in a non-roaming directory (C:/openrefine-2.7). Then I installed the extension only in C:/openrefine-2.7/webapp/extensions/refine-gokbutils-master (not in the OpenRefine working directory, which is a roaming directory).

The '.class' files are indeed in C:/openrefine-2.7/webapp/extensions/refine-gokbutils-master/module/MOD-INF/classes/com/k_int/gokb/refine. There are two '.class' files in /refine/commands, three in /refine/functions, and two in /refine/operations.

The same problem exists. Here is a screenshot of the Command window:
capture_feb182018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants