Back to the main page.

Bug 1781 - ft_version breaks

Status CLOSED FIXED
Reported 2012-10-15 11:17:00 +0200
Modified 2014-01-29 13:28:36 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 critical
Assigned to: Eelke Spaak
URL:
Tags:
Depends on:
Blocks:
See also:

Stephen Whitmarsh - 2012-10-15 11:17:49 +0200

running from home common: >> ft_version ??? Error using ==> fgetl at 44 Invalid file identifier. Use fopen to generate a valid file identifier. Error in ==> ft_version at 105 line = fgetl(fp); % just get first line, file should be ordered newest-first >> which ft_version /home/common/matlab/fieldtrip/utilities/ft_version.m


Stephen Whitmarsh - 2012-10-15 11:18:28 +0200

also: running from torque interactive session


Stephen Whitmarsh - 2012-10-15 11:21:18 +0200

also breaks when running from mentat


Robert Oostenveld - 2012-10-15 11:32:37 +0200

I made a quick workaround with a try-catch in utilities/private/ft_postamble_provenance.m mbp> svn commit ft_postamble_provenance.m Sending ft_postamble_provenance.m Transmitting file data . Committed revision 6755


Robert Oostenveld - 2012-10-15 11:33:37 +0200

@Eelke, can you look into the cause of ft_version failing on home/common?


Robert Oostenveld - 2012-10-15 11:34:10 +0200

PS it worked when I was running it from my own computer.


Eelke Spaak - 2012-12-12 09:53:34 +0100

Most likely the signature.md5 file was not present in /home/common/matlab/fieldtrip/ when this bug was popping up. It is now, and everything runs fine. Closing for now (even though ft_version still needs work, 'full' does not work properly yet I suspect).


Eelke Spaak - 2014-01-29 13:28:36 +0100

changing lots of bugs from resolved to closed.