KelSolaar / sIBL_GUI

sIBL_GUI - HDRI Lighting with Smart IBL.
http://www.hdrlabs.com/
GNU General Public License v3.0
27 stars 6 forks source link

Handle "shutil.copytree" related exception in "database" Component. #180

Closed KelSolaar closed 11 years ago

KelSolaar commented 11 years ago
Stack Trace
_________________________________
0   <class 'manager.exceptions.ComponentActivationError'>
1   
2   Traceback (most recent call last):
3   .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/__boot__.py", line 309, in <module>
4   .... _run('launcher.py')
5   .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/__boot__.py", line 306, in _run
6   .... execfile(path, globals(), globals())
7   .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/launcher.py", line 312, in <module>
8   .... main()
9   .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/launcher.py", line 309, in main
10  .... ("core.iblSetsOutliner",))
11  .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/umbra/engine.py", line 1860, in run
12  .... RuntimeGlobals.engine = engine(None, componentsPaths, requisiteComponents, visibleComponents)
13  .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/launcher.py", line 184, in __init__
14  .... **kwargs)
15  .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/umbra/engine.py", line 400, in __init__
16  .... self.__setComponents(requisite=True)
17  .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/umbra/engine.py", line 1285, in __setComponents
18  .... handler(exception)
19  .. File "/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/database.py", line 532, in initialize
20  .... LOGGER.debug("> SQLAlchemy Migrate repository directory already exists!")
21  .. File "<string>", line 2, in create
22  .. File "migrate/versioning/util/__init__.pyc", line 91, in catch_known_errors
23  .. File "migrate/versioning/api.pyc", line 95, in create
24  .. File "migrate/versioning/repository.pyc", line 137, in create
25  .. File "shutil.pyc", line 206, in copytree
26  ComponentActivationError: 'core.database' Component failed to activate!
Exception raised: [('/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/migrations/templates/repository/default/__init__.py', '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/__init__.py', "[Errno 45] Operation not supported: '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/__init__.py'"), ('/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/migrations/templates/repository/default/migrate.cfg', '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/migrate.cfg', "[Errno 45] Operation not supported: '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/migrate.cfg'"), ('/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/migrations/templates/repository/default/README', '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/README', "[Errno 45] Operation not supported: '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/README'"), ('/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/migrations/templates/repository/default/versions/__init__.py', '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/versions/__init__.py', "[Errno 45] Operation not supported: '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/versions/__init__.py'"), '/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/migrations/templates/repository/default/versions', '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/versions', "[Errno 45] Operation not supported: '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations/versions'", '/Applications/sIBL_GUI 4.app/Contents/Resources/sibl_gui/components/core/database/migrations/templates/repository/default', '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations', "[Errno 45] Operation not supported: '/home/octavio/Library/Preferences/HDRLabs/sIBL_GUI/4.0/database/migrations'"]