<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ldlabs.org - Blog &#187; bug</title>
	<atom:link href="http://www.ldlabs.org/blog/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ldlabs.org/blog</link>
	<description>Linux Tips &#38; c.</description>
	<lastBuildDate>Tue, 24 Jan 2012 08:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>audio disturbato con flashplugin-nonfree in debian</title>
		<link>http://www.ldlabs.org/blog/2011/06/13/audio-disturbato-con-flashplugin-nonfree-in-debian/</link>
		<comments>http://www.ldlabs.org/blog/2011/06/13/audio-disturbato-con-flashplugin-nonfree-in-debian/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 08:28:33 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[iceweasel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[unstable]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=781</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Utilizzando Debian Unstable a 64 bit, flashplugin-nonfree ed un qualsiasi browser che lo supporti (chromium, google-chrome, iceweasel, firefox), l&#8217;audio di alcune applicazioni flash risulta essere molto disturbato con fruscii, echi e molti altri rumori. Il bug è legato ad un cattivo utilizzo della memcpy. La soluzione più semplice è precaricare la libreria, lanciando il browser [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Utilizzando Debian Unstable a 64 bit, <strong>flashplugin-nonfree</strong> ed un qualsiasi browser che lo supporti (<em>chromium, google-chrome, iceweasel, firefox</em>), l&#8217;audio di alcune applicazioni flash risulta essere molto disturbato con fruscii, echi e molti altri rumori.</p>
<p>Il bug è legato ad un cattivo utilizzo della <strong>memcpy</strong>. La soluzione più semplice è precaricare la libreria, lanciando il browser con il seguente comando:</p>
<pre>LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so iceweasel</pre>
<p>Ovviamente potete utilizzare <em>iceweasel</em> o un qualsiasi altro browser prima citato.<br />
Altre informazioni sul bug possono essere trovate <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628652" target="_blank">qui</a> (in inglese).</p>
<p>&nbsp;</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2011%2F06%2F13%2Faudio-disturbato-con-flashplugin-nonfree-in-debian%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2011/06/13/audio-disturbato-con-flashplugin-nonfree-in-debian/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2011/06/13/audio-disturbato-con-flashplugin-nonfree-in-debian/"  data-text="audio disturbato con flashplugin-nonfree in debian" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2011/06/13/audio-disturbato-con-flashplugin-nonfree-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ancora sulla libreria keyring di python</title>
		<link>http://www.ldlabs.org/blog/2011/05/07/ancora-sulla-libreria-keyring-di-python/</link>
		<comments>http://www.ldlabs.org/blog/2011/05/07/ancora-sulla-libreria-keyring-di-python/#comments</comments>
		<pubDate>Sat, 07 May 2011 07:55:58 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code tips]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[keyring]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=766</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Mi serviva utilizzare la libreria in oggetto tramite una connessione ssh, questo crea non pochi problemi dato che, per come è realizzata ora la libreria, cerca di avviare KDEWallet anche se, tramite il file di configurazione keyringrc.cfg, è stato impostato come default-keyring CryptedFileKeyring o qualcos&#8217;altro. Ora o ci si connette via ssh con -X ma [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Mi serviva utilizzare la libreria in oggetto tramite una connessione ssh, questo crea non pochi problemi dato che, per come è realizzata ora la libreria, cerca di avviare KDEWallet anche se, tramite il file di configurazione <em>keyringrc.cfg</em>, è stato impostato come <em>default-keyring CryptedFileKeyring</em> o qualcos&#8217;altro.</p>
<p>Ora o ci si connette via ssh con -X ma ovviamente è tremendamente lento e soprattutto carica molti componenti kde, o si cerca di risolvere il problema in altro modo (ovviamente la seconda soluzione è la migliore).</p>
<p><span id="more-766"></span><a href="http://www.ldlabs.org/var/kdewallet_noautoload.patch" target="_blank">Questa</a> è l&#8217;altro modo (premere sul link per scaricare il file contenente le modifiche):</p>

<div class="wp_codebox"><table><tr id="p7662"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
</pre></td><td class="code" id="p766code2"><pre class="python" style="font-family:monospace;">diff -r 261dcb3cf624 keyring/backend.<span style="color: black;">py</span>
--- a/keyring/backend.<span style="color: black;">py</span>        Thu Apr <span style="color: #ff4500;">21</span> <span style="color: #ff4500;">14</span>:<span style="color: #ff4500;">14</span>:<span style="color: #ff4500;">55</span> <span style="color: #ff4500;">2011</span> +0200
+++ b/keyring/backend.<span style="color: black;">py</span>        Wed May 04 <span style="color: #ff4500;">16</span>:<span style="color: #ff4500;">45</span>:01 <span style="color: #ff4500;">2011</span> +0200
@@ -<span style="color: #ff4500;">190</span>,<span style="color: #ff4500;">14</span> +<span style="color: #ff4500;">190</span>,<span style="color: #ff4500;">19</span> @@
 <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">ImportError</span>:
     kwallet = <span style="color: #008000;">None</span>
 <span style="color: #ff7700;font-weight:bold;">else</span>:
-    kwallet = open_kwallet<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
+    kwallet = <span style="color: #008000;">True</span>                                                                                                                                                                                                              
&nbsp;
 <span style="color: #ff7700;font-weight:bold;">class</span> KDEKWallet<span style="color: black;">&#40;</span>KeyringBackend<span style="color: black;">&#41;</span>:
     <span style="color: #483d8b;">&quot;&quot;&quot;KDE KWallet&quot;&quot;&quot;</span>                                                                                                                                                                                                           
&nbsp;
+    <span style="color: #ff7700;font-weight:bold;">def</span> <span style="color: #0000cd;">__init__</span><span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>:
+       <span style="color: #008000;">self</span>.<span style="color: black;">kwallet</span>=<span style="color: #008000;">None</span>
+       <span style="color: #ff7700;font-weight:bold;">if</span> kwallet:
+               <span style="color: #008000;">self</span>.<span style="color: black;">kwallet</span>=open_kwallet<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
+
     <span style="color: #ff7700;font-weight:bold;">def</span> supported<span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>:
-        <span style="color: #ff7700;font-weight:bold;">if</span> kwallet <span style="color: #ff7700;font-weight:bold;">is</span> <span style="color: #008000;">None</span>:
+        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #008000;">self</span>.<span style="color: black;">kwallet</span> <span style="color: #ff7700;font-weight:bold;">is</span> <span style="color: #008000;">None</span>:
             <span style="color: #ff7700;font-weight:bold;">return</span> -<span style="color: #ff4500;">1</span>
         <span style="color: #ff7700;font-weight:bold;">else</span>:
             <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">1</span>
@@ -<span style="color: #ff4500;">207</span>,<span style="color: #ff4500;">7</span> +<span style="color: #ff4500;">212</span>,<span style="color: #ff4500;">7</span> @@
         <span style="color: #483d8b;">&quot;&quot;&quot;
         key = username + '@' + service
         network = KWallet.Wallet.NetworkWallet()
-        if kwallet.keyDoesNotExist(network, 'Python', key):
+        if self.kwallet.keyDoesNotExist(network, 'Python', key):
             return None                                                                                                                                                                                                         
&nbsp;
         result = kwallet.readPassword(key)[1]
@@ -218,7 +223,7 @@
     def set_password(self, service, username, password):
         &quot;&quot;&quot;</span>Set password <span style="color: #ff7700;font-weight:bold;">for</span> the username of the service
         <span style="color: #483d8b;">&quot;&quot;&quot;
-        kwallet.writePassword(username+'@'+service, password)
+        self.kwallet.writePassword(username+'@'+service, password)                                                                                                                                                              
&nbsp;
 class BasicFileKeyring(KeyringBackend):
     &quot;&quot;&quot;</span>BasicFileKeyring <span style="color: #ff7700;font-weight:bold;">is</span> a filebased implementation of keyring.
@@ -<span style="color: #ff4500;">481</span>,<span style="color: #ff4500;">7</span> +<span style="color: #ff4500;">486</span>,<span style="color: #ff4500;">7</span> @@
             <span style="color: #008000;">self</span>.<span style="color: black;">pywintypes</span> = pywintypes
         <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">ImportError</span>:
             <span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span> = <span style="color: #008000;">None</span>
-
+
     <span style="color: #ff7700;font-weight:bold;">def</span> supported<span style="color: black;">&#40;</span><span style="color: #008000;">self</span><span style="color: black;">&#41;</span>:
         <span style="color: #483d8b;">''</span><span style="color: #483d8b;">'Default Windows backend, when it is available
         '</span><span style="color: #483d8b;">''</span>
@@ -<span style="color: #ff4500;">492</span>,<span style="color: #ff4500;">19</span> +<span style="color: #ff4500;">497</span>,<span style="color: #ff4500;">19</span> @@
             <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">1</span>
         <span style="color: #ff7700;font-weight:bold;">else</span>:
             <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #ff4500;">0</span>
-
+
     <span style="color: #ff7700;font-weight:bold;">def</span> get_password<span style="color: black;">&#40;</span><span style="color: #008000;">self</span>, service, username<span style="color: black;">&#41;</span>:
         <span style="color: #ff7700;font-weight:bold;">try</span>:
-            blob = <span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span>.<span style="color: black;">CredRead</span><span style="color: black;">&#40;</span>Type=<span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span>.<span style="color: black;">CRED_TYPE_GENERIC</span>,
+            blob = <span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span>.<span style="color: black;">CredRead</span><span style="color: black;">&#40;</span>Type=<span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span>.<span style="color: black;">CRED_TYPE_GENERIC</span>,
                                            TargetName=service<span style="color: black;">&#41;</span><span style="color: black;">&#91;</span><span style="color: #483d8b;">'CredentialBlob'</span><span style="color: black;">&#93;</span>
         <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">self</span>.<span style="color: black;">pywintypes</span>.<span style="color: black;">error</span>, e:
             <span style="color: #ff7700;font-weight:bold;">if</span> e<span style="color: black;">&#91;</span>:<span style="color: #ff4500;">2</span><span style="color: black;">&#93;</span> == <span style="color: black;">&#40;</span><span style="color: #ff4500;">1168</span>, <span style="color: #483d8b;">'CredRead'</span><span style="color: black;">&#41;</span>:
                 <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #008000;">None</span>
             <span style="color: #ff7700;font-weight:bold;">raise</span>
         <span style="color: #ff7700;font-weight:bold;">return</span> blob.<span style="color: black;">decode</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;utf16&quot;</span><span style="color: black;">&#41;</span>
-
+
     <span style="color: #ff7700;font-weight:bold;">def</span> set_password<span style="color: black;">&#40;</span><span style="color: #008000;">self</span>, service, username, password<span style="color: black;">&#41;</span>:
-        credential = <span style="color: #008000;">dict</span><span style="color: black;">&#40;</span>Type=<span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span>.<span style="color: black;">CRED_TYPE_GENERIC</span>,
+        credential = <span style="color: #008000;">dict</span><span style="color: black;">&#40;</span>Type=<span style="color: #008000;">self</span>.<span style="color: black;">win32cred</span>.<span style="color: black;">CRED_TYPE_GENERIC</span>,
                           TargetName=service,
                           UserName=username,
                           CredentialBlob=<span style="color: #008000;">unicode</span><span style="color: black;">&#40;</span>password<span style="color: black;">&#41;</span>,</pre></td></tr></table></div>

<p>Questa è la patch da applicare dopo aver scaricato tramite:</p>
<address id="clone-url-https">hg clone <a href="https://bitbucket.org/kang/python-keyring-lib">https://bitbucket.org/kang/python-keyring-lib</a></address>
<p>È stata inviata una segnalazione agli sviluppatori, attendiamo che venga inserita nei sorgenti ufficiali.</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2011%2F05%2F07%2Fancora-sulla-libreria-keyring-di-python%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2011/05/07/ancora-sulla-libreria-keyring-di-python/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2011/05/07/ancora-sulla-libreria-keyring-di-python/"  data-text="Ancora sulla libreria keyring di python" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2011/05/07/ancora-sulla-libreria-keyring-di-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>python Keyring.backend.KDEWallet: accedere a KDEWallet da python</title>
		<link>http://www.ldlabs.org/blog/2011/05/04/python-keyring-backend-kdewallet-accedere-a-kdewallet-da-python/</link>
		<comments>http://www.ldlabs.org/blog/2011/05/04/python-keyring-backend-kdewallet-accedere-a-kdewallet-da-python/#comments</comments>
		<pubDate>Wed, 04 May 2011 09:04:03 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[recensione]]></category>
		<category><![CDATA[annunci]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code tips]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=762</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Avevo bisogno in una applicazione di salvare una password nel wallet di kde tramite python utilizzando il modulo keyring. Utilizzo debian sid ed ho installato il pacchetto python-keyring versione 0.5.1-1 (quello presente nei repository), dove è presente un bug. Infatti se apriamo la python shell: 1 2 3 4 import keyring.backend kdewallet = keyring.backend.KDEWallet&#40;&#41; kdewallet.supported&#40;&#41; [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Avevo bisogno in una applicazione di salvare una password nel wallet di kde tramite python utilizzando il modulo <a href="http://home.python-keyring.org/" target="_blank">keyring</a>.</p>
<p>Utilizzo debian sid ed ho installato il pacchetto python-keyring versione 0.5.1-1 (quello presente nei repository), dove è presente un bug.<br />
Infatti se apriamo la python shell:</p>

<div class="wp_codebox"><table><tr id="p7627"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p762code7"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> keyring.<span style="color: black;">backend</span>
kdewallet = keyring.<span style="color: black;">backend</span>.<span style="color: black;">KDEWallet</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
kdewallet.<span style="color: black;">supported</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
-<span style="color: #ff4500;">1</span></pre></td></tr></table></div>

<p>anche la set_password da un eccezione.<br />
Dopo un po&#8217; di ricerche mi sono imbattuto in questa pagina: <a href="https://bitbucket.org/kang/python-keyring-lib/issue/41/kdewallet-not-working-anymore" target="_blank">https://bitbucket.org/kang/python-keyring-lib/issue/41/kdewallet-not-working-anymore</a> dove già dal titolo era chiaro che non ero l&#8217;unico ad avere questo problema!</p>
<p>Per far rifunzionare il modulo occorre scaricare la versione in sviluppo (occorre aver installato il pacchetto mercurial-git):</p>

<div class="wp_codebox"><table><tr id="p7628"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p762code8"><pre class="bash" style="font-family:monospace;">hg clone https:<span style="color: #000000; font-weight: bold;">//</span>bitbucket.org<span style="color: #000000; font-weight: bold;">/</span>kang<span style="color: #000000; font-weight: bold;">/</span>python-keyring-lib
<span style="color: #7a0874; font-weight: bold;">cd</span> python-keyring-lib
<span style="color: #c20cb9; font-weight: bold;">sudo</span> python setup.py <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>Ora tutto ritorna a funzionare benissimo infatti possiamo settare la password con</p>

<div class="wp_codebox"><table><tr id="p7629"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p762code9"><pre class="python" style="font-family:monospace;">kdewallet.<span style="color: black;">set_password</span><span style="color: black;">&#40;</span>SERVIZIO, USER, PASSWORD<span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>ottenerla con</p>

<div class="wp_codebox"><table><tr id="p76210"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p762code10"><pre class="python" style="font-family:monospace;">kdewallet.<span style="color: black;">get_password</span><span style="color: black;">&#40;</span>SERVIZIO, USER<span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>Tutto risolto!</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2011%2F05%2F04%2Fpython-keyring-backend-kdewallet-accedere-a-kdewallet-da-python%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2011/05/04/python-keyring-backend-kdewallet-accedere-a-kdewallet-da-python/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2011/05/04/python-keyring-backend-kdewallet-accedere-a-kdewallet-da-python/"  data-text="python Keyring.backend.KDEWallet: accedere a KDEWallet da python" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2011/05/04/python-keyring-backend-kdewallet-accedere-a-kdewallet-da-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vde svn e kvm pacchettizzato debian o ubuntu</title>
		<link>http://www.ldlabs.org/blog/2011/03/03/vde-svn-e-kvm-pacchetto-debian-o-ubuntu/</link>
		<comments>http://www.ldlabs.org/blog/2011/03/03/vde-svn-e-kvm-pacchetto-debian-o-ubuntu/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 18:59:10 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[varie]]></category>
		<category><![CDATA[vde]]></category>
		<category><![CDATA[virtual]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=653</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
Se volete usare qualche feature particolare disponibile solo nella versione svn di vde, dopo aver compilato e installato vde da sorgente vi occorre sistemare le librerie di sistema in modo da permettere a kvm di prendere quelle corrette. Le librerie in /usr/lib devono essere collegate in questo modo a quelle nella versione di sviluppo (localizzate [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>Se volete usare qualche feature particolare disponibile solo nella versione svn di <strong>vde</strong>, dopo aver compilato e installato vde da sorgente vi occorre sistemare le librerie di sistema in modo da permettere a <strong>kvm</strong> di prendere quelle corrette.</p>
<p>Le librerie in <em>/usr/lib</em> devono essere collegate in questo modo a quelle nella versione di sviluppo (localizzate in <em>/usr/local/lib</em>):</p>
<pre>lrwxrwxrwx  1 root root           25  3 mar 19.58 libvdehist.a -&gt; ../local/lib/libvdehist.a
lrwxrwxrwx  1 root root           26  3 mar 19.59 libvdehist.la -&gt; ../local/lib/libvdehist.la
lrwxrwxrwx  1 root root           26  3 mar 19.59 libvdehist.so -&gt; ../local/lib/libvdehist.so
lrwxrwxrwx  1 root root           25  3 mar 19.59 libvdemgmt.a -&gt; ../local/lib/libvdemgmt.a
lrwxrwxrwx  1 root root           26  3 mar 19.59 libvdemgmt.la -&gt; ../local/lib/libvdemgmt.la
lrwxrwxrwx  1 root root           26  3 mar 19.59 libvdemgmt.so -&gt; ../local/lib/libvdemgmt.so
lrwxrwxrwx  1 root root           13  3 mar 20.00 libvdemgmt.so.0 -&gt; libvdemgmt.so
lrwxrwxrwx  1 root root           13  3 mar 20.00 libvdemgmt.so.0.0.1 -&gt; libvdemgmt.so
lrwxrwxrwx  1 root root           26  3 mar 19.42 libvdeplug.so -&gt; ../local/lib/libvdeplug.so
lrwxrwxrwx  1 root root           13  3 mar 19.44 libvdeplug.so.2 -&gt; libvdeplug.so
lrwxrwxrwx  1 root root           13  3 mar 19.44 libvdeplug.so.2.1.0 -&gt; libvdeplug.so
lrwxrwxrwx  1 root root           28  3 mar 19.43 libvdeplug.so.3 -&gt; ../local/lib/libvdeplug.so.3
lrwxrwxrwx  1 root root           32  3 mar 19.43 libvdeplug.so.3.0.1 -&gt; ../local/lib/libvdeplug.so.3.0.1
lrwxrwxrwx  1 root root           25  3 mar 20.00 libvdesnmp.a -&gt; ../local/lib/libvdesnmp.a
lrwxrwxrwx  1 root root           26  3 mar 20.04 libvdesnmp.la -&gt; ../local/lib/libvdesnmp.la
lrwxrwxrwx  1 root root           26  3 mar 20.04 libvdesnmp.so -&gt; ../local/lib/libvdesnmp.so</pre>
<p>Questo è ciò di cui abbiamo bisogno per esempio per utilizzare i <strong>vde plug fem</strong> disponibili solo nella versione svn e non in quella pacchettizzata.</p>
<p>Buon lavoro!</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2011%2F03%2F03%2Fvde-svn-e-kvm-pacchetto-debian-o-ubuntu%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2011/03/03/vde-svn-e-kvm-pacchetto-debian-o-ubuntu/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2011/03/03/vde-svn-e-kvm-pacchetto-debian-o-ubuntu/"  data-text="vde svn e kvm pacchettizzato debian o ubuntu" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2011/03/03/vde-svn-e-kvm-pacchetto-debian-o-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASUS EAH4350 and windows7 x64</title>
		<link>http://www.ldlabs.org/blog/2010/04/25/asus-eah4350-and-windows7-x64/</link>
		<comments>http://www.ldlabs.org/blog/2010/04/25/asus-eah4350-and-windows7-x64/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 09:54:59 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://www.ldlabs.org/blog/?p=613</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
There is a bug in ASUS OSD. The problem is that Aero doesn&#8217;t work, the solution is to remove ASUS OSD. Tweet]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>There is a bug in <em>ASUS OSD</em>. The problem is that<strong> Aero</strong> doesn&#8217;t work, the solution is to remove <em>ASUS OSD</em>.</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2010%2F04%2F25%2Fasus-eah4350-and-windows7-x64%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2010/04/25/asus-eah4350-and-windows7-x64/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2010/04/25/asus-eah4350-and-windows7-x64/"  data-text="ASUS EAH4350 and windows7 x64" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2010/04/25/asus-eah4350-and-windows7-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>problem with vlc fullscreen and kde panel</title>
		<link>http://www.ldlabs.org/blog/2010/01/13/problem-with-vlc-fullscreen-and-kde-panel/</link>
		<comments>http://www.ldlabs.org/blog/2010/01/13/problem-with-vlc-fullscreen-and-kde-panel/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 11:25:06 +0000</pubDate>
		<dc:creator>Francesco Apollonio</dc:creator>
				<category><![CDATA[Guide]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[experimental]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://blog.ldlabs.org/?p=595</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
If kde panel override  vlc&#8217;s fullscreen, you need to install vlc 1.0.4. How to install vlc-1.0.4 in debian squeeze (64b)  from sid packages: Remove old version: apt-get remove vlc-nox Get packages: wget http://ftp.dk.debian.org/debian/pool/main/v/vlc/vlc-nox_1.0.4-2_amd64.deb wget http://ftp.hu.debian.org/debian/pool/main/v/vlc/vlc_1.0.4-2_amd64.deb Install dependencies: apt-get install libxcb-keysyms1 Install new packages: dpkg -i vlc-nox_1.0.4-2_amd64.deb vlc_1.0.4-2_amd64.deb Tweet]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
float:left;
position: fixed;
top:40%;
left:60px;
z-index:1;
#F0F4F9 
}

#leftcontainerBox .buttons {
float:left;
clear:both;
margin:4px 4px 4px 4px;
width:110px;
height:60px;
padding-bottom:2px;
}


#bottomcontainerBox {
float:left;
height:30px;
width:100%;
#F0F4F9}

#bottomcontainerBox .buttons {
float:left;
height:30px;
width:110px;
margin:4px 4px 4px 4px;
}

</style>
<p>If kde panel override  vlc&#8217;s fullscreen, you need to install vlc 1.0.4.<br />
How to install vlc-1.0.4 in debian squeeze (64b)  from sid packages:</p>
<p>Remove old version:</p>
<p>apt-get remove vlc-nox</p>
<p>Get packages:</p>
<p>wget http://ftp.dk.debian.org/debian/pool/main/v/vlc/vlc-nox_1.0.4-2_amd64.deb<br />
wget http://ftp.hu.debian.org/debian/pool/main/v/vlc/vlc_1.0.4-2_amd64.deb</p>
<p>Install dependencies:</p>
<p>apt-get install libxcb-keysyms1</p>
<p>Install new packages:</p>
<p>dpkg -i vlc-nox_1.0.4-2_amd64.deb vlc_1.0.4-2_amd64.deb</p>
<div id="bottomcontainerBox">
			<div class="buttons">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ldlabs.org%2Fblog%2F2010%2F01%2F13%2Fproblem-with-vlc-fullscreen-and-kde-panel%2F&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div>
			<div class="buttons">
			<g:plusone size="medium" href="http://www.ldlabs.org/blog/2010/01/13/problem-with-vlc-fullscreen-and-kde-panel/"></g:plusone>
			</div>
			<div class="buttons">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.ldlabs.org/blog/2010/01/13/problem-with-vlc-fullscreen-and-kde-panel/"  data-text="problem with vlc fullscreen and kde panel" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.ldlabs.org/blog/2010/01/13/problem-with-vlc-fullscreen-and-kde-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

