Re: [Mrfilter-users] Fwd: Failed Startup (Fedora 17)
Status: Alpha
Brought to you by:
asomers
|
From: Joe M. <joe...@gm...> - 2012-06-25 16:10:21
|
Also, regarding the missing module, I found this: http://comments.gmane.org/gmane.linux.redhat.fedora.general/415746 Apparently it's an optional module that every gtk program complains about. Shouldn't be causing the problem, I think. On Mon, Jun 25, 2012 at 11:47 AM, <as...@gm...> wrote: > You want to be using gdb (the Python source-level debugger) for this. gdb > will debug the C interpreter instead. The easiest way is probably to go > into mrfilter_util.py at line 223 and write: > import pdb > pdb.set_trace() > > I'm also concerned about the 'Failed to load module "pk-gtk-module"' > line. That probably means that you are missing some unidentified > dependency. > > Then you can execute the program like normal. > > > On Mon, Jun 25, 2012 at 9:16 AM, Joe Mac <joe...@gm...> wrote: > >> I'm happy to do so once I figure out how. >> I've used gdb for various debugging tasks in the past, but I'm not sure >> how to make useable breakpoints / variable watches for python (as I said, I >> don't know much about python). >> >> I'm loading it into gdb using: >> $ gdb python >> (gdb) run /usr/bin/mrfilter >> >> Any tips on setting up breaks / watches for python that would help get me >> the info that you need? >> >> >> On Mon, Jun 25, 2012 at 10:59 AM, <as...@gm...> wrote: >> >>> I'll set up a Fedora 17 VM and try it myself. Or if you want to dive >>> right in, you can try to figure out what "value" was on line 223. >>> >>> On Mon, Jun 25, 2012 at 7:59 AM, Joe Mac <joe...@gm...> wrote: >>> >>>> I'm trying to run Mr. Filter on Fedora 17. I have all of the >>>> dependencies listed in the README. I installed with setup.py. When I try >>>> to execute mrfilter, I get: >>>> >>>> $ mrfilter >>>> >>>> ** (process:24319): WARNING **: Trying to register gtype >>>> 'GMountMountFlags' as enum when in fact it is of type 'GFlags' >>>> >>>> ** (process:24319): WARNING **: Trying to register gtype >>>> 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' >>>> >>>> ** (process:24319): WARNING **: Trying to register gtype >>>> 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' >>>> Gtk-Message: Failed to load module "pk-gtk-module" >>>> Traceback (most recent call last): >>>> File "/usr/bin/mrfilter", line 25, in <module> >>>> sys.exit(main(sys.argv)) >>>> File "/usr/lib/python2.7/site-packages/mrfilter/main.py", line 666, >>>> in main >>>> hwg = App() >>>> File "/usr/lib/python2.7/site-packages/mrfilter/main.py", line 209, >>>> in __init__ >>>> self.approx.set(poly='butter', h=1, btype='low', n=2, fn=50000) >>>> File "/usr/lib/python2.7/site-packages/mrfilter/mrfilter_util.py", >>>> line 223, in set >>>> if np.isinf(value) == True or np.isnan(value) == True: >>>> NotImplementedError: Not implemented for this type >>>> >>>> $ >>>> >>>> I don't know much about python programs, but let me know what I can do >>>> to help get the problem diagnosed/fixed. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. >>>> Discussions >>>> will include endpoint security, mobile security and the latest in >>>> malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Mrfilter-users mailing list >>>> Mrf...@li... >>>> https://lists.sourceforge.net/lists/listinfo/mrfilter-users >>>> >>>> >>> >> > |