Opened 8 years ago

Last modified 5 years ago

#2834 closed defect

v.db.select comand works, sqlite, attribute table does not open — at Version 2

Reported by: khe Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Database Version: 7.0.2
Keywords: v.in.ogr Cc:
CPU: Unspecified Platform: Linux

Description (last modified by martinl)

Hey,

I imported vector data by using the Python Shell

g.run_command("v.in.ogr", dsn=loc2+"Schoenbuch_clip_strasse.shp", output=ort+"_strasse",overwrite=True, type="line",flags="o")
g.run_command("v.in.ogr", dsn=loc2+"Schoenbuch_gewaesserordnung.shp", output=ort+"_gewaesser",overwrite=True, type="line",flags="o")	
g.run_command("v.in.ogr", dsn=loc2+"Schoenbuch_gewasserachse.shp", output=ort+"_gewaesserachse",overwrite=True, type="line",flags="o")	
g.run_command("v.in.ogr", dsn=loc2+"Schoenbuch_weg.shp", output=ort+"_weg",overwrite=True, type="line",flags="o")

The database sqlite is connected (v.db.connect), I can open the vector layer, but cannot open the attribute table, but the command v.db.select works without having any problems.

It says: "DMBI-SQLite driver error: Unable to scan data: Fehler: Kann Daten nicht aus der Tabelle <S_weg> holen.

What could be the reason? Did anybody of you had similar problems?

Thanks for your help.

Change History (2)

comment:1 by khe, 8 years ago

Milestone: 7.0.3Website

comment:2 by martinl, 8 years ago

Description: modified (diff)
Keywords: v.in.ogr added
Milestone: Website7.0.3
Note: See TracTickets for help on using tickets.