<html>
<head></head>
<body>
<p>Thank you very much for your reply! :-)</p>
<p>I'll fix the problem like Marcelino suggested.</p>
<p>And, thanks again for your reply about control access, I supose that users must use a certificate individual, but I dont know how the Administrator knows the DN, I mean, I thought that&nbsp;the established procedure was using a tool or "hide option" that lists all user connected on the Venue Server and then to administrate the access.&nbsp;</p>
<p>It&nbsp;would be a good idea to make a program/tool &shy;that can be used for this purpose, or modify Venue Manager and, when I click on "Add Person" I could write the DN or select an user from a list of connected users.</p>
<p>Anyway, thanks for your help. I apologize for the inconvenience.<br/>
Greetings!</p>
<br/>
<br/>
<div><em>El dia 15 mar 2010 00:06, Christoph Willing &lt;c.willing@uq.edu.au&gt; escribi&oacute;:</em></div><blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>Jesus,</p>
<p>We have seen this problem previously and have already implemented a  fix (similar to the one suggested by Marcelino below) but its  obviously an incomplete fix - so thanks for reporting the problem.</p>
<p>I've changed my system language setting to Spanish and I can replicate  your problem. I found that I can manage my certificates by running  CertificateManager3.py from a shell - maybe you could do that until a  proper fix is implemented</p>
<br/>
<p>chris</p>
<br/>
<p>On 15/03/2010, at 6:41 AM, &lt;Marcolino.Pires@ac-paris.fr&gt; wrote:</p>
<blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>Hi</p>
<p>I have front several times this problem, the solution is to add  somthing like this in the AccessGrid python file causing the problem</p>
<p>import locale<br/>
...<br/>
locale.setlocale(locale.LC_ALL, 'C')<br/>
...</p>
<p>I can't tell you the exact file because I do not access an  AccessGrid client right now</p>
<p>Best regards</p>
<p>--</p>
<p>Marcolino PIRES<br/>
T&eacute;l&eacute;phone : 01 44 62 45 73</p>
<p>Rectorat de l'acad&eacute;mie de Paris<br/>
CAPTI - Bureau 382<br/>
94, avenue Gambetta<br/>
75984 PARIS CEDEX 20</p>
<p>----- Message d'origine -----<br/>
De: Jesus Cea Oliva &lt;jesus.cea@uca.es&gt;<br/>
Date: Dimanche, Mars 14, 2010 5:31 pm<br/>
Objet: [AG-TECH] Manage Certificates from VenueClient problems on  Ubuntu Karmic (Time data doesn't match format), and Control Access<br/>
&Agrave;: ag-tech@mcs.anl.gov</p>
<blockquote class="replyBlock" style="border-left: 2px solid #000083; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>Hi list.</p>
<p>I've a problem on Venue Client, on Ubuntu machines, when I click on<br/>
"Tools-&gt;Manage Certificates ...". No appears any screen, so, on Debug<br/>
Mode, I see this error:</p>
<p>"ValueError: time data 'Apr 21 00:52:18 2007 GMT' does not match<br/>
format '%b %d %H:%M:%S %Y %Z'"</p>
<p>This is the traceback:</p>
<br/>
<br/>
<p>/usr/lib/python2.6/dist-packages/twisted/internet/_sslverify.py:5:<br/>
DeprecationWarning: the md5 module is deprecated; use hashlib instead<br/>
import itertools, md5<br/>
/usr/lib/pymodules/python2.6/ZSI/resolvers.py:6: DeprecationWarning:<br/>
the multifile module has been deprecated since Python 2.5<br/>
import multifile, mimetools, urllib<br/>
Traceback (most recent call last):<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ CertificateManagerWXGUI.py",<br/>
line 176, in &lt;lambda&gt;<br/>
lambda event, win=win, self=self: self.OnShowNew(event, win))<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ CertificateManagerWXGUI.py",<br/>
line 237, in OnShowNew<br/>
self.certificateManager, self)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ CertificateManagerDialog.py",<br/>
line 25, in __init__<br/>
self.identBrowser = IdentityBrowser(self.notebook, -1,  self.certMgr)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ IdentityBrowser.py",<br/>
line 57, in __init__<br/>
CertificateBrowserBase.__init__(self, parent, id, certMgr)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ CertificateBrowserBase.py",<br/>
line 27, in __init__<br/>
self.Load()<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ CertificateBrowserBase.py",<br/>
line 86, in Load<br/>
data, columnStrings = self._FormatCert(cert)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/wxgui/ IdentityBrowser.py",<br/>
line 286, in _FormatCert<br/>
valid = self.certMgr.CheckValidity(cert)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/ CertificateManager.py",<br/>
line 375, in CheckValidity<br/>
if self.VerifyCertificatePath(cert):<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/ CertificateManager.py",<br/>
line 405, in VerifyCertificatePath<br/>
issuers = filter(lambda x: not x.IsExpired(), issuers)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/ CertificateManager.py",<br/>
line 405, in &lt;lambda&gt;<br/>
issuers = filter(lambda x: not x.IsExpired(), issuers)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/ CertificateRepository.py",<br/>
line 1340, in IsExpired<br/>
return self.cert.IsExpired()<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/ CertificateRepository.py",<br/>
line 1526, in IsExpired<br/>
return IsExpired(self.cert)<br/>
File<br/>
"/usr/lib/pymodules/python2.6/AccessGrid3/AccessGrid/Security/ Utilities.py",<br/>
line 52, in IsExpired<br/>
before_tuple = time.strptime(str(before_time),format)<br/>
File "/usr/lib/python2.6/_strptime.py", line 454, in _strptime_time<br/>
return _strptime(data_string, format)[0]<br/>
File "/usr/lib/python2.6/_strptime.py", line 325, in _strptime<br/>
(data_string, format))<br/>
ValueError: time data 'Apr 21 00:52:18 2007 GMT' does not match  format<br/>
'%b %d %H:%M:%S %Y %Z'</p>
<br/>
<p>On Windows I haven't this problem, and, on both systems, I can  execute<br/>
CertificateManager3.py without problems, only I have this error from<br/>
VenueClient option. What can I do to solve?</p>
<p>Other question, exists some document about control access? I would<br/>
like to create venues and restrict access. I know that it can do  using<br/>
Venue Manager, the Security tab in each Venue. But, I don't know how<br/>
add persons, I see a "Distinguish name", but, how I can know the DN  of<br/>
a Participant? Is necesary that the participant enter on a venue for<br/>
restrict/permit the access?, or exists some solution to<br/>
restrict/permit a Participant without enter on a Venue?.</p>
<br/>
<p>Thank you for your time. I apologize for the inconvenience.<br/>
Greetings!</p>
</blockquote></blockquote><p>Christoph Willing                       +61 7 3365 8316<br/>
QCIF Access Grid Manager<br/>
University of Queensland</p>
</blockquote><p>&nbsp;</p>
</body>
</html>