Comments (3)
Thanks for reporting this @dave-connors-3 !
This looks similar to #486. If you use Chrome, can you see errors in the Console similar to this?
TypeError: Cannot read properties of undefined (reading 'resource_type')
TypeError: Cannot read properties of undefined (reading 'length')
from dbt-docs.
Reprex
models/my_test_model.sql
select 1 as id
models/_unit.yml
unit_tests:
- name: my_unit_test
given: []
model: my_test_model
expect:
rows:
- {id: 1}
dbt docs generate
dbt docs serve
Here's the error messages I got:
(index):79 Can not create edge `c18ac92f-a89a-4bc6-8138-8d53a8dc65e1` with nonexistant target `unit_test.my_project.my_test_model.my_unit_test`
error @ (index):79
(index):79 console.trace
error @ (index):79
u.restore @ (index):84
c @ (index):84
add @ (index):91
(anonymous) @ (index):79
$digest @ (index):73
$apply @ (index):73
(anonymous) @ (index):73
A @ (index):73
b.onload @ (index):73
(index):73 TypeError: Cannot read properties of undefined (reading 'data')
at (index):93:333453
at Module.$t ((index):27:73384)
at Object.selectNodes ((index):93:333420)
at Object.selectNodes ((index):93:331596)
at h ((index):93:324578)
at p.showFullGraph ((index):93:326710)
at t.showExpanded ((index):79:27600)
at t.onLauncherClick ((index):79:28516)
at fn (eval at compile ((index):47:106042), <anonymous>:4:165)
at i ((index):73:151833)
(anonymous) @ (index):73
from dbt-docs.
Based on the error, it's possible that we're not populating the catalog or manifest appropriately. We had a fix awhile back around re-parsing when a fixture is changed, that could have affected this. It can't find the key and attempts to access an attribute on undefined following that.
This may actually be a fix in dbt-core, not in dbt-docs.
from dbt-docs.
Related Issues (20)
- [CT-3089] [CT-3065] [Feature] DBT docs allow to view grants for each model HOT 1
- [CT-3077] Testing issue opening from another workflow
- [CT-3237] Display compiled metric code in docs HOT 2
- [CT-3238] Display the metric definition/configuration in dbt docs HOT 2
- [CT-3244] [CT-3241] [Feature] Docs increase size of Description field and reduce the column field size HOT 2
- [CT-3248] [CT-3247] [Feature] <dbt docs - support for nested path> HOT 2
- [CT-3265] The docs generated for exposures should display owner HOT 3
- [CT-3331] Exposures aren't displaying any properties (dbt > 1.6.0) HOT 3
- [CT-3371] Include unit tests in dbt docs HOT 3
- [CT-3427] [CT-3415] [Feature] LaTeX rendering in DBT docs HOT 1
- [CT-3498] [CT-3490] DBT Docs: Add Meta As A Filter Checkbox HOT 2
- [CT-3523] [regression] missing details for exposures in dbt docs page
- [CT-3530] Presence of `saved_queries` breaks lineage viz
- [CT-3533] dbt docs generate doesn't hide package's documentation HOT 3
- Docs only showing tags in details section of source objects HOT 3
- Macro naming conventions HOT 4
- Testing issue opening from another workflow
- [Feature] Add information on the column type to the documenation of source tables HOT 1
- [Feature] Display the model-level constraints in the documentation generated by dbt HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt-docs.