Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GWN
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Tue Nov 11, 2003 6:52 pm    Post subject: Reply with quote

Niente :oops: da fare invani i mie tentativi di editare questi file !!!!

Magari mi spiegate come funziona :evil: !!!!

questo è quanto ho fatto:
Code:

1) copiato il sorgente
2) chmod +x gwn
3) $ ./gwn


risultato di vari errori !!!! tutto questo con il sorgente per python !!!
non parliamo del sorgente in perl !!!! 8O


:( booooooooooo


ciao Gentooaglia
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Tue Nov 11, 2003 7:16 pm    Post subject: Reply with quote

Code:
# User configuration

language = "it"

gwn_recipe = "recipe@domain.tld"
gwn_sender = "sender@domain.tld"

smtp_host = '10.0.1.1'


Questa è la parte (del codice python) da modificare, come dice chiaramente il commento. Mettici i tuoi indirizzi mail e l'ip del tuo smtp (quello che usi normalmente per spedire la posta, tipo mail.tin.it ma in versione numerica. Come trovare la versione numerica lo lascio a te come compito, è facilissimo ;) ).

la configurazione si inserisce tra il passo 1 e il passo 2 del tuo procedimento.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
teknux
Guru
Guru


Joined: 19 Feb 2003
Posts: 517
Location: Rome, IT

PostPosted: Tue Nov 11, 2003 7:19 pm    Post subject: Reply with quote

allora questo è come dovrebbe apparire:

Code:

language = "it"

gwn_recipe = "tuamail@tuoprovider.it"
gwn_sender = "tuamail@tuoprovider.it"

smtp_host = 'posta.in.uscita.it'


devi solo editare queste 3 voci, visto che sui siti dove trovi lo script è già preimpostata lal ingua italiana. gwn_recipe è il destinatario (immagino te stesso), gwn_sender è il mittente e puoi impostare la stessa mail, in fondo te la stai mandando. smtp_host è l'smtp che usi in genere per la posta in uscita. se hai un server di posta locale usa quello, altrimenti quello del tuo provider es: mail.libero.it

a me funziona e pare sia così anche per gli altri che lo hanno provato (i mantainer di gentoo.it e gentoo-italia lo hanno provato prima di inserlo). semmai posta qui l'errore, vedremo cosa fare ;)

saluti,
tek
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Tue Nov 11, 2003 9:03 pm    Post subject: Reply with quote

:? sono stupido io ?_? ??????

Code:

pyx@XuniL pyx $ less gwnshooter.py
pyx@XuniL pyx $ chmod +x gwnshooter.py
pyx@XuniL pyx $ ./gwnshooter.py
Traceback (most recent call last):
  File "./gwnshooter.py", line 35, in ?
    if (gwn_recipe[:9]=='set-it-up' ) or (gwn_sender[:9]=='set-it-up' ) or (smtp_host[:9]=='set-it-up' ) (language[:9]=='set-it-up' ):
TypeError: 'int' object is not callable


anche in mezzo al costrutto if vanno modificate le variabili ????

poi l'smtp di katamail è smtp.katamail.com ? mi sembra di si !!
Back to top
View user's profile Send private message
teknux
Guru
Guru


Joined: 19 Feb 2003
Posts: 517
Location: Rome, IT

PostPosted: Tue Nov 11, 2003 10:53 pm    Post subject: Reply with quote

ok, tanto per provare scaricati il file da qui e riprova a seguire le istruzioni dei post precedenti. se ti funziona, vedrò di ricotrollare i file sui siti che lo ospitano. in effetti nei giorni che ho passato quel file ci sono state alcune aggiunte (grazie a Igaryu) e correzioni (grazie a morellik), può darsi che qualcosa è diverso...

fammi sapere,
tek
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Wed Nov 12, 2003 8:08 am    Post subject: Reply with quote

teknux wrote:
ok, tanto per provare scaricati il file da qui e riprova a seguire le istruzioni dei post precedenti. se ti funziona, vedrò di ricotrollare i file sui siti che lo ospitano. in effetti nei giorni che ho passato quel file ci sono state alcune aggiunte (grazie a Igaryu) e correzioni (grazie a morellik), può darsi che qualcosa è diverso...

fammi sapere,
tek


pyx@XuniL pyx $ ./gwnshooter.py
OK: www.gentoo.org/news/it/gwn/20031110-newsletter.xml FOUND!
Retriving GWN for: 20031110 in language: it...
Sending last GWN to censured@katamail.com from censured@katamail.com...
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Wed Nov 12, 2003 8:10 am    Post subject: Reply with quote

teknux wrote:
ok, tanto per provare scaricati il file da qui e riprova a seguire le istruzioni dei post precedenti. se ti funziona, vedrò di ricotrollare i file sui siti che lo ospitano. in effetti nei giorni che ho passato quel file ci sono state alcune aggiunte (grazie a Igaryu) e correzioni (grazie a morellik), può darsi che qualcosa è diverso...

fammi sapere,
tek

Code:

pyx@XuniL pyx $ ./gwnshooter.py
OK: www.gentoo.org/news/it/gwn/20031110-newsletter.xml FOUND!
Retriving GWN for: 20031110 in language: it...
Sending last GWN to censured@katamail.com from censured@katamail.com...


adesso è andato :lol: grazie teknux
cosa poteva essere ?? un errore nel sorgente ??
sarebbe opportuno togliere quel file da www.gentoo.it !!!

ciao Gentooaglia
Back to top
View user's profile Send private message
teknux
Guru
Guru


Joined: 19 Feb 2003
Posts: 517
Location: Rome, IT

PostPosted: Wed Nov 12, 2003 9:00 am    Post subject: Reply with quote

bubble27 wrote:

adesso è andato :lol: grazie teknux
cosa poteva essere ?? un errore nel sorgente ??
sarebbe opportuno togliere quel file da www.gentoo.it !!!


finalmente! :D
può darsi qualche errore, gli manderò una mail per avvertirli.

saluti,
tek

EDIT: in realtà mancava un "or" nel check iniziale della configurazione, ritornando quell'errore, ho avvisato morellik.
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Wed Nov 12, 2003 9:33 am    Post subject: Reply with quote

Ok. Ho messo la versione corretta.

Ciauz
morellik
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Wed Mar 03, 2004 6:14 pm    Post subject: error Reply with quote

[19:16:20 ~ ]> python gwnshooter.py
ERROR: couldn't get the GWN for: 20040301 in language: it... exiting!
-----
[19:16:57 ~ ]> perl gwn.pl
Couldn't get the GWN for date 20040301 language it! at gwn.pl line 96.
-----

Non ce piu in italiano la GWN?!
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Wed Mar 03, 2004 6:57 pm    Post subject: Re: error Reply with quote

bld wrote:
Non ce piu in italiano la GWN?!


Per quel che ne so c'è ancora, semplicemente non è ancora uscita la traduzione della nuova versione, la 2004-03-01 appunto.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum