I am running into following error on the execution of python3.2 application.py -dump:
Failed to fetch a value for configuration '__setup__.ally_gateway.processor.gateway_uri': There is no gateway URI provided Failed to fetch a value for configuration '__setup__.ally_gateway.processor.gateway_authorized_uri': There is no authorized gateway URI provided Failed to fetch a value for configuration '__setup__.ally_gateway.processor.external_host': No external host provided Failed to fetch a value for configuration '__setup__.ally_gateway_recaptcha.processor.gateway_captcha_uri': There is no gateway URI provided Created "application.properties" configuration file Cannot import module '__plugin__.livedesk_sync.service' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/livedesk_sync-1.0.dev-py3.4.egg/__plugin__/livedesk_sync/service.py", line 13, in <module> File "/home/alb/opt/ally-py/live-blog/distribution/plugins/livedesk_sync-1.0.dev-py3.4.egg/livedesk/core/impl/chained_sync.py", line 22, in <module> File "/home/alb/opt/ally-py/live-blog/distribution/plugins/livedesk_sync-1.0.dev-py3.4.egg/livedesk/api/blog_sync.py", line 13, in <module> ImportError: No module named blog Cannot import module 'superdesk.source.impl.source' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_source-1.0.dev-py3.4.egg/superdesk/source/impl/source.py", line 30, in <module> ImportError: No module named blog Cannot import module 'superdesk.post.impl.post' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_post-1.0.dev-py3.4.egg/superdesk/post/impl/post.py", line 12, in <module> File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_post-1.0.dev-py3.4.egg/superdesk/post/api/post.py", line 19, in <module> ImportError: No module named collaborator.api.collaborator Cannot import module 'superdesk.source.impl.source' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_source-1.0.dev-py3.4.egg/superdesk/source/impl/source.py", line 30, in <module> ImportError: No module named blog Cannot import module 'superdesk.post.impl.post' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_post-1.0.dev-py3.4.egg/superdesk/post/impl/post.py", line 12, in <module> File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_post-1.0.dev-py3.4.egg/superdesk/post/api/post.py", line 19, in <module> ImportError: No module named collaborator.api.collaborator Cannot import module 'superdesk.post.api.post' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_post-1.0.dev-py3.4.egg/superdesk/post/api/post.py", line 19, in <module> ImportError: No module named collaborator.api.collaborator Cannot import module 'superdesk.post.api.post' Traceback (most recent call last): File "/home/alb/opt/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.4.egg/ally/container/_impl/_aop.py", line 154, in load try: __import__(path) File "/home/alb/opt/ally-py/live-blog/distribution/plugins/superdesk_post-1.0.dev-py3.4.egg/superdesk/post/api/post.py", line 19, in <module> ImportError: No module named collaborator.api.collaborator Created "plugins.properties" configuration file ================================================== Application started in 3.43 seconds
Do you have a hint what is going wrong? - I could not find help in this forum or at other sources.
Greetings, Alex
Post edited by Alexander Blotny at 2015-02-13 08:58:50
But some issue I did not see so far seems to be the following:
*** BUILD general settings-1.0 zip_safe flag not set; analyzing archive contents... Traceback (most recent call last): File "plugins/build_egg.py", line 121, in module = imp.load_source('setup', 'setup.py') File "/usr/lib/python3.4/imp.py", line 169, in load_source module = methods.exec(sys.modules[name]) File "", line 1153, in exec File "", line 1129, in _exec File "", line 1448, in exec_module File "", line 321, in _call_with_frames_removed File "setup.py", line 30, in url="http://www.sourcefabric.org/en/superdesk/", # project home page File "/usr/lib/python3.4/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/alb/opt/ally-py/live-blog/distribution/tools/distribute-0.6.27-py3.2.egg/setuptools/command/bdist_egg.py", line 227, in run File "/home/alb/opt/ally-py/live-blog/distribution/tools/distribute-0.6.27-py3.2.egg/setuptools/command/bdist_egg.py", line 266, in zip_safe File "/home/alb/opt/ally-py/live-blog/distribution/tools/distribute-0.6.27-py3.2.egg/setuptools/command/bdist_egg.py", line 402, in analyze_egg File "/home/alb/opt/ally-py/live-blog/distribution/tools/distribute-0.6.27-py3.2.egg/setuptools/command/bdist_egg.py", line 429, in scan_module
:/var/www/html/ally-py/live-blog/distribution# python3.2 application.py ------------------------------------------------------------------------------------------------------------------------------------------------------ A setup or configuration error occurred while deploying, try to rebuild the application properties by running the the application with "-dump" option Traceback (most recent call last): File "/var/www/html/ally-py/live-blog/distribution/libraries/SQLAlchemy-0.7.1-py3.2.egg/sqlalchemy/dialects/sqlite/pysqlite.py", line 209, in dbapi from sqlite3 import dbapi2 as sqlite #try the 2.5+ stdlib name. File "/var/www/html/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.2.egg/package_extender.py", line 116, in load_module return _extendPackagePaths(self.__loader.load_module(name)) File "/opt/python32/lib/python3.2/pkgutil.py", line 243, in load_module mod = imp.load_module(fullname, self.file, self.filename, self.etc) File "/opt/python32/lib/python3.2/sqlite3/__init__.py", line 23, in <module> from sqlite3.dbapi2 import * File "/opt/python32/lib/python3.2/pkgutil.py", line 243, in load_module mod = imp.load_module(fullname, self.file, self.filename, self.etc) File "/opt/python32/lib/python3.2/sqlite3/dbapi2.py", line 26, in <module> from _sqlite3 import * ImportError: No module named _sqlite3
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/var/www/html/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName try: value = self.fetchForName(name)() File "/var/www/html/ally-py/live-blog/distribution/components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 303, in __call__ ret = self.call() File "/var/www/html/ally-py/live-blog/distribution/plugins/superdesk-1.0.dev-py3.2.egg/__plugin__/superdesk/db_superdesk.py", line 48, in alchemyEngine File "/var/www/html/ally-py/live-blog/distribution/libraries/SQLAlchemy-0.7.1-py3.2.egg/sqlalchemy/engine/__init__.py", line 263, in create_engine return strategy.create(*args, **kwargs) File "/var/www/html/ally-py/live-blog/distribution/libraries/SQLAlchemy-0.7.1-py3.2.egg/sqlalchemy/engine/strategies.py", line 64, in create dbapi = dialect_cls.dbapi(**dbapi_args) File "/var/www/html/ally-py/live-blog/distribution/libraries/SQLAlchemy-0.7.1-py3.2.egg/sqlalchemy/dialects/sqlite/pysqlite.py", line 211, in dbapi raise e File "/var/www/html/ally-py/live-blog/distribution/libraries/SQLAlchemy-0.7.1-py3.2.egg/sqlalchemy/dialects/sqlite/pysqlite.py", line 206, in dbapi from pysqlite2 import dbapi2 as sqlite ImportError: No module named pysqlite2
During handling of the above exception, another exception occurred:
*** BUILD general settings-1.0 zip_safe flag not set; analyzing archive contents... ------------------------------------------------------------------------------
*** CLEAN general settings-1.0 ------------------------------------------------------------------------------
Copying /var/www/html/ally-py/distribution/components/ally_core_sqlalchemy-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_api-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_http_mongrel2_server-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_plugin-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/service_cdm-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/service_gateway-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_core-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_http-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_core_http-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/service_gateway_recaptcha-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/components/ally_http_asyncore_server-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/components Copying /var/www/html/ally-py/distribution/plugins/administration-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/security_rbac-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/support_sqlalchemy-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/internationalization-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/captcha-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/security-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/gui_action-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/gateway-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/support_cdm-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/support_acl-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins Copying /var/www/html/ally-py/distribution/plugins/gui_core-1.0.dev-py3.2.egg to /var/www/html/ally-py/live-blog/distribution/plugins root@ialabsblog:/var/www/html/ally-py/live-blog# cd distribution/
# python3.2 application.py -dump Failed to fetch a value for configuration '__setup__.ally_gateway.processor.gateway_uri': There is no gateway URI provided Failed to fetch a value for configuration '__setup__.ally_gateway.processor.gateway_authorized_uri': There is no authorized gateway URI provided Failed to fetch a value for configuration '__setup__.ally_gateway.processor.external_host': No external host provided Failed to fetch a value for configuration '__setup__.ally_gateway_recaptcha.processor.gateway_captcha_uri': There is no gateway URI provided Created "application.properties" configuration file Created "plugins.properties" configuration file ================================================== Application started in 3.17 seconds
# python3.2 application.py INFO Nothing to report for 'Active rights', everything fits nicely ally.design.processor.assembly INFO Nothing to report for 'Users gateways', everything fits nicely ally.design.processor.assembly INFO Nothing to report for 'Captcha gateways', everything fits nicely ally.design.processor.assembly INFO Nothing to report for 'Anonymous gateways', everything fits nicely I see below WARNING while starting the application. 8080 port in listening state, but we are getting blank page while accessing from browser http://<ip>:8080
ally.design.processor.assembly INFO Published text fixtures from '/opt/ally-py/live-blog/distribution/plugins/support_testing-0.1.dev-py3.2.egg/test_fixtures' to 'tests' __plugin__.support_testing.publish_test_fixtures INFO Published themes from '/opt/ally-py/live-blog/distribution/plugins/livedesk_embed-1.0.dev-py3.2.egg/gui-themes' to 'lib/livedesk-embed' __plugin__.livedesk_embed.theme_default INFO Published themes from '/opt/ally-py/live-blog/distribution/plugins/embed-1.0.dev-py3.2.egg/gui-themes' to 'lib/embed' __plugin__.embed.theme_default INFO Nothing to report for 'Server', everything fits nicely ally.design.processor.assembly INFO ================================================== Started Async HTTP server... ally.http.server.server_asyncore INFO Registering 63 services into the resources structure __setup__.ally_core.resources WARNING Could not resolve in the node structure the call at: File "/opt/ally-py/live-blog/distribution/plugins/livedesk_seo-1.0.dev-py3.2.egg/livedesk/api/blog_seo.py", line 87, in isFirstSEO ally.core.impl.resources_management ================================================== Application started in 4.19 seconds