(Courriels de diversion: <terrasserai@recensons-mammifere.com> <stigmatise@tisserent-pieter.com> <subreptice@conjecturait-attenuerez.com> <beneficiez@enerve-heriterions.com> <vanter@souillures-empresserai.com> <recueillirent@inspecterent-negocies.com> <lunaire@decuver-fastueux.com> <militaient@resisteras-faconnier.com> <exponentielles@antagoniste-implorerent.com> <consisteriez@admissibilites-commotionne.com> )


Jean-Marc Mongrelet a écrit :

> Jean-Michel a écrit :
>   
>> Jean-Marc Mongrelet a écrit :
>>     
>>> Dans tout les cas, chez moi, que ce soit r ou w, c'est du pareil au même
>>> ... le processus n'est pas bloquant... du moins dans l'immédiat, car au
>>> final, c'est mon serveur qui bloque (pas tout compris là!!!).
>>>       
>
> Dans certain endroit du script, le r/w fonctionne... dans un terminal,
> ça fonctionne pas (reste non bloquant).
>   

J'avais aussi observé ce genre de chose sur ma machine.
>   
>>>   
>>>       
>> mais lancez-vous x = os.popem, ou bien os.popen?
>>     
>
> pourquoi, ça existe os.popem ?
>   
Je voulais écrire:

 lancez-vous x = os.popen, ou bien os.popen?
Autrement dit, la valeur de retour de os.popen est-elle utilisée?

>
>   
>> Où peut-on consulter ce logiciel?
>>     
>
> ici:
> http://www.kde-apps.org/content/show.php?action=content&content=67518&PHPSESSID=12da43fbf62ebf7ae063cbd30ce9f296
>
> JM
>   

Il y a un truc que je n'ai pas du bien faire, car ça ne marche pas, a
priori.

(Je n'ai pas encore regardé le code)


Faut-il installer un logiciel spécifique (style KDE), ou pas?


python WebCollectionServer.py
localhost.localdomain - - [12/Jan/2009 21:38:07] "GET / HTTP/1.1" 200 -
ERROR: Couldn't attach to DCOP server!
ERROR: Couldn't attach to DCOP server!
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 33329)
Traceback (most recent call last):
  File "SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "SocketServer.py", line 241, in process_request
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "SocketServer.py", line 521, in __init__
    self.handle()
  File "BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "WebCollectionServer.py", line 45, in do_GET
    self.wfile.write(web.get())
  File "/tmp/webcollection/PostRequette.py", line 62, in get
    return self.get_A()
  File "/tmp/webcollection/PostRequette.py", line 117, in get_A
    self.playlist()
  File "/tmp/webcollection/PostRequette.py", line 270, in playlist
    xml = minidom.parse(playlistfile)
  File "xml/dom/minidom.py", line 1915, in parse
  File "xml/dom/expatbuilder.py", line 922, in parse
IOError: [Errno 2] No such file or directory: ''
----------------------------------------
localhost.localdomain - - [12/Jan/2009 21:38:09] "GET /favicon.ico
HTTP/1.1" 200 -
ERROR: Couldn't attach to DCOP server!
ERROR: Couldn't attach to DCOP server!
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 33330)
Traceback (most recent call last):
  File "SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "SocketServer.py", line 241, in process_request
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "SocketServer.py", line 521, in __init__
    self.handle()
  File "BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "WebCollectionServer.py", line 45, in do_GET
    self.wfile.write(web.get())
  File "/tmp/webcollection/PostRequette.py", line 62, in get
    return self.get_A()
  File "/tmp/webcollection/PostRequette.py", line 117, in get_A
    self.playlist()
  File "/tmp/webcollection/PostRequette.py", line 270, in playlist
    xml = minidom.parse(playlistfile)
  File "xml/dom/minidom.py", line 1915, in parse
  File "xml/dom/expatbuilder.py", line 922, in parse
IOError: [Errno 2] No such file or directory: ''
----------------------------------------


-----------------------------------------------------------------
Les listes de diffusion du CULTe - Pour une informatique libre
http://www.CULTe.org/listes/
Pour se desabonner:
mailto:linux-31-unsubscribe@CULTe.org?subject=Cliquez_sur_ENVOYER