From parv@pair.com  Mon Jan  2 06:20:06 2012
Return-Path: <parv@pair.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0B883106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jan 2012 06:20:06 +0000 (UTC)
	(envelope-from parv@pair.com)
Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124])
	by mx1.freebsd.org (Postfix) with ESMTP id B5ED18FC1B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jan 2012 06:20:05 +0000 (UTC)
Received: from hrndva-omtalb.mail.rr.com ([10.128.143.51])
          by hrndva-qmta03.mail.rr.com with ESMTP
          id <20120102031220456.OUIR22731@hrndva-qmta03.mail.rr.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 2 Jan 2012 03:12:20 +0000
Received: from [98.150.164.71] ([98.150.164.71:23611] helo=localhost)
	by hrndva-oedge01.mail.rr.com (envelope-from <parv@pair.com>)
	(ecelerity 2.2.3.46 r()) with ESMTP
	id 53/C9-23543-650210F4; Mon, 02 Jan 2012 03:11:19 +0000
Received: by localhost (Postfix, from userid 1000)
	id 2355F5E63; Sun,  1 Jan 2012 17:18:04 -1000 (HST)
Message-Id: <20120102031804.GB14245@holstein.holy.cow>
Date: Sun, 1 Jan 2012 17:18:04 -1000
From: parv@pair.com
Reply-To: parv@pair.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: rodrigo@bebik.net
Subject: multimedia/openshot fails to find "main" and "gtk" modules
X-Send-Pr-Version: 3.113

>Number:         163766
>Category:       ports
>Synopsis:       multimedia/openshot fails to find "main" and "gtk" modules
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 06:30:12 UTC 2012
>Closed-Date:    Sun Apr 08 08:20:19 UTC 2012
>Last-Modified:  Sun Apr 08 08:20:19 UTC 2012
>Originator:     
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD holstein.holy.cow 8.2-STABLE FreeBSD 8.2-STABLE #2: Fri Apr 22 12:33:32 HST 2011 root@holstein.holy.cow:/misc/obj/misc/src/sys/T61-SMP.8 i386

Python ports with "python" & "py27-" in name ...

  databases/py-sqlite3      py27-sqlite3-2.7.1_1
  devel/py-setuptools       py27-setuptools-0.6c11_1
  devel/py-xdg              py27-xdg-0.19
  graphics/py-goocanvas     py27-goocanvas-0.14.1_3
  graphics/py-imaging       py27-imaging-1.1.7_1
  lang/python26             python26-2.6.5_1
  lang/python27             python27-2.7.2_3
  lang/python32             python32-3.2.1
  multimedia/py-mlt         py27-mlt-0.7.6
  textproc/py-chardet       py27-chardet-2.0.1
  textproc/py-feedparser    py27-feedparser-5.0.1
  textproc/py-html2text     py27-html2text-3.01
  www/py-httplib2           py27-httplib2-0.7.1
  x11-toolkits/py-tkinter   py27-tkinter-2.7.2_3

>Description:

openshot when run, ends with error message ...

  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------

  ------------------------- ERROR 2 ------------------------------
  Failed to import 'from openshot.openshot import main'
  Error Message: No module named gtk
  ----------------------------------------------------------------

  OpenShot has failed to import some of the Python files or libraries
  required for our application to run.  Here are some trouble shooting
  tips:

  Tip 1) Check if MLT can be successfully imported in Python.  Run the
  following commands, and see if any errors are displayed.  If you get
  an error, you need to investigate the correct way to install MLT.
  NOTE:  Do not type the $ or >> characters in the examples below.

        $ python
        >> import mlt
        >> mlt.Factory().init()

  Tip 2) If MLT is working from the first example, then the next tip is
  to look at the above error messages very closely, and google for more
  help.  It's likely the problem is already reported, and maybe there is
  a simple work-around.  Also, you can search for bugs or report a new
  bug at https://bugs.launchpad.net/openshot.  Good luck!


... mlt.Factory().init() returns ...

  <mlt.Repository; proxy of <Swig Object of type 'Mlt::Repository *' at 0x2848f320> >



>How-To-Repeat:

Try to run openshot.

>Fix:


-- 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jan 2 06:31:14 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163766 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: rodrigo@bebik.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163766: multimedia/openshot fails to find "main" and "gtk" modules
Date: Mon, 2 Jan 2012 06:31:09 UT

 Maintainer of multimedia/openshot,
 
 Please note that PR ports/163766 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/163766
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: eadler 
State-Changed-When: Wed Feb 22 01:41:18 UTC 2012 
State-Changed-Why:  
maintainer timeout (should be reset on update) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163766 

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: parv@pair.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163766: multimedia/openshot fails to find "main" and "gtk"
 modules
Date: Sun, 25 Mar 2012 11:54:31 +0400

 Hi.
 
 I prepared an update to openshot 1.4.2. I have that `ERROR 1' message 
 too, but openshot starts and working just fine. I read on openshot 
 forums that this particular error may be related with some deps (may be 
 linux-centric) that's missing, and that some messing with debug.py 
 should help.  I'm finish tests left, and then commit this.
 As to `ERROR 2' I believe that you haven't pygtk2 installed. What output 
 this commands produce to you?:
 
 1. pkg_info | grep gtk | grep py
 2. python -c 'import gtk'
 3. python -V
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: parv@pair.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163766: multimedia/openshot fails to find "main" and "gtk"
 modules
Date: Sun, 25 Mar 2012 11:58:44 +0400

 Ruslan Mahmatkhanov wrote on 25.03.2012 11:54:
 > Hi.
 >
 > I prepared an update to openshot 1.4.2. I have that `ERROR 1' message
 > too, but openshot starts and working just fine. I read on openshot
 > forums that this particular error may be related with some deps (may be
 > linux-centric) that's missing, and that some messing with debug.py
 > should help. I'm finish tests left, and then commit this.
 > As to `ERROR 2' I believe that you haven't pygtk2 installed. What output
 > this commands produce to you?:
 >
 > 1. pkg_info | grep gtk | grep py
 > 2. python -c 'import gtk'
 > 3. python -V
 
 Sorry, I just see your installed packages list and realize that pygtk2 
 is indeed missing. You need to install x11-toolkits/py-gtk2 and all 
 should be fine.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.
Responsible-Changed-From-To: freebsd-ports-bugs->rm 
Responsible-Changed-By: rm 
Responsible-Changed-When: Sun Mar 25 13:39:09 UTC 2012 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163766 
State-Changed-From-To: open->feedback 
State-Changed-By: rm 
State-Changed-When: Mon Mar 26 05:10:49 UTC 2012 
State-Changed-Why:  
Awaiting submitter's response. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163766 

From: Rodrigo OSORIO <rodrigo@bebik.net>
To: bug-followup@FreeBSD.org, parv@pair.com
Cc:  
Subject: Re: ports/163766: multimedia/openshot fails to find &quot;main&quot; and &quot;gtk&quot; modules
Date: Fri, 6 Apr 2012 11:11:44 +0200

 Hi,
 
 I contact the submiter in PM, and according to him,
 the Ruslan proposition solves the problem. Give me 
 more time to make extra tests but theoricaly this PR
 can be considered closed.  Thanks Ruslan for your help
 and parv for your time.
 
 Regards
 
 -rodrigo
 
 On 04/04/12 22:43 -1000, parv@pair.com wrote:
 > Hi Rodrigo,
 >
 > After installing the py-gtk, openshot indeed does start. Thanks to
 > Ruslan for that. Please feel free to close this PR.
 >
 >
 >   - parv
 
State-Changed-From-To: feedback->closed 
State-Changed-By: rm 
State-Changed-When: Sun Apr 8 08:20:09 UTC 2012 
State-Changed-Why:  
Close. Submitter's problem was solved by manually installing missing 
dependency. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163766 
>Unformatted:
