Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\ubo\Callimachus1.2>cubicweb-ctl create blog monblog
- Creating the instance monblog
- -----------------------------
- -> no need to create existing directory c:\Python27\etc\cubicweb.d\monblog
- Configuring the instance (all-in-one.conf)
- ------------------------------------------
- Configuring the repository
- --------------------------
- Configuring the sources
- -----------------------
- :db-driver:
- database driver (postgres, mysql, sqlite, sqlserver2005)
- (default: postgres): sqlite
- :db-name:
- path to the sqlite database
- (default: c:\Python27\var\lib\cubicweb\instances\monblog\monblog.sqlite):
- :login:
- cubicweb manager account's login (this user will be created)
- (default: admin):
- :password:
- cubicweb manager account's password
- (required):
- confirm:
- -> set permissions to 0600 for c:\Python27\etc\cubicweb.d\monblog\sources
- Generic web configuration
- -------------------------
- :port:
- http server port number (default to 8080)
- : 8080
- Allow anonymous access ? [y/N]: y
- -> generated config c:\Python27\etc\cubicweb.d\monblog\all-in-one.conf
- -> compiling message catalogs to c:\Python27\etc\cubicweb.d\monblog\i18n
- -> no need to create existing directory c:\Python27\var\lib\cubicweb\instances\monblog
- -> no need to create existing directory c:\Python27\var\lib\cubicweb\instances\monblog\backup
- -> creation done for c:\\Python27\\etc\\cubicweb.d\\monblog
- Run db-create to create the system database ? [Y/n]: y
- Database c:\Python27\var\lib\cubicweb\instances\monblog\monblog.sqlite already exists. Drop it? [Y/n]: y
- -> connecting to sqlite database c:\Python27\var\lib\cubicweb\instances\monblog\monblog.sqlite -> database for instance monblog created and necessary extensions installed.
- Run db-init to initialize the system database ? [Y/n]: y
- Initializing the system database
- --------------------------------
- c:\Python27\lib\site-packages\yams-0.37.0-py2.7.egg\yams\schema.py:198: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype wf_info_for: ['CWUser', 'BlogE
- ntry']. Yet you get the first rdef.
- rschema = self.rdef(name)
- ['c:\\Python27\\etc\\cubicweb.d\\monblog', 'C:\\Python27\\share\\cubicweb', 'C:\\', 'C:\\Python27\\Scripts', 'c:\\Python27\\lib\\site-packages\\mysql_python-1.2.4-py2.7-win32.egg', 'c:\\Python27\\lib\
- \site-packages\\cubicweb-3.17.6-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\rql-0.31.4-py2.7-win32.egg', 'c:\\Python27\\lib\\site-packages\\logilab_mtconverter-0.8.2-py2.7.egg', 'c:\\Python27\\lib\
- \site-packages\\logilab_database-1.10.0-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\yams-0.37.0-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\passlib-1.6.1-py2.7.egg', 'c:\\Python27\\lib\\site-pac
- kages\\simplejson-3.3.0-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\logilab_common-0.60.0-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\pyro-3.16-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\pyt
- hon_yapps-2.1.1-py2.7.egg', 'c:\\Python27\\lib\\site-packages\\pip-1.4-py2.7.egg', 'C:\\Windows\\system32\\python27.zip', 'c:\\Python27\\DLLs', 'c:\\Python27\\lib', 'c:\\Python27\\lib\\plat-win', 'c:\
- \Python27\\lib\\lib-tk', 'c:\\Python27', 'c:\\Python27\\lib\\site-packages'] {}
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\adapters.py cubicweb.entities.adapters
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\authobjs.py cubicweb.entities.authobjs
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\lib.py cubicweb.entities.lib
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\schemaobjs.py cubicweb.entities.schemaobjs
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\sources.py cubicweb.entities.sources
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\test\unittest_base.py cubicweb.entities.test.unittest_base
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\test\unittest_wfobjs.py cubicweb.entities.test.unittest_wfobjs
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\test\__init__.py cubicweb.entities.test
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\wfobjs.py cubicweb.entities.wfobjs
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\__init__.py cubicweb.entities
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\bookmark.py cubicweb.hooks.bookmark
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\email.py cubicweb.hooks.email
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\integrity.py cubicweb.hooks.integrity
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\metadata.py cubicweb.hooks.metadata
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\notification.py cubicweb.hooks.notification
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\security.py cubicweb.hooks.security
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\syncschema.py cubicweb.hooks.syncschema
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\syncsession.py cubicweb.hooks.syncsession
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\syncsources.py cubicweb.hooks.syncsources
- c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\test\unittest_bookmarks.py cubicweb.hooks.test.unittest_bookmarks
- Traceback (most recent call last):
- File "C:\Python27\Scripts\cubicweb-ctl.bat", line 14, in <module>
- run(sys.argv[1:])
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwctl.py", line 1061, in run
- CWCTL.run(args)
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 134, in run
- sys.exit(command.main_run(args, rcfile))
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 263, in main_run
- self.run(args)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwctl.py", line 442, in run
- helper.postcreate(self.config.automatic, self.config.config_level)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\serverctl.py", line 201, in postcreate
- self.config.appid])
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 134, in run
- sys.exit(command.main_run(args, rcfile))
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 263, in main_run
- self.run(args)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\serverctl.py", line 398, in run
- str(self.config.config_level), config.appid])
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 134, in run
- sys.exit(command.main_run(args, rcfile))
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 263, in main_run
- self.run(args)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\serverctl.py", line 457, in run
- init_repository(config, drop=self.config.drop)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\__init__.py", line 175, in init_repository
- repo = Repository(config, vreg=vreg)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\repository.py", line 200, in __init__
- self.init_cnxset_pool()
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\repository.py", line 242, in init_cnxset_pool
- self.set_schema(config.load_schema(expand_cubes=True))
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\repository.py", line 332, in set_schema
- self.vreg.set_schema(schema)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwvreg.py", line 598, in set_schema
- self.reload(self.config.appobjects_path(), force_reload=False)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwvreg.py", line 626, in reload
- self.register_objects(path)
- File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwvreg.py", line 685, in register_objects
- path, self.config.extrapath)
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\registry.py", line 669, in register_objects
- self.load_file(filepath, modname)
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\registry.py", line 726, in load_file
- module = load_module_from_name(modname)
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\modutils.py", line 123, in load_module_from_name
- return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
- File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\modutils.py", line 165, in load_module_from_modpath
- mp_file, mp_filename, mp_desc = find_module(part, path)
- ImportError: No module named test
- C:\Users\ubo\Callimachus1.2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement