Opened 3 years ago

Closed 3 years ago

#1850 closed help (fixed)

FCM - Commit message editor not found

Reported by: ucfaako Owned by: um_support
Component: FCM Keywords:
Cc: Platform: PUMA
UM Version: 6.6.3

Description

Hello,

I'm trying to add a Met Office branch to PUMA but the FCM constantly tries to start gedit as commit message editor, which then fails (see below). I'm probably missing something obvious in the set up, sorry I'm pretty new to the FCM/branching.

Cheers,
Alex

# Start: 2016-04-06 19:27:28⇒ fcm branch-create —svn-non-interactive -t DEV —rev-flag NORMAL -k 252 —branch-of-branch hg6.6.3_LUE_to_atm fcm:um_br@vn6.6
[info] Source: svn://puma/UM_svn/UM/trunk@575 (575)
[info] gedit: starting commit message editor…
Can't exec "gedit": No such file or directory at /home/fcm/fcm-2016.02.0/bin/../lib/FCM/System/CM/CommitMessage.pm line 92.
[FAIL] gedit /tmp/jcxkhSsmho # rc=-1

"fcm branch-create —svn-non-interactive -t DEV —rev-flag NORMAL -k 252 —branch-of-branch hg6.6.3_LUE_to_atm fcm:um_br@vn6.6" failed (512)
# Time taken: 8 s⇒ fcm branch-create —svn-non-interactive -t DEV —rev-flag NORMAL -k 252 —branch-of-branch hg6.6.3_LUE_to_atm fcm:um_br@vn6.6

Change History (3)

comment:1 Changed 3 years ago by ros

Hi Alexander,

You need to make sure you have the variable SVN_EDITOR set to the editor of your choice. See the instructions on configuring your editor here: http://puma.nerc.ac.uk/trac/UM/wiki/SettingUpYourEnvironment

Regards,
Ros.

comment:2 Changed 3 years ago by ucfaako

Hi Ros,

thanks for your quick reply, you were right, but I forgot to terminate and restart my session to apply my SVN_EDITOR changes.

Problem solved!

Many thanks,
Alex

comment:3 Changed 3 years ago by ros

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.