Re: [Toaster] Toaster compatibility issues
Alassane Yattara <[email protected]> Tue, 22 Oct 2024 12:43:19 -0400 (EDT)
| Newsgroups | org.yoctoproject.lists.toaster |
|---|---|
| Message-ID | <825185749.1105707.1729615399795.JavaMail.zimbra@savoirfairelinux.com> |
Awais, Could you please try the following steps: 1. Re-create your Python environment and activate it. 2. Install the required dependencies using: =20 $ pip3 install -r ./bitbake/toaster-requirements.txt =20 3. Run the migration command. It seems the issue is still related to the MySQLdb connection or database s= tructure. If this doesn=E2=80=99t work, try installing `mysql-python` in the virtual = environment: $ pip install mysql-python Let me know if that resolves the issue. Otherwise, I=E2=80=99ll attempt to = reproduce the error in a different Poky environment. Thanks, =20 Alassane This version is clearer and more concise. Does it meet your expectations?--= --- Original Message ----- From: "Awais Belal" <[email protected]> To: "toaster" <[email protected]> Sent: Tuesday, October 22, 2024 5:26:16 PM Subject: Re: [Toaster] Toaster compatibility issues The workflow log provided in the last email was from a Ubuntu 22.04 machine= . If I try the same on a Ubuntu 18.04 machine it still fails with a similar= (not the same) error=20 File "/var/www/toaster/.local/lib/python3.6/site-packages/MySQLdb/connectio= ns.py", line 254, in query=20 _mysql.connection.query(self, query)=20 django.db.utils.OperationalError: (1833, "Cannot change column 'package_ptr= _id': used in a foreign key constraint 'orm_customimagepacka_customimagepac= kage_i_b48c5573_fk_orm_custo' of table 'toaster.orm_customimagepackage_reci= pe_appends'")=20 and this is for the same=20 Applying orm.0020_models_bigautofield...Traceback (most recent call last):= =20 ...=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Links: You receive all messages sent to this group. View/Reply Online (#6170): https://lists.yoctoproject.org/g/toaster/message= /6170 Mute This Topic: https://lists.yoctoproject.org/mt/109134636/7896845 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub [alassane.yatta= [email protected]] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-