Bug 13848

Summary: gnome-sound-recorder does not start " syntax error near unexpected token `{' "
Product: Mageia Reporter: David GEIGER <geiger.david68210>
Component: RPM PackagesAssignee: Olav Vitters <olav>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gnome-sound-recorder-3.13.4-1.mga5 CVE:
Status comment:

Description David GEIGER 2014-08-03 13:22:01 CEST
On Mageia release 5 (Cauldron) for x86_64

gnome-sound-recorder does not start, here output of console:

$ LC_ALL=C gnome-sound-recorder
/usr/bin/gnome-sound-recorder: line 2: syntax error near unexpected token `{'
/usr/bin/gnome-sound-recorder: line 2: `imports.package.init({ name: "gnome-sound-recorder",'
$




Reproducible: 

Steps to Reproduce:
David GEIGER 2014-08-03 13:22:34 CEST

Assignee: bugsquad => olav

Comment 1 Manuel Hiebel 2014-08-21 11:22:20 CEST
cat /usr/bin/gnome-sound-recorder 
#!
imports.package.init({ name: "gnome-sound-recorder",
                        version: "3.13.4",
                        prefix: "/usr",
                        libdir: "/usr/lib64" });
imports.package.run(imports.main);

I don't know much about python

Keywords: (none) => Triaged

Comment 2 Jani Välimaa 2014-11-01 09:02:32 CET
Fixed in gnome-sound-recorder-3.14.0.1-4.mga5. The bug was caused by a missing shebang in launcher (because of a missing BuildRequires for gjs).

Status: NEW => RESOLVED
CC: (none) => jani.valimaa
Resolution: (none) => FIXED