Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Andreas Neumann
Hi,

Can't we just say that old styling and old labeling does not work anymore?

As a migration path someone could use QGIS 2.0 or QGIS 2.2.

Andreas

Am 22.05.2014 11:08, schrieb Paolo Cavallini:
 Hi all.
 Just compiled and installed current master. Loading stylized data I get
 
 Warning: Loading a style file that was saved with an older version of qgis 
 (saved in
 1.8.0-Lisboa, loaded in 2.3.0-Master). Problems may occur.
 
 and nothing is displayed. Switching back to single symbol does not solve the 
 problem.
 Loading non stylized data works fine.
 
 Anything I should investigate more to pin down the issue?
 
 All the best.
 

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Matthias Kuhn
That means for somebody to be required to first install an intermediate 
software before the release - which might not even be easily available.


I think we can do that for QGIS 3 and maybe for some rare cases before, 
but to be able to migrate from something saved with a software being 
the last stable not even 12 months ago sounds not optimal to me.


I don't know how much work is involved in this particular case, so I 
really can't tell for sure, but this sounds like a rather serious issue.
I have inserted a new class QgsLegacyHelpers (going to be committed 
with my update later today) which is meant to contain code for such 
situations and does all the update for forms to the new system, but it 
would be good to have other mappings in there as well.


In short: if there's not an incredibly huge amount of work or other 
good reasons, in terms of user satisfaction, I'd be all in favor of 
providing an easy upgrade path throughout a major release cycle (2.x 
series).


-- Matthias

On Thu 22 May 2014 01:30:28 PM CEST, Andreas Neumann wrote:

Hi,

Can't we just say that old styling and old labeling does not work anymore?

As a migration path someone could use QGIS 2.0 or QGIS 2.2.

Andreas

Am 22.05.2014 11:08, schrieb Paolo Cavallini:

Hi all.
Just compiled and installed current master. Loading stylized data I get

Warning: Loading a style file that was saved with an older version of qgis 
(saved in
1.8.0-Lisboa, loaded in 2.3.0-Master). Problems may occur.

and nothing is displayed. Switching back to single symbol does not solve the 
problem.
Loading non stylized data works fine.

Anything I should investigate more to pin down the issue?

All the best.



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Martin Dobias
Hi

On Thu, May 22, 2014 at 6:30 PM, Andreas Neumann a.neum...@carto.net wrote:
 Hi,

 Can't we just say that old styling and old labeling does not work anymore?

Seems to work for me. Tested with points/lines/polys shapefiles in
QGIS source: tests/testdata. Those shapefiles come with .qml files
which still use old symbology. Similar warning is emitted, just the
saved version is 1.9.90.

Regards
Martin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Paolo Cavallini
Il 22/05/2014 14:03, Martin Dobias ha scritto:
 Hi
 
 On Thu, May 22, 2014 at 6:30 PM, Andreas Neumann a.neum...@carto.net wrote:
 Hi,

 Can't we just say that old styling and old labeling does not work anymore?
 
 Seems to work for me. Tested with points/lines/polys shapefiles in
 QGIS source: tests/testdata. Those shapefiles come with .qml files
 which still use old symbology. Similar warning is emitted, just the
 saved version is 1.9.90.

Hi all.
Thanks for loking into this. Trying it again, some of the layers are now 
displayed.
Some are not, and switching them off results in a crash (probably unrelated).
Symbols are new, not old symbology.
Data and styles available if useful.
All the best

QGIS died on signal 11
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need set solib-search-path or set sysroot?
[New LWP 5679]
[New LWP 5678]
[New LWP 5677]
[New LWP 5666]
[New LWP 5665]
[New LWP 5664]
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.

warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7fffe47fd000
0x7f0242697ed9 in __libc_waitpid (pid=5682, stat_loc=0x7fffe47dc27c, 
options=0)
at ../sysdeps/unix/sysv/linux/waitpid.c:40
40  ../sysdeps/unix/sysv/linux/waitpid.c: File o directory non esistente.
[Current thread is 1 (Thread 0x7f0249fec7c0 (LWP 5663))]
#0  0x7f0242697ed9 in __libc_waitpid (pid=5682, stat_loc=0x7fffe47dc27c,
options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
resultvar = 140737026836768
oldtype = 0
#1  0x004f78d7 in qgisCrash(int) ()
No symbol table info available.
#2  signal handler called
No locals.
#3  0x7f0244b344b1 in QAction::data() const () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#4  0x7f02463f5d21 in QgsLayerTreeViewDefaultActions::zoomToLayer() () from
/usr/lib/libqgis_gui.so.2.3.0
No symbol table info available.
#5  0x007f29e1 in ?? ()
No symbol table info available.
#6  0x7f02457ae6aa in QMetaObject::activate(QObject*, QMetaObject const*, 
int,
void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#7  0x7f0244b34572 in QAction::triggered(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#8  0x7f0244b35f43 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#9  0x7f0244ee9f82 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#10 0x7f0244eea0ac in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () 
from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#11 0x7f0244fa0f9a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#12 0x7f0244b89cca in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#13 0x7f0244b3a6cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#14 0x7f0244b40e3a in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#15 0x7f0246a74e1b in QgsApplication::notify(QObject*, QEvent*) () from
/usr/lib/libqgis_core.so.2.3.0
No symbol table info available.
#16 0x7f024579a41d in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#17 0x7f0244b40633 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*,
QWidget*, QWidget*, QWidget**, QPointerQWidget, bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#18 0x7f0244bb233b in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#19 0x7f0244bb0dac in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#20 0x7f0244bd8712 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#21 0x7f0240f0be04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#22 0x7f0240f0c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0x7f0240f0c0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0x7f02457c7655 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () 
from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#25 0x7f0244bd87c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#26 0x7f0245798fef in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from

Re: [Qgis-developer] Old styles not shown?

2014-05-22 Thread Paolo Cavallini
Il 22/05/2014 14:58, Martin Dobias ha scritto:

 Please feel free to file a bug and attach the data. I believe the
 legend refactoring should not be the cause of those problems...


done, thanks:
http://hub.qgis.org/issues/10328
sample attached.
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer