https://linen.dev logo
c

charles

07/15/2021, 12:14 AM
When I try to run the template generators locally they seem to hang forever. Do these run on other people's machines? Trying to figure out if it's something up with my environment. command:
./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates --scan
result:
Copy code
...

<-------------> 0% EXECUTING [2m 17s]
> :airbyte-integrations:connector-templates:generator:testScaffoldTemplate_Java JDBC Source
u

user

07/15/2021, 12:18 AM
it looks like the spaces are the thing that's killing it
u

user

07/15/2021, 12:18 AM
changing:
Copy code
addScaffoldTemplateTask('Java JDBC Source', 'scaffold-java-jdbc')
to :
Copy code
addScaffoldTemplateTask('JavaJDBCSource', 'scaffold-java-jdbc')
seems to fix it. but i don't know why this would work in the CI and not locally.
u

user

07/15/2021, 12:27 AM
i think i'm wrong. i think this makes it so it doesn't do anything.
u

user

07/15/2021, 12:27 AM
I restarted/updated docker and that fixed my problem.
c

charles

07/15/2021, 12:27 AM
(when I had this issue last week)
u

user

07/15/2021, 12:27 AM
oh also did a docker system prune
u

user

07/15/2021, 12:28 AM
my guess is the prune was the reason
u

user

07/15/2021, 12:28 AM
but I didn’t follow the scientific method so all I have for you is rumors
u

user

07/15/2021, 12:34 AM
tried that and it's still hang for me.
u

user

07/15/2021, 12:35 AM
same for davin
c

charles

07/15/2021, 12:38 AM
do your versions line up?
u

user

07/15/2021, 12:42 AM
not quite
u

user

07/15/2021, 2:33 AM
just trying to run the generator directly isn't working for me either.
5 Views