Форум сайта python.su
Делаю по инструкции http://orphereus.anoma.ch/installation.html, дошел до шага
paster setup-app prod.iniПолучаю ошибку:
Traceback (most recent call last): File "/var/www/alex2/data/envs/orph/bin/paster", line 8, in <module> load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')() File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/script/appinstall.py", line 68, in run return super(AbstractInstallCommand, self).run(new_args) File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/script/command.py", line 218, in run result = self.command() File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/script/appinstall.py", line 456, in command self, config_file, section, self.sysconfig_install_vars(installer)) File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/script/appinstall.py", line 600, in setup_config mod.setup_config(command, filename, section, vars) File "/var/www/alex2/data/orphereus/Orphereus/websetup.py", line 44, in setup_config init_globals(meta.globj, False) File "/var/www/alex2/data/orphereus/Orphereus/model/__init__.py", line 226, in init_globals meta.globj.OPT.initValues(Setting) File "/var/www/alex2/data/orphereus/Orphereus/lib/app_globals.py", line 219, in initValues self.setValues(self.stringValues, self.stringGetter) File "/var/www/alex2/data/orphereus/Orphereus/lib/app_globals.py", line 279, in setValues rawValue = config[paramName] File "/var/www/alex2/data/envs/orph/lib/python2.6/site-packages/paste/registry.py", line 146, in __getitem__ return self._current_obj()[key] KeyError: 'mediaplayer.extensionTypeToPlay'
Отредактировано plusplus (Апрель 26, 2013 14:29:14)
Офлайн
в словаре с настройками (config) нет ключа с именем mediaplayer.extensionTypeToPlay
Офлайн
Это я не stable версию ставил, скачал другую, ошибка другая сейчас, в гугле тоже пусто.
Traceback (most recent call last): File "/home/kalombo/software/envs/img/bin/paster", line 8, in <module> load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')() File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke exit_code = runner.run(args) File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 68, in run return super(AbstractInstallCommand, self).run(new_args) File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run result = self.command() File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 456, in command self, config_file, section, self.sysconfig_install_vars(installer)) File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 591, in setup_config mod = import_string.try_import_module(mod_name) File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/util/import_string.py", line 81, in try_import_module return import_module(module_name) File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/paste/util/import_string.py", line 67, in import_module mod = __import__(s) File "/home/kalombo/orpherus/wakabaparse/__init__.py", line 26, in <module> from mx.TextTools import TextTools File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/egenix_mx_base-3.2.6-py2.7-linux-x86_64.egg/mx/TextTools/__init__.py", line 8, in <module> from TextTools import * File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/egenix_mx_base-3.2.6-py2.7-linux-x86_64.egg/mx/TextTools/TextTools.py", line 13, in <module> from mxTextTools import * File "/home/kalombo/software/envs/img/local/lib/python2.7/site-packages/egenix_mx_base-3.2.6-py2.7-linux-x86_64.egg/mx/TextTools/mxTextTools/__init__.py", line 8, in <module> from mxTextTools import * ImportError: /home/kalombo/software/envs/img/local/lib/python2.7/site-packages/egenix_mx_base-3.2.6-py2.7-linux-x86_64.egg/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_FromObject
Офлайн
Удалил egenix-mx-base и установил через pip install, всё перекомпилилось и таблицы создались.
Офлайн