Re: DJANGO Migrations from older version : South db

2018-05-02 Thread Ankush Sharma
I tried it and getting this error

INFO 2018-05-02 15:15:22,713 CATMAID was unable to load the h5py library,
which is an optional dependency. HDF5 tiles are therefore disabled. To
enable, install h5py.
WARNING 2018-05-02 15:15:22,982 NeuroML module could not be loaded.
Traceback (most recent call last):
  File "manage.py", line 11, in 
execute_from_command_line(sys.argv)
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/core/management/__init__.py",
line 364, in execute_from_command_line
utility.execute()
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/core/management/__init__.py",
line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/core/management/base.py",
line 283, in run_from_argv
self.execute(*args, **cmd_options)
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/core/management/base.py",
line 330, in execute
output = self.handle(*args, **options)
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/core/management/commands/makemigrations.py",
line 96, in handle
loader = MigrationLoader(None, ignore_no_migrations=True)
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/db/migrations/loader.py",
line 52, in __init__
self.build_graph()
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/db/migrations/loader.py",
line 203, in build_graph
self.load_disk()
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/site-packages/django/db/migrations/loader.py",
line 114, in load_disk
migration_module = import_module("%s.%s" % (module_name,
migration_name))
  File
"/home/ankush/.virtualenvs/catmaid/lib/python3.5/importlib/__init__.py",
line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 986, in _gcd_import
  File "", line 969, in _find_and_load
  File "", line 958, in _find_and_load_unlocked
  File "", line 673, in _load_unlocked
  File "", line 665, in exec_module
  File "", line 222, in
_call_with_frames_removed
  File
"/home/ankush/catmaid/django/applications/catmaid/migrations/0004_auto__add_tool_display_to_user_profiles.py",
line 3, in 
from south.db import db
ImportError: No module named 'south'

Best regards
​Ankush ​


On Wed, May 2, 2018 at 11:48 AM Gerald Brown  wrote:

> If you have the original models.py files just run "python manage.py
> makemigrations" and then "python manage.py migrate".
>
> On Wednesday, 02 May, 2018 05:11 PM, Ank wrote:
>
> Dear All,
>
> I would like to do some migrations that are compatible with older django
> version using southdb to the newer version. How can these files be
> updated.iḿ attaching one of the file that is needed to be migrated.
>
> Any help will be appreciated
>
>  Best
> Ank
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/043a69c6-4ea9-48b8-9b42-b088e02ddd37%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b35c7fd6-6af9-fe90-fdad-f2220f968363%40gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: ARGPARSE ERROR

2018-04-12 Thread Ankush Sharma
Hi Babatunde ,
I installed other listed tools ! Here the main concern im talking about is
Argsparse -
the Progressbar2 3.6.2 requires argparse, which is not installed.
Thanks in advance
Ank





On Thu, 12 Apr 2018 at 20:53, Babatunde Akinyanmi 
wrote:

> This is not a django problem. Simply install and upgrade the apps
> specified in the error message
>
> On Thu, 12 Apr 2018, 16:03 Ank,  wrote:
>
>> Hi all,
>>
>> Iḿ trying to setup Catmaid - http://catmaid.readthedocs.io/en/stable/.
>> Iḿ receiving this error when installing requirements.
>>
>> Progressbar2 3.6.2 requires argparse, which is not installed.
>> twisted 17.9.0 requires zope.interface>=3.6.0, which is not installed.
>> matplotlib 2.1.0 requires backports.functools-lru-cache, which is not
>> installed.
>> django-rest-swagger 2.1.2 has requirement djangorestframework>=3.5.4, but
>> you'll have djangorestframework 3.5.3 which is incompatible
>>
>>
>>
>>  How it can be resolved ?
>>
>> Best
>> Ank
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/1fb16f72-1837-48f1-a8f6-c7bd64ca212f%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BWjgXMHx_zdBtc_NG%2Bn1JMfi4oxTPHy_1y2Pw75VpxfX%2BxuqA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAALWEk2D4B%3D%3Dw%2BD1BK3TpZQ8fEwCE8-s8nDWMZztO3ZPu4tBXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN]: django-todo 2.0

2018-04-12 Thread Ankush Sharma
Thanks ! I will try to implement as you suggested !!
On Thu, 12 Apr 2018 at 17:31, Scot Hacker  wrote:

> On Thursday, April 12, 2018 at 1:47:14 AM UTC-7, Derek wrote:
>>
>> Interesting to hear of this.
>>
>> Unfortunately we are currently committed to Django 1.11 as it is an LTS,
>> but if you're planning on keeping this in-sync with all 2.x releases, then
>> that opens up the option to look at using this from 2.2 onwards (that's the
>> next LTS).
>>
>
> I *believe* the only Django 2-only feature in use is the URL routing.
> While untried, I suspect it would be pretty easy to get it working in a
> 1.11 project site by copying the provided urls.py into your own project,
> rewriting it in the old style, and including that from your main urls
> instead. Would be interested to hear whether this works for you.
>
> ./s
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/114a2982-0355-455e-8edf-1535037ae680%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAALWEk1J4274ycj3s2L%2BGrM3yqCJMCUz8f1TfOpvrt-%3DeuG5bQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.