Message Boards Message Boards

1
|
8482 Views
|
14 Replies
|
2 Total Likes
View groups...
Share
Share this post:
GROUPS:

WordDefinition function in 10.3 fails

Posted 9 years ago

I just installed 10.3. Here is the result of running the WordDefinition function exactly as it appears in the docs:

In[3]:= WordDefinition["dolphin"]

During evaluation of In[3]:= CreatePaclet::badppi: The paclet C:\Users\David\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Canonicalization-10.0.254656959.paclet does not have a properly formatted PacletInfo.m or PacletInfo.wl file. You can use the VerifyPaclet function to get more detailed information about the error.

During evaluation of In[3]:= PacletInstall::instl: An error occurred installing paclet from file C:\Users\David\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Canonicalization-10.0.254656959.paclet: Not a valid paclet. 

During evaluation of In[3]:= WordData::dlfail: Internet download of data for WordData failed. Use Help > Internet Connectivity... to test or reconfigure internet connectivity. >>

During evaluation of In[3]:= CreatePaclet::badppi: The paclet C:\Users\David\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Canonicalization-10.0.254656410.paclet does not have a properly formatted PacletInfo.m or PacletInfo.wl file. You can use the VerifyPaclet function to get more detailed information about the error.

During evaluation of In[3]:= PacletInstall::instl: An error occurred installing paclet from file C:\Users\David\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Canonicalization-10.0.254656410.paclet: Not a valid paclet. 

During evaluation of In[3]:= WordData::dlfail: Internet download of data for WordData failed. Use Help > Internet Connectivity... to test or reconfigure internet connectivity. >>

Out[3]= Missing["NotAvailable"]
POSTED BY: David Keith
14 Replies
Posted 9 years ago

Yes -- thank you, IIian. I now have "small toothed whales with a beaklike snout."

Must be some kind of equivalence class, yes?

POSTED BY: David Keith

It works correctly for me

In[1]:= $Version

Out[1]= "10.3.0 for Microsoft Windows (64-bit) (October 9, 2015)"

In[2]:= WordDefinition["dolphin"]

Out[2]= {"any of various small toothed whales with a beaklike snout; \
larger than porpoises", "large slender food and game fish widely \
distributed in warm seas (especially around Hawaii)"}

I would suggest closing Mathematica and clearing the contents of your C:\Users\David\AppData\Roaming\Mathematica\Paclets directory. On next use, the correct version of the paclet (10.0.25) should be downloaded.

POSTED BY: Ilian Gachevski

Another occurrence using 11.2.

In[2]:= WordDefinition["dolphin"]

During evaluation of In[2]:= CreatePaclet::badppi: The paclet C:\Users\modisio\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Definitions-10.0.2515404774.paclet does not have a properly formatted PacletInfo.m or PacletInfo.wl file. You can use the VerifyPaclet function to get more detailed information about the error.

During evaluation of In[2]:= PacletInstall::instl: An error occurred installing paclet from file C:\Users\modisio\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Definitions-10.0.2515404774.paclet: Not a valid paclet. 

During evaluation of In[2]:= WordData::dlfail: Internet download of data for WordData failed. Use Help > Internet Connectivity... to test or reconfigure internet connectivity.

During evaluation of In[2]:= CreatePaclet::badppi: The paclet C:\Users\modisio\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Definitions-10.0.2515404183.paclet does not have a properly formatted PacletInfo.m or PacletInfo.wl file. You can use the VerifyPaclet function to get more detailed information about the error.

During evaluation of In[2]:= PacletInstall::instl: An error occurred installing paclet from file C:\Users\modisio\AppData\Roaming\Mathematica\Paclets\Temporary\WordData_Definitions-10.0.2515404183.paclet: Not a valid paclet. 

During evaluation of In[2]:= WordData::dlfail: Internet download of data for WordData failed. Use Help > Internet Connectivity... to test or reconfigure internet connectivity.

Out[2]= Missing["NotAvailable"]

In[3]:= VerifyPaclet@"C:\\Users\\modisio\\AppData\\Roaming\\\
Mathematica\\Paclets\\Temporary\\WordData_Definitions-10.0.2515404774.\
paclet" 

Out[3]= True

The proposed fix did not correct the issue, neither did the "clean start" (http://support.wolfram.com/kb/12464). And, I am sorry to say, neither did calling Wolfram Research Tech Support.

POSTED BY: Matthias Odisio

What happens if you try downloading and installing the paclet manually, like so

PacletInstall[
 URLDownload[
   "http://pacletserver.wolfram.com/Paclets/WordData_Definitions-10.0.25.paclet", 
    "WordData_Definitions-10.0.25.paclet"], "IgnoreVersion" -> True]

If that doesn't work, it might be worth downloading the paclet file with a browser, extracting it manually (change the extension to .zip and unzip) and inspecting the contents.

Do you have any antivirus programs running or anything else that might interfere with the download?

By the way, the MD5 checksum of the file should be

In[2]:= FileHash["WordData_Definitions-10.0.25.paclet", "MD5", All, "HexString"]

Out[2]= "a3cd0e5aa3c45b5519aed34f88582212"

Is that the case for your download?

POSTED BY: Ilian Gachevski

Ilian,

The file WordData_Definitions-10.0.25.paclet appears to contain the webpage wolfram.com... And yes, there is an antivirus running.

Would you have further advice for me?

Matthias

POSTED BY: Matthias Odisio

Can you download the URL http://pacletserver.wolfram.com/Paclets/WordData_Definitions-10.0.25.paclet using your browser?

I would suspect some peculiar network setup, like a proxy or firewall or antivirus gateway that prevents the download from working, but that would be a question for your IT department/network administrator/machine sysadmin.

Given the file contents are not really what they should be, the Mathematica behavior is somewhat expected.

POSTED BY: Ilian Gachevski

From the browser, http://pacletserver.wolfram.com/Paclets/WordData_Definitions-10.0.25.paclet redirects to http://www.wolfram.com. Let's see if my IT department can help...

POSTED BY: Matthias Odisio

The redirect to wolfram.com is happening on a variety of situations I'm trying it on (windows on/off VPN, phone...). I now feel that @Ilian Gachevski 's suggestion of "some peculiar network setup [... that] prevents the download from working" is likely not the root explanation for this issue.

POSTED BY: Matthias Odisio

Matthias, I think it's strange that such a redirect is happening, but it's a peculiar network issue by definition if it affects your browser too, without involvement from Mathematica.

Why don't you send any pertinent information like your IP address and the approximate time of the requests to support?

Perhaps they can work with WRI's network administrators and check the web server logs for any clues.

POSTED BY: Ilian Gachevski

I meant that to me it is not peculiar since it happens all the time on a variety of devices and network configurations. Thanks for trying to help me. I appreciate that a lot.

I first contacted Tech Support in December (2017) about that problem and spent quite a lot of time investigating with them. Now we are in March 2018. If there is a clear path to resolution, I'm ready to work more on that, but I don't have any energy left for throwing stones in the dark.

POSTED BY: Matthias Odisio

@MatthiasOdisio I apologize for my confusion, but it was actually my own network setup that was peculiar and prevented me from seeing the redirect in my browser. It is in fact normal and supposed to happen if using a browser.

Based on the paclet manager developer's advice, if you could evaluate in a notebook

PacletUninstall["WordData_Definitions"];
TracePrint[PacletInstall["WordData_Definitions"], _URLSaveAsynchronous]

and send it to support, along with the .paclet file that got downloaded to your Temporary directory, that should help them investigate further.

POSTED BY: Ilian Gachevski

Hi Ilian, thanks for the follow-up :-)

I ran the 2 above commands. And, WordDefinition["dolphin"] now works... don't ask me why.

Would you know if there is a similar diagnosis I could run for the following, related, error?

Classify["CountryFlag"]@RandomImage[]

Classify::dlfail: Error downloading or installing the classifier named CountryFlag.
POSTED BY: Matthias Odisio

I would try the same steps but with "Classifier_CountryFlag" as the paclet name instead of "WordData_Definitions"

POSTED BY: Ilian Gachevski

Alright, I can indeed reproduce---sending to support right away. Thanks!

POSTED BY: Matthias Odisio
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract