The cabinets app has a compatibility layer to allow it to work with the 2.1
and 2.2 releases. The version parser of the that layer doesn't expect a 'b'
in the version number.
This will no be necesary once beta 2 is released since it includes the
cabinets app already
(https://gitlab.com/mayan-edms/mayan-edms/tree/development/mayan/apps/cabinets).
Working beta 2 right now, hope to release it today.
On Tuesday, March 14, 2017 at 5:16:34 PM UTC-4, Victor Zele wrote:
>
> I am trying to switch from folders to cabinets on the 2.2 beta1 release.
>
> When running the migrate command I see the errors below.
>
> regards,
> Victor
>
> (mayan-edms) root@sjc1-mayan01:/usr/share/mayan-edms# mayan-edms.py
> migrate
> Traceback (most recent call last):
> File "/usr/share/mayan-edms/bin/mayan-edms.py", line 10, in <module>
> execute_from_command_line(sys.argv)
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>
> line 367, in execute_from_command_line
> utility.execute()
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>
> line 341, in execute
> django.setup()
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/__init__.py",
> line 27, in setup
> apps.populate(settings.INSTALLED_APPS)
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
>
> line 85, in populate
> app_config = AppConfig.create(entry)
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/config.py",
>
> line 116, in create
> mod = import_module(mod_path)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/cabinets/apps.py",
> line 14, in <module>
> from .compat import MAYAN_VERSION
> File
> "/usr/share/mayan-edms/local/lib/python2.7/site-packages/cabinets/compat/__init__.py",
>
> line 5, in <module>
> MAYAN_VERSION = tuple(map(int, mayan.__version__.split('.')))
> ValueError: invalid literal for int() with base 10: '2b1'
>
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.