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

Can't open/import Pajek file #27

Closed
paroberge opened this issue May 30, 2017 · 7 comments
Closed

Can't open/import Pajek file #27

paroberge opened this issue May 30, 2017 · 7 comments
Assignees

Comments

@paroberge
Copy link

Everytime I try to open a Pajek formatted file, including my own or the one provided in SocNetv manual, I'm getting an error message "XML tokenstring at line 1 is invalid".

@oxy86
Copy link
Member

oxy86 commented May 30, 2017

Hello, that message indicates that SocNetV thinks you are trying to open a XML (GraphML) file.

Pajek files should be imported via the menu Network -> Import (and have a .pajek or .net or .paj extension). Did you try that?

If you did and still have errors, please upload a part (the beginning of) the file here to inspect it.

@oxy86 oxy86 self-assigned this May 30, 2017
@paroberge
Copy link
Author

paroberge commented May 30, 2017 via email

@oxy86
Copy link
Member

oxy86 commented Jun 1, 2017

ΟΚ, closing this.

@oxy86 oxy86 closed this as completed Jun 1, 2017
@paroberge
Copy link
Author

paroberge commented Jun 1, 2017 via email

@oxy86 oxy86 reopened this Jun 1, 2017
@oxy86
Copy link
Member

oxy86 commented Jun 1, 2017

Hello, can you please upload your data file to debug this problem in 2.2 ?

@paroberge
Copy link
Author

Ok, now i can load the pajek file in V2.2
Seems that installing v2.1 solved the problem that exit with a fresh install of v2.2

This is the test file (text.net) I used
*Network
*Vertices 17 2
1 "21" ellipse
2 "24" diamond
3 "27" diamond
4 "30" ellipse
5 "33" diamond
6 "36" diamond
7 "39" ellipse
8 "42" ellipse
9 "45" ellipse
10 "48" diamond
11 "51" diamond
12 "54" ellipse
13 "57" ellipse
14 "60" ellipse
15 "63" diamond
16 "66" ellipse
17 "69" ellipse
*Arcs
1 2
1 3
2 4
4 5
4 6
2 7
8 2
2 9
9 10
9 11
2 12
2 13
2 14
14 15
2 16
2 17

@oxy86
Copy link
Member

oxy86 commented Jun 1, 2017

I am not sure what has happened here and what the problem/explanation is.
SocNetV 2.2 opens easily the data file you uploaded. I see no problem with your data.
As a matter of fact, the data file is so simple that any version of SocNetV should open it.
Anyway, since you don't have any problems now, I am closing this. Have fun!

@oxy86 oxy86 closed this as completed Jun 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants