Ticket #352 (closed defect: fixed)

Opened 5 months ago

Last modified 4 months ago

failed to set proper glade3_prefix

Reported by: sathyz Owned by: ali
Priority: important Milestone: october sprint
Component: ui Version: 0.6beta3
Severity: Medium Keywords: glade
Cc: Launchpad Bug:

Description

the install.py for glade3-plugin tries to compute the prefix using wrong index.

Actual output is

skumar@skumar-deb:/opt/repo/pida/pida-main/tools/glade3-plugin$ sudo python install.py installing in prefix /usr/bin/g cp: cannot create regular file `/usr/bin/g/share/glade3/catalogs': No such file or directory cp: cannot create regular file `/usr/bin/g/lib/glade3/modules': No such file or directory skumar@skumar-deb:/opt/repo/pida/pida-main/tools/glade3-plugin$

the prefix should be "/usr".

Change History

Changed 5 months ago by sathyz

diff -r c0029410cc57 tools/glade3-plugin/install.py --- a/tools/glade3-plugin/install.py Fri Sep 18 11:48:42 2009 +0200 +++ b/tools/glade3-plugin/install.py Wed Oct 07 00:01:58 2009 +0530 @@ -6,7 +6,7 @@

if pipe.returncode:

print "glade-3 not found in path"

-glade3_prefix = sto.strip()[:len('bin/glade-3')-1] +glade3_prefix = sto.strip().split('bin/glade-3')[0]

print "installing in prefix %s" %glade3_prefix

Changed 4 months ago by ronny

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