Advertisement
Guest User

Untitled

a guest
Aug 27th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.06 KB | None | 0 0
  1. C:\Users\ubo\Callimachus1.2>cubicweb-ctl create blog monblog
  2.  
  3. Creating the instance monblog
  4. -----------------------------
  5. -> no need to create existing directory c:\Python27\etc\cubicweb.d\monblog
  6.  
  7. Configuring the instance (all-in-one.conf)
  8. ------------------------------------------
  9.  
  10. Configuring the repository
  11. --------------------------
  12.  
  13. Configuring the sources
  14. -----------------------
  15. :db-driver:
  16. database driver (postgres, mysql, sqlite, sqlserver2005)
  17. (default: postgres): sqlite
  18. :db-name:
  19. path to the sqlite database
  20. (default: c:\Python27\var\lib\cubicweb\instances\monblog\monblog.sqlite):
  21.  
  22. :login:
  23. cubicweb manager account's login (this user will be created)
  24. (default: admin):
  25. :password:
  26. cubicweb manager account's password
  27. (required):
  28. confirm:
  29. -> set permissions to 0600 for c:\Python27\etc\cubicweb.d\monblog\sources
  30.  
  31. Generic web configuration
  32. -------------------------
  33. :port:
  34. http server port number (default to 8080)
  35. : 8080
  36. Allow anonymous access ? [y/N]: y
  37. -> generated config c:\Python27\etc\cubicweb.d\monblog\all-in-one.conf
  38. -> compiling message catalogs to c:\Python27\etc\cubicweb.d\monblog\i18n
  39. -> no need to create existing directory c:\Python27\var\lib\cubicweb\instances\monblog
  40. -> no need to create existing directory c:\Python27\var\lib\cubicweb\instances\monblog\backup
  41.  
  42. -> creation done for c:\\Python27\\etc\\cubicweb.d\\monblog
  43.  
  44. Run db-create to create the system database ? [Y/n]: y
  45. Database c:\Python27\var\lib\cubicweb\instances\monblog\monblog.sqlite already exists. Drop it? [Y/n]: y
  46. -> connecting to sqlite database c:\Python27\var\lib\cubicweb\instances\monblog\monblog.sqlite -> database for instance monblog created and necessary extensions installed.
  47.  
  48. Run db-init to initialize the system database ? [Y/n]: y
  49.  
  50. Initializing the system database
  51. --------------------------------
  52. 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
  53. ntry']. Yet you get the first rdef.
  54.   rschema = self.rdef(name)
  55. ['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\
  56. \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\
  57. \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
  58. 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
  59. 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:\
  60. \Python27\\lib\\lib-tk', 'c:\\Python27', 'c:\\Python27\\lib\\site-packages'] {}
  61. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\adapters.py cubicweb.entities.adapters
  62. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\authobjs.py cubicweb.entities.authobjs
  63. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\lib.py cubicweb.entities.lib
  64. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\schemaobjs.py cubicweb.entities.schemaobjs
  65. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\sources.py cubicweb.entities.sources
  66. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\test\unittest_base.py cubicweb.entities.test.unittest_base
  67. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\test\unittest_wfobjs.py cubicweb.entities.test.unittest_wfobjs
  68. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\test\__init__.py cubicweb.entities.test
  69. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\wfobjs.py cubicweb.entities.wfobjs
  70. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\entities\__init__.py cubicweb.entities
  71. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\bookmark.py cubicweb.hooks.bookmark
  72. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\email.py cubicweb.hooks.email
  73. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\integrity.py cubicweb.hooks.integrity
  74. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\metadata.py cubicweb.hooks.metadata
  75. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\notification.py cubicweb.hooks.notification
  76. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\security.py cubicweb.hooks.security
  77. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\syncschema.py cubicweb.hooks.syncschema
  78. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\syncsession.py cubicweb.hooks.syncsession
  79. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\syncsources.py cubicweb.hooks.syncsources
  80. c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\hooks\test\unittest_bookmarks.py cubicweb.hooks.test.unittest_bookmarks
  81. Traceback (most recent call last):
  82.   File "C:\Python27\Scripts\cubicweb-ctl.bat", line 14, in <module>
  83.     run(sys.argv[1:])
  84.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwctl.py", line 1061, in run
  85.     CWCTL.run(args)
  86.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 134, in run
  87.     sys.exit(command.main_run(args, rcfile))
  88.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 263, in main_run
  89.     self.run(args)
  90.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwctl.py", line 442, in run
  91.     helper.postcreate(self.config.automatic, self.config.config_level)
  92.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\serverctl.py", line 201, in postcreate
  93.     self.config.appid])
  94.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 134, in run
  95.     sys.exit(command.main_run(args, rcfile))
  96.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 263, in main_run
  97.     self.run(args)
  98.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\serverctl.py", line 398, in run
  99.     str(self.config.config_level), config.appid])
  100.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 134, in run
  101.     sys.exit(command.main_run(args, rcfile))
  102.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\clcommands.py", line 263, in main_run
  103.     self.run(args)
  104.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\serverctl.py", line 457, in run
  105.     init_repository(config, drop=self.config.drop)
  106.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\__init__.py", line 175, in init_repository
  107.     repo = Repository(config, vreg=vreg)
  108.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\repository.py", line 200, in __init__
  109.     self.init_cnxset_pool()
  110.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\repository.py", line 242, in init_cnxset_pool
  111.     self.set_schema(config.load_schema(expand_cubes=True))
  112.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\server\repository.py", line 332, in set_schema
  113.     self.vreg.set_schema(schema)
  114.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwvreg.py", line 598, in set_schema
  115.     self.reload(self.config.appobjects_path(), force_reload=False)
  116.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwvreg.py", line 626, in reload
  117.     self.register_objects(path)
  118.   File "c:\Python27\lib\site-packages\cubicweb-3.17.6-py2.7.egg\cubicweb\cwvreg.py", line 685, in register_objects
  119.     path, self.config.extrapath)
  120.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\registry.py", line 669, in register_objects
  121.     self.load_file(filepath, modname)
  122.   File "c:\Python27\lib\site-packages\logilab_common-0.60.0-py2.7.egg\logilab\common\registry.py", line 726, in load_file
  123.     module = load_module_from_name(modname)
  124.   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
  125.     return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
  126.   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
  127.     mp_file, mp_filename, mp_desc = find_module(part, path)
  128. ImportError: No module named test
  129. C:\Users\ubo\Callimachus1.2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement