Alberto Casu
02/06/2025, 12:05 PM[PYI-400068:ERROR] Failed to load Python shared library '/tmp/_MEIggFgDn/libpython3.11.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.38' not found (required by /tmp/_MEIggFgDn/libpython3.11.so.1.0)
changing ubuntu version is out of the question at the moment, what options do I have? can I install a different airbyte-ci version?kapa.ai
02/06/2025, 12:05 PMAlberto Casu
02/06/2025, 12:11 PMkapa.ai
02/06/2025, 12:11 PMkapa.ai
02/06/2025, 12:11 PMairbyte-ci
to install an older Ubuntu version. However, I can provide some relevant information and potential workarounds: 1. Specific version installation: According to the [Airbyte Documentation on Upgrading](https://docs.airbyte.com/operator-guides/upgrading-airbyte), you can install a specific version of Airbyte using the values.yaml
file. While this doesn't directly address airbyte-ci
, it might be a useful approach to control the version you're using. 2. Using `abctl`: The abctl
tool is mentioned as a way to manage Airbyte installations. As stated in the [Airbyte Documentation](https://docs.airbyte.com/operator-guides/upgrading-airbyte#upgrading-with-abctl), you can use abctl local install
to upgrade to the latest version. However, there's no explicit mention of downgrading or installing older versions. 3. Manual downgrade: In a [GitHub issue comment](https://github.com/airbytehq/airbyte/issues/38927), a user mentions downgrading to an older version by manually pulling older Docker images and updating the .env
file. This might be applicable to your situation, although it's not specifically about airbyte-ci
. 4. Disabling updates: A workaround mentioned in a [GitHub issue comment](https://github.com/airbytehq/airbyte/issues/39466) suggests using the flags --disable-update-check --disable-auto-update
with airbyte-ci
to prevent automatic updates. This might help you maintain a specific version, though it doesn't directly allow installing an older version. Given the limited information in the knowledge sources about forcing airbyte-ci
to install an older version, you might need to explore alternative approaches or seek more specific guidance from the Airbyte community or documentation. If this is crucial for your use case, consider opening an issue on the Airbyte GitHub repository to request this feature or ask for more detailed instructions.Alberto Casu
02/06/2025, 2:30 PMError: Invalid value for '--name': 'source-salesmanago' is not one of 'source-squarespace', 'source-tmdb', etc
source-salesmanago is the name of my connector
should I put the file in a specific folder? what's happening?kapa.ai
02/06/2025, 2:30 PMkapa.ai
02/06/2025, 2:31 PMairbyte/airbyte-integrations/connectors/
directory. 3. Connector registration: Your connector might not be properly registered in the Airbyte system. This could explain why it's not recognized as a valid option. 4. Using definitionId: As a workaround, you might be able to use the definitionId
instead of the connector name. This was suggested in a [comment on a GitHub issue](https://github.com/airbytehq/airbyte/issues/34943#issuecomment-1583148603) for a similar problem. 5. Airbyte version: Ensure you're using the latest version of Airbyte, as mentioned in a [GitHub comment](https://github.com/airbytehq/airbyte/issues/36016#issuecomment-1583981098). Outdated versions can sometimes cause unexpected errors. To resolve this issue, you could try the following steps: 1. Verify that your connector is in the correct directory (airbyte/airbyte-integrations/connectors/source-salesmanago
). 2. Check if there's a way to register your new connector with Airbyte (this might involve updating some configuration files, but the exact process isn't detailed in the provided sources). 3. Try using the definitionId
instead of the connector name if possible. 4. Update to the latest version of Airbyte if you haven't already. If these steps don't resolve the issue, you might need to open a new issue on the Airbyte GitHub repository, providing details about your setup and the full error message. The Airbyte team or community might be able to provide more specific guidance for your custom connector.Alberto Casu
02/06/2025, 2:32 PMkapa.ai
02/06/2025, 2:32 PMkapa.ai
02/06/2025, 2:32 PMairbyte/airbyte-integrations/connectors/
directory.
2. Use the Airbyte code generator: If you haven't already, you might want to use the Airbyte-provided code generator to bootstrap the scaffolding for your connector. This is mentioned in the [environment setup documentation](https://docs.airbyte.com/connector-development/tutorials/custom-python-connector/environment-setup):
cd airbyte-integrations/connector-templates/generator
./generate.sh
Select "Python CDK Source" when prompted and provide your connector name (e.g., "source-salesmanago").
3. Update metadata: Ensure that your connector's metadata.yaml
file is properly configured. This file should be at the root of your connector's directory. The [Airbyte documentation on QA checks](https://docs.airbyte.com/contributing-to-airbyte/resources/qa-checks#-metadata) mentions that this file is used to build the connector registry.
4. Build the connector: Use the airbyte-ci
tool to build your connector. The command should look like this:
airbyte-ci connectors --name source-salesmanago build
This is mentioned in the [Airbyte documentation on connector contributions](https://docs.airbyte.com/contributing-to-airbyte/developing-locally#connector-contributions).
5. Load the image: After building, load the newly built image into the abctl
instance:
kind load docker-image airbyte/source-salesmanago:dev -n airbyte-abctl
6. Update connector version in Airbyte UI:
- Go to the Airbyte web interface (usually at http://localhost:8000)
- Navigate to Settings > Sources
- Find your connector and update its version to use your docker image tag (default is dev
)
7. Clear connector specification cache: As mentioned in the [documentation on connector specification caching](https://docs.airbyte.com/contributing-to-airbyte/developing-locally#connector-specification-caching), you might need to clear the cache for your changes to take effect:
- In the Airbyte UI, go to Settings > Sources
- Leave the version set to dev
- Click "Change" to save the changes, which will refresh the dev connector's speckapa.ai
02/06/2025, 2:32 PMairbyte/airbyte-integrations/connectors/
directory. 2. Use the Airbyte code generator: If you haven't already, you might want to use the Airbyte-provided code generator to bootstrap the scaffolding for your connector. This is mentioned in the [environment setup documentation](https://docs.airbyte.com/connector-development/tutorials/custom-python-connector/environment-setup): cd airbyte-integrations/connector-templates/generator ./generate.sh
Select "Python CDK Source" when prompted and provide your connector name (e.g., "source-salesmanago"). 3. Update metadata: Ensure that your connector's metadata.yaml
file is properly configured. This file should be at the root of your connector's directory. The [Airbyte documentation on QA checks](https://docs.airbyte.com/contributing-to-airbyte/resources/qa-checks#-metadata) mentions that this file is used to build the connector registry. 4. Build the connector: Use the airbyte-ci
tool to build your connector. The command should look like this: airbyte-ci connectors --name source-salesmanago build
This is mentioned in the [Airbyte documentation on connector contributions](https://docs.airbyte.com/contributing-to-airbyte/developing-locally#connector-contributions). 5. Load the image: After building, load the newly built image into the abctl
instance: kind load docker-image airbyte/source-salesmanago:dev -n airbyte-abctl
6. Update connector version in Airbyte UI: - Go to the Airbyte web interface (usually at http://localhost:8000) - Navigate to Settings > Sources - Find your connector and update its version to use your docker image tag (default is dev
) 7. Clear connector specification cache: As mentioned in the [documentation on connector specification caching](https://docs.airbyte.com/contributing-to-airbyte/developing-locally#connector-specification-caching), you might need to clear the cache for your changes to take effect: - In the Airbyte UI, go to Settings > Sources - Leave the version set to dev
- Click "Change" to save the changes, which will refresh the dev connector's spec After following these steps, your connector should be registered and available for use in Airbyte. If you're still encountering issues, you might need to consult the Airbyte community forums or open an issue on the Airbyte GitHub repository for more specific assistance.