Hi, I was stuck on this error, I hope it helps som...
# announcements
j
Hi, I was stuck on this error, I hope it helps someone.
Command
meltano invoke tap-spreadsheets-anywhere
was complaining:
Copy code
OSError: [Errno 8] Exec format error: '/home/jan/directory_with_a_really_long_name_or_long_hierarchy_of_directories/meltano/.meltano/extractors/tap-spreadsheets-anywhere/venv/bin/tap-spreadsheets-anywhere'
When I launched the tap directly (
/home/jan/directory_with_a_really_long_name_or_long_hierarchy_of_directories/meltano/.meltano/extractors/tap-spreadsheets-anywhere/venv/bin/tap-spreadsheets-anywhere
), it was returning:
Copy code
line 3: __requires__: not found
Why's that? This is the first line of
.meltano/extractors/tap-spreadsheets-anywhere/venv/bin/tap-spreadsheets-anywhere
script:
Copy code
#!/home/jan/directory_with_a_really_long_name_or_long_hierarchy_of_directories/meltano/.meltano/extractors/tap-spreadsheets-anywhere/venv/bin/python3
The path to Python interpreter is too long:
A maximum line length of 127 characters is allowed for the first line in an interpreter script.
(See
man execve
) So I moved my Meltano project directly to my home folder and taps are working again. :)
d
@jan_fertek Wow, I never imagined that that could be a problem! Thanks for sharing