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 164223 - starting posting app fails
starting posting app fails
Status: RESOLVED DUPLICATE of bug 163795
Product: gnome-blog
Classification: Other
Component: Blog Applet
0.8
Other All
: High critical
: ---
Assigned To: GNOME blog maintainers
GNOME blog maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-16 04:50 UTC by Andreas Klostermann
Modified: 2005-05-19 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Klostermann 2005-01-16 04:50:08 UTC
Steps to reproduce:
1. python gnome-blog-poster or running it another way

Symptom: "poster" variable referenced before assigned.
Solution: move critical code (the if block checking for a config key) below
where poster is assigned)

Me wonders why this should work on any system the way I downloaded it *sigh*

Stack trace:


Other information:
Comment 1 Richard Torkar 2005-03-07 14:54:41 UTC
Same here.
I run fedora rawhide and get this:
[richard@ ~]$ rpm -q gnome-blog
gnome-blog-0.8-1
[richard@ ~]$ gnome-blog-poster
/usr/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.py:4: DeprecationWarning:
Module gnome.vfs is deprecated; please import gnomevfs instead
  DeprecationWarning)
Traceback (most recent call last):
  • File "/usr/bin/gnome-blog-poster", line 51 in ?
    app = BloggerApp()
  • File "/usr/bin/gnome-blog-poster", line 32 in __init__
    poster._showPrefDialog()
UnboundLocalError: local variable 'poster' referenced before assignment

Comment 2 Fernando Flores 2005-03-17 19:58:17 UTC
Hi, I have the same symptom running Slackware 10.1, python-2.4, pyorbit-2.0.1, pygtk-2.6.0 and 
gnome-python-2.10.0
Comment 3 Greg Etling 2005-04-01 05:23:50 UTC
FYI, I ran into the same behavior in 0.8 on Gentoo.

Workaround: 
1) Install 0.7
2) Start app and enter preferences
3) Upgrade to 0.8
Comment 4 Jan de Groot 2005-04-03 17:03:25 UTC
Seems this has been fixed in CVS and is released together with 0.9.

0.9 has other problems: it doesn't work with the gnome python 2.10 bindings.
Comment 5 Jan de Groot 2005-04-03 17:04:21 UTC
Forgot the error message:

[jan@server ~]$ gnome-blog-poster
/usr/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.py:4: DeprecationWarning:
Module gnome.vfs is deprecated; please import gnomevfs instead
  DeprecationWarning)
Using gconf_prefix /apps/gnome-blog
/opt/gnome/lib/python2.4/site-packages/gnomeblog/rich_entry.py:21:
GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
  self.set_editable(gtk.TRUE)
Traceback (most recent call last):
  • File "/opt/gnome/bin/gnome-blog-poster", line 52 in ?
    app = BloggerApp()
  • File "/opt/gnome/bin/gnome-blog-poster", line 37 in __init__
    accel_group=accel_group)
  • File "/opt/gnome/lib/python2.4/site-packages/gnomeblog/blog_poster.py", line 41 in __init__
    gtkspell.Spell(self.blogEntry)
SystemError: NULL result without error in PyObject_Call

Comment 6 Olav Vitters 2005-05-19 18:56:02 UTC
Jan de Groot: Please limit to one problem per bugreport. That is also reported
in bug 172579.

This bug is a dupe of bug 163795, fixed in CVS and 0.9.

*** This bug has been marked as a duplicate of 163795 ***