[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Wednesday 31 May 2017 03:00 AM, Brian May wrote: > Raphael Hertzogwrites: > >> Is that actually true? linaro_django_xmlrpc seems to be listed in >> INSTALLED_APPS, no? >> >> Do you have any idea why it would give this error? > > I note that linaro_django_xmlrpc is towards the end of > INSTALLED_APPS. Maybe it did not get loaded? Just to ensure, I changed the order as follows and tried, which didn't help. INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.staticfiles', 'django.contrib.admin', 'linaro_django_xmlrpc', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', # Add LAVA applications 'dashboard_app', 'lava_results_app', 'lava_scheduler_daemon', 'lava_scheduler_app', # Needed applications 'django_tables2', 'google_analytics', ] Traceback available here - http://paste.debian.net/954509/ Thank You. -- Senthil Kumaran S http://www.stylesen.org/ http://www.sasenthilkumaran.com/ signature.asc Description: OpenPGP digital signature ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#816435: TestStartProjectSettings fails on DebCI
Hi, > TestStartProjectSettings fails on DebCI I've sent a patch upstream: https://code.djangoproject.com/ticket/26755#comment:2 Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
Raphael Hertzogwrites: > Is that actually true? linaro_django_xmlrpc seems to be listed in > INSTALLED_APPS, no? > > Do you have any idea why it would give this error? I note that linaro_django_xmlrpc is towards the end of INSTALLED_APPS. Maybe it did not get loaded? Maybe it stopped loading apps the moment it detects a bad dependancy? After looking at the code, this doesn't exactly make sense, but maybe something here might help regardless. -- Brian May ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Quails / Wachteln / Cailles
[ View in browser ]( http://r.newsletter.bonescamail.nl/prp2xfmmoatrf.html ) [ ]( http://r.newsletter.bonescamail.nl/click/2v2sbpqi5aoatrd.html ) Just arrived from Italy to our Warehouse: Cleaned Quails XL 6 x (4 x 170-180 gr) on sealed tray. (8240) 1 box € 3,25 per tray 10 box € 2,95 per tray palet (126 boxes) € 2,75 per tray This email was sent to python-modules-team@lists.alioth.debian.org You received this email because you are registered with Bonesca Import en Export BV [ Unsubscribe here ]( http://r.newsletter.bonescamail.nl/prp2xfmmoatrg.html ) Sent by [ ]( http://r.newsletter.bonescamail.nl/click/2v2sbpqixqoatrd.html ) © 2017 Bonesca Import en Export BV ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Tuesday 30 May 2017 08:39 PM, Raphael Hertzog wrote: > On Tue, 30 May 2017, Senthil Kumaran S wrote: >> I tested the new version ie., test2 and got a traceback as shown here - >> File "/usr/lib/python2.7/dist-packages/django/db/migrations/state.py", >> line 249, in __init__ >> raise ValueError("\n".join(error.msg for error in errors)) >> ValueError: The field lava_scheduler_app.TestJob.submit_token was >> declared with a lazy reference to 'linaro_django_xmlrpc.authtoken', but >> app 'linaro_django_xmlrpc' isn't installed. > > Is that actually true? linaro_django_xmlrpc seems to be listed in > INSTALLED_APPS, no? Yes it is listed in INSTALLED_APPS. From the code: INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.humanize', 'django.contrib.staticfiles', 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', # Add LAVA applications 'lava_server', 'dashboard_app', 'lava_results_app', 'lava_scheduler_daemon', 'lava_scheduler_app', # Needed applications 'django_tables2', 'linaro_django_xmlrpc', 'google_analytics', ] > Do you have any idea why it would give this error? Since I am not very proficient with django core / migration code, I do not know the exact reason. But following is what I understand. linaro_django_xmlrpc is listed as a dependency in lava_scheduler_app's initial migration. But it is not honored by the dependency graph that is generated, where lava_scheduler_app will already be marked as migrated. linaro_django_xmlrpc should be faked during this migration which we are unable to do due to the check introduced in 1.10. To give more background. The migration for linaro_django_xmlrpc was introduced in November 2015 - https://git.linaro.org/lava/lava-server.git/commit/?id=02a7c3508c01b89c7efb5d59e79b6880a229ff14 linaro_django_xmlrpc will already be available in the database, but it was not recorded in the migrations table which should be faked now, since this migration was introduced after creating the necessary tables in the database. > Your patch is a work-around and it works without my patch, so it's > expected that it would also work with mine... but I would like a Django > fix that would not require any further change in lava. I agree. Thank You. -- Senthil Kumaran http://www.stylesen.org/ http://www.sasenthilkumaran.com/ signature.asc Description: OpenPGP digital signature ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
Hi, On Tue, 30 May 2017, Senthil Kumaran S wrote: > I tested the new version ie., test2 and got a traceback as shown here - > File "/usr/lib/python2.7/dist-packages/django/db/migrations/state.py", > line 249, in __init__ > raise ValueError("\n".join(error.msg for error in errors)) > ValueError: The field lava_scheduler_app.TestJob.submit_token was > declared with a lazy reference to 'linaro_django_xmlrpc.authtoken', but > app 'linaro_django_xmlrpc' isn't installed. Is that actually true? linaro_django_xmlrpc seems to be listed in INSTALLED_APPS, no? Do you have any idea why it would give this error? > When combined with the attached patch for lava-server the migration > works fine as seen here - http://paste.debian.net/952953/ Your patch is a work-around and it works without my patch, so it's expected that it would also work with mine... but I would like a Django fix that would not require any further change in lava. Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/ ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Processed: Bug#831838 marked as pending
Processing commands for cont...@bugs.debian.org: > tag 831838 pending Bug #831838 [python3-django] python3-django: Missing docs Added tag(s) pending. > thanks Stopping processing here. Please contact me if you need assistance. -- 831838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831838 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Processed: reassign 852512 to src:python-django, forcibly merging 852512 803014
Processing commands for cont...@bugs.debian.org: > reassign 852512 src:python-django 1.8.5-1 Bug #852512 [python-django] python-django: Please avoid accessing the internet for intersphinx mapping Bug reassigned from package 'python-django' to 'src:python-django'. No longer marked as found in versions python-django/1:1.10.5-1. Ignoring request to alter fixed versions of bug #852512 to the same values previously set Bug #852512 [src:python-django] python-django: Please avoid accessing the internet for intersphinx mapping Marked as found in versions python-django/1.8.5-1. > forcemerge 852512 803014 Bug #852512 [src:python-django] python-django: Please avoid accessing the internet for intersphinx mapping Bug #803014 [src:python-django] python-django: loads network resources during build Severity set to 'wishlist' from 'normal' 803014 was not blocked by any bugs. 803014 was not blocking any bugs. Added blocking bug(s) of 803014: 855492 Merged 803014 852512 > thanks Stopping processing here. Please contact me if you need assistance. -- 803014: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803014 852512: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852512 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Processed: Bug#863514 marked as pending
Processing commands for cont...@bugs.debian.org: > tag 863514 pending Bug #863514 [python-django] python-django: Please document rules for updating Django Added tag(s) pending. > thanks Stopping processing here. Please contact me if you need assistance. -- 863514: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863514 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Tuesday 30 May 2017 06:09 PM, Senthil Kumaran S wrote: > I tested the new version ie., test2 and got a traceback as shown here - > http://paste.debian.net/952939/ When combined with the attached patch for lava-server the migration works fine as seen here - http://paste.debian.net/952953/ Thank You. -- Senthil Kumaran http://www.stylesen.org/ http://www.sasenthilkumaran.com/ From dda5f10642678d769ca300325feae771b30baceb Mon Sep 17 00:00:00 2001 From: Senthil Kumaran SDate: Mon, 29 May 2017 17:39:39 +0530 Subject: [PATCH] Fix migrations from Debian Jessie to Stretch and ensure smooth upgrade. Django 1.10.1 introduces consistency checks which introduces dependency problem with the order in which lava_scheduler_app and linaro_django_xmlrpc initial migrations gets applied. Related bugs: * Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863267 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847277 * Django: https://code.djangoproject.com/ticket/28250 Change-Id: I4ea7632d9e98d6fd5e01aca65c37410ce7dd628a --- diff --git a/lava_scheduler_app/migrations/0001_initial.py b/lava_scheduler_app/migrations/0001_initial.py index e321682..eda8572 100644 --- a/lava_scheduler_app/migrations/0001_initial.py +++ b/lava_scheduler_app/migrations/0001_initial.py @@ -1,12 +1,26 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -from django.db import models, migrations +from django.db import models, migrations, DEFAULT_DB_ALIAS, connections +from django.db.migrations.recorder import MigrationRecorder import django.db.models.deletion from django.conf import settings import lava_scheduler_app.models +connection = connections[DEFAULT_DB_ALIAS] +recorder = MigrationRecorder(connection) +linaro_django_xmlrpc_applied = False +lava_scheduler_app_applied = False +for app, name in recorder.applied_migrations(): +if app == 'linaro_django_xmlrpc' and name == '0001_initial': +linaro_django_xmlrpc_applied = True +if app == 'lava_scheduler_app' and name == '0001_initial': +lava_scheduler_app_applied = True +if not linaro_django_xmlrpc_applied and lava_scheduler_app_applied: +recorder.record_applied('linaro_django_xmlrpc', '0001_initial') + + class Migration(migrations.Migration): dependencies = [ signature.asc Description: OpenPGP digital signature ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Tuesday 30 May 2017 05:15 PM, Raphael Hertzog wrote: > Thanks, can you try again with another test version ? > $ dget > https://people.debian.org/~hertzog/packages/python-django_1.10.7-2~test2_amd64.changes > (test2 now, no longer test1) I tested the new version ie., test2 and got a traceback as shown here - http://paste.debian.net/952939/ >> AttributeError: 'Node' object has no attribute 'initial' > > Upstream helped me to hopefully fix this error. Yes it gets past the above. Traceback observed: Traceback (most recent call last): File "/usr/bin/lava-server", line 78, in main() File "/usr/bin/lava-server", line 74, in main execute_from_command_line(django_options) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 294, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 345, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 165, in handle pre_migrate_apps = pre_migrate_state.apps File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/usr/lib/python2.7/dist-packages/django/db/migrations/state.py", line 176, in apps return StateApps(self.real_apps, self.models) File "/usr/lib/python2.7/dist-packages/django/db/migrations/state.py", line 249, in __init__ raise ValueError("\n".join(error.msg for error in errors)) ValueError: The field lava_scheduler_app.TestJob.submit_token was declared with a lazy reference to 'linaro_django_xmlrpc.authtoken', but app 'linaro_django_xmlrpc' isn't installed. Thank You. -- Senthil Kumaran http://www.stylesen.org/ http://www.sasenthilkumaran.com/ signature.asc Description: OpenPGP digital signature ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#857884: marked as done (python-jsonpointer: this is a duplicate of python-json-pointer)
Your message dated Tue, 30 May 2017 11:53:00 + with message-idand subject line Bug#863691: Removed package(s) from unstable has caused the Debian Bug report #857884, regarding python-jsonpointer: this is a duplicate of python-json-pointer to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 857884: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857884 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Source: python-jsonpointer Version: 1.10-1 Severity: serious installing python-json-pointer together with python-jsonpointer clashes installing python3-json-pointer together with python3-jsonpointer clashes Probably the new package should be removed again. Andreas --- End Message --- --- Begin Message --- Version: 1.10-1+rm Dear submitter, as the package python-jsonpointer has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/863691 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)--- End Message --- ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863691: Removed package(s) from unstable
We believe that the bug you reported is now fixed; the following package(s) have been removed from unstable: jsonpointer-bin | 1.10-1 | all python-jsonpointer | 1.10-1 | source, all python3-jsonpointer | 1.10-1 | all --- Reason --- ROM; Duplicate of python-json-pointer -- Note that the package(s) have simply been removed from the tag database and may (or may not) still be in the pool; this is not a bug. The package(s) will be physically removed automatically when no suite references them (and in the case of source, when no binary references it). Please also remember that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. Packages are usually not removed from testing by hand. Testing tracks unstable and will automatically remove packages which were removed from unstable when removing them from testing causes no dependency problems. The release team can force a removal from testing if it is really needed, please contact them if this should be the case. We try to close bugs which have been reported against this package automatically. But please check all old bugs, if they were closed correctly or should have been re-assigned to another package. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 863...@bugs.debian.org. The full log for this bug can be viewed at https://bugs.debian.org/863691 This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain) ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863691: Removed package(s) from unstable
Version: 1.10-1+rm Dear submitter, as the package python-jsonpointer has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/863691 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain) ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Tue, 30 May 2017, Senthil Kumaran S wrote: > I tested the patch with lava-server, which ended up with a traceback as > seen here - http://paste.debian.net/952276/ Thanks, can you try again with another test version ? $ dget https://people.debian.org/~hertzog/packages/python-django_1.10.7-2~test2_amd64.changes (test2 now, no longer test1) > AttributeError: 'Node' object has no attribute 'initial' Upstream helped me to hopefully fix this error. Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/ ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Получить финансовую поддержку
Авторский способ заработка в интернете! от 180 у.е. за день! Показываю как заработать в интернете - это быстро и очень просто! Подробнее на сайте>>> http://aquatek.com.ua/mc8m3.html отписаться от почты List-Unsubscribe ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] humanfriendly_3.2-1_amd64.changes is NEW
binary:humanfriendly is NEW. binary:python-humanfriendly is NEW. binary:python3-humanfriendly is NEW. binary:python3-humanfriendly is NEW. binary:python-humanfriendly is NEW. binary:humanfriendly is NEW. source:humanfriendly is NEW. Your package has been put into the NEW queue, which requires manual action from the ftpteam to process. The upload was otherwise valid (it had a good OpenPGP signature and file hashes are valid), so please be patient. Packages are routinely processed through to the archive, and do feel free to browse the NEW queue[1]. If there is an issue with the upload, you will receive an email from a member of the ftpteam. If you have any questions, you may reply to this email. [1]: https://ftp-master.debian.org/new.html or https://ftp-master.debian.org/backports-new.html for *-backports ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Processing of humanfriendly_3.2-1_amd64.changes
humanfriendly_3.2-1_amd64.changes uploaded successfully to localhost along with the files: humanfriendly_3.2-1.dsc humanfriendly_3.2.orig.tar.gz humanfriendly_3.2-1.debian.tar.xz humanfriendly_3.2-1_all.deb humanfriendly_3.2-1_amd64.buildinfo python-humanfriendly_3.2-1_all.deb python3-humanfriendly_3.2-1_all.deb Greetings, Your Debian queue daemon (running on host usper.debian.org) ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
Re: [Python-modules-team] Small Guide Managing Network Interfaces with Ethtool on Linux
Hi there, I was recently searching for resources related to small business and scheduling software when I came across your site, , and it proved to be a tremendous resource for what I was looking for. Particularly, this post, Small Guide Managing Network Interfaces with Ethtool on Linux! My name is Sarah Brown from Booking Live, an online booking software for business owners to help manage their schedules and appointments. I was wondering if accepts guest contributions? In the past, I have covered topics such as managing your staff's calendar, software for small businesses, benefits of an online booking software, and more! I'm currently working on a post that I think would be a great fit for and your audience! Please let me know if you're interested. I'd love to discuss with you further! Cheers, Sarah Brown Marketing Manager Bookinglive.com ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Suivi Votre Colis -chronopost
To proceed to confirm your account information please follow the instructions that will be required:___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#857884: python-jsonpointer: this is a duplicate of python-json-pointer
Package: src:python-jsonpointer Followup-For: Bug #857884 Thanks, I have filed a RM bug against ftp.debian.org [0]. Christopher Hoskin [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863691 ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Monday 29 May 2017 08:54 PM, Raphael Hertzog wrote: > On Mon, 29 May 2017, Raphael Hertzog wrote: >> Updated patches attached, I missed to update some tests to account >> for the move of the detect_soft_applied() method. > > Third set of patches, this time the package builds fine at least. > Which means you can just test this package and let me know if it fixes > your issue: > $ dget > https://people.debian.org/~hertzog/packages/python-django_1.10.7-2~test1_amd64.changes I tested the patch with lava-server, which ended up with a traceback as seen here - http://paste.debian.net/952276/ The traceback message is as follows: Traceback (most recent call last): File "/usr/bin/lava-server", line 78, in main() File "/usr/bin/lava-server", line 74, in main execute_from_command_line(django_options) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 294, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 345, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 87, in handle connection, fake_initial=options['fake_initial']) File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 291, in check_consistent_history if fake_initial and self.detect_soft_applied(None, parent): File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 343, in detect_soft_applied if migration.initial is None: AttributeError: 'Node' object has no attribute 'initial' Thank You. -- Senthil Kumaran http://www.stylesen.org/ http://www.sasenthilkumaran.com/ signature.asc Description: OpenPGP digital signature ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#863267: Bug#863267: Miscalculates MigrationHistory dependencies between multiple django apps - regression from 1.8
On Monday 29 May 2017 08:54 PM, Raphael Hertzog wrote: > On Mon, 29 May 2017, Raphael Hertzog wrote: >> Updated patches attached, I missed to update some tests to account >> for the move of the detect_soft_applied() method. > > Third set of patches, this time the package builds fine at least. > Which means you can just test this package and let me know if it fixes > your issue: > $ dget > https://people.debian.org/~hertzog/packages/python-django_1.10.7-2~test1_amd64.changes I will test this with lava-server and let you know the results. Thank You. -- Senthil Kumaran http://www.stylesen.org/ http://www.sasenthilkumaran.com/ signature.asc Description: OpenPGP digital signature ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team