patchStraw, desktop news aggregator - Patches: patch #3182, 'NoneType' object has no attribute...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3182: 'NoneType' object has no attribute 'set_menu' error

Submitter:  None
Submitted:  Fri 02 Jul 2004 09:07:10 AM UTC
   
 
Category:  None Priority:  7 - High
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Sat 03 Jul 2004 06:25:32 AM UTC, comment #1: 

I doubt just commenting out the problematic lines is quite the correct approach if we want the category selector to work. I haven't seen this problem myself; it sounds as if you have a broken glade for some reason. The best bet might be to get 0.24 when I release it in a few days and see if this still happens.

Juri Pakaste <juri>
Group administrator
Fri 02 Jul 2004 09:07:10 AM UTC, original submission:  

I have the latest copy of Straw the desktop news aggregator. I have modified the 'straw' python file and set the path to strawsite_package in sys.path. While executing i get this error

=================================================================
Traceback (most recent call last):  File "/usr/local/bin/straw", line 37, in ?    s = straw.Main()  File "/usr/local/lib/python2.2/site-packages/straw/Main.py", line 86,in _init_    straw.main_window.display_categories()  File "/usr/local/lib/python2.2/site-packages/straw/MainWindow.py",line 1458, in display_categories    self._category_selector.display_categories()  File "/usr/local/lib/python2.2/site-packages/straw/MainWindow.py",line 635, in display_categories    self._widget.set_menu(self._menu)AttributeError: 'NoneType' object has no attribute 'set_menu'
=================================================================

I could fix this issue in MainWindow.py. I have attached the diff/patchhere.
I have not tested this patch for other issues, i have hacked it towork on my machine.
Pls feel free to discard the diff if this is not anissue.

I run Fedora Core 1 and i have Python 2.2.3.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7615:  MainWindow.py_diff added by None (351B - application/octet-stream - patch for MainWindow.py)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-07-02 None Attached File- Added MainWindow.py_diff, #3427

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code