3

Where is the internet access configuration of the CDF Player?

On Mathematica, if I tell it to use the same config as the system, it doesn't work. If I write my-self this same config, it works.

I want to do the same on the CDF Player (it says it can't find the internet). Where's the "preferences"?

Thank you,

Verbeia
  • 4,400
  • 2
  • 23
  • 44
P. Fonseca
  • 549
  • 4
  • 12

1 Answers1

1

The problem might be that CDF player is a crippled version of Mathematica, with limited possibilities to access online data. Computable data that you get from Wolfram's servers with, for instance, WeatherData seems to be accessible, but importing websites as html using Import isn't possible. You might need Player Pro for this.

Sjoerd C. de Vries
  • 16,122
  • 3
  • 42
  • 94
  • It's exactly WeatherData that I'm using. I think the problem is that the player isn't finding internet, but I don't know where I can configure the proxy settings. – P. Fonseca May 17 '11 at 15:28
  • @user655673 Do you use a personal firewall? Does your office use a firewall? – Sjoerd C. de Vries May 17 '11 at 18:26
  • Yes. I'm in the company network, passing thru a firewall. But I can configure Mathematica to work, configuring the proxy and port on mathematica->edit->preferences->internet connectivity. I wanted to do the same on the player... How is the Player supposed to work inside a company firewall? – P. Fonseca May 17 '11 at 20:29
  • @user655673 I assume it uses the internet settings from either internet explorer of firefox, probably the one that is set as default browser. Might it be that you have more browsers on your system? – Sjoerd C. de Vries May 17 '11 at 21:51
  • @user655673 I originally thought that your firewall might use NTLM authentication, a relative old MS method not supported in Mathematica. I've had that problem in my office. I (partly) solved this with this proxy software: http://cntlm.sourceforge.net/. But I don't think this causes your problem as it would prevent both Mathematica an Player from working correctly. – Sjoerd C. de Vries May 17 '11 at 22:00
  • I have ie and firefox. Both access the internet with no problem. Searched for the player internet config both on files, and on the registry. Nothing... – P. Fonseca May 18 '11 at 06:54
  • @user655673 I did the same. Have been looking into all the init.m files to see if Mathematica's proxy settings appear there. Also watched what happens if I set proxy settings in mma with process monitor but did not see much useful. Player has an init.m file too. Perhaps you could put the setting there? Or have you tried `SetInternetProxy` in your program? – Sjoerd C. de Vries May 18 '11 at 07:05
  • Tried everything. It even seems like the Player doesn't take SetInternetProxy into consideration. Can someone from Wolfram please help us? – P. Fonseca May 18 '11 at 15:14
  • @Sjoerd I see you are now doing Project Euler. I hope you enjoy it. Good luck! – Mr.Wizard May 18 '11 at 21:06
  • @Mr.Wizard You made me do it... What's your timing on prob14, BTW? – Sjoerd C. de Vries May 18 '11 at 22:16
  • @Sjoerd, 12 seconds, 76 MB RAM. Shall I email you a list of the problems I have solved, so you know which ones me may discuss in fair play? – Mr.Wizard May 18 '11 at 22:25
  • @Please do. 12 secs; hmmm, mine took 140 secs. I didn't use memoization because I was afraid of the memory usage. I guess you did, right? – Sjoerd C. de Vries May 19 '11 at 07:35