Closed GoogleCodeExporter closed 9 years ago
That should be version 0.3.3. Sorry for any confusion.
Original comment by JMa...@gmail.com
on 12 Nov 2007 at 4:25
it doesn't put out a stack trace?
does it exit, or run indefinitely?
is it chewing through cpu or io cycles?
Original comment by pub...@kered.org
on 12 Nov 2007 at 7:49
how would I find the stack trace if it were to make one?
The program exits after about 1 second of real time (according to top) without
using any noticeable amount of CPU time, nor I/O cycles.
Original comment by JMa...@gmail.com
on 12 Nov 2007 at 6:56
I'm running this as root, so I think my problem may be connected with Issue No.
21.
http://code.google.com/p/flyback/issues/detail?id=21
Original comment by JMa...@gmail.com
on 12 Nov 2007 at 7:27
Although the patch given in Issue No. 21 now makes the program give output in
my
case, it doesn't help much since the program still refuses to start in the way
it's
intended, regardless of the account I use.
The new output is "error importing gtk: quiting :-(".
Original comment by JMa...@gmail.com
on 12 Nov 2007 at 7:36
well, it's a gui program. i assume you're logging in as a regular user, and "su
-"ing to root? no graphical program will run that way.
but you should be about to run it as "sudo python flyback.py".
Original comment by pub...@kered.org
on 12 Nov 2007 at 7:46
I've been sudo-ing, and `sudo bash`-ing, and running it as a regular user, and
still everything returns zero output (unless I apply the aforementioned patch),
with no gui, no noticeable CPU usage, and no noticeable I/O usage. I have all
the
file privileges to everything in the flyback directory, and I've installed all
of
the dependencies as specified.
jim@kubuntu:~/flyback$ sudo python flyback.py
jim@kubuntu:~/flyback$ sudo ./flyback.py
jim@kubuntu:~/flyback$ sudo python ./flyback.py
jim@kubuntu:~/flyback$ python flyback.py
jim@kubuntu:~/flyback$ ./flyback.py
jim@kubuntu:~/flyback$ python ./flyback.py
jim@kubuntu:~/flyback$ sudo bash
root@kubuntu:~/flyback# ./flyback.py
root@kubuntu:~/flyback# python flyback.py
root@kubuntu:~/flyback# ls -l
total 156
-rw-r--r-- 1 jim jim 10605 2007-11-11 15:48 backup_backend.py
-rw-r--r-- 1 jim jim 6230 2007-11-11 15:48 desktop.py
-rw-r--r-- 1 jim jim 6445 2007-11-12 14:57 desktop.pyc
-rwxr-xr-x 1 jim jim 21866 2007-11-11 15:48 flyback.py
-rw-r--r-- 1 jim jim 15124 2007-11-11 15:48 GPL.txt
-rw-r--r-- 1 jim jim 4212 2007-11-11 15:48 help_data.py
-rw-r--r-- 1 jim jim 4336 2007-11-12 14:57 help_data.pyc
-rw-r--r-- 1 jim jim 6497 2007-11-11 15:48 opengl_viewer.py
-rw-r--r-- 1 jim jim 57999 2007-11-11 15:48 viewer.glade
Original comment by JMa...@gmail.com
on 12 Nov 2007 at 8:16
what version of ubuntu?
what happens if you type each of these into "python -i"?
import os, sys, traceback, math
import dircache
import desktop
import gconf
import pickle
from datetime import datetime
from time import strptime
import threading
import help_data
import getopt
import pygtk
pygtk.require("2.0")
import gobject, gtk
import gtk.glade
import gnome.ui
import gobject
Original comment by pub...@kered.org
on 12 Nov 2007 at 9:14
I'm on Kubuntu 7.10 "Gusty Gibbon"
jim@kubuntu:~$ uname -a
Linux kubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
GNU/Linux
jim@kubuntu:~$ python -i
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, sys, traceback, math
>>> import dircache
>>> import desktop
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named desktop
>>> import gconf
>>> import pickle
>>> from datetime import datetime
>>> from time import strptime
>>> import threading
>>> import help_data
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named help_data
>>> import getopt
>>> import pygtk
>>> pygtk.require("2.0")
>>> import gobject, gtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 48, in
<module>
from gtk import _gtk
ImportError: /usr/lib/libpangoft2-1.0.so.0: undefined symbol:
g_once_init_enter_impl
>>> import gtk.glade
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 48, in
<module>
from gtk import _gtk
ImportError: /usr/lib/libpangoft2-1.0.so.0: undefined symbol:
g_once_init_enter_impl
>>> import gnome.ui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.5/gtk-2.0/gnome/__init__.py", line 13, in
<module>
from _gnome import *
ImportError: /usr/lib/libgnomevfs-2.so.0: undefined symbol:
g_once_init_enter_impl
>>> import gobject
>>>
Original comment by JMa...@gmail.com
on 12 Nov 2007 at 9:51
do you have "python-gtk2" and "python-gobject" installed?
Original comment by pub...@kered.org
on 13 Nov 2007 at 12:36
Yep.
I'm not too attached to this install of Kubuntu, perhaps I should try with a
100%
out-of-the-box configuration and package set? After all, it ran flawlessly the
first two times I tried.
Original comment by JMa...@gmail.com
on 13 Nov 2007 at 12:51
I've reinstalled Kubuntu, Reinstalled Flyback and it's dependencies, and
everything
seems to be working... Although I haven't installed skype, sshd, or any of the
things
I had on the old install yet.
Original comment by JMa...@gmail.com
on 16 Nov 2007 at 7:05
let me know if it breaks again.
Original comment by pub...@kered.org
on 20 Nov 2007 at 7:41
Original issue reported on code.google.com by
JMa...@gmail.com
on 12 Nov 2007 at 4:21