Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installationproblem #58

Open
GoogleCodeExporter opened this issue Dec 29, 2015 · 2 comments
Open

Installationproblem #58

GoogleCodeExporter opened this issue Dec 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.run initPTMK3 in Matlab 2010b

What is the expected output? What do you see instead?

initializing pmtk3
???  Index of element to remove exceeds matrix dimensions.

Error in ==> scrapePmtkSupport at 16
packages(1) = []; % remove '..'

Error in ==> downloadAllSupport at 12
packages = scrapePmtkSupport([], exclude);

Error in ==> initPmtk3 at 49
    downloadAllSupport();

What version / revision of the product are you using? On what operating
system?

last PTMK, Matlab 2010b

Please provide any additional information below.

In my mind the Problem is one line before (raw =tokenize(...). espacially in 
the function tokenize because the delimiter should be \n but there is no 
character in the string which is read by the function urlread. thtaswhy the 
variable package is empty. I think i found the problem but i have no solution. 
Did anybody have a solution?

Original issue reported on code.google.com by stev.gerson on 24 May 2013 at 9:13

@GoogleCodeExporter
Copy link
Author

Possible Solution : 

in scrapePmtkSupport function

raw = tokenize(urlread(url), '=');
packages = filterCell(raw, @(c)startswith(strtrim(c), '"'));
packages(1) = []; % remove '..'
start = '"';

Original comment by stev.gerson on 24 May 2013 at 10:33

@GoogleCodeExporter
Copy link
Author

Moved to GitHub: https://github.com/probml/pmtk3/issues/58

Original comment by irosen on 4 Jan 2014 at 2:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant