What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

I have an issue with the generated transfers. After switching branches I run `docker/sdk build codeb

U01LE4BMBK7
U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

I have an issue with the generated transfers. After switching branches I run docker/sdk build codebase. After that I get random errors like Error Class 'Generated\Shared\Transfer\RedisConfigurationTransfer' not found. What I noticed is that after

 Section build

Command generate-transfers [vendor/bin/console transfer:generate] (1.31s)

ALL the transfer are properly generated but then as docker/sdk build codebase continues the same command runs again

Section build-development
Command generate-transfer-databuilders [vendor/bin/console transfer:databuilder:generate] (1.18s)

and some of them are missing

Comments

  • UT4U1HEHG
    UT4U1HEHG Posts: 49 🧑🏻‍🚀 - Cadet
    edited February 2021

    What operating system are you using?
    If you use OS X and docker-sync, and changes between two branches are huge, it could be synchronisation issue.

    Try to check (from not found file error message ) if the same file exists on your host and in docker container at the same time.

    But of course it could be another issue.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    macOS with mutagen but no docker-sync afaik

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    Thanks @UT4U1HEHG - I think you are right that this is an issue with the file synchronization / mutagen.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    is there anything I can do about it?

  • UT4U1HEHG
    UT4U1HEHG Posts: 49 🧑🏻‍🚀 - Cadet

    Unfortunately I worked most of the time with docker-sync, can’t help you with a mutagen.
    But many developers wrote in this slack project that mutagen is more stable, maybe someone can give you some advice.
    I am also planning to change docker-sync to mutagen.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    thanks - let's see if that helps