Bug #4534

"Split vector layer" freezes QGIS

Added by Giovanni Manghi over 1 year ago. Updated 4 months ago.

Status:Closed Start Date:11/15/2011
Priority:High Due date:
Assigned to:- % Done:

0%

Category:fTools
Target version:Version 2.0.0
Platform: Patch supplied:Yes
Platform version: Affected version:master
Status info: Causes crash or corruption:Yes
Resolution:

Description

It was tested on master and 1.7.1 on both Debian and Ubuntu. On OsX gives an error message but eventually finishes the task. It seems to work under Windows.

May be a python version problem?

Traceback (most recent call last):
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py",
line 1366, in dumps
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py",
line 224, in dump
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py",
line 306, in save
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy_reg.py",
line 71, in _reduce_ex
TypeError: the sip.simplewrapper type cannot be instantiated or sub-classed

Versione Python:
2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)]

Related issues

duplicated by Quantum GIS Desktop - Bug #7031: divide (split) polygon doesn't work Closed 01/23/2013

Associated revisions

Revision 98d8d507efb7a650bf76e34b9d04b1daa91251bf
Added by Jürgen Fischer 4 months ago

Merge pull request #378 from slarosa/ftools_split_vector

fix #4534

History

Updated by Alexander Bruy over 1 year ago

There are no fTools files in traceback, so this is not fTools issue. Maybe something wrong with your Python install?

Updated by Paolo Cavallini over 1 year ago

Confirmed here on Debian unstable. Tried bot over nfs and on local disk, same problem.
Apparently it is not QGIS being stuck, but rather the dialog remaining open and doing nothing

Updated by Paolo Cavallini over 1 year ago

  • Priority changed from Normal to High

Updated by Giovanni Manghi over 1 year ago

  • Target version set to Version 1.7.4

Updated by Alexander Bruy over 1 year ago

Seems this error specific for 64-bit systems. I receive two reports about freezes and craches when users tried to press OK button in QFileDialog. In same time same QGIS version works fine under 32-bit OS on same PC. So I think this is not a QGIS/fTools issue but Qt/PyQt one.

Updated by Giovanni Manghi over 1 year ago

Alexander Bruy wrote:

Seems this error specific for 64-bit systems. I receive two reports about freezes and craches when users tried to press OK button in QFileDialog. In same time same QGIS version works fine under 32-bit OS on same PC. So I think this is not a QGIS/fTools issue but Qt/PyQt one.

I confirm that on 32bit OSes it works ok, on 64bit it doesn't.

Updated by Giovanni Manghi over 1 year ago

  • Subject changed from "split vector layer" freezes QGIS to "Split vector layer" freezes QGIS on 64bit OSes
  • Priority changed from High to 6
  • Affected version set to master
  • Causes crash or corruption set to Yes

Updated by Giovanni Manghi about 1 year ago

  • Priority changed from 6 to High

Updated by Giovanni Manghi about 1 year ago

  • Status changed from New to Feedback

this need to be tested with a more recent GEOS version.

Updated by Paolo Cavallini about 1 year ago

  • Target version changed from Version 1.7.4 to Version 1.8.0

Updated by Toni Keskitalo 11 months ago

Hello. This issue happens also on 32bit, at least on my system: Kubuntu Oneiric 11.10, kernel 3.0.0-20-generic-pae, 4GB memory, Qgis 1.8.0 from ubuntugis-unstable. Additionally, after killing qgis.bin all the additional plugin repositories disappear from the list but other settings seem to be intact.

Updated by Paolo Cavallini 9 months ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

Updated by Pedro Venâncio 8 months ago

Hi,

As to Toni Keskitalo, this is also happening to me in 32bit version (Xubuntu 12.04 with QGIS master from ubuntugis-unstabble).

The tool does not allow me to put the path directly in the 'Output Folder' field, and freezes when I click 'browser' and select the output folder. Then I am forced to force close QGIS, which results in the cleaning of all options and all the customization I did in QGIS (default CRS, plugin repositories, locale settings, wms/wfs/postgis connections, etc.)... Basically, QGIS becomes like in ​​a clean installation.

By the consequences that this error causes in the QGIS installation, it seems to me a matter of high priority.

Updated by Giovanni Manghi 8 months ago

  • Subject changed from "Split vector layer" freezes QGIS on 64bit OSes to "Split vector layer" freezes QGIS

Updated by Giovanni Manghi 8 months ago

  • Status changed from Feedback to New

Updated by Giovanni Manghi 8 months ago

Definitely happens (now?) also on 32bit.

Updated by Paolo Cavallini 7 months ago

Confirmed, still a serious issue

Updated by Giovanni Manghi 5 months ago

  • Status changed from New to Closed
  • Resolution set to fixed

Works for me now on both Windows and Linux on qgis master. Please reopen if necessary.

Updated by Brian Smith 5 months ago

  • Status changed from Closed to Reopened

Still broken for me on QGIS 1.70, 1.80, and 1.90 (Master) on Kubuntu 12.10 32-bit.

Updated by Salvatore Larosa 4 months ago

  • Resolution deleted (fixed)
  • Patch supplied changed from No to Yes

Confirmed, it occurs only under Linux!

This pull should fix the issue: https://github.com/qgis/Quantum-GIS/pull/378

Updated by Jürgen Fischer 4 months ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF