Bug 123186 - Impossible to create a new project (tested with C simple Hello world and C++ simple Hello world)
Summary: Impossible to create a new project (tested with C simple Hello world and C++ ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 21:21 UTC by Florent "flure" Curé
Modified: 2021-02-19 07:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent "flure" Curé 2006-03-06 21:21:23 UTC
Version:           3.3 (using KDE 3.5.1, Debian Package 4:3.5.1-2 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-1-686

To reproduce this bug :
just create a new C or C++ project (I didn't test with another project type) "simple Hello world". Give it a name, click next, next, next, finish : an error dialog apears telling :

"Ceci n'est pas un fichier projet valable.
Il y a une erreur sur la syntaxe XML à la ligne 13, colonne 11 :
tag mismatch"

English version :
"This is not a valid project file.
There is an XML error at line 13, column 11 :
tag mismatch" (approximately translated by myself)

Here is the generated project file (the line causing problem seems to be the "</general>" one - didn't find what is the problem) :

<?xml version="1.0"?>
<kdevelop>
 <general>
  <author>Florent Curé</author>
  <email>florent.cure@free.fr</email>
  <version>0.1</version>
  <projectmanagement>KDevAutoProject</projectmanagement>
  <primarylanguage>C</primarylanguage>
  <keywords>
   <keyword>C</keyword>
   <keyword>Code</keyword>
  </keywords>
 </general>
 <kdevautoproject>
  <general>
   <activetarget>src/test</activetarget>
   <useconfiguration>debug</useconfiguration>
  </general>
  <run>
   <mainprogram>src/test</mainprogram>
   <terminal>true</terminal>
  </run>
    <configurations>
      <optimized>
        <builddir>optimized</builddir>
        <ccompiler>kdevgccoptions</ccompiler>
        <cxxcompiler>kdevgppoptions</cxxcompiler>
        <f77compiler>kdevg77options</f77compiler>
        <cflags>-O2 -g0 </cflags>
      </optimized>
      <debug>
        <configargs>--enable-debug=full</configargs>
        <builddir>debug</builddir>
        <ccompiler>kdevgccoptions</ccompiler>
        <cxxcompiler>kdevgppoptions</cxxcompiler>
        <f77compiler>kdevg77options</f77compiler>
        <cflags>-O0 -g3 </cflags>
      </debug>
    </configurations>
 </kdevautoproject>
 <kdevdoctreeview>
    <ignoretocs>
      <toc>ada</toc>
      <toc>ada_bugs_gcc</toc>
      <toc>bash</toc>
      <toc>bash_bugs</toc>
      <toc>clanlib</toc>
      <toc>w3c-dom-level2-html</toc>
      <toc>fortran_bugs_gcc</toc>
      <toc>gnome1</toc>
      <toc>gnustep</toc>
      <toc>gtk</toc>
      <toc>gtk_bugs</toc>
      <toc>haskell</toc>
      <toc>haskell_bugs_ghc</toc>
      <toc>java_bugs_gcc</toc>
      <toc>java_bugs_sun</toc>
      <toc>kde2book</toc>
      <toc>libstdc++</toc>
      <toc>opengl</toc>
      <toc>pascal_bugs_fp</toc>
      <toc>php</toc>
      <toc>php_bugs</toc>
      <toc>perl</toc>
      <toc>perl_bugs</toc>
      <toc>python</toc>
      <toc>python_bugs</toc>
      <toc>qt-kdev3</toc>
      <toc>ruby</toc>
      <toc>ruby_bugs</toc>
      <toc>sdl</toc>
      <toc>stl</toc>
      <toc>w3c-svg</toc>
      <toc>sw</toc>
      <toc>w3c-uaag10</toc>
      <toc>wxwidgets_bugs</toc>
    </ignoretocs>
    <ignoreqt_xml>
      <toc>Guide to the Qt Translation Tools</toc>
      <toc>Qt Assistant Manual</toc>
      <toc>Qt Designer Manual</toc>
      <toc>Qt Reference Documentation</toc>
      <toc>qmake User Guide</toc>
    </ignoreqt_xml>
    <ignoredoxygen>
      <toc>KDE Libraries (Doxygen)</toc>
    </ignoredoxygen>
 </kdevdoctreeview>
 <kdevfilecreate>
  <useglobaltypes>
   <type ext="c"/>
   <type ext="h"/>
  </useglobaltypes>
 </kdevfilecreate>
 <kdevfileview>
    <groups>
      <group pattern="*.h" name="Header files" />
      <group pattern="*.c" name="Source files" />
    </groups>
 </kdevfileview>
  <kdevdocumentation>
    <projectdoc>
      <docsystem>Doxygen Documentation Collection</docsystem>
      <docurl>test.tag</docurl>
    </projectdoc>
  </kdevdocumentation>
</kdevelop>
Comment 1 Jens Dagerbo 2006-03-07 10:48:11 UTC
The problem is almost certainly the 'é' in your name. The fields aren't properly escaped for unexpected characters. Try without it and see if that helps.

(In this case, this is a duplicate, but I can't find the original report at the moment. Amilcar?)
Comment 2 Florent "flure" Curé 2006-03-07 19:31:27 UTC
Thanks a lot ! I've tried without any accent and it worked well. Of course it's just a workaround, but now I can code :)

Also, as it's a duplicate, I'll mark this one as RESOLVED (I guess that's what I should do ?)
Comment 3 Florent "flure" Curé 2006-03-07 19:32:52 UTC
So I mark it RESOLVED ...