After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557998 - Runtime checks for goocanvas done too late
Runtime checks for goocanvas done too late
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: General
Git
Other All
: Normal normal
: 0.11.3
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-26 19:28 UTC by menoft
Modified: 2008-11-17 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description menoft 2008-10-26 19:28:30 UTC
Please describe the problem:
I set up pitivi by autogen.sh and it finished pretty good :

...
config.status: creating common/m4/Makefile
config.status: creating pitivi/Makefile
config.status: creating pitivi/configure.py
config.status: creating pitivi/ui/Makefile
config.status: creating pitivi/elements/Makefile
config.status: creating pitivi/pixmaps/Makefile
config.status: creating pitivi/timeline/Makefile
config.status: creating pitivi.spec
config.status: creating pitivi.desktop
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing intltool commands
config.status: executing po/stamp-it commands

make :
installing pt.gmo as .././locale/pt/LC_MESSAGES/pitivi.mo
installing pt_BR.gmo as .././locale/pt_BR/LC_MESSAGES/pitivi.mo
installing sv.gmo as .././locale/sv/LC_MESSAGES/pitivi.mo
installing zh_CN.gmo as .././locale/zh_CN/LC_MESSAGES/pitivi.mo
make[2]: quittant le répertoire « /home/yurek/Desktop/pitivi-0.11.2/po »
make[1]: quittant le répertoire « /home/yurek/Desktop/pitivi-0.11.2 »


make install :
...
 /usr/bin/install -c -m 644 'pitivi.desktop' '/usr/local/share/applications/pitivi.desktop'
test -z "/usr/local/share/pixmaps" || /bin/mkdir -p "/usr/local/share/pixmaps"
 /usr/bin/install -c -m 644 'pitivi.png' '/usr/local/share/pixmaps/pitivi.png'
make[2]: quittant le répertoire « /home/yurek/Desktop/pitivi-0.11.2 »
make[1]: quittant le répertoire « /home/yurek/Desktop/pitivi-0.11.2 »


So pitivi 11.2 is set up but :
 pitivi
Traceback (most recent call last):
  • File "/usr/local/bin/pitivi", line 113 in <module>
    _run_pitivi()
  • File "/usr/local/bin/pitivi", line 102 in _run_pitivi
    import pitivi.pitivi as pitivi
  • File "/home/aslan/Desktop/pitivi-0.11.2/pitivi/pitivi.py", line 32 in <module>
    from ui import mainwindow
  • File "/home/aslan/Desktop/pitivi-0.11.2/pitivi/ui/mainwindow.py", line 45 in <module>
    from timeline import TimelineWidget
  • File "/home/aslan/Desktop/pitivi-0.11.2/pitivi/ui/timeline.py", line 39 in <module>
    from complextimeline import ComplexTimelineWidget
  • File "/home/aslan/Desktop/pitivi-0.11.2/pitivi/ui/complextimeline.py", line 36 in <module>
    import goocanvas
ImportError: No module named goocanvas


So what is goocanvas ??


Steps to reproduce:
1. Setup pitivi with autogen.sh,  configure,  make,  make install


Actual results:
Buggy

Expected results:
Working as pitivi 0.11.1 ( on Ubuntu pitivi_0.11.1-0ubuntu1_all.deb )

Does this happen every time?
Yes

Other information:
2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux

Ubuntu Hardy
Comment 1 Edward Hervey 2008-10-26 20:44:15 UTC
goocanvas is a new canvasing library we use for the timeline. You'll need the python bindings for that.

Normally there should be a check at runtime... but it seems to be done too late. Changing the bug title accordingly.
Comment 2 Edward Hervey 2008-11-17 16:15:41 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

This was fixed in this commit:

* pitivi/pitivi.py:
Only import pitivi.ui for Interactive subclass
* pitivi/Makefile.am:
* pitivi/ui/Makefile.am:
* pitivi/ui/dnd.py:
Move dnd module to pitivi.ui
* pitivi/ui/sourcefactories.py:
* pitivi/ui/timeline.py:
* pitivi/ui/viewer.py:
Adjust code for dnd move

git-svn-id: svn+ssh://svn.gnome.org/svn/pitivi/trunk@1340 d3729300-e425-0410-8a4c-d956edccc248