Hi Corrado,
I see. Looks like I have to find the time to compile a GDAL version with ECW
support. Do you have a small ECW example file for me?
Oliver
> Hi Oliver,
> yes, it crashes even without any initial config file, but only when I
> try to open an ECW map (no problem with other kinds of maps). In the
> past I was able to open ECW maps without any problem.
>
> Corrado
>
> > Hi Corrado,
> >
> > thus even a plain installation of QLGT (no initial config file) crashes?
> > I tried it myself by moving the QLGT config folder out of scope and QLGT
> > started without a problem with it's initial state.
> >
> > Oliver
> >
> >> Hi Oliver,
> >>
> >>> Hi Corrado,
> >>>
> >>> > I have verified that SQLite3 is installed. I have also found an
>
> installed package that is named libqt4-sql-sqlite (SQLite3 database
> drive for QT4): is it the plugin you were talking about?
> The "pathGeoDB" is pointing to my home directory, while it should point
> to...?
> >>>
> >>> Any valid path should do. In the path you will find a file named
> >>> qlgt.db. This should have the correct access rights. Maybe the file is
> >>> corrupted. In this case it's a good idea to move it. QLGT will create a
> >>> new one.
> >>
> >> something has changed (now QLGT reads the database), but the program
> >> still crashes with this message
> >>
> >> use config file: ""
> >> Warning: Qt has caught an exception thrown from an event handler.
> >> Throwing exceptions from an event handler is not supported in Qt. You
> >> must reimplement QApplication::notify() and catch all exceptions there.
> >>
> >> terminate called after throwing an instance of 'std::length_error'
> >>
> >> what(): basic_string::_S_create
> >>
> >> In order to be sure that old configurations are not the reason of the
> >> crashes, I have also removed the $HOME/.config/QLandkarteGT directory,
> >> but the result is still the same.
> >>
> >> Cordially,
> >> Corrado
> >>
> >>> Oliver
> >>>
> I have forgotten to mention that I have no problems with vector maps.
> Many thanks,
>
> Corrado
>
> > Hi Corrado,
> >
> > are SQLite3 and the Qt plugins for database support installed. On some
> > distributions the plugins are a standalone packet.
> >
> > Another problem might be a bad database path configured in QLGT. Watch
> > out for the [environment] section in the configuration file. The path
> > is
> > stored in "pathGeoDB".
> >
> > Anyway I do not think it's a problem related to ECW. The exception is
> > thrown in QSqlQuery and that is used in the QLGT's database.
> >
> > HTH
> >
> > Oliver
> >
> >> Hi Oliver,
> >> yesterday I tried to open an ECW file... and I discovered that I'm no
> >> more able to open it. Not only, QLGT crashes if I try.
> >> I have recompiled GDAL 1.8.1 and GDAL 1.10.0 by enabling the ecw
> >> option,
> >> but it has not solved the problem.
> >> I also recompiled QLGT by starting from the repository version...
> >> same
> >> result.
> >> This is the message I get when QLGT crashes
> >>
> >> Warning: QSqlQuery::exec: database not open
> >> Warning: Qt has caught an exception thrown from an event handler.
> >> Throwing
> >> exceptions from an event handler is not supported in Qt. You must
> >> reimplement QApplication::notify() and catch all exceptions there.
> >>
> >> terminate called after throwing an instance of 'std::length_error'
> >>
> >> what(): basic_string::_S_create
> >>
> >> Can you please help me?
> >>
> >> Corrado
>
> ---
> --- This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Qlandkartegt-users mailing list
> Qlandkartegt-users ...
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
> >>>
> >>>
> >>> -- This SF.net email is sponsored by Windows:
> >>>
> >>> Build for Windows Store.
> >>>
> >>> http://p.sf.net/sfu/windows-dev2dev
> >>
> >> -
> >> - This SF.net email is sponsored by Windows:
> >>
> >> Build for Windows Store.
> >>
> >> http://p.sf.net/sfu/windows-dev2dev
> >> ___
> >> Qlandkartegt-users mailing list
> >> Qlandkartegt-users@...
> >> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
> >
> > --
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
>
> -