zyGrib

zyGrib's forum
Nous sommes actuellement le 14 Nov 2018 04:40

Le fuseau horaire est UTC [Heure d’été]




Publier un nouveau sujet Répondre au sujet  [ 12 message(s) ] 
Auteur Message
 Sujet du message : Grib via Gmail on Android smartphone
Message Publié : 26 Oct 2012 19:08 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
I can sucessfully request grib files via email using GMail on my Android phone. However GMail blocks access to the attached file because it is in a compressed format. Would it be possible to add a new parameter to the gribauto email message to request that the grib file should be sent as a "*.grb" file and not compressed?

I have read some other forum posts (via Google translate :roll: ) and this may be an issue other have had with smart-phones.

Many thanks

Ray, Pleiades


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 27 Oct 2012 08:00 
Hors-ligne
Site Admin

Inscription : 19 Jan 2009 00:22
Message(s) : 579
Hello,

Stupid gmail, stupid android !!! :cry:

I will add such an option as soon as possible.

_________________
A+
Jacques


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 27 Oct 2012 09:57 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
Citer :
Stupid gmail, stupid android !!!


So true :D

Much appreciated! Many thanks, Ray


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 27 Oct 2012 12:01 
Hors-ligne
Site Admin

Inscription : 19 Jan 2009 00:22
Message(s) : 579
Hi,

There is now a compress option.

Please, try it with gmail+android
http://www.zygrib.org/index.php?page=gribauto

_________________
A+
Jacques


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 28 Oct 2012 13:05 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
That was quick!

I received the file OK as an uncompressed .grb file but then the problems started, here are the results of my tests:

The .grb attachment to the email would not download to the Android (using GMail).

I then forwarded the email to my home email and I receievd the file OK and checked that it was OK and uncompressed - all was good.

I then sent the same .grb file back as an email attachment from my home mail to my GMail account. This time GMail downloaded the file no problem :?

So the only difference I can see is the sender of the file - for some reason GMail does not like the noreply@zygrib.org? (Stupid GMail !)

My next test was to request a grib using Hotmail on the Android (this is normal Web Hotmail not an Android App). Hotmail and the Android were quite happy to download the .grb file. I tested Hotmail before and it will not download .bz2 files, so we have made progress and I do have a way of getting gribs via the Android - so thank you very much for such a quick change.

It is puzzling that GMail does not like the file but I doubt that I will be able to ask Google to change it - I shall try though :-) .


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 28 Oct 2012 14:15 
Hors-ligne
Site Admin

Inscription : 23 Jan 2009 09:03
Message(s) : 302
Pleiades a écrit :
That was quick!

I received the file OK as an uncompressed .grb file but then the problems started, here are the results of my tests:

The .grb attachment to the email would not download to the Android (using GMail).

I then forwarded the email to my home email and I receievd the file OK and checked that it was OK and uncompressed - all was good.

I then sent the same .grb file back as an email attachment from my home mail to my GMail account. This time GMail downloaded the file no problem :?

So the only difference I can see is the sender of the file - for some reason GMail does not like the noreply@zygrib.org? (Stupid GMail !)

My next test was to request a grib using Hotmail on the Android (this is normal Web Hotmail not an Android App). Hotmail and the Android were quite happy to download the .grb file. I tested Hotmail before and it will not download .bz2 files, so we have made progress and I do have a way of getting gribs via the Android - so thank you very much for such a quick change.

It is puzzling that GMail does not like the file but I doubt that I will be able to ask Google to change it - I shall try though :-) .


Hello,

To be able to download files (not all, but .grb and some others) you need to add a plugin (for instance : "save my attach" or even better "Download pro"; there is other plugins free also, I did not test and maybe even better)

_________________
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 29 Oct 2012 14:27 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
Citer :
you need to add a plugin for instance : "save my attach" or even better "Download pro"


Thanks for the information. I have tried these apps (and a couple of others) but unfortunately they corrupt the grib file by converting it into HTML. It may be that these download helper apps are not compatible with Android V2.3.6.

We had quite a trial and error session this morning trying to get round this problem and I can get the grib using ZIP format via Hotmail. I will not post the details just yet because I would like to find a better method and let everyone know what that is. So I'll come back with an update when I have found the best route to take.

Ray


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 30 Oct 2012 11:53 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
After many attempts, I'm starting to think that using web apps on my Android is not going to work for Zygrib - its the restrictions of the Apps that is the problem.

However Hotmail is the closest to being useable except that I get errors when I request the grib eg:

Citer :
Sorry, an error was detected during the analysis of your email:
Wrong file compression mode: NONE =


Sometimes it works, but mainly not. I have tried deleting any trailing characters with no effect. Is it possible for you to have a look at the code parsing the request parameters - maybe it is picking up end of line codes incorrectly. I am sending the email as plain text. I would try some other options but I have reached my Zygrib email limit for today!

Thanks, Ray


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 01 Nov 2012 07:36 
Hors-ligne
Site Admin

Inscription : 19 Jan 2009 00:22
Message(s) : 579
Hi,
Pleiades a écrit :
Sorry, an error was detected during the analysis of your email:
Wrong file compression mode: NONE =

The error is due to the " =" characters after "NONE".

_________________
A+
Jacques


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 02 Nov 2012 19:13 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
Apologies, you are quite correct. Although there is no visible "=" in the sent message, Hotmail adds it when it sends it :evil:

It seems to be a separator in the email, I have asked Microsoft if there is a way round this.


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 03 Nov 2012 12:16 
Hors-ligne
Site Admin

Inscription : 19 Jan 2009 00:22
Message(s) : 579
The server has been modified to be more tolerant.
Now it accepts that some codes are not in plain text encoding.
Thanks in advance to try it.

Warning: there is an other error in your last request: respect the order options then data

_________________
A+
Jacques


Haut
 Profil  
 
 Sujet du message : Re: Grib via Gmail on Android smartphone
Message Publié : 04 Nov 2012 14:11 
Hors-ligne

Inscription : 13 Oct 2012 18:45
Message(s) : 8
:D That all works perfectly in Hotmail now :D

Its really good that you make these changes so quickly and I am sure it will help others who want to use the email interface.

Also, for info to other Android phone users, I have updated my phone now to the latest version of Android (V4.0.3 Ice Cream Sandwich) and to my surprise GoogleMail will allow download of the uncompressed grib files now. So I shall avoid making any more updates to my phone so that it will continue to work!

So in summary, GMail on the Android works well using the "compress: none" option if you are running Android V4 (ICS), and Hotmail on the Android is also good and allows use of "compress: zip" option.

Thanks for the note about the order of options and data, I have corrected my request file. I does work if you place the compress option after the data items, but I shall keep to the rules to avoid it breaking in the future.

Many thanks for all your help :D


Haut
 Profil  
 
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 12 message(s) ] 

Le fuseau horaire est UTC [Heure d’été]


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Aller vers :  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Traduit en français par Maël Soucaze.