Bug #969

avatar

IOException when starting for the first time while having a migrated .config/smuxi directory

Added by Andrés G. Aragoneses 3855 days ago. Updated 3855 days ago.

Status:Rejected Start:05/14/2014
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:Common
Target version:-
Complexity:

Low

Found in Version:

0.11~rc5-1

Votes: 0

Description

Steps to reproduce:
1. Happily use Smuxi in an old OS (i.e. Ubuntu 13.04) -> (settings in /home/foo/.config/smuxi).
2. Install some new OS (in my case Ubuntu 14.04), using the new user /home/foo14/
3. Install smuxi (apt-get).
4. Do a symlink from /home/foo14/.config/smuxi to /home/foo/.config/smuxi (adjust permissions et-al).
5. Run smuxi in foo14's session.

Expected results:
Should just work(TM) with my previous settings.

Current results:
Exception Type:
System.IO.IOException

Exception Message:
Cannot create /home/knocte1404/.config/smuxi because a file with the same name already exists.

Exception StackTrace:
at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
at Smuxi.Engine.Config..ctor () [0x00045] in /build/buildd/smuxi-0.11~rc5/src/Engine/Config/Config.cs:92
at Smuxi.Engine.FrontendConfig..ctor (System.String uiName) [0x00000] in /build/buildd/smuxi-0.11~rc5/src/Engine/Config/FrontendConfig.cs:59
at (wrapper remoting-invoke-with-check) Smuxi.Engine.FrontendConfig:.ctor (string)
at Smuxi.Frontend.Gnome.Frontend.Init (System.String[] args) [0x000a9] in /build/buildd/smuxi-0.11~rc5/src/Frontend-GNOME/Frontend.cs:210
at Smuxi.Frontend.Gnome.MainClass.Main (System.String[] args) [0x000b2] in /build/buildd/smuxi-0.11~rc5/src/Frontend-GNOME/Main.cs:75

History

Updated by Andrés G. Aragoneses 3855 days ago

avatar
  • Status changed from New to Resolved

INVALID!! I'm sorry, the symlink was wrong, I'm stupid :)

Updated by Mirco Bauer 3855 days ago

avatar
  • Status changed from Resolved to Rejected
  • Target version deleted (0.11.1)

Also available in: Atom PDF