Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Unable to convert under Windows 2000

open
nobody
None
5
2012-09-27
2002-01-09
Anonymous
No

I am unable to convert any Dia diagram under Windows
2000 profession. Every time I try, I receive this
error message:

D:\>c:dia2code diagram.dia
diagram.dia:1: error: Start tag expected, '<' not found
&#9660;ď
^
That file does not exist or is not a Dia diagram

The file does is exist and is a valid DIA file because
I CAN convert with dia2code under Redhat 7.1. I have
tried using files from Dia v.0.88 under Redhat and
Windows 2000. All files created will convert under
Redhat 7.1, but not under Windows 2000.

Discussion

  • Logged In: NO

    I also have this same problem

     
  • Logged In: NO

    I had this same error. It means that you're saving
    your .dia files with compression but dia2code is trying to
    treat them like ordinary xml files. If you switch off
    compression (under the preference menu in Dia) then re-save
    the .dia file things will work.

     
  • Logged In: NO

    The comment of 2002-02-18 09:29 is correct.

    Turning off file compression and saving the files without
    compression fixes this problem.

     
  • Logged In: NO

    Have the same bug.
    OS: win2000/sp1
    :(
    tex - work fine.
    try to use fot PHP:

    C:\Work\dia>"C:\Program Files\dia2code\bin\dia2code.exe" -t
    php test.dia
    test.dia:1: error: Start tag expected, '<' not found
    &#9660;&#1051;
    ^
    That file does not exist or is not a Dia diagram
    C:\Work\dia>

    --
    kVn (kvn@php.net)

     
  • Logged In: NO

    I know the reason of that: is because the dia file is not
    dezipped by dia2code under window before beeing parsed...