This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 177793 - SVN : GNOME Keyring is locked and we are non-interactive
Summary: SVN : GNOME Keyring is locked and we are non-interactive
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on: 175899
Blocks: 178122
  Show dependency tree
 
Reported: 2009-11-28 18:35 UTC by dfassi
Modified: 2011-11-16 16:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
msg PrintScr (11.39 KB, image/png)
2009-12-03 04:57 UTC, dfassi
Details
Screenshot (18.91 KB, image/png)
2009-12-04 02:21 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dfassi 2009-11-28 18:35:00 UTC
Any operation with SVN report:

 "GNOME Keyring is locked and we are non-interactive"

With and without setting: -J-DsvnClientAdapterFactory=commandline
 
Previous installation of NB 6.8M1 , I had a working NB 6.7.1 that work without problems.
Comment 1 dfassi 2009-11-28 18:36:37 UTC
I running KDE 4.x on OpenSuSE 11.2.

Subversion configured with saved password.
Comment 2 Ondrej Vrabec 2009-11-28 22:57:27 UTC
> GNOME Keyring is locked and we are non-interactive
Is it a message from subversion client or is it just your own statement? Could you attach the IDE log (View>Ide log)?

If you run the command in the commandline, does it work?
Comment 3 dynamite 2009-12-02 15:54:23 UTC
I also had this problem which seemed to come after a patch update of Ubuntu 9.10.  I to use KDE 4.x.  Subversion worked fine in NetBeans once I had used SVN from the command-line and put in my password.  This seems to be a one-off step that is required, although I'm not sure why.
Comment 4 Ondrej Vrabec 2009-12-03 01:18:18 UTC
The reporter was able to solve this by entering his kwallet password from commandline:
> As running on KDE, I reply with my KDE Wallet password and then svn ask me for repository user & passwd ; then all return to normal behavior and problem solved to Netbeans too.


If you intentionally use kwallet/gnome-keyring support in subversion, i guess for now you will have to manage with this workaround. But note that we have another issue that concerns gnome-keyring/kwallet support - see bug 175899. We'll try to fix this under that issue.

If you don't want to use this feature, look into ~/.subversion/config, uncomment line 'password-stores =' and set it manually to empty value. That should disable kwallet/g-k support, i hope.

I am closing this but please follow 175899 how it progresses.
Comment 5 dfassi 2009-12-03 04:57:24 UTC
Created attachment 92040 [details]
msg PrintScr

I think this problems it's an svn client problem.

SVN Client seems that ignore   /~/.subversion/config setting.

No matter you have setted svn config for "not password store" and "not cache credentials" ,the client try to open keyring any way.

If svn is called in commandline with --username --passwd params and configured to not store anything , there isn't need to open any keyring.

SVN URL use   svn://host/repo 

> svn --version
> svn, versión 1.6.6 (r40053) compilado Nov  1 2009, 12:15:31
> Están disponibles los siguientes módulos de acceso a repositorios (RA):
>
> * ra_neon : Módulo para acceder a un repositorio vía WebDAV usando Neon.
>  - maneja el protocolo 'http'
>  - maneja el protocolo 'https'
> * ra_svn : Módulo para acceder al repositorio vía el protocolo de red svn.  - con autentificación via Cyrus SASL
>  - maneja el protocolo 'svn'
> * ra_local : Módulo para acceder a un repositorio en el disco local.
>  - maneja el protocolo 'file'
Comment 6 ulfzibis 2009-12-04 02:21:03 UTC
Created attachment 92082 [details]
Screenshot

Another message for same reason on svn update.

This message I got on KDE.
On Gnome, NetBeans freezes for ever and had to be killed.

After  svn stat -u -v
  +    Passwort für GNOME-Schlüsselring »login«:    
Netbeans successfully processes svn commands.

Note: I first installed Ubuntu 9.10. Additionally I installed :
   sudo apt-get install kubuntu-desktop
Comment 7 ulfzibis 2009-12-04 05:36:31 UTC
For NetBeans freeze on Gnome see: bug 176358.