Bug #857
RCP: 0.7.6, the check and update R packages command hangs under operating systems using proxy connection
Statut: | New | Début: | 12/06/2014 | ||
---|---|---|---|---|---|
Priorité: | Low | Echéance: | |||
Assigné à: | - | % réalisé: | 50% |
||
Catégorie: | Network | Temps passé: | - | ||
Version cible: | TXM 0.X.X |
Description
The check and update R packages command hangs under operating systems using proxy connection.
TXM commands using R functions are not available after hanging.
We may need to start R with this argument: --internet2,
using native operating system configuration, or implement a time out.
We now fully manage the proxy configuration, see #868
Validation tests¶
Devs must update a package on cran, e.g. : "textometry"
- run TXM on a proxy system
- call the "File\Check R packages" command
=> console output must be:
TBD
Demandes liées
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- Description mis à jour (diff)
#2 Mis à jour par Serge Heiden il y a plus de 11 ans
- Sujet changé de RCP: 0.7.6, the check and update R packages command hangs under OS using proxy connection à RCP: 0.7.6, the check and update R packages command hangs under Mac OS X using proxy connection
- Description mis à jour (diff)
#3 Mis à jour par Sebastien Jacquot il y a environ 11 ans
- Sujet changé de RCP: 0.7.6, the check and update R packages command hangs under Mac OS X using proxy connection à RCP: 0.7.6, the check and update R packages command hangs under operating systems using proxy connection
- Description mis à jour (diff)
Tested on Mac OS X and Windows XP.
#4 Mis à jour par Sebastien Jacquot il y a environ 11 ans
Win XP:
- there's already a time out, after waiting 32 minutes here is the log:
Update of 'textometry' failed (current version is still 0.1.1). Warning: Windows users need to restart TXM.
- then TXM works normally
#5 Mis à jour par Sebastien Jacquot il y a environ 11 ans
Temporary workaround to interrupt the package updating on Windows under proxy:
- start TXM
- when following message appears: "Updating the textometry (0.1.1) R package up to version 0.1.3"
- run the task manager and kill the "Rserve.exe" process
- in TXM execute "File\Restart engines"
- TXM should work normally
#6 Mis à jour par Sebastien Jacquot il y a environ 11 ans
The "check R packages" command is no longer executed at TXM start up.
#7 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- Catégorie changé de Stats / R à Network
#8 Mis à jour par Matthieu Decorde il y a presque 11 ans
- Tâche parente mis à #1022
#9 Mis à jour par Matthieu Decorde il y a presque 11 ans
- % réalisé changé de 0 à 60
Linux and Windows test passed
#10 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Statut changé de New à Closed
- % réalisé changé de 60 à 100
Closed for redundancy, see #868.
#11 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Statut changé de Closed à New
- Priorité changé de High à Low
- Version cible changé de TXM 0.7.7 à TXM 0.7.8
- % réalisé changé de 100 à 50
After some new tests, this command hangs up TXM on proxy system but with no proxy configured in RCP preferences.
In this case, the R time out connection is used. Is there anyway to reduce the time out connection in R ?
And/or better, execute this command in a non blocking thread ?
#12 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
[WIP]
We now give the system proxy settings to R/RServe, see #868.
We still need to validate the packages updating functionality on proxy systems.
install.packages("textometry", dependencies=TRUE, repos="http://cran.rstudio.com/");
in an .R session file seems to work well now, therefore "check R packages" should use this type of command (I mean without precising the method: curl, wget, etc.). I don't know the current method used for this command.
#13 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Description mis à jour (diff)
#14 Mis à jour par Matthieu Decorde il y a environ 10 ans
- Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)
#15 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#16 Mis à jour par Matthieu Decorde il y a plus de 6 ans
- Version cible changé de TXM 0.8.0 à TXM 0.8.2
#17 Mis à jour par Sebastien Jacquot il y a plus de 5 ans
- Version cible changé de TXM 0.8.2 à TXM 0.X.X
#18 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Tâche parente
#1022supprimé