Bug #857
Feature #1022: RCP: X.X, proxy settings in TXM and its components
RCP: 0.7.6, the check and update R packages command hangs under operating systems using proxy connection
Status: | New | Start date: | 06/12/2014 | ||
---|---|---|---|---|---|
Priority: | Low | Due date: | |||
Assignee: | - | % Done: | 50% |
||
Category: | Network | Spent time: | - | ||
Target version: | TXM 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
Related issues
History
#1 Updated by Matthieu Decorde over 8 years ago
- Description updated (diff)
#2 Updated by Serge Heiden over 8 years ago
- Subject changed from RCP: 0.7.6, the check and update R packages command hangs under OS using proxy connection to RCP: 0.7.6, the check and update R packages command hangs under Mac OS X using proxy connection
- Description updated (diff)
#3 Updated by Sebastien Jacquot over 8 years ago
- Subject changed from RCP: 0.7.6, the check and update R packages command hangs under Mac OS X using proxy connection to RCP: 0.7.6, the check and update R packages command hangs under operating systems using proxy connection
- Description updated (diff)
Tested on Mac OS X and Windows XP.
#4 Updated by Sebastien Jacquot over 8 years ago
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 Updated by Sebastien Jacquot over 8 years ago
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 Updated by Sebastien Jacquot over 8 years ago
The "check R packages" command is no longer executed at TXM start up.
#7 Updated by Sebastien Jacquot over 8 years ago
- Category changed from Stats / R to Network
#8 Updated by Matthieu Decorde over 8 years ago
- Parent task set to #1022
#9 Updated by Matthieu Decorde about 8 years ago
- % Done changed from 0 to 60
Linux and Windows test passed
#10 Updated by Sebastien Jacquot over 7 years ago
- Status changed from New to Closed
- % Done changed from 60 to 100
Closed for redundancy, see #868.
#11 Updated by Sebastien Jacquot over 7 years ago
- Status changed from Closed to New
- Priority changed from High to Low
- Target version changed from TXM 0.7.7 to TXM 0.7.8
- % Done changed from 100 to 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 Updated by Sebastien Jacquot over 7 years ago
[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 Updated by Sebastien Jacquot over 7 years ago
- Description updated (diff)
#14 Updated by Matthieu Decorde over 7 years ago
- Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)
#15 Updated by Sebastien Jacquot over 4 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#16 Updated by Matthieu Decorde almost 4 years ago
- Target version changed from TXM 0.8.0 to TXM 0.8.2
#17 Updated by Sebastien Jacquot about 3 years ago
- Target version changed from TXM 0.8.2 to TXM X.X