[Bug 410723] Re: not expunge evolution mail inbox or junk mail folders

2009-12-22 Thread Alexey Nedilko
It is already reported upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=550414

** Bug watch added: GNOME Bug Tracker #550414
   https://bugzilla.gnome.org/show_bug.cgi?id=550414

-- 
not expunge evolution mail inbox or junk mail folders
https://bugs.launchpad.net/bugs/410723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 410723] Re: not expunge evolution mail inbox or junk mail folders

2009-12-22 Thread Alexey Nedilko
Here is also a workaround in Evolution FAQ:
http://www.go-evolution.org/FAQ#Why_do_I_get_an_error_.22Summary_and_folder_mismatch.2C_even_after_a_sync.22.3F

 Why do I get an error Summary and folder mismatch, even after a sync?

If you get an error pop up like: Error while Expunging folder. Error
storing `~/.evolution/mail/local/Inbox (mbox)': Summary and folder
mismatch, even after a sync.. Try the following operations:

* Stop evolution completely with the command evolution --force-shutdown
* Remove the corresponding files with the file ending .ev-summary and 
.ibex.index, in this example you should remove the file 
~/.evolution/mail/local/Inbox.ev-summary and 
~/.evolution/mail/local/Inbox.ibex.index.
* Restart evolution, it will be slow to come up because it recreates the 
indexes. 

For your interest, this is filed as
https://bugzilla.gnome.org/show_bug.cgi?id=550414.

As a side effect of removing the summary, you will lose locally stored
mail labels.

-- 
not expunge evolution mail inbox or junk mail folders
https://bugs.launchpad.net/bugs/410723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 486201] [NEW] Docky cannot initialize Transmisson custom item (Path too long)

2009-11-21 Thread Alexey Nedilko
Public bug reported:

Binary package hint: gnome-do

When I'm adding Transmission to the Docky items, Do won't start the next
time. Here is the snippet of --debug (I'm ataching the whole output, but
that's the part that shows the problem):

[Error 10:39:29.458] Error in RunOnMainThread: Path is too long. Path: 
BitTorrent клиент Transmission: Скачивайте и обменивайтесь файлами в сети 
BitTorrent (Do.Universe.Linux.ApplicationItem)
[Debug 10:39:29.460]   at System.IO.Directory.Exists (System.String path) 
[0x0] 
  at Docky.Core.Default.ItemsService.MaybeCreateCustomItem (System.String 
identifier) [0x0] 
  at Docky.Core.Default.ItemsService.InternalAddItemToDock (System.String 
identifier, Int32 position) [0x0] 
  at Docky.Core.Default.ItemsService.UpdateItems () [0x0] 
  at Docky.Core.Default.ItemsService.HandleUniverseInitialized (System.Object 
sender, System.EventArgs e) [0x0] 
  at (wrapper delegate-invoke) 
System.EventHandler:invoke_void__this___object_EventArgs 
(object,System.EventArgs)
  at Do.Core.UniverseManager.InitializeAsyncm__1E () [0x0] 
  at Do.Platform.ApplicationService+RunOnMainThreadc__AnonStorey10.m__28 
(System.Object sender, System.EventArgs e) [0x0] 

The string that is treated as path, is in fact the Comment in ru_RU locale of 
the Transmission .desktop file. Here is the .desktop file:
#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Transmission BitTorrent Client
GenericName=BitTorrent Client
Comment=Download and share files over BitTorrent
Exec=transmission %F
Icon=transmission
Terminal=false
TryExec=transmission
Type=Application
MimeType=application/x-bittorrent;
Categories=Network;FileTransfer;P2P;GTK;
X-Ubuntu-Gettext-Domain=transmission
Icon[ru_RU]=transmission
Name[ru_RU]=BitTorrent клиент Transmission
Comment[ru_RU]=Скачивайте и обменивайтесь файлами в сети BitTorrent

I've looked into  Docky.Core.Default.ItemsService.MaybeCreateCustomItem() 
method:
AbstractDockItem MaybeCreateCustomItem (ref string identifier)
{
ItemDockItem customItem = null;

if (identifier.StartsWith (file://))
identifier = identifier.Substring 
(file://.Length);

if (File.Exists (identifier) || Directory.Exists 
(identifier)) {
if (identifier.EndsWith (.desktop)) {

So that's where Directory.Exists fails because the path is very much
incorrect - in fact, it obviously isn't a path.

As far as I see, there are several possible fixes:
1) Add try..catch to code that treats the item identifier as path (the code 
snippet above)
2) Change the format of ItemsService_CustomItems so that each identifier there 
contains information about what type of item it represents: a file, a folder, a 
.desktop file or something other.

OS: Ubuntu 9.10 x64
Do version: 0.8.2+dfsg-1
LANG: ru_RU.UTF-8

Cheers,
Alex

ProblemType: Bug
Architecture: amd64
Date: Sat Nov 21 10:33:39 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: gnome-do 0.8.2+dfsg-1
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gnome-do
Uname: Linux 2.6.31-14-generic x86_64

** Affects: gnome-do (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug docky

-- 
Docky cannot initialize Transmisson custom item (Path too long)
https://bugs.launchpad.net/bugs/486201
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 486201] Re: Docky cannot initialize Transmisson custom item (Path too long)

2009-11-21 Thread Alexey Nedilko

** Attachment added: Here is the full --debug output
   http://launchpadlibrarian.net/35912225/do-debug.log

-- 
Docky cannot initialize Transmisson custom item (Path too long)
https://bugs.launchpad.net/bugs/486201
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 486201] Re: Docky cannot initialize Transmisson custom item (Path too long)

2009-11-21 Thread Alexey Nedilko

** Attachment added: Here is my ItemsService_CustomItems file
   http://launchpadlibrarian.net/35912148/ItemsService_CustomItems

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/35912149/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/35912150/XsessionErrors.txt

-- 
Docky cannot initialize Transmisson custom item (Path too long)
https://bugs.launchpad.net/bugs/486201
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 486201] Re: Docky cannot initialize Transmisson custom item (Path too long)

2009-11-21 Thread Alexey Nedilko
** Description changed:

  Binary package hint: gnome-do
  
  When I'm adding Transmission to the Docky items, Do won't start the next
  time. Here is the snippet of --debug (I'm ataching the whole output, but
  that's the part that shows the problem):
  
  [Error 10:39:29.458] Error in RunOnMainThread: Path is too long. Path: 
BitTorrent клиент Transmission: Скачивайте и обменивайтесь файлами в сети 
BitTorrent (Do.Universe.Linux.ApplicationItem)
- [Debug 10:39:29.460]   at System.IO.Directory.Exists (System.String path) 
[0x0] 
-   at Docky.Core.Default.ItemsService.MaybeCreateCustomItem (System.String 
identifier) [0x0] 
-   at Docky.Core.Default.ItemsService.InternalAddItemToDock (System.String 
identifier, Int32 position) [0x0] 
-   at Docky.Core.Default.ItemsService.UpdateItems () [0x0] 
-   at Docky.Core.Default.ItemsService.HandleUniverseInitialized (System.Object 
sender, System.EventArgs e) [0x0] 
-   at (wrapper delegate-invoke) 
System.EventHandler:invoke_void__this___object_EventArgs 
(object,System.EventArgs)
-   at Do.Core.UniverseManager.InitializeAsyncm__1E () [0x0] 
-   at Do.Platform.ApplicationService+RunOnMainThreadc__AnonStorey10.m__28 
(System.Object sender, System.EventArgs e) [0x0] 
+ [Debug 10:39:29.460]   at System.IO.Directory.Exists (System.String path) 
[0x0]
+   at Docky.Core.Default.ItemsService.MaybeCreateCustomItem (System.String 
identifier) [0x0]
+   at Docky.Core.Default.ItemsService.InternalAddItemToDock (System.String 
identifier, Int32 position) [0x0]
+   at Docky.Core.Default.ItemsService.UpdateItems () [0x0]
+   at Docky.Core.Default.ItemsService.HandleUniverseInitialized (System.Object 
sender, System.EventArgs e) [0x0]
+   at (wrapper delegate-invoke) 
System.EventHandler:invoke_void__this___object_EventArgs 
(object,System.EventArgs)
+   at Do.Core.UniverseManager.InitializeAsyncm__1E () [0x0]
+   at Do.Platform.ApplicationService+RunOnMainThreadc__AnonStorey10.m__28 
(System.Object sender, System.EventArgs e) [0x0]
  
  The string that is treated as path, is in fact the Comment in ru_RU locale of 
the Transmission .desktop file. Here is the .desktop file:
  #!/usr/bin/env xdg-open
  
  [Desktop Entry]
  Name=Transmission BitTorrent Client
  GenericName=BitTorrent Client
  Comment=Download and share files over BitTorrent
  Exec=transmission %F
  Icon=transmission
  Terminal=false
  TryExec=transmission
  Type=Application
  MimeType=application/x-bittorrent;
  Categories=Network;FileTransfer;P2P;GTK;
  X-Ubuntu-Gettext-Domain=transmission
  Icon[ru_RU]=transmission
  Name[ru_RU]=BitTorrent клиент Transmission
  Comment[ru_RU]=Скачивайте и обменивайтесь файлами в сети BitTorrent
  
  I've looked into  Docky.Core.Default.ItemsService.MaybeCreateCustomItem() 
method:
-   AbstractDockItem MaybeCreateCustomItem (ref string identifier)
-   {
-   ItemDockItem customItem = null;
-   
-   if (identifier.StartsWith (file://))
-   identifier = identifier.Substring 
(file://.Length);
-   
-   if (File.Exists (identifier) || Directory.Exists 
(identifier)) {
-   if (identifier.EndsWith (.desktop)) {
+   AbstractDockItem MaybeCreateCustomItem (ref string identifier)
+   {
+    ItemDockItem customItem = null;
+ 
+    if (identifier.StartsWith (file://))
+ identifier = identifier.Substring (file://.Length);
+ 
+    if (File.Exists (identifier) || Directory.Exists (identifier)) {
+ if (identifier.EndsWith (.desktop)) {
  
  So that's where Directory.Exists fails because the path is very much
  incorrect - in fact, it obviously isn't a path.
  
  As far as I see, there are several possible fixes:
  1) Add try..catch to code that treats the item identifier as path (the code 
snippet above)
  2) Change the format of ItemsService_CustomItems so that each identifier 
there contains information about what type of item it represents: a file, a 
folder, a .desktop file or something other.
- 
- OS: Ubuntu 9.10 x64
- Do version: 0.8.2+dfsg-1
- LANG: ru_RU.UTF-8
  
  Cheers,
  Alex
  
  ProblemType: Bug
  Architecture: amd64
  Date: Sat Nov 21 10:33:39 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: gnome-do 0.8.2+dfsg-1
  ProcEnviron:
-  LANG=ru_RU.UTF-8
-  SHELL=/bin/bash
+  LANG=ru_RU.UTF-8
+  SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: gnome-do
  Uname: Linux 2.6.31-14-generic x86_64

** Description changed:

  Binary package hint: gnome-do
  
  When I'm adding Transmission to the Docky items, Do won't start the next
  time. Here is the snippet of --debug (I'm ataching the whole output, but
  that's the part that shows the problem):
  
  [Error 10:39:29.458] Error in RunOnMainThread: Path is too long. Path: 
BitTorrent клиент Transmission: Скачивайте и обменивайтесь файлами в 

[Bug 387833] Re: Evolution should minimize to Indicator Applet

2009-11-15 Thread Alexey Nedilko
Could everyone please stop this +1 from me flood in comments? These
comments are of zero value for developers, and there's a dedicated
Affects me too feature in LP for that purpose.

-- 
Evolution should minimize to Indicator Applet
https://bugs.launchpad.net/bugs/387833
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 209410] Re: installer goes to sleep / activates screen saver

2009-11-01 Thread Alexey Nedilko
I confirm it's still present in Karmic installer.

-- 
installer goes to sleep / activates screen saver
https://bugs.launchpad.net/bugs/209410
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 437778] Re: recommended version of driver is at the bottom of the list

2009-10-31 Thread Alexey Nedilko
I'd also like to add that recommended driver is not selected by default.
Looks like an obvious usability paper-cut for me.

** Attachment added: Screenshot-Hardware Drivers.png
   http://launchpadlibrarian.net/34801602/Screenshot-Hardware%20Drivers.png

-- 
recommended version of driver is at the bottom of the list
https://bugs.launchpad.net/bugs/437778
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 144348] Re: Does not remember window position

2009-10-31 Thread Alexey Nedilko
BTW, current GNOME bug that this bug is assigned to, is a duplicate
there. The state-of-the-art bug in GNOME Bugzilla is
https://bugzilla.gnome.org/show_bug.cgi?id=486476

** Bug watch added: GNOME Bug Tracker #486476
   https://bugzilla.gnome.org/show_bug.cgi?id=486476

-- 
Does not remember window position
https://bugs.launchpad.net/bugs/144348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 387467] Re: obtuse error when ejecting a playing DVD

2009-07-24 Thread Alexey Nedilko
David,

Here is the screenshot you've requested (though I'm not Mik3 :))

You can see there

1) The mounted DVD disk in Nautilus
2) Totem playing the DVD
3) Error message that is shown when Eject button is pressed on DVD drive. The 
error message is localized (in Russian). Translated back into English, it's 
something like Could not unmount volume. An application does not allow to 
unmount volume 'MYDVD'.

Thanks,
Alexey Nedilko

** Attachment added: screenshot_005.png
   http://launchpadlibrarian.net/29492537/screenshot_005.png

-- 
obtuse error when ejecting a playing DVD
https://bugs.launchpad.net/bugs/387467
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 387467] Re: obtuse error when ejecting a playing DVD

2009-06-20 Thread Alexey Nedilko
Yes, it is very well reproducible. The steps to reproduce are:

1. Insert video DVD and start palying it with Totem
2. While playing, press Eject button on your DVD drive.
3. An error message like Cannot unmount volume is displayed.

What actually happens, is that on pressing Eject Ubuntu tries to unmount
the volume, but fails since it is in use (Totem is playing it).

I can confirm this bug on versions 8.10 and 9.04, but I believe it
affects all versions of Ubuntu.

** Changed in: totem (Ubuntu)
   Status: Incomplete = Confirmed

-- 
obtuse error when ejecting a playing DVD
https://bugs.launchpad.net/bugs/387467
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61240] Re: when renaming a file, Shift-del removes the file, not the text

2009-06-20 Thread Alexey Nedilko
I guess it's a good example of a paper cut.

** Also affects: hundredpapercuts
   Importance: Undecided
   Status: New

-- 
when renaming a file, Shift-del removes the file, not the text
https://bugs.launchpad.net/bugs/61240
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 345359] Re: Screenlets forgot their configuration.

2009-06-17 Thread Alexey Nedilko
It's not a paper cut. Paper cut bugs should not be app-specific. See
https://launchpad.net/hundredpapercuts for more info.

** Changed in: hundredpapercuts
   Status: New = Invalid

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 379474] Re: Apply system wide writes only default keyboard layout

2009-05-27 Thread Alexey Nedilko
I confirm this too.

-- 
Apply system wide writes only default keyboard layout
https://bugs.launchpad.net/bugs/379474
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 370965] Re: Pidgin plugin starts all new converations in AIM

2009-05-16 Thread Alexey Nedilko
** Tags added: official-plugins

-- 
Pidgin plugin starts all new converations in AIM
https://bugs.launchpad.net/bugs/370965
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 283573] Re: Tomboy plug-in make gnome-do crash in ubuntu 8.10

2009-05-16 Thread Alexey Nedilko
** Tags added: official-plugins

-- 
Tomboy plug-in make gnome-do crash in ubuntu 8.10
https://bugs.launchpad.net/bugs/283573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 359141] Re: Twitter API change breaks Microblogging plugin

2009-05-16 Thread Alexey Nedilko
** Tags added: microblogging official-plugins twitter

-- 
Twitter API change breaks Microblogging plugin
https://bugs.launchpad.net/bugs/359141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 323448] Re: Tomboy integration crash

2009-05-15 Thread Alexey Nedilko
*** This bug is a duplicate of bug 283573 ***
https://bugs.launchpad.net/bugs/283573

** This bug has been marked a duplicate of bug 283573
   Tomboy plug-in make gnome-do crash in ubuntu 8.10

-- 
Tomboy integration crash
https://bugs.launchpad.net/bugs/323448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu (via bug 283573).

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 370965] Re: Pidgin plugin starts all new converations in AIM

2009-05-15 Thread Alexey Nedilko
** Tags added: pidgin

-- 
Pidgin plugin starts all new converations in AIM
https://bugs.launchpad.net/bugs/370965
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 207208] Re: Tomboy throw error when saving synchronisation setting (webdav)

2009-05-15 Thread Alexey Nedilko
** Changed in: tomboy (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
Tomboy throw error when saving synchronisation setting (webdav)
https://bugs.launchpad.net/bugs/207208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 207208] Re: Tomboy throw error when saving synchronisation setting (webdav)

2009-02-18 Thread Alexey Nedilko
Hi Nixblicker,

This bugfix is present in Tomboy 0.12. You should just install this (or
later) version.

-- 
Tomboy throw error when saving synchronisation setting (webdav)
https://bugs.launchpad.net/bugs/207208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293767] Re: Usability of gnome file chooser when saving file to new folder

2008-12-11 Thread Alexey Nedilko
Dear maintainers,

Do you lack any information about this bug? It's 100% reproducible (at
least on my environment) so you can ask for any detail you need...

I consider this bug to be a regression one, 'cause it's not reproducible
in Ubuntu 8.04 (GNOME 2.22)

BTW, is is already reported upstream? I've searched the GNOME Bugzilla,
but haven't find it...

In general, could you please leave any feedback here? The bug is rather
annoying, and I don't believe it's hard to fix. [b]Any[/b] feedback
would be highly appreciated. I'm not a GTK+ developer, but I'm eager to
spend some time on tracking this issue down, if I'm given at least some
traces where to search for it roots :)

-- 
Usability of gnome file chooser when saving file to new folder
https://bugs.launchpad.net/bugs/293767
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 207208] Re: Tomboy throw error when saving synchronisation setting (webdav)

2008-06-26 Thread Alexey Nedilko

** Attachment added: The patch for Tomboy/Gnome.Keyring/Ring.cs
   http://launchpadlibrarian.net/15624451/Ring.cs.diff

-- 
Tomboy throw error when saving synchronisation setting (webdav)
https://bugs.launchpad.net/bugs/207208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 207208] Re: Tomboy throw error when saving synchronisation setting (webdav)

2008-06-26 Thread Alexey Nedilko
I can confirm this bug on Ubuntu 8.04.
The configuration is the following:

uname -a: Linux axe-desktop 2.6.24-18-generic #1 SMP Wed May 28 19:28:38
UTC 2008 x86_64 GNU/Linux

GNOME version: 2.22.2 (built on 03.06.2008 by Ubuntu)

Tomboy version: 0.10.2

mono --version:
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
TLS:   __thread
GC:Included Boehm (with typed GC)
SIGSEGV:   altstack
Notifications: epoll
Architecture:  amd64
Disabled:  none

When setting the parameters for WebDAV synchronisation login, I get
Getting configuration from the GNOME keyring failed with the following
message: Unknown error message in .tomboy.log, and saving the settings
fails with the message Saving configuration to the GNOME keyring failed
with the following message: Unknown error.

I downloaded the source code of Tomboy 0.10.2 and tried to find out,
what was the reason for this error. It appeared that GNOME keyring
returned the result code 9 for Find operation, and Tomboy code did not
know how to interpret this value, thus throwing Unknown error
exception.

I've looked into GNOME documentation for GNOME keyring API 
(http://library.gnome.org/devel/gnome-keyring/stable/gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult)
 and saw that result codes are described by the following enum:
typedef enum {
GNOME_KEYRING_RESULT_OK,
GNOME_KEYRING_RESULT_DENIED,
GNOME_KEYRING_RESULT_NO_KEYRING_DAEMON,
GNOME_KEYRING_RESULT_ALREADY_UNLOCKED,
GNOME_KEYRING_RESULT_NO_SUCH_KEYRING,
GNOME_KEYRING_RESULT_BAD_ARGUMENTS,
GNOME_KEYRING_RESULT_IO_ERROR,
GNOME_KEYRING_RESULT_CANCELLED,
GNOME_KEYRING_RESULT_KEYRING_ALREADY_EXISTS,
GNOME_KEYRING_RESULT_NO_MATCH
} GnomeKeyringResult;

Comparing this declaration to the similar one in Tomboy code 
(Gnome.Keyring.ResultCode enum, defined in Tomboy/Gnome.Keyring/ResultCode.cs):
public enum ResultCode {
Ok,
Denied,
NoKeyringDaemon,
AlreadyUnlocked,
NoSuchKeyring,
BadArguments,
IOError,
Cancelled,
AlreadyExists
}
one can see that the value NO_MATCH (ordinal 9) isn't present in Tomboy's 
ResultCode enumeration.

So the scenario that reproduces the bug is the following:
When showing the dialog page with WebDAV sychronization parameters, Tomboy 
tries to find the WebDAV credentials in GNOME keyring. If they aren't present 
there (and that's also the case when the WebDAV sychronization is set up for 
the first time), GNOME keyring returns NO_MATCH value, meaning No such item is 
present in the keyring. Tomboy is unable to interpret the result code, since 
it's not present in Gnome.Keyring.ResultCode enum, and throws KeyringException 
with Unknown error message. When saving the credentials to the keyring, it 
calls the Find() operation again in order to determine, whether it should 
create a new keyring item or update the existing one. So the Find() operation 
throws again, and Saving failed.. dialog box is shown.

Having found out this, I've prepared the patch that fixes the bug. The patch 
consists of two changes:
1) The value NoMatch (ordinal value 9) is added to Gnome.Keyring.ResultCode 
enumeration.
2) The Find() and FindNetworkPassword() methods of Gnome.Keyring.Ring class are 
made to return empty result, if the underlying SendRequest() method throws 
KeyringException with NoMatch result code.

Attached are two *.diff files containing the fixes I've made.

I could not find out directly, why this discrepancy in result codes
appeared. However I assume this value, NO_MATCH, has been added recently
(perhaps, in GNOME 2.22.2, because the bug is not reproducible on Ubuntu
7.10, GNOME 2.20), and Tomboy code wasn't updated accordingly.

Please review the fix I made, and apply it if it's feasible.

I've also posted the similar comment to this bug description on GNOME
Bugzilla (http://bugzilla.gnome.org/show_bug.cgi?id=499841).

** Attachment added: The patch for Tomboy/Gnome.Keyring/ResultCode.cs
   http://launchpadlibrarian.net/15624446/ResultCode.cs.diff

-- 
Tomboy throw error when saving synchronisation setting (webdav)
https://bugs.launchpad.net/bugs/207208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs