-
Hi I was trying to run the "dbt run" commands locally after having (also locally) acquired the data. But it always fails. From a fresh transfermarkt-datasets installation I got (full log file attached) _Completed with 2 errors and 0 warnings: Runtime Error in model base_players (models\base\transfermarkt_scraper\base_players.sql) Done. PASS=0 WARN=0 ERROR=2 SKIP=2 TOTAL=4_ I though this may be due to the command "columns=struct_pack(value := 'VARCHAR'), delim='\1', quote='\0'," in sources.yml so I changes it to "columns=struct_pack(value := 'VARCHAR'), delim=',', quote='"',". But this also gave errors: Runtime Error in model base_games (models\base\transfermarkt_scraper\base_games.sql) Since I don't know sql and duckdb I'm out of my depth here. Am I just doing something basic wrong? Your help is much appreciated. Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
How do they look the files you acquired locally? Do they contain data in JSON lines as expected? I get that you run the acquiring locally and it worked, but it might have produced empty or invalid files somehow. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your quick answer! I already wonder about the delimiter issue. Does the delim='\1' work for you? And if so, why does it throw me that Invalid Input Error? Thanks again so much! |
Beta Was this translation helpful? Give feedback.
-
I'm running it on Windows 10. I just tried it (never used codespace before). After installing dbt, copying my dbt_cloud.yml and issuing "dbt deps" I got an error; The specified project was not found or development credentials haven't been set on the project. Ensure that you have the correct permissions to access the project and development credentials are set in dbt Cloud: https://cloud.getdbt.com/settings/profile/credentials" |
Beta Was this translation helpful? Give feedback.
-
I setup a new Codespace and now it's working! Now I just have to get this working locally on my PC. But I guess somehow my installation is messed up. So, I'll start from scratch. BTW (and it's probably also due to my system somehow), I cannot clone your repository anymore: Thank you very much again. You've been really very helpful!!! Cheers, |
Beta Was this translation helpful? Give feedback.
I setup a new Codespace and now it's working! Now I just have to get this working locally on my PC. But I guess somehow my installation is messed up. So, I'll start from scratch.
BTW (and it's probably also due to my system somehow), I cannot clone your repository anymore:
Cloning into 'C:\Users\Jörn\40_Projekte\transfermarkt-datasets'...
remote: Enumerating objects: 3784, done.
remote: Counting objects: 100% (1721/1721), done.
remote: Compressing objects: 100% (866/866), done.
remote: Total 3784 (delta 1002), reused 1481 (delta 845), pack-reused 2063
Receiving objects: 100% (3784/3784), 3.83 MiB | 20.34 MiB/s, done.
Resolving deltas: 100% (1975/1975), done.
error: invalid path 'streamlit…