Ok, I decided to dig deeper into this. This is the first time I'm doing
something like this, so feel free to correct me where needed. Here is
what I've found:

(1) This bug report was not associated with the intended bless package.
This one is the console version of bless (binary called cbless). The GUI
bless can be found here: https://github.com/bwrsandman/Bless

(2) There is a bug in the code that saves the options. An exception is
thrown, and the preferences.xml is not closed properly and ends up being
written partially. The same bug is present in the code that saves the
last session. I've created a patch that fixes both. Maybe I'll send it
to the Bless GitHub page too. However the last change was made three
years ago, so no high hopes.

(3) To fix the problem manually:
    - Download the source: git clone https://github.com/bwrsandman/Bless.git
    - Apply my patch.
    - Follow the readme:
        - Install the needed packages. For me the following were missing: nuget 
mono-complete gtk-sharp2.
        - nuget restore Bless.sln
        - xbuild /p:Configuration=Release Bless.sln
    - If it succeeds, you can run the patched bless with "mono 
src/bin/Release/bless.exe"
    - No help in the readme about installation... If you're radical, like me, 
just overwrite the installed version. This may cause problems, like you'll have 
to remember to manually delete these two directories if you uninstall Bless 
through the package manager.
    sudo rm /usr/share/bless/*
    sudo cp data/* /usr/share/bless
    sudo rm /usr/lib/bless/*
    sudo cp src/bin/Release/* /usr/lib/bless

** Patch added: "fixxmltextwriter.patch"
   
https://bugs.launchpad.net/ubuntu/+source/bless/+bug/1622951/+attachment/4965764/+files/fixxmltextwriter.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622951

Title:
  bless fails to handle user config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bless/+bug/1622951/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to