-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: column r0.metaattribute does not exist
on export
#397
Comments
use ili2pg 4.5.0 |
Ok just tried with 4.5.0 (didn't see it was released, http://www.eisenhutinformatik.ch/interlis/ili2pg/ still mentions 4.4.2) , but I get the same error. |
Btw. I have never seen the views of this model used "in the wild". Maybe they have never been used at all? If you don't have a particular reason to really work with them I suggest you just ignore them... |
Yes, it is because of the Views @olivierdalang you can comment out the VIEW part in the ili model. |
The VIEW TOPIC in the SIA405 models were an approach to not need separate Leitungskataster (LK) models anymore and still define what is the LK subset. Maybe this is not so much needed anymore, but still could be something helpful to check whether all necessary attributes are available for a transformation toward LKMap. |
This can only be a temporary solution in the development environment. It should work with the officially released model(s) so this has to be taken care of in ili2db itself (be it an option to ignore views or however the decision is to handle views properly). |
Can not reproduce with 4.5.0 |
I'm trying to dump data so you can reproduce, but for some reason ili2pg doesn't work on the restored dataset : Are there some specific objects that need to be dumped/restored with ili2pg ? (tried with a regular pgdump/pgrestore of the whole schema) Also could you please reopen the issue until this is sorted ? (you could add a label like "not reproducable" or "needs feedback") |
Please add a detailed trace ( |
|
can reproduce it |
Hi !
I'm trying to export a schema (created with schema import, then populated separately), but ili2pg fails with
ERROR: column r0.metaattribute does not exist
.Any idea what could be wrong ? I'd be happy to provide additional info/data, please let me know what is useful (not too familiar with bug reporting for ili2db yet)
Thanks !
The schema was created with this command (works fine) :
This command is used for the export (fails)
Full log
The text was updated successfully, but these errors were encountered: