Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview generation for iOS 18 HEIC photos do fail #2332 #2353

Open
movies0 opened this issue Dec 18, 2024 · 0 comments
Open

Preview generation for iOS 18 HEIC photos do fail #2332 #2353

movies0 opened this issue Dec 18, 2024 · 0 comments

Comments

@movies0
Copy link

movies0 commented Dec 18, 2024

To set up separate Docker containers for Odoo versions 16, 17, and 18, and configure your development environment using PyCharm Community Edition or Visual Studio Code, follow these steps:

  1. Setting Up Separate Docker Containers for Each Odoo Version:

Create Separate Directories: For each Odoo version, create a separate directory to maintain isolation.

bash
Copy code
mkdir odoo16 odoo17 odoo18
Docker Compose Configuration: In each directory, create a docker-compose.yml file specifying the desired Odoo version and its dependencies. Here's an example for Odoo 16:

yaml
Copy code
version: '3'
services:
odoo:
image: odoo:16.0
ports:
- "8069:8069"
volumes:
- ./custom_addons:/mnt/extra-addons
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo
db:
image: postgres:13
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
Repeat this process for Odoo 17 and 18, adjusting the image tag accordingly.

Start Containers: Navigate to each directory and start the containers:

bash
Copy code
cd odoo16
docker-compose up -d
Repeat for odoo17 and odoo18.

  1. Configuring PyCharm Community Edition or Visual Studio Code:

PyCharm Community Edition:

Remote Development: Utilize the "Remote Repositories" feature to connect to your Docker containers.

Custom Addons: Mount your custom addons directory as a volume in the Docker container to enable real-time development.

Odoo Configuration (odoo.conf): Ensure the addons_path in your odoo.conf file includes the path to your custom addons.

Requirements (requirements.txt): Install necessary Python packages within the Docker container to match your development environment.

Visual Studio Code:

Remote Development: Use the "Remote - Containers" extension to develop inside your Docker containers.

Custom Addons: Similar to PyCharm, mount your custom addons directory to the container.

Odoo Configuration: Update the addons_path in odoo.conf to include your custom addons.

Requirements: Ensure all dependencies are installed within the container.

  1. Accessing Official Addons:

Official Odoo addons are available in the Odoo GitHub repository. You can clone the repository and include it in your addons_path for development purposes.

By following these steps, you can maintain separate environments for each Odoo version and configure your development tools accordingly.

For a detailed walkthrough on setting up Odoo 16 with PyCharm, you can refer to the following video:

Sources

You said:
Even with the newest image containing Nextcloud 30.0.2 the preview of the photos captured with iOS 18 are missing. Funnily enough there is a message that you should not use Imaginary as it has known issues with HEIC files.

The issue is fixed with an upgraded libheif (1.18.0 includes the needed change) and an ImageMagick version compiled against it.

More information about this (in German) under https://decatec.de/home-server/nextcloud-fehlerhafte-bildanzeige-von-heic-bildern-beheben-ios-ipados-18/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant