Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

mark2 attach does not work #151

Open
tjsd opened this issue Apr 2, 2014 · 2 comments
Open

mark2 attach does not work #151

tjsd opened this issue Apr 2, 2014 · 2 comments

Comments

@tjsd
Copy link

tjsd commented Apr 2, 2014

Running Ubuntu 13.10 64bit.

Command:
mark2 attach

Errormsg:
Traceback (most recent call last):
File "/usr/bin/mark2", line 6, in
sys.exit(main())
File "/home/minecraft/mark2/mk2/launcher.py", line 605, in main
command.start()
File "/home/minecraft/mark2/mk2/launcher.py", line 126, in start
self.run()
File "/home/minecraft/mark2/mk2/launcher.py", line 500, in run
f = user_client.UserClientFactory(self.server_name, self.shared_path)
File "/home/minecraft/mark2/mk2/user_client.py", line 448, in init
self.ui = UI(self.config.get_palette(), self.get_players, self.run_command, self.switch_server, self.connect_to_server, self.config.get_player_actions(), self.config.get_player_reasons())
File "/home/minecraft/mark2/mk2/user_client.py", line 210, in init
self.build()
File "/home/minecraft/mark2/mk2/user_client.py", line 216, in build
g_head = urwid.AttrMap(urwid.Columns((self.g_servers, self.g_users)), 'head')
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1092, in init
if focus_column is None and w.selectable():
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1411, in selectable
return self.widget_list[self.focus_col].selectable()
IndexError: list index out of range

@xandiko
Copy link

xandiko commented May 10, 2014

This problem is urwid version related.
You must use python-urwid >= 1.1.0

@Silthus
Copy link

Silthus commented May 13, 2014

Got the same problem and I have version 1.2.1 of urwid installed:

(! 5998)-> pip search urwid
urwid - A full-featured console (xterm et al.) user interface library
INSTALLED: 1.2.1 (latest)

// EDIT: Problems seems to be the debian package is version: 1.0.1-2

But when I remove it and install via PIP it does says no package urwid found.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants