Skip to content
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

AttributeError: 'valve' object has no attribute 'fk_nominal_diameter__REL' #51

Closed
sjib opened this issue Sep 8, 2021 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@sjib
Copy link
Contributor

sjib commented Sep 8, 2021

nennweite=truncate(get_vl(row.fk_nominal_diameter__REL), 10),

nominal_diameter is a regular TEXT*10 attribute
I cannot find a related value table in qwat_sys.

qwat valve_nominal_diameter_errorjpg
qwat valve_nominal_diameter_data

Nennweite is not MANDATORY in SIA405 water
Nennweite: TEXT*10; !! als TEXT, da zum Teil auch Doppelwerte mit Schrägstrich (z.B. 1500/800);

So not clear, why this fails - empty or NULL values should be allowed.

@ponceta ponceta added the bug Something isn't working label Sep 9, 2021
@olivierdalang
Copy link
Collaborator

Are you using an old version of QWAT ?

The tool is only expected to work with an updated QWAT (1.3.6). nominal_diameter was added in QWAT 1.3.4. You should have a qwat_vl.nominal_diameter table as well as the fk_nominal_diameter column on the valve tables.

I'll close this, please reopen if you're already using QWAT 1.3.6 in which case it's a more serious issue.

Also opened a new issue about clarifying which versions are supported here : #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants