Re: Toaster compatibility issues
"Awais Belal" <[email protected]> Tue, 22 Oct 2024 07:07:01 -0700
| Newsgroups | org.yoctoproject.lists.toaster |
|---|---|
| Message-ID | <[email protected]> |
--ZwXkGz675PNDNT3MrZ25 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thanks for the pointers. So in essence we're trying to setup a production s= erver which as mentioned is working fine for gatesgarth based builds. Now w= e need to move our builds forward and trying to use kirkstone/langdale howe= ver this too is causing problems when we try to run the 'migrate' step. Her= e are the full logs: >=20 > toaster@elitebook:~/poky$ pip3 install --user --force-reinstall -r > ./bitbake/toaster-requirements.txt > Collecting Django<3.3,>3.2 > Using cached Django-3.2.25-py3-none-any.whl (7.9 MB) > Collecting beautifulsoup4>=3D4.4.0 > Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) > Collecting pytz > Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB) > Collecting sqlparse>=3D0.2.2 > Using cached sqlparse-0.5.1-py3-none-any.whl (44 kB) > Collecting asgiref<4,>=3D3.3.2 > Using cached asgiref-3.8.1-py3-none-any.whl (23 kB) > Collecting soupsieve>1.2 > Using cached soupsieve-2.6-py3-none-any.whl (36 kB) > Collecting typing-extensions>=3D4 > Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) > Installing collected packages: pytz, typing-extensions, sqlparse, > soupsieve, beautifulsoup4, asgiref, Django > WARNING: The script sqlformat is installed in > '/var/www/toaster/.local/bin' which is not on PATH. > Consider adding this directory to PATH or, if you prefer to suppress this > warning, use --no-warn-script-location. > WARNING: The script django-admin is installed in > '/var/www/toaster/.local/bin' which is not on PATH. > Consider adding this directory to PATH or, if you prefer to suppress this > warning, use --no-warn-script-location. > Successfully installed Django-3.2.25 asgiref-3.8.1 beautifulsoup4-4.12.3 > pytz-2024.2 soupsieve-2.6 sqlparse-0.5.1 typing-extensions-4.12.2 > toaster@elitebook:~/poky$ > toaster@elitebook:~/poky$ pip3 install --user mysqlclient > Collecting mysqlclient > Using cached mysqlclient-2.2.5.tar.gz (90 kB) > Installing build dependencies ... done > Getting requirements to build wheel ... done > Installing backend dependencies ... done > Preparing metadata (pyproject.toml) ... done > WARNING: Generating metadata for package mysqlclient produced metadata fo= r > project name unknown. Fix your #egg=3Dmysqlclient fragments. > Discarding > https://files.pythonhosted.org/packages/be/95/1af2ee813d4f0b607082c18bb82= aa05c98a95a402a1d2d5808999317cb16/mysqlclient-2.2.5.tar.gz#sha256=3Dadd8643= c32f738014d252d2bdebb478623b04802e8396d5903905db36474d3ff > (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): > Requested unknown from > https://files.pythonhosted.org/packages/be/95/1af2ee813d4f0b607082c18bb82= aa05c98a95a402a1d2d5808999317cb16/mysqlclient-2.2.5.tar.gz#sha256=3Dadd8643= c32f738014d252d2bdebb478623b04802e8396d5903905db36474d3ff > has inconsistent name: filename has 'mysqlclient', but metadata has > 'unknown' > Using cached mysqlclient-2.2.4.tar.gz (90 kB) > Installing build dependencies ... done > Getting requirements to build wheel ... done > Installing backend dependencies ... done > Preparing metadata (pyproject.toml) ... done > WARNING: Generating metadata for package mysqlclient produced metadata fo= r > project name unknown. Fix your #egg=3Dmysqlclient fragments. > Discarding > https://files.pythonhosted.org/packages/79/33/996dc0ba3f03e2399adc91a7de1= f61cb14b57ebdb4cc6eca8a78723043cb/mysqlclient-2.2.4.tar.gz#sha256=3D33bc9fb= 3464e7d7c10b1eaf7336c5ff8f2a3d3b88bab432116ad2490beb3bf41 > (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): > Requested unknown from > https://files.pythonhosted.org/packages/79/33/996dc0ba3f03e2399adc91a7de1= f61cb14b57ebdb4cc6eca8a78723043cb/mysqlclient-2.2.4.tar.gz#sha256=3D33bc9fb= 3464e7d7c10b1eaf7336c5ff8f2a3d3b88bab432116ad2490beb3bf41 > has inconsistent name: filename has 'mysqlclient', but metadata has > 'unknown' > Using cached mysqlclient-2.2.3.tar.gz (90 kB) > Installing build dependencies ... done > Getting requirements to build wheel ... done > Installing backend dependencies ... done > Preparing metadata (pyproject.toml) ... done > WARNING: Generating metadata for package mysqlclient produced metadata fo= r > project name unknown. Fix your #egg=3Dmysqlclient fragments. > Discarding > https://files.pythonhosted.org/packages/10/2c/589fe3e9e045e0a9d86fc4e060d= e32d6df0fb9e1d48f2092c1f1abb26ffa/mysqlclient-2.2.3.tar.gz#sha256=3Dee51656= e36fc5a92920b807ee8b9e373e3b0e267c89cdc95d73b1dbe46863631 > (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): > Requested unknown from > https://files.pythonhosted.org/packages/10/2c/589fe3e9e045e0a9d86fc4e060d= e32d6df0fb9e1d48f2092c1f1abb26ffa/mysqlclient-2.2.3.tar.gz#sha256=3Dee51656= e36fc5a92920b807ee8b9e373e3b0e267c89cdc95d73b1dbe46863631 > has inconsistent name: filename has 'mysqlclient', but metadata has > 'unknown' > Using cached mysqlclient-2.2.2.tar.gz (90 kB) > Installing build dependencies ... done > Getting requirements to build wheel ... done > Installing backend dependencies ... done > Preparing metadata (pyproject.toml) ... done > WARNING: Generating metadata for package mysqlclient produced metadata fo= r > project name unknown. Fix your #egg=3Dmysqlclient fragments. > Discarding > https://files.pythonhosted.org/packages/6c/37/aeefb97b20c08774ac57a27b0a0= d19e9a2a9ec53c0802ee20920d98560f4/mysqlclient-2.2.2.tar.gz#sha256=3D6f57715= fb08c80ab80d34febe0aa8ef8810e52d527ad7da2da76e8ce25e2f2e9 > (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): > Requested unknown from > https://files.pythonhosted.org/packages/6c/37/aeefb97b20c08774ac57a27b0a0= d19e9a2a9ec53c0802ee20920d98560f4/mysqlclient-2.2.2.tar.gz#sha256=3D6f57715= fb08c80ab80d34febe0aa8ef8810e52d527ad7da2da76e8ce25e2f2e9 > has inconsistent name: filename has 'mysqlclient', but metadata has > 'unknown' > Using cached mysqlclient-2.2.1.tar.gz (89 kB) > Installing build dependencies ... done > Getting requirements to build wheel ... done > Installing backend dependencies ... done > Preparing metadata (pyproject.toml) ... done > WARNING: Generating metadata for package mysqlclient produced metadata fo= r > project name unknown. Fix your #egg=3Dmysqlclient fragments. > Discarding > https://files.pythonhosted.org/packages/37/fb/d9a8f763c84f1e789c027af0ffc= 7dbf94c9a38db961484f253f0552cbb47/mysqlclient-2.2.1.tar.gz#sha256=3D2c7ad15= b87293b12fd44b47c46879ec95ec647f4567e866ccd70b8337584e9b2 > (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): > Requested unknown from > https://files.pythonhosted.org/packages/37/fb/d9a8f763c84f1e789c027af0ffc= 7dbf94c9a38db961484f253f0552cbb47/mysqlclient-2.2.1.tar.gz#sha256=3D2c7ad15= b87293b12fd44b47c46879ec95ec647f4567e866ccd70b8337584e9b2 > has inconsistent name: filename has 'mysqlclient', but metadata has > 'unknown' > Using cached mysqlclient-2.2.0.tar.gz (89 kB) > Installing build dependencies ... done > Getting requirements to build wheel ... done > Installing backend dependencies ... done > Preparing metadata (pyproject.toml) ... done > WARNING: Generating metadata for package mysqlclient produced metadata fo= r > project name unknown. Fix your #egg=3Dmysqlclient fragments. > Discarding > https://files.pythonhosted.org/packages/de/9c/b176826e8994551ce826404dab9= 7e305a4bb76c8b0a4e016fabda2901c71/mysqlclient-2.2.0.tar.gz#sha256=3D0436844= 5f9c487d8abb7a878e3d23e923e6072c04a6c320f9e0dc8a82efba14e > (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): > Requested unknown from > https://files.pythonhosted.org/packages/de/9c/b176826e8994551ce826404dab9= 7e305a4bb76c8b0a4e016fabda2901c71/mysqlclient-2.2.0.tar.gz#sha256=3D0436844= 5f9c487d8abb7a878e3d23e923e6072c04a6c320f9e0dc8a82efba14e > has inconsistent name: filename has 'mysqlclient', but metadata has > 'unknown' > Using cached mysqlclient-2.1.1-cp310-cp310-linux_x86_64.whl > Installing collected packages: mysqlclient > Successfully installed mysqlclient-2.1.1 > toaster@elitebook:~/poky$ > toaster@elitebook:~/poky$ ./bitbake/lib/toaster/manage.py migrate > Operations to perform: > Apply all migrations: admin, auth, bldcontrol, contenttypes, orm, session= s >=20 > Running migrations: > Applying contenttypes.0001_initial... OK > Applying auth.0001_initial... OK > Applying admin.0001_initial... OK > Applying admin.0002_logentry_remove_auto_add... OK > Applying admin.0003_logentry_add_action_flag_choices... OK > Applying contenttypes.0002_remove_content_type_name... OK > Applying auth.0002_alter_permission_name_max_length... OK > Applying auth.0003_alter_user_email_max_length... OK > Applying auth.0004_alter_user_username_opts... OK > Applying auth.0005_alter_user_last_login_null... OK > Applying auth.0006_require_contenttypes_0002... OK > Applying auth.0007_alter_validators_add_error_messages... OK > Applying auth.0008_alter_user_username_max_length... OK > Applying auth.0009_alter_user_last_name_max_length... OK > Applying auth.0010_alter_group_name_max_length... OK > Applying auth.0011_update_proxy_permissions... OK > Applying auth.0012_alter_user_first_name_max_length... OK > Applying orm.0001_initial... OK > Applying bldcontrol.0001_initial... OK > Applying bldcontrol.0002_auto_20160120_1250... OK > Applying bldcontrol.0003_add_cancelling_state... OK > Applying bldcontrol.0004_auto_20160523_1446... OK > Applying bldcontrol.0005_reorder_buildrequest_states... OK > Applying bldcontrol.0006_brlayer_local_source_dir... OK > Applying bldcontrol.0007_brlayers_optional_gitinfo... OK > Applying bldcontrol.0008_models_bigautofield... OK > Applying orm.0002_customimagerecipe... OK > Applying orm.0003_customimagepackage... OK > Applying orm.0004_provides... OK > Applying orm.0005_task_field_separation... OK > Applying orm.0006_add_cancelled_state... OK > Applying orm.0007_auto_20160523_1446... OK > Applying orm.0008_refactor_artifact_models... OK > Applying orm.0009_target_package_manifest_path... OK > Applying orm.0010_delete_layer_source_references... OK > Applying orm.0011_delete_layersource... OK > Applying orm.0012_use_release_instead_of_up_branch...Converting all layer > version up_branches to releases > OK > Applying orm.0013_recipe_parse_progress_fields... OK > Applying orm.0014_allow_empty_buildname... OK > Applying orm.0015_layer_local_source_dir... OK > Applying orm.0016_clone_progress... OK > Applying orm.0017_distro_clone... OK > Applying orm.0018_project_specific... OK > Applying orm.0019_django_2_2... OK > Applying orm.0020_models_bigautofield...Traceback (most recent call last)= : >=20 > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= utils.py", > line 84, in _execute > return self.cursor.execute(sql, params) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= mysql/base.py", > line 73, in execute > return self.cursor.execute(query, args) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/MySQLdb/cursors.py"= , > line 206, in execute > res =3D self._query(query) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/MySQLdb/cursors.py"= , > line 319, in _query > db.query(q) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/MySQLdb/connections= .py", > line 254, in query > _mysql.connection.query(self, query) > MySQLdb.OperationalError: (3780, "Referencing column > 'customimagepackage_id' and referenced column 'package_ptr_id' in foreign > key constraint > 'orm_customimagepacka_customimagepackage_i_b48c5573_fk_orm_custo' are > incompatible.") > The above exception was the direct cause of the following exception: > Traceback (most recent call last): > File "/var/www/toaster/poky/./bitbake/lib/toaster/manage.py", line 16, in > <module> > execute_from_command_line(sys.argv) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/managem= ent/__init__.py", > line 419, in execute_from_command_line > utility.execute() > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/managem= ent/__init__.py", > line 413, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/managem= ent/base.py", > line 354, in run_from_argv > self.execute(*args, **cmd_options) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/managem= ent/base.py", > line 398, in execute > output =3D self.handle(*args, **options) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/managem= ent/base.py", > line 89, in wrapped > res =3D handle_func(*args, **kwargs) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/managem= ent/commands/migrate.py", > line 244, in handle > post_migrate_state =3D executor.migrate( > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/migration= s/executor.py", > line 117, in migrate > state =3D self._migrate_all_forwards(state, plan, full_plan, fake=3Dfake, > fake_initial=3Dfake_initial) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/migration= s/executor.py", > line 147, in _migrate_all_forwards > state =3D self.apply_migration(state, migration, fake=3Dfake, > fake_initial=3Dfake_initial) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/migration= s/executor.py", > line 227, in apply_migration > state =3D migration.apply(state, schema_editor) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/migration= s/migration.py", > line 126, in apply > operation.database_forwards(self.app_label, schema_editor, old_state, > project_state) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/migration= s/operations/fields.py", > line 244, in database_forwards > schema_editor.alter_field(from_model, from_field, to_field) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= base/schema.py", > line 608, in alter_field > self._alter_field(model, old_field, new_field, old_type, new_type, > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= base/schema.py", > line 830, in _alter_field > self.execute( > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= base/schema.py", > line 145, in execute > cursor.execute(sql, params) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= utils.py", > line 98, in execute > return super().execute(sql, params) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= utils.py", > line 66, in execute > return self._execute_with_wrappers(sql, params, many=3DFalse, > executor=3Dself._execute) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= utils.py", > line 75, in _execute_with_wrappers > return executor(sql, params, many, context) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= utils.py", > line 79, in _execute > with self.db.wrap_database_errors: > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/utils.py"= , > line 90, in __exit__ > raise dj_exc_value.with_traceback(traceback) from exc_value > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= utils.py", > line 84, in _execute > return self.cursor.execute(sql, params) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/django/db/backends/= mysql/base.py", > line 73, in execute > return self.cursor.execute(query, args) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/MySQLdb/cursors.py"= , > line 206, in execute > res =3D self._query(query) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/MySQLdb/cursors.py"= , > line 319, in _query > db.query(q) > File > "/var/www/toaster/.local/lib/python3.10/site-packages/MySQLdb/connections= .py", > line 254, in query > _mysql.connection.query(self, query) > django.db.utils.OperationalError: (3780, "Referencing column > 'customimagepackage_id' and referenced column 'package_ptr_id' in foreign > key constraint > 'orm_customimagepacka_customimagepackage_i_b48c5573_fk_orm_custo' are > incompatible.") >=20 >=20 I tried the same with scarthgap and that sets up without issues. The main i= dea is to run a production toaster server from poky (scarthgap or kirkstone= ideally) and then run command line builds from different poky versions and= collect them on the toaster web interface. Is that possible? the question = is mainly around mixing up different poky versions for main toaster server = and then command line builds. --ZwXkGz675PNDNT3MrZ25 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <div>Thanks for the pointers. So in essence we're trying to setup a product= ion server which as mentioned is working fine for gatesgarth based builds. = Now we need to move our builds forward and trying to use kirkstone/langdale= however this too is causing problems when we try to run the 'migrate' step= . Here are the full logs:</div> <blockquote> <div> <div>toaster@elitebook:~/poky$ pip3 install --user --force-reinstall -r ./b= itbake/toaster-requirements.txt<br />Collecting Django<3.3,>3.2<br />= Using cached Django-3.2.25-py3-none-any.whl (7.9 MB)<br />Collecting= beautifulsoup4>=3D4.4.0<br /> Using cached beautifulsoup4-4.12.3-= py3-none-any.whl (147 kB)<br />Collecting pytz<br /> Using cached pyt= z-2024.2-py2.py3-none-any.whl (508 kB)<br />Collecting sqlparse>=3D0.2.2= <br /> Using cached sqlparse-0.5.1-py3-none-any.whl (44 kB)<br />Coll= ecting asgiref<4,>=3D3.3.2<br /> Using cached asgiref-3.8.1-py3= -none-any.whl (23 kB)<br />Collecting soupsieve>1.2<br /> Using ca= ched soupsieve-2.6-py3-none-any.whl (36 kB)<br />Collecting typing-extensio= ns>=3D4<br /> Using cached typing_extensions-4.12.2-py3-none-any.w= hl (37 kB)<br />Installing collected packages: pytz, typing-extensions, sql= parse, soupsieve, beautifulsoup4, asgiref, Django<br /> WARNING: The = script sqlformat is installed in '/var/www/toaster/.local/bin' which is not= on PATH.<br /> Consider adding this directory to PATH or, if you pre= fer to suppress this warning, use --no-warn-script-location.<br /> WA= RNING: The script django-admin is installed in '/var/www/toaster/.local/bin= ' which is not on PATH.<br /> Consider adding this directory to PATH = or, if you prefer to suppress this warning, use --no-warn-script-location.<= br />Successfully installed Django-3.2.25 asgiref-3.8.1 beautifulsoup4-4.12= .3 pytz-2024.2 soupsieve-2.6 sqlparse-0.5.1 typing-extensions-4.12.2<br />t= oaster@elitebook:~/poky$ <br />toaster@elitebook:~/poky$ pip3 install = --user mysqlclient<br />Collecting mysqlclient<br /> Using cached mys= qlclient-2.2.5.tar.gz (90 kB)<br /> Installing build dependencies ...= done<br /> Getting requirements to build wheel ... done<br /> = Installing backend dependencies ... done<br /> Preparing metadata (py= project.toml) ... done<br /> WARNING: Generating metadata for package= mysqlclient produced metadata for project name unknown. Fix your #egg=3Dmy= sqlclient fragments.<br />Discarding https://files.pythonhosted.org/package= s/be/95/1af2ee813d4f0b607082c18bb82aa05c98a95a402a1d2d5808999317cb16/mysqlc= lient-2.2.5.tar.gz#sha256=3Dadd8643c32f738014d252d2bdebb478623b04802e8396d5= 903905db36474d3ff (from https://pypi.org/simple/mysqlclient/) (requires-pyt= hon:>=3D3.8): Requested unknown from https://files.pythonhosted.org/pack= ages/be/95/1af2ee813d4f0b607082c18bb82aa05c98a95a402a1d2d5808999317cb16/mys= qlclient-2.2.5.tar.gz#sha256=3Dadd8643c32f738014d252d2bdebb478623b04802e839= 6d5903905db36474d3ff has inconsistent name: filename has 'mysqlclient', but= metadata has 'unknown'<br /> Using cached mysqlclient-2.2.4.tar.gz (= 90 kB)<br /> Installing build dependencies ... done<br /> Getti= ng requirements to build wheel ... done<br /> Installing backend depe= ndencies ... done<br /> Preparing metadata (pyproject.toml) ... done<= br /> WARNING: Generating metadata for package mysqlclient produced m= etadata for project name unknown. Fix your #egg=3Dmysqlclient fragments.<br= />Discarding https://files.pythonhosted.org/packages/79/33/996dc0ba3f03e23= 99adc91a7de1f61cb14b57ebdb4cc6eca8a78723043cb/mysqlclient-2.2.4.tar.gz#sha2= 56=3D33bc9fb3464e7d7c10b1eaf7336c5ff8f2a3d3b88bab432116ad2490beb3bf41 (from= https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): Reques= ted unknown from https://files.pythonhosted.org/packages/79/33/996dc0ba3f03= e2399adc91a7de1f61cb14b57ebdb4cc6eca8a78723043cb/mysqlclient-2.2.4.tar.gz#s= ha256=3D33bc9fb3464e7d7c10b1eaf7336c5ff8f2a3d3b88bab432116ad2490beb3bf41 ha= s inconsistent name: filename has 'mysqlclient', but metadata has 'unknown'= <br /> Using cached mysqlclient-2.2.3.tar.gz (90 kB)<br /> Inst= alling build dependencies ... done<br /> Getting requirements to buil= d wheel ... done<br /> Installing backend dependencies ... done<br />= Preparing metadata (pyproject.toml) ... done<br /> WARNING: Ge= nerating metadata for package mysqlclient produced metadata for project nam= e unknown. Fix your #egg=3Dmysqlclient fragments.<br />Discarding https://f= iles.pythonhosted.org/packages/10/2c/589fe3e9e045e0a9d86fc4e060de32d6df0fb9= e1d48f2092c1f1abb26ffa/mysqlclient-2.2.3.tar.gz#sha256=3Dee51656e36fc5a9292= 0b807ee8b9e373e3b0e267c89cdc95d73b1dbe46863631 (from https://pypi.org/simpl= e/mysqlclient/) (requires-python:>=3D3.8): Requested unknown from https:= //files.pythonhosted.org/packages/10/2c/589fe3e9e045e0a9d86fc4e060de32d6df0= fb9e1d48f2092c1f1abb26ffa/mysqlclient-2.2.3.tar.gz#sha256=3Dee51656e36fc5a9= 2920b807ee8b9e373e3b0e267c89cdc95d73b1dbe46863631 has inconsistent name: fi= lename has 'mysqlclient', but metadata has 'unknown'<br /> Using cach= ed mysqlclient-2.2.2.tar.gz (90 kB)<br /> Installing build dependenci= es ... done<br /> Getting requirements to build wheel ... done<br />&= nbsp; Installing backend dependencies ... done<br /> Preparing metada= ta (pyproject.toml) ... done<br /> WARNING: Generating metadata for p= ackage mysqlclient produced metadata for project name unknown. Fix your #eg= g=3Dmysqlclient fragments.<br />Discarding https://files.pythonhosted.org/p= ackages/6c/37/aeefb97b20c08774ac57a27b0a0d19e9a2a9ec53c0802ee20920d98560f4/= mysqlclient-2.2.2.tar.gz#sha256=3D6f57715fb08c80ab80d34febe0aa8ef8810e52d52= 7ad7da2da76e8ce25e2f2e9 (from https://pypi.org/simple/mysqlclient/) (requir= es-python:>=3D3.8): Requested unknown from https://files.pythonhosted.or= g/packages/6c/37/aeefb97b20c08774ac57a27b0a0d19e9a2a9ec53c0802ee20920d98560= f4/mysqlclient-2.2.2.tar.gz#sha256=3D6f57715fb08c80ab80d34febe0aa8ef8810e52= d527ad7da2da76e8ce25e2f2e9 has inconsistent name: filename has 'mysqlclient= ', but metadata has 'unknown'<br /> Using cached mysqlclient-2.2.1.ta= r.gz (89 kB)<br /> Installing build dependencies ... done<br /> = Getting requirements to build wheel ... done<br /> Installing backen= d dependencies ... done<br /> Preparing metadata (pyproject.toml) ...= done<br /> WARNING: Generating metadata for package mysqlclient prod= uced metadata for project name unknown. Fix your #egg=3Dmysqlclient fragmen= ts.<br />Discarding https://files.pythonhosted.org/packages/37/fb/d9a8f763c= 84f1e789c027af0ffc7dbf94c9a38db961484f253f0552cbb47/mysqlclient-2.2.1.tar.g= z#sha256=3D2c7ad15b87293b12fd44b47c46879ec95ec647f4567e866ccd70b8337584e9b2= (from https://pypi.org/simple/mysqlclient/) (requires-python:>=3D3.8): = Requested unknown from https://files.pythonhosted.org/packages/37/fb/d9a8f7= 63c84f1e789c027af0ffc7dbf94c9a38db961484f253f0552cbb47/mysqlclient-2.2.1.ta= r.gz#sha256=3D2c7ad15b87293b12fd44b47c46879ec95ec647f4567e866ccd70b8337584e= 9b2 has inconsistent name: filename has 'mysqlclient', but metadata has 'un= known'<br /> Using cached mysqlclient-2.2.0.tar.gz (89 kB)<br /> = ; Installing build dependencies ... done<br /> Getting requirements t= o build wheel ... done<br /> Installing backend dependencies ... done= <br /> Preparing metadata (pyproject.toml) ... done<br /> WARNI= NG: Generating metadata for package mysqlclient produced metadata for proje= ct name unknown. Fix your #egg=3Dmysqlclient fragments.<br />Discarding htt= ps://files.pythonhosted.org/packages/de/9c/b176826e8994551ce826404dab97e305= a4bb76c8b0a4e016fabda2901c71/mysqlclient-2.2.0.tar.gz#sha256=3D04368445f9c4= 87d8abb7a878e3d23e923e6072c04a6c320f9e0dc8a82efba14e (from https://pypi.org= /simple/mysqlclient/) (requires-python:>=3D3.8): Requested unknown from = https://files.pythonhosted.org/packages/de/9c/b176826e8994551ce826404dab97e= 305a4bb76c8b0a4e016fabda2901c71/mysqlclient-2.2.0.tar.gz#sha256=3D04368445f= 9c487d8abb7a878e3d23e923e6072c04a6c320f9e0dc8a82efba14e has inconsistent na= me: filename has 'mysqlclient', but metadata has 'unknown'<br /> Usin= g cached mysqlclient-2.1.1-cp310-cp310-linux_x86_64.whl<br />Installing col= lected packages: mysqlclient<br />Successfully installed mysqlclient-2.1.1<= br />toaster@elitebook:~/poky$ <br />toaster@elitebook:~/poky$ ./bitba= ke/lib/toaster/manage.py migrate<br />Operations to perform:<br /> Ap= ply all migrations: admin, auth, bldcontrol, contenttypes, orm, sessions<br= />Running migrations:<br /> Applying contenttypes.0001_initial... OK= <br /> Applying auth.0001_initial... OK<br /> Applying admin.00= 01_initial... OK<br /> Applying admin.0002_logentry_remove_auto_add..= . OK<br /> Applying admin.0003_logentry_add_action_flag_choices... OK= <br /> Applying contenttypes.0002_remove_content_type_name... OK<br /= > Applying auth.0002_alter_permission_name_max_length... OK<br />&nbs= p; Applying auth.0003_alter_user_email_max_length... OK<br /> Applyin= g auth.0004_alter_user_username_opts... OK<br /> Applying auth.0005_a= lter_user_last_login_null... OK<br /> Applying auth.0006_require_cont= enttypes_0002... OK<br /> Applying auth.0007_alter_validators_add_err= or_messages... OK<br /> Applying auth.0008_alter_user_username_max_le= ngth... OK<br /> Applying auth.0009_alter_user_last_name_max_length..= . OK<br /> Applying auth.0010_alter_group_name_max_length... OK<br />= Applying auth.0011_update_proxy_permissions... OK<br /> Applyi= ng auth.0012_alter_user_first_name_max_length... OK<br /> Applying or= m.0001_initial... OK<br /> Applying bldcontrol.0001_initial... OK<br = /> Applying bldcontrol.0002_auto_20160120_1250... OK<br /> Appl= ying bldcontrol.0003_add_cancelling_state... OK<br /> Applying bldcon= trol.0004_auto_20160523_1446... OK<br /> Applying bldcontrol.0005_reo= rder_buildrequest_states... OK<br /> Applying bldcontrol.0006_brlayer= _local_source_dir... OK<br /> Applying bldcontrol.0007_brlayers_optio= nal_gitinfo... OK<br /> Applying bldcontrol.0008_models_bigautofield.= .. OK<br /> Applying orm.0002_customimagerecipe... OK<br /> App= lying orm.0003_customimagepackage... OK<br /> Applying orm.0004_provi= des... OK<br /> Applying orm.0005_task_field_separation... OK<br />&n= bsp; Applying orm.0006_add_cancelled_state... OK<br /> Applying orm.0= 007_auto_20160523_1446... OK<br /> Applying orm.0008_refactor_artifac= t_models... OK<br /> Applying orm.0009_target_package_manifest_path..= . OK<br /> Applying orm.0010_delete_layer_source_references... OK<br = /> Applying orm.0011_delete_layersource... OK<br /> Applying or= m.0012_use_release_instead_of_up_branch...Converting all layer version up_b= ranches to releases<br /> OK<br /> Applying orm.0013_recipe_pars= e_progress_fields... OK<br /> Applying orm.0014_allow_empty_buildname= ... OK<br /> Applying orm.0015_layer_local_source_dir... OK<br />&nbs= p; Applying orm.0016_clone_progress... OK<br /> Applying orm.0017_dis= tro_clone... OK<br /> Applying orm.0018_project_specific... OK<br />&= nbsp; Applying orm.0019_django_2_2... OK<br /> Applying orm.0020_mode= ls_bigautofield...Traceback (most recent call last):<br /> File "/var= /www/toaster/.local/lib/python3.10/site-packages/django/db/backends/utils.p= y", line 84, in _execute<br /> return self.cursor.execute(sql,= params)<br /> File "/var/www/toaster/.local/lib/python3.10/site-pack= ages/django/db/backends/mysql/base.py", line 73, in execute<br /> &nb= sp; return self.cursor.execute(query, args)<br /> File "/var/www/toas= ter/.local/lib/python3.10/site-packages/MySQLdb/cursors.py", line 206, in e= xecute<br /> res =3D self._query(query)<br /> File "/var= /www/toaster/.local/lib/python3.10/site-packages/MySQLdb/cursors.py", line = 319, in _query<br /> db.query(q)<br /> File "/var/www/to= aster/.local/lib/python3.10/site-packages/MySQLdb/connections.py", line 254= , in query<br /> _mysql.connection.query(self, query)<br />MyS= QLdb.OperationalError: (3780, "Referencing column 'customimagepackage_id' a= nd referenced column 'package_ptr_id' in foreign key constraint 'orm_custom= imagepacka_customimagepackage_i_b48c5573_fk_orm_custo' are incompatible.")<= /div> <div>The above exception was the direct cause of the following exception:</= div> <div>Traceback (most recent call last):<br /> File "/var/www/toaster/= poky/./bitbake/lib/toaster/manage.py", line 16, in <module><br />&nbs= p; execute_from_command_line(sys.argv)<br /> File "/var/www/to= aster/.local/lib/python3.10/site-packages/django/core/management/__init__.p= y", line 419, in execute_from_command_line<br /> utility.execu= te()<br /> File "/var/www/toaster/.local/lib/python3.10/site-packages= /django/core/management/__init__.py", line 413, in execute<br /> &nbs= p; self.fetch_command(subcommand).run_from_argv(self.argv)<br /> File= "/var/www/toaster/.local/lib/python3.10/site-packages/django/core/manageme= nt/base.py", line 354, in run_from_argv<br /> self.execute(*ar= gs, **cmd_options)<br /> File "/var/www/toaster/.local/lib/python3.10= /site-packages/django/core/management/base.py", line 398, in execute<br />&= nbsp; output =3D self.handle(*args, **options)<br /> File "/va= r/www/toaster/.local/lib/python3.10/site-packages/django/core/management/ba= se.py", line 89, in wrapped<br /> res =3D handle_func(*args, *= *kwargs)<br /> File "/var/www/toaster/.local/lib/python3.10/site-pack= ages/django/core/management/commands/migrate.py", line 244, in handle<br />= post_migrate_state =3D executor.migrate(<br /> File "/v= ar/www/toaster/.local/lib/python3.10/site-packages/django/db/migrations/exe= cutor.py", line 117, in migrate<br /> state =3D self._migrate_= all_forwards(state, plan, full_plan, fake=3Dfake, fake_initial=3Dfake_initi= al)<br /> File "/var/www/toaster/.local/lib/python3.10/site-packages/= django/db/migrations/executor.py", line 147, in _migrate_all_forwards<br />= state =3D self.apply_migration(state, migration, fake=3Dfake,= fake_initial=3Dfake_initial)<br /> File "/var/www/toaster/.local/lib= /python3.10/site-packages/django/db/migrations/executor.py", line 227, in a= pply_migration<br /> state =3D migration.apply(state, schema_e= ditor)<br /> File "/var/www/toaster/.local/lib/python3.10/site-packag= es/django/db/migrations/migration.py", line 126, in apply<br />  = ; operation.database_forwards(self.app_label, schema_editor, old_state, pro= ject_state)<br /> File "/var/www/toaster/.local/lib/python3.10/site-p= ackages/django/db/migrations/operations/fields.py", line 244, in database_f= orwards<br /> schema_editor.alter_field(from_model, from_field= , to_field)<br /> File "/var/www/toaster/.local/lib/python3.10/site-p= ackages/django/db/backends/base/schema.py", line 608, in alter_field<br />&= nbsp; self._alter_field(model, old_field, new_field, old_type, new_t= ype,<br /> File "/var/www/toaster/.local/lib/python3.10/site-packages= /django/db/backends/base/schema.py", line 830, in _alter_field<br /> = self.execute(<br /> File "/var/www/toaster/.local/lib/python3.= 10/site-packages/django/db/backends/base/schema.py", line 145, in execute<b= r /> cursor.execute(sql, params)<br /> File "/var/www/to= aster/.local/lib/python3.10/site-packages/django/db/backends/utils.py", lin= e 98, in execute<br /> return super().execute(sql, params)<br = /> File "/var/www/toaster/.local/lib/python3.10/site-packages/django/= db/backends/utils.py", line 66, in execute<br /> return self._= execute_with_wrappers(sql, params, many=3DFalse, executor=3Dself._execute)<= br /> File "/var/www/toaster/.local/lib/python3.10/site-packages/djan= go/db/backends/utils.py", line 75, in _execute_with_wrappers<br /> &n= bsp; return executor(sql, params, many, context)<br /> File "/var/www= /toaster/.local/lib/python3.10/site-packages/django/db/backends/utils.py", = line 79, in _execute<br /> with self.db.wrap_database_errors:<= br /> File "/var/www/toaster/.local/lib/python3.10/site-packages/djan= go/db/utils.py", line 90, in __exit__<br /> raise dj_exc_value= .with_traceback(traceback) from exc_value<br /> File "/var/www/toaste= r/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 84= , in _execute<br /> return self.cursor.execute(sql, params)<br= /> File "/var/www/toaster/.local/lib/python3.10/site-packages/django= /db/backends/mysql/base.py", line 73, in execute<br /> return = self.cursor.execute(query, args)<br /> File "/var/www/toaster/.local/= lib/python3.10/site-packages/MySQLdb/cursors.py", line 206, in execute<br /= > res =3D self._query(query)<br /> File "/var/www/toaste= r/.local/lib/python3.10/site-packages/MySQLdb/cursors.py", line 319, in _qu= ery<br /> db.query(q)<br /> File "/var/www/toaster/.loca= l/lib/python3.10/site-packages/MySQLdb/connections.py", line 254, in query<= br /> _mysql.connection.query(self, query)<br />django.db.util= s.OperationalError: (3780, "Referencing column 'customimagepackage_id' and = referenced column 'package_ptr_id' in foreign key constraint 'orm_customima= gepacka_customimagepackage_i_b48c5573_fk_orm_custo' are incompatible.")</di= v> <div> </div> </div> </blockquote> <div> </div> <div>I tried the same with scarthgap and that sets up without issues. The m= ain idea is to run a production toaster server from poky (scarthgap or kirk= stone ideally) and then run command line builds from different poky version= s and collect them on the toaster web interface. Is that possible? the ques= tion is mainly around mixing up different poky versions for main toaster se= rver and then command line builds.</div> --ZwXkGz675PNDNT3MrZ25--