pmtk3 icon indicating copy to clipboard operation
pmtk3 copied to clipboard

Initialization error in initPmtk3 : Matlab R2016A and Mac OS X Yosemite

Open srikumar9 opened this issue 8 years ago • 4 comments

Hi, I am facing the following error while installation. I am using R2016A. Please help

initPmtk3 initializing pmtk3 Error using urlreadwrite (line 92) The server did not find a resource to match this request. Error in urlread (line 36) [s,status] = urlreadwrite(mfilename,catchErrors,url,varargin{:}); Error in scrapePmtkSupport (line 14) raw = tokenize(urlread(url), '\n'); Error in downloadAllSupport (line 12) packages = scrapePmtkSupport([], exclude); Error in initPmtk3 (line 52) downloadAllSupport(fullfile(pmtk3Root(), 'pmtksupportCopy'), false);

srikumar9 avatar May 13 '16 07:05 srikumar9

This bug also happens on windows and linux, and Matlab 2015. I believe it is caused by http://pmtksupport.googlecode.com/svn/trunk/ not being available anymore.

facundoq avatar May 14 '16 18:05 facundoq

How should I work around this ?

srikumar9 avatar May 15 '16 02:05 srikumar9

I guess you could download the repository as a tarball and make the download script copy the files from a local folder.

facundoq avatar May 16 '16 14:05 facundoq

@srikumar9 Clone this repo into your hdd. Write the path down, you'll use it right after. Go to <path_to>/pmtk3/config.txt and locate the line with the entry

% PMTKlocalSupportPath     path/to/support

Change path/to/support with that path you wrote down before, i.e. <path_to>/pmtksupport.

Now initPmtk3 should run with no problems.

SergioRAgostinho avatar May 20 '16 18:05 SergioRAgostinho