Comment 4 for bug 1043706

Revision history for this message
Javier López (javier-lopez) wrote :

Hi,

I've tested your branch on an up to date precise installation, I've followed these steps:

$ bzr branch lp:~dcaro/clicompanion/fix-1043706 && cd fix-*
$ python clicompanion
ERROR: locales dir not found.

Which is related with bug #1072253

So then I continued with:

$ wget https://launchpadlibrarian.net/121680964/fix.patch
$ patch -p1 -i fix.patch
patching file clicompanion
patching file clicompanionlib/view.py
$ python clicompanion //ask me to install python-vte
Using locale in source code folder
$ sudo apt-get install python-vte
$ python clicompanion
Using locale in source code folder
INFO: Reading config file at /home/chilicuil/.config/clicompanion/config.
Traceback (most recent call last):
  File "clicompanion", line 66, in <module>
    run( options )
  File "/home/chilicuil/fix-1043706/clicompanionlib/view.py", line 582, in run
    config=config)
  File "/home/chilicuil/fix-1043706/clicompanionlib/view.py", line 227, in __init__
    self.cmd_notebook = CommandsNotebook(config, self.pluginloader)
  File "/home/chilicuil/fix-1043706/clicompanionlib/view.py", line 95, in __init__
    self.draw_all()
  File "/home/chilicuil/fix-1043706/clicompanionlib/view.py", line 106, in draw_all
    self.config.get_plugin_conf('LocalCommandList'))
  File "/home/chilicuil/fix-1043706/plugins/LocalCommandList.py", line 76, in __init__
    self.config.get('default', 'cheatsheet'))
  File "/home/chilicuil/fix-1043706/plugins/LocalCommandList.py", line 476, in __init__
    self.load()
  File "/home/chilicuil/fix-1043706/plugins/LocalCommandList.py", line 488, in load
    open(self.ceatsheet, 'w').close()
AttributeError: Cheatsheet instance has no attribute 'ceatsheet'

$ python --version
Python 2.7.3

$ cat ~/.config/clicompanion/config
[profile::default]
update_login_records = True
colorb = #000000
encoding = UTF-8
antialias = True
scrollb = 500
bold_text = False
use_system_colors = False
use_system_font = False
font = Monospace 10
sel_word = -A-Za-z0-9,./?%&#:_
colorf = #FFFFFF
color_scheme = Custom

[LocalCommandList::default]
cheatsheet = /home/chilicuil/.clicompanion2

[general::default]
debug = False
plugins = LocalCommandList, CommandLineFU, StandardURLs

[keybindings]
previous_tab = unused
toggle_maximize = F11
edit_command = unused
cancel_command = ctrl+C
next_tab = unused
close_tab = unused
move_tab_right = unused
toggle_hide_ui = F9
add_command = F5
add_tab = F7
remove_command = F6
move_tab_left = unused
copy = shift+ctrl+C
paste = shift+ctrl+V
toggle_fullscreen = F12
run_command = F4

So.., it doesn't work here, greetings.