<meta http-equiv="content-type" content="text/html; charset=utf-8"><div></div><div>Zip me the file if it's not confidential.  I can test it.</div><div><br>Le 25 nov. 2016 à 12:07, Mira Kattwinkel [via <a href="http://OSGeo.org" target="_top" rel="nofollow" link="external">OSGeo.org</a>] <<a href="/user/SendEmail.jtp?type=node&node=5297452&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br><br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>

        Hello Nicola
<br><br>Thanks for the suggestion but this is not the problem. I did not move 
<br>any files and it happens with whatever shape file I try.
<br><br>Mira
<br><br><br>On 25/11/16 17:58, Nicolas Cadieux wrote:
<div class="shrinkable-quote"><div class='shrinkable-quote'><br>> Hi,
<br>>
<br>> Perhaps you moved or copied the shape files and forgot to move the 
<br>> accompanied files (3 to 8 files with different extensions like .shx 
<br>> .dbf .shp .prj)?  If you just move the .shp and not the others, this 
<br>> is will create errors.  The .shx contains the geometries.  You may get 
<br>> this kind of message if you try to drag and drop the .shx and not the 
<br>> .shp in QGiS.
<br>>
<br>> .tiff will not crash because it's a lone file.
<br>>
<br>> Nicolas
<br>>
<br>> Le 25 nov. 2016 à 11:36, Mira Kattwinkel [via <a href="http://OSGeo.org" target="_top" rel="nofollow" link="external">OSGeo.org</a> 
<br>> <<a href="http://OSGeo.org" target="_top" rel="nofollow" link="external">http://OSGeo.org</a>>] <[hidden email] 
<br>> </user/SendEmail.jtp?type=node&node=5297448&i=0>> a écrit :
<br>>
<br>>> Dear list
<br>>>
<br>>> I have been working with QGIS 2.14 and now 2.18 for a while on Linux
<br>>> Mint 17. Suddenly, I cannot open shape files any more. When trying to
<br>>> load them I get the message: "Layer is not valid: The layer XX.shp is
<br>>> not a valid layer and can not be added to the map."  In the log message
<br>>> panel under ogr it says: "Data source is invalid (Unable to open XX.shx
<br>>> or XX.SHX.Try --config SHAPE_RESTORE_SHX true to restore or create it)"
<br>>>
<br>>> Additionally, I cannot open GRASS files any more (which also used to
<br>>> work fine) and get the error:" Error reading database file from:
<br>>> /usr/share/qgis/resources/srs.db Because of this the projection selector
<br>>> will not work..." and then QGIS crashes.
<br>>>
<br>>> Interestingly, I can open shape files from my file browser (it starts
<br>>> QGIS and loads the file) but then I cannot add another one. Raster
<br>>> (GeoTif) data are also fine.
<br>>>
<br>>> I have no idea what's causing this. I have tried removing and
<br>>> reinstalling QGIS (version 2.18 and 2.14) without any success.
<br>>>
<br>>> Can anybody give me any hint what might have corrupted my system?
<br>>>
<br>>> Thanks a lot,
<br>>> Mira
<br>>>
<br>>> _______________________________________________
<br>>> Qgis-user mailing list
<br>>> [hidden email] </user/SendEmail.jtp?type=node&node=5297446&i=0>
<br>>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>>>
<br>>> ------------------------------------------------------------------------
<br>>> If you reply to this email, your message will be added to the 
<br>>> discussion below:
<br>>> <a href="http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446.html</a> 
<br>>>
<br>>> To start a new topic under Quantum GIS - User, email [hidden email] 
<br>>> </user/SendEmail.jtp?type=node&node=5297448&i=1>
<br>>> To unsubscribe from Quantum GIS - User, click here.
<br>>> NAML 
<br>>> <<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>> 
<br>>>
<br>>
<br>> ------------------------------------------------------------------------
<br>> View this message in context: Re: suddenly unable to open shape files 
<br>> <<a href="http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446p5297448.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446p5297448.html</a>>
<br>> Sent from the Quantum GIS - User mailing list archive 
<br>> <<a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html</a>> 
<br>> at <a href="http://Nabble.com" target="_top" rel="nofollow" link="external">Nabble.com</a>.
<br>>
<br>>
<br>> _______________________________________________
<br>> Qgis-user mailing list
<br>> <a href="/user/SendEmail.jtp?type=node&node=5297449&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></div>-- 
<br>Dr. Mira Kattwinkel
<br>Quantitative Landscape Ecology
<br>Institute for Environmental Sciences
<br>University of Koblenz-Landau
<br>Fortstraße 7
<br>76829 Landau
<br>Germany
<br>Phone: + 49 6341 280-31553
<br>Office: Building I, Room 2.02
<br><br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=5297449&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446p5297449.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446p5297449.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5297452&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></div></blockquote>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/suddenly-unable-to-open-shape-files-tp5297446p5297452.html">Re: suddenly unable to open shape files</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>