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

Impossible to create a new project #26

Open
devironl opened this issue Mar 18, 2020 · 5 comments
Open

Impossible to create a new project #26

devironl opened this issue Mar 18, 2020 · 5 comments
Labels

Comments

@devironl
Copy link

Describe the bug
I use Protege 5.5.0 under MacOS (Catalina).
I successfully installed the Knowtator 2.0 plugin but I am not able to work with it by creating a new project

To Reproduce
Steps to reproduce the behavior:

  1. Go to Knowtator Menu
  2. Click on File -> New
  3. Enter the project name
  4. Nothing happens

image

Desktop :

  • OS: macOS Catalina
  • Version 10.15.3
@devironl devironl added the bug label Mar 18, 2020
@tuh8888
Copy link
Collaborator

tuh8888 commented Mar 18, 2020

Hi, this does seem to be a bug.

Until it is fixed, here are some steps to try to get going with your project.

  1. Close and reopen Protege
  2. In Knowtator, choose to open a project
  3. See if your project was created by finding a file called {project_name}.knowtator in the directory your chose.
  4. If it is there, click that file and your project should open. If not, proceed to the next step
  5. Create a Knowtator file directory structure. It looks like this:
    . project_name
    ├── Annotations
    │   └── doc1.xml
    ├── Articles
    │ └── doc1.txt
    ├── project_name.knowtator
    ├── Ontologies
    │ └── ontology1.owl
    ├── Profiles
    │ └── profile1.xml
    └── Structures
  6. Repeat steps 2-4

@devironl
Copy link
Author

Hi,
Many thanks for your response
This quick fix works for me
Thank you !

@nidhirastogi
Copy link

nidhirastogi commented Apr 30, 2020

I followed the above steps in Protege 5.5 on mcOS Catalina 10.15.5
snapshot
and couldn't have Knowtator open a project. Is there a default file for .knowtator? I'm using a blank .knowtator file whose name should still show up since I already created one along with other files and directories you mentions. Thanks for your help.

@mchikobava
Copy link

mchikobava commented May 9, 2020

I followed the above steps in Protege 5.5 on mcOS Catalina 10.15.5
snapshot
and couldn't have Knowtator open a project. Is there a default file for .knowtator? I'm using a blank .knowtator file whose name should still show up since I already created one along with other files and directories you mentions. Thanks for your help.

try to rename your .Knowtator file to .knowtator with the lowercase letter

I took 2.1.4 version from https://github.com/UCDenver-ccp/Knowtator-2.0/releases/ It works

@cjcallanan
Copy link

I am having a very similar issue with the setup. I am using Protege 5.5 on macOS High Sierra 10.13.6.

  1. In the setup instructions for Knowtator2.0, it says that after you enter a name for a new project, there should be some way to select a parent directory and decide where the files will be stored. But after I enter my new project name (and it sounds like devironl was having this same issue) the box closes and it seems as if nothing has happened. I did not have the opportunity or prompt to choose a parent directory and therefore nothing was created.

  2. Even after manually creating my Knowtator file structure directory, I am having trouble. I go to Knowtator menu > File > Open, and select my project1.knowtator file. It seems to open, but the only thing that changes on the interface from before is that the "+" sign is now eligible to be selected. I click this and find the document that I want to begin my annotation on, but once I find it and select it, a pop-up saying "“could not find file for (file name)... Choose file location” appears. I try selecting it again, and even if it does populate the annotation field, it is not the text of the document, but rather coding distinguishers that are not helpful or consistent with the text. Is anyone having a similar issue? Is there a certain kind of file that the document needs to be in when I upload to annotate? I am currently trying to annotate a .pdf file. I am not sure how to get this working so I can begin my annotation. Any advice would be greatly appreciated.

This is what my manually created knowtator file structure directory looks like:
Screen Shot 2020-07-08 at 2 31 25 PM

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

No branches or pull requests

5 participants