Problems with slicer

27 views
Skip to first unread message

Алибек Кыдырали

unread,
Sep 27, 2017, 7:30:45 AM9/27/17
to Cubes
Traceback (most recent call last):
  File "C:\Python27\Scripts\slicer-script.py", line 11, in <module>
    load_entry_point('cubes==1.1', 'console_scripts', 'slicer')()
  File "c:\python27\lib\site-packages\cubes\slicer\commands.py", line 587, in main
    cli(*args, **kwargs)
  File "c:\python27\lib\site-packages\click\core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "c:\python27\lib\site-packages\click\core.py", line 697, in main
    rv = self.invoke(ctx)
  File "c:\python27\lib\site-packages\click\core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\python27\lib\site-packages\click\core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python27\lib\site-packages\click\core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "c:\python27\lib\site-packages\click\decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "c:\python27\lib\site-packages\cubes\slicer\commands.py", line 66, in serve
    run_server(config, debug=ctx.obj.debug)
  File "c:\python27\lib\site-packages\cubes\server\base.py", line 67, in run_server
    app = create_server(config)
  File "c:\python27\lib\site-packages\cubes\server\base.py", line 46, in create_server
    app.register_blueprint(slicer, config=config, **_options)
  File "c:\python27\lib\site-packages\flask\app.py", line 64, in wrapper_func
    return f(self, *args, **kwargs)
  File "c:\python27\lib\site-packages\flask\app.py", line 951, in register_blueprint
    blueprint.register(self, options, first_registration)
  File "c:\python27\lib\site-packages\flask\blueprints.py", line 154, in register
    deferred(state)
  File "c:\python27\lib\site-packages\flask\blueprints.py", line 129, in wrapper
    func(state)
  File "c:\python27\lib\site-packages\cubes\server\blueprint.py", line 103, in initialize_slicer
    current_app.cubes_workspace = Workspace(config, **_options)
  File "c:\python27\lib\site-packages\cubes\workspace.py", line 210, in __init__
    first_weekday=first_weekday)
  File "c:\python27\lib\site-packages\cubes\calendar.py", line 145, in __init__
    self.timezone_name = datetime.now(tzlocal()).tzname()
  File "c:\python27\lib\site-packages\dateutil\tz\_common.py", line 22, in adjust_encoding
    name = name.encode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd6 in position 0: ordinal not in range(128)
Reply all
Reply to author
Forward
0 new messages