Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Can not open file!

+1 vote
Please provide me with a solution ASAp. This is heavily affetcing my work and i might breakdown anytime soon if it is not resolved . Kindly look into it devs :( Please I beg!!

link to the file  https://drive.google.com/file/d/0B9p2oHjtoREIXzVmVnhZajB2RG8/edit?usp=sharing

I provided the link a minute before I read your reply. Coincidence! Thank You . I hope you will retrive the file from the follwing link


yEd has encountered the following error: Could not import file In Game Flow.graphml.

Information Link: http://imgur.com/bWuJ1sf


y.H.B.B.a: SAX error: Content is not allowed in prolog.
at y.H.B.B._.ā(Unknown Source)
at y.H.B.A$13.ā(Unknown Source)
at y.H.B.A.ā(Unknown Source)
at y.H.B.A.ā(Unknown Source)
at y.H.Q.ā(Unknown Source)
at B.A.A.B.G.A.F.ā(Unknown Source)
at B.A.A.B.G.A.D.ā(Unknown Source)
at y.H.G.ā(Unknown Source)
at y.B.A.M.Đ(Unknown Source)
at y.B.X.č(Unknown Source)
at y.B.X.ā(Unknown Source)
at y.B.X.ă(Unknown Source)
at B.A.A.B.S.ă(Unknown Source)
at B.A.A.B.S.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.D.ă(Unknown Source)
at B.A.A.J.D.Ă(Unknown Source)
at B.A.A.B$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
... 33 more
 
in Help by (130 points)
edited by
Hello,

I'm encountering the exact same issue at work.

I simply edited the graphml file with vim (onwindows 7) in order to change "Dialog" font to "Century Gothic" with ":%s/Dialog/Century Gothic/g"

When I tried to open the file with yed, I get the same issue.

Please open your modified file in a text editor once again.
If the text editor still displays XML text content, upload your here (if it is is less than 1MB in size) or to a file hosting service and post a download link here (if it is larger than 1MB).
If the text editor does not display any sensible text anymore, I am afraid you just destroyed your data.

2 Answers

0 votes

Please state the exact version of yEd you are using as well as the operating system and the exact Java version you are running yEd on.

Note, when using yEd's built-in error reporting tool all the above information is send automatically!

 

That said, the error message suggests that your GraphML file has been corrupted. Therefore, we absolutely need your GraphML to be able to help you. Either upload your file here (see How to upload files to yEd Q&A?) or - if your file contains sensitive data - send your file to yed[at]yworks.com and mention this post in your mail's subject line.

by [yWorks] (160k points)
I just updated every information you need sir!
0 votes
Thank you very much for the additional infomation.

Unfortunately, the file you linked to was well and truly erased. (It is 10MB of '0's with no retrievable data whatsoever.)
by [yWorks] (160k points)
Kindly retrieve the file from the following drop box link

https://www.dropbox.com/s/7p1myrctx3h9jpi/In%20Game%20Flow.graphml

I am sorry, it is the same with your drop box upload: 10MB of '0's, no recoverable data.

It might be an upload/download issue (although I doubt that). You can check for yourself if you open your file in a text editor. If the text editor displays some meaningful text along the lines of
  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  <graphml ...>
    <!--Created by yEd 3.12.2-->
    <key .../>
    ...
    <graph edgedefault="directed" id="G">
      <data key="d0"/>
      <node id="n0">
        ...
      </node>
      ...
    </graph>
  </graphml>

then it is indeed an upload/download problem. Otherwise, your local file is already corrupted beyond any hope for repair.

Tried no text displayed what so ever. Thank You for your time. Please try to identify the factors which is causing such an issue. YED undoubtedly is great tool , this has happened to me once before. I think a version control or back-ip feature can be added so that the data stays safe. Just a suggestion.
How do you know that yEd corrupted your file? The only way to determine that would be inspecting the file in a text editor right after saving. Moreover, if yEd produced such corrupted files, it would display an error message saying something went wrong while saving. In that case, sending the error report to us (preferably with an email address so we can contact you for additional information) is you best bet to get the problem fixed.

That said, GraphML is an XML format and as such well suited for versioning with the version control system of *your* choice. (Integrated version control is frankly way out-of-scope for yEd.)
Legal Disclosure | Privacy Policy
...