Re: [Django] #22243: migrate raises IndexError when getting parent from self.graph

2014-03-20 Thread Django
#22243: migrate raises IndexError when getting parent from self.graph
---+--
 Reporter:  mszamot@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Migrations |  Version:  master
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => invalid


Old description:

> After deleting south migrations (I move from Django 1.6) and using
> ./manage.py makemigrations the ./manage.py migrate raises an error.  Here
> is the full traceback:
>
> Traceback (most recent call last):
>   File "./manage.py", line 7, in 
> execute_from_command_line(sys.argv)
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/core/management/__init__.py",
> line 427, in execute_from_command_line
> utility.execute()
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/core/management/__init__.py",
> line 419, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py",
> line 288, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py",
> line 337, in execute
> output = self.handle(*args, **options)
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/core/management/commands/migrate.py",
> line 62, in handle
> executor = MigrationExecutor(connection,
> self.migration_progress_callback)
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/executor.py",
> line 14, in __init__
> self.loader = MigrationLoader(self.connection)
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py",
> line 48, in __init__
> self.build_graph()
>   File
> "/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py",
> line 229, in build_graph
> parent = list(self.graph.root_nodes(parent[0]))[0]
> IndexError: list index out of range

New description:

 After deleting south migrations (I move from Django 1.6) and using
 ./manage.py makemigrations the ./manage.py migrate raises an error.  Here
 is the full traceback:

 {{{
 Traceback (most recent call last):
   File "./manage.py", line 7, in 
 execute_from_command_line(sys.argv)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/__init__.py",
 line 427, in execute_from_command_line
 utility.execute()
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/__init__.py",
 line 419, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py",
 line 288, in run_from_argv
 self.execute(*args, **options.__dict__)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py",
 line 337, in execute
 output = self.handle(*args, **options)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/commands/migrate.py",
 line 62, in handle
 executor = MigrationExecutor(connection,
 self.migration_progress_callback)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/executor.py",
 line 14, in __init__
 self.loader = MigrationLoader(self.connection)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py",
 line 48, in __init__
 self.build_graph()
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py",
 line 229, in build_graph
 parent = list(self.graph.root_nodes(parent[0]))[0]
 IndexError: list index out of range
 }}}

--

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.3c62f1a79a2a9adb5738af58ef2c9241%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22243: migrate raises IndexError when getting parent from self.graph

2014-03-16 Thread Django
#22243: migrate raises IndexError when getting parent from self.graph
---+--
 Reporter:  mszamot@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Migrations |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Marcin Szamotulski ):

 Yes I did removed pyc files as well, and I used ./manage.py
 makemigrations; ./manage.py migrate;  I found out that the problem was
 laying in migrations of an external app I am using (taggit).  I think this
 ticket can be closed.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.089494663d9acdff00c5bfbcd5d93666%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22243: migrate raises IndexError when getting parent from self.graph

2014-03-11 Thread Django
#22243: migrate raises IndexError when getting parent from self.graph
---+--
 Reporter:  mszamot@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Migrations |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by andrewgodwin):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Have you make sure all the files in the migrations directory are gone,
 even the .pyc files? Can you give me an example of the commands you ran as
 a console session with output included?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.58294b8f113bf7640e1114e89ee01099%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #22243: migrate raises IndexError when getting parent from self.graph

2014-03-10 Thread Django
#22243: migrate raises IndexError when getting parent from self.graph
---+
 Reporter:  mszamot@…  |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Migrations |Version:  master
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 After deleting south migrations (I move from Django 1.6) and using
 ./manage.py makemigrations the ./manage.py migrate raises an error.  Here
 is the full traceback:

 Traceback (most recent call last):
   File "./manage.py", line 7, in 
 execute_from_command_line(sys.argv)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/__init__.py",
 line 427, in execute_from_command_line
 utility.execute()
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/__init__.py",
 line 419, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py",
 line 288, in run_from_argv
 self.execute(*args, **options.__dict__)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py",
 line 337, in execute
 output = self.handle(*args, **options)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/core/management/commands/migrate.py",
 line 62, in handle
 executor = MigrationExecutor(connection,
 self.migration_progress_callback)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/executor.py",
 line 14, in __init__
 self.loader = MigrationLoader(self.connection)
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py",
 line 48, in __init__
 self.build_graph()
   File
 
"/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py",
 line 229, in build_graph
 parent = list(self.graph.root_nodes(parent[0]))[0]
 IndexError: list index out of range

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/060.42fd312c26134b14cece4888dc6898e9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.