Oslandia / albion

Migrated to: https://gitlab.com/Oslandia/albion
https://gitlab.com/Oslandia/albion
GNU General Public License v3.0
49 stars 17 forks source link

Export project #73

Closed DUGUEY closed 5 years ago

DUGUEY commented 6 years ago

The export project doesn't export the full project, the graph and and the edge are not exported, just the data loaded at the begining and the section are present in the exported project.

vmora commented 6 years ago

This is really weird since the export uses a dump of the database.

DUGUEY commented 6 years ago

The possible edge is exported but not the edge.....

pblottiere commented 5 years ago

Hi @DUGUEY,

I just tested the Export Project feature and everything is working well. Graph and Edges are correctly exported/imported:

bl

However, you have to be careful because the name of the database is not updated during the export (the original name is kept).

I'm closing this issue, but let me know if you still encounter the problem.

DUGUEY commented 5 years ago

can you try with this project, it's doesn't work with my Albion version. The project is load but nothing on the screen testa.zip

pblottiere commented 5 years ago

Hi @DUGUEY,

can you try with this project, it's doesn't work with my Albion version. The project is load but nothing on the screen

I didn't succeed in importing your project because I'm using PostgreSQL 11 and there's some kind of incompatibilities in the dump file.

However, I took a look on the content, and I noticed that :

--
-- Data for Name: edge; Type: TABLE DATA; Schema: _albion; Owner: -
--

COPY graph (id, parent) FROM stdin;
formd   \N
mine300 formd
forme   \N
formf   \N
formg   \N
formc   \N
formb   \N
\.

Considering that albion.edge and albion.graph are based on _albion views, it shouldn't be empty...

Can you manually open the _albion.edge and _albion.graph from the Postgis database? (note that for this test, you have to use the _albion schema, not albion).

DUGUEY commented 5 years ago

Need your help can you call me……

Emmanuel

De : Blottiere Paul [mailto:notifications@github.com] Envoyé : lundi 17 décembre 2018 14:20 À : Oslandia/albion Cc : DUGUEY Emmanuel (ORN-MN); Mention Objet : Re: [Oslandia/albion] Export project (#73)

Hi @DUGUEYhttps://github.com/DUGUEY,

can you try with this project, it's doesn't work with my Albion version. The project is load but nothing on the screen

I didn't succeed in importing your project because I'm using PostgreSQL 11 and there's some kind of incompatibilities in the dump file.

However, I took a look on the content, and I noticed that :

--

-- Data for Name: edge; Type: TABLE DATA; Schema: _albion; Owner: -

--

COPY graph (id, parent) FROM stdin;

formd \N

mine300 formd

forme \N

formf \N

formg \N

formc \N

formb \N

.

Considering that albion.edge and albion.graph are based on _albion views, it shouldn't be empty...

Can you manually open the _albion.edge and _albion.graph from the Postgis database? (note that for this test, you have to use the _albion schema, not albion).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Oslandia/albion/issues/73#issuecomment-447842894, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYMe06TH5DrTBwc0h-7Y9ZgHdRju1Kgoks5u55n-gaJpZM4VX83r.

DUGUEY commented 5 years ago

there is records in edge table from the original project but not in the exported project.... Emmanuel

pblottiere commented 5 years ago

albion.zip