conkyForecastWU --datatype=WI crashes Traceback (most recent call last): File "/usr/share/conkyforecast/conkyForecastWU.py", line 1812, in <module> main() File "/usr/share/conkyforecast/conkyForecastWU.py", line 1809, in main forecastinfo.writeOutput() File "/usr/share/conkyforecast/conkyForecastWU.py", line 1418, in writeOutput output = self.getDatasetOutput(self.options.datatype, self.options.startday, self.options.endday, self.options.night, self.options.shortweekday, self.options.imperial, self.options.beaufort, self.options.metrespersecond, self.options.hideunits, self.options.hidedegreesymbol, self.options.spaces, self.options.minuteshide, self.options.centeredwidth) File "/usr/share/conkyforecast/conkyForecastWU.py", line 1218, in getDatasetOutput output += self.getDatatypeFromSet(datatype, self.forecast_data[self.options.location].current, shortweekday, imperial, beaufort, metrespersecond, tempunit, speedunit, distanceunit, pressureunit, minuteshide, centeredwidth) File "/usr/share/conkyforecast/conkyForecastWU.py", line 949, in getDatatypeFromSet output = self.getImageSrcForCondition(set.condition_url, set.condition_text) File "/usr/share/conkyforecast/conkyForecastWU.py", line 1760, in getImageSrcForCondition imgfile.close() UnboundLocalError: local variable 'imgfile' referenced before assignment Reproducible: Always Steps to Reproduce: 1.Using conkyForecastWU with --datatype=WI 2. 3. Actual Results: crashes, conky can't display anything Expected Results: output of the path to the weather image Datatype example that works $ conkyForecastWU --datatype=HT -3°C emerge.info follows: Portage 2.1.11.47 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.7.1-gentoo x86_64) ================================================================= System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.2 KiB Mem: 3593836 total, 225152 free KiB Swap: 523772 total, 295196 free Timestamp of tree: Mon, 21 Jan 2013 21:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p42 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.6.8-r1, 2.7.3-r3, 3.2.3-r2 dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.10.2-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo graaff sunrise seden x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O3 -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ " LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu,-O3" MAKEOPTS="-j3 -l 10" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/graaff /var/lib/layman/sunrise /var/lib/layman/seden /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dga dri dts dvb dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gallium gdbm gif gpm grub gstreamer gtk gtk2 iconv imagemagick imap ipv6 java jpeg lame lcms ldap libnotify mad maildir matroska memlimit mmap mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ntpl offensive ogg opengl openmp pam pango pcre pda pdf perl png policykit portaudio posix ppds qt3support qt4 readline rtsp sdl seamonkey session sharedmem smp socks5 spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype type3 udev udisks unicode upower usb v4l2 vorbis wxwidgets x264 xcb xinerama xml xmp xorg xv xvid zlib" ALSA_CARDS="ICH7" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i810 i813 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Which version of conkyforecast are you using?
app-admin/conky 1.9.0-r2 app-admin/conkyforecast 2.24
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ab9e2c20acb3afe67a003b2baa98f62e47cb37 commit 74ab9e2c20acb3afe67a003b2baa98f62e47cb37 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-08-27 18:31:33 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-08-28 06:54:33 +0000 app-admin/conkyforecast: Remove last-rited package Closes: https://bugs.gentoo.org/453918 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-admin/conkyforecast/Manifest | 1 - .../conkyforecast/conkyforecast-2.24-r1.ebuild | 44 ---------------------- app-admin/conkyforecast/metadata.xml | 8 ---- profiles/package.mask | 5 --- 4 files changed, 58 deletions(-)