[solved] Conky 1.81 and execpi regression (messed up output)?
Hi all,
I have a script which dynamically outputs the following lines
${font dejavusansmono:size=8}$color1${fs_free_perc /}% free on /$alignr${diskio disk/by-uuid/9f90f2fa-49ce-4fb7-886b-bcebbc2fc231}/s
$color3${fs_bar 14 /}
$color1${voffset -20}$alignr${fs_used /}/${fs_size /} $font
${font dejavusansmono:size=8}$color1${fs_free_perc /home}% free on /home$alignr${diskio sda6}/s
$color3${fs_bar 14 /home}
$color1${voffset -20}$alignr${fs_used /home}/${fs_size /home} $font
${font dejavusansmono:size=8}$color1${fs_free_perc /home/data}% free on /home/data$alignr${diskio sda5}/s
$color3${fs_bar 14 /home/data}
$color1${voffset -20}$alignr${fs_used /home/data}/${fs_size /home/data} $font
When I copy the output and paste it into my conky, it shows as expected, but when I run the script via ${execpi 6 /path/to/my/script} it comes out messed up.
Does anyone else see this? I was going to submit it to conky's bug tracker but a quick look at their sourceforge site doesn't reveal any such.
Last edited by ngoonee (2011-10-27 00:39:47)
That work around doesn't work for me, I use this script:
$ cat diskSpace
#!/bin/bash
#: Description : Shows the free space of attached devices for Conky
## List of places to be displayed if mounted
placesDisplayed=/home/tom/.ConkyScripts/placesDisplayed
## Go through each place
while read place
do
## If they exist in mtab then print them and their size
if [[ $( mount | grep -c $place ) -gt 0 ]]
then
printf "%s \${alignr}\${fs_used %s} / \${fs_size %s}\n" $place $place $place
fi
done < $placesDisplayed
and it outputs:
/ ${alignr}${fs_used /} / ${fs_size /}
/home ${alignr}${fs_used /home} / ${fs_size /home}
/mnt/Windows ${alignr}${fs_used /mnt/Windows} / ${fs_size /mnt/Windows}
/media/iphone ${alignr}${fs_used /media/iphone} / ${fs_size /media/iphone}
Which currently looks like this.
It does the same thing with your workaround...
The conky bug tracker is useless, no one has done anything about it in months. Any better work arounds or, even better, how would I go about patching this myself?
Edit: Ok so I downloaded the source and the change log says that the fix was added in 2009:
2009-07-18
* Added compilation switch --enable-xoap to be able to use
www.weather.com as a source of weather data (this avoids adding
libxml2 as a required dependency for users that wish to use noaa
and not weather.com)
* Added support for X alignment across multi-lined objects (i.e., using
$alignr with $exec)
* Disabled OpenMP code until GCC's implementation stabilizes
* www.weather.com can now be used as well as a source of weather data
How old is the one in the arch repos?
Unless this is only fixing alignr before and execp instead of in an execp. (Sorry for the wall of text, I've got to put this somewhere otherwise in another month it'll bug me again until it's fixed).
Last edited by BaconPie (2010-12-22 12:17:39)
Similar Messages
-
[SOLVED] Conky, LM-sensors and hwmon
Hi,
I used the guide found at the forum thread http://bbs.archlinux.org/viewtopic.php?id=43397 (post #4) to get my GPU and CPU temperature shown in conky by using LM-sensors. It all works fine, except for a single little error...
My conky-setup for the temperatures says
${color lightgrey} GPU: $color${hwmon 0 temp 1}°C ${color lightgrey}CPU Core 0: $color${hwmon 1 temp 1}°C ${color lightgrey}CPU Core 1: $color${hwmon 2 temp 1}°C
but when showing in conky, the "°C" part becomes "Å°C"??
Can anyone see why this happens? I've attached my whole .conkyrc below:
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=7
own_window_type desktop
own_window_transparent yes
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Shows the time range covered by a graph.
show_graph_range yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
maximum_width 310
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
#border_margin 2
# border width
border_width 1
# Default colors and also border colors
default_color 424de5
default_shade_color 0b0b0b
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 10
gap_y 0
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
# Konfiguration fra Arch Forum:
# http://bbs.archlinux.org/viewtopic.php?id=56421
background yes
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
double_buffer yes
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 0
border_margin 0
border_width 0
TEXT
$sysname $kernel on $nodename
#${color lightgrey}Desktop: $color$desktop_name ($desktop/$desktop_number)
${color 00043d}$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #424de5} ${cpu}% ${cpubar}
${color 091124}${cpugraph lightgrey 00043d}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% $swapbar
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
${color 00043d}$stippled_hr
${color lightgrey}Networking (cable) - $color IP: ${addr eth0}
${color lightgrey} Down:$color ${downspeed eth0} k/s${color lightgrey} ${offset 70}Up:$color ${upspeed eth0} k/s
${color 091124}${downspeedgraph eth0 32,150 lightgrey 00043d} $alignr${color 091124}${upspeedgraph eth0 32,150 lightgrey 00043d}
${color lightgrey}Networking (wireless) - $color IP: ${addr wlan0}
${color lightgrey} Down:$color ${downspeed wlan0} k/s${color lightgrey} ${offset 70}Up:$color ${upspeed wlan0} k/s
${color 091124}${downspeedgraph wlan0 32,150 lightgrey 00043d} $alignr${color 091124}${upspeedgraph wlan0 32,150 lightgrey 00043d}
${color lightgrey}Wireless link quality: $color$wireless_link_qual $wireless_link_bar
${color lightgrey}Wireless ESSID: $color${wireless_essid}
${color 00043d}$stippled_hr
${color lightgrey}Battery: $color${battery BAT0} ${battery_bar BAT0}
${color 00043d}$stippled_hr
${color lightgrey}XMMS $xmms2_status
$color$xmms2_elapsed/$xmms2_duration $xmms2_bar
$color$xmms2_smart
${color lightgrey}Mixer: $color${mixer} ${mixerbar}
${color 00043d}$stippled_hr
${color lightgrey}Disk read: $color$diskio_read ${color lightgrey}- Disk write: $color$diskio_write
${color 091124}${diskiograph sda lightgrey 00043d}
${color lightgrey}File systems:
${color lightgrey} / $color${fs_used /}/${fs_size /} ${fs_bar /}
${color lightgrey} data $color${fs_used /mnt/data}/${fs_size /mnt/data} ${fs_bar /mnt/data}
${color lightgrey} vista $color${fs_used /mnt/vista}/${fs_size /mnt/vista} ${fs_bar /mnt/vista}
${color lightgrey} xp $color${fs_used /mnt/xp}/${fs_size /mnt/xp} ${fs_bar /mnt/xp}
${color 00043d}$stippled_hr
${color lightgrey}System temperatures:
${color lightgrey} GPU: $color${hwmon 0 temp 1}°C ${color lightgrey}CPU Core 0: $color${hwmon 1 temp 1}°C ${color lightgrey}CPU Core 1: $color${hwmon 2 temp 1}°C
${color 00043d}$stippled_hr
${color}Name PID CPU% MEM%
${color #308ffd} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #308ffd} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
EDIT: Found the error: I had edited the file in mousepad, which couldn't save the "°"'s right..
Last edited by bozack (2009-09-09 12:45:21)nTia89 wrote:
try to append in the .conkyrc
the setting:
override_utf8_locale
It didn't work - but I might have to say - my locale is danish (in my locale.gen I have the two lines "da_DK.UTF-8 UTF-8" and "da_DK ISO-8859-1" uncommented)..
Does this make any difference? -
[SOLVED] Remove completely Gnome and GDM (without messing MATE)
Hi everybody,
I wanted to try the new Gnome on my laptop and I installed it following the wiki with the command:
sudo pacman -S gnome gnome-shell gnome-extra gdm
I really like it (both the "standard" and the classic interfaces), but unfortunately it makes my laptop quite slow,
therefore I would like to remove it leaving only MATE on my desktop.
I noticed that Gnome partially conflicts with my MATE desktop (for example in a Gnome Classic session I would expect Nautilus
to be the default file browser, instead caja is opened), therefore I would like to know if there is some safe way to remove
all the installed packages without messing out with MATE.
Thanks in advance!
Solution here: https://bbs.archlinux.org/viewtopic.php?id=117144
Last edited by lucacerone (2014-04-02 00:16:29)Ok I think I found out on my own (searching on google send me to an Arch forum thread https://bbs.archlinux.org/viewtopic.php?id=117144, but I was looking for it in the wrong section).
Sorry for the pointless post. -
[SOLVED] conky-lua build fails due to toluapp package issues
I am trying to install conky-lua from AUR on 64 bit Arch and failing miserably.
When running the following:
yaourt -Sy conky-lua
I get the following error:
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a(tolua_is.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libcairo.la] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-conky-lua/conky-lua/src/conky-1.7.2/lua'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build conky-lua package.
I have read through what search results I can find on the topic (both here and via google) and have attempted to remedy the situation by adding build options to the toluapp build to provide for the conky-lua build. I have tried this by adding CCFLAGS = '-fPIC' to the scons call in the PKGBUILD file, I have also tried editing the config_linux.py file, which sits along side the main build file, to include the -fPIC switch also, which doesn't work either. i.e. I have this in the config_linux.py now:
CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
Which doesn't work, it results in:
==> Validating source files with md5sums...
tolua++-1.0.93.tar.bz2 ... Passed
config_linux.py ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Makepkg was unable to build toluapp package.
Can someone help me through a build as I have never come across scons before and maybe I am providing directives to the toluapp build incorrectly? I am still thinking in "make" terms...
I NEED lua in conky
Thanks in advance
Regards,
Kaivalagi
Last edited by kaivalagi (2009-11-11 07:32:04)I was asked by email on what exactly I did to get conky-lua installed and working on 64bit Arch, so I thought I would post my reply below in case it is of help to anyone else. Cheers
Run "yaourt -S conky-lua". Amongst other things this will try to install a dependancy which you need to mess about with, the package you need to edit is "toluapp".
When the "toluapp" package is downloaded by yaourt answer y to the edit question and provide something like gedit or kate as the editor to use
You'll now see the PKGBUILD file in the editor, this doesn't need editing just yet. But if you open file from the editor you'll see the directory thie PKGBUILD is in, and you want to edit the config_linux.py file you'll see there.
You should see this line in the config_linux.py file:
CCFLAGS = ['-O2', '-ansi', '-Wall']
Change it so it is like this:
CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
Now, back to the PKGBUILD file, you'll see this line:
md5sums=('100aa6907b8108582080b37d79c0afd7' 'bab107cdd2d18d3453a2344341b77c45')
These checksums line up with tarball and config_linux.py files, and this will stop you're edit from working if not amended because the .py file isn't what it should be, we changed it. So run md5sum against the .py file and update the second checksum in the line appropriately.
Carry on with the package installation and conky should have lua support
Last edited by kaivalagi (2010-01-14 08:50:55) -
[SOLVED] Problem with cron and unison
I've got a very strange problem I cannot solve.
I have set unison to synchronize my laptop (mercure) against my home computer (jupiter). It works really fine.
I can run it from the terminal:
unison -batch CERTES
and it runs good.
I have set ssh keys so that id doesn't ask me for a password. And that runs fine too because if I do ssh to jupiter, I log in without any password.
That's what the unison profile looks like:
[jordi@mercure ~]$ cat .unison/CERTES.prf
root = /home/jordi/CERTES
root = ssh://[email protected]//home/jordi/Macbook
After this, everything is ok.
Then I set a cron job so this is done once an hour everyday using crontab -e:
0 * * * * /usr/bin/unison -batch CERTES
And every hour I receive this mail:
Contacting server...
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Fatal error: Lost connection with the server
Ok then, this seems like cron can't log into jupiter with ssh as I thought. So I modify /etc/ssh/sshd_config to put this option:
PermitUserEnvironment yes
I do the same on mercure, even if I think it's useless, but...
I always receive the same error and I can't get the 2 folders synchronzed.
Before my hard drive crashed a week ago, I had unison running by cron and it was working nice, but now I'm unable to do it again...
Does anyone has a clue about what's happening and how to solve it?
Last edited by jcerdan (2008-07-04 09:52:00)I have tried adding source to the crontab but I got the same error.
This is the env output from cron:
CONSOLE=/dev/console
SHELL=/bin/sh
CMDLINE=root=/dev/disk/by-uuid/25d2ee78-61ac-4b43-929a-28180b156786 ro
TERM=linux
rootdelay=0
USER=jordi
INIT_VERSION=sysvinit-2.86
ro=y
PATH=/bin:/usr/bin:/sbin:/usr/sbin
_=/usr/bin/env
RUNLEVEL=3
PWD=/home/jordi
PREVLEVEL=N
root=/dev/disk/by-uuid/25d2ee78-61ac-4b43-929a-28180b156786
SHLVL=3
HOME=/home/jordi
kinit_params= rootfstype=ext3 rootdelay=0
And this is the env output from the terminal:
[jordi@mercure ~]$ env
XDG_DATA_HOME=/home/jordi/.local/share
SHELL=/bin/bash
TERM=xterm
DESKTOP_STARTUP_ID=
HISTSIZE=1000
QT_XFT=true
GTK_RC_FILES=/etc/gtk/gtkrc:/home/jordi/.gtkrc-1.2-gnome2
WINDOWID=54526543
QTDIR=/opt/qt
GTK_MODULES=gnomebreakpad
USER=jordi
GNOME_KEYRING_SOCKET=/tmp/keyring-C1rLTl/socket
SSH_AUTH_SOCK=/tmp/keyring-C1rLTl/ssh
KDEDIR=/opt/kde
OOO_FORCE_DESKTOP=gnome
SESSION_MANAGER=local/mercure:/tmp/.ICE-unix/3449
USERNAME=jordi
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:/opt/mozilla/lib/plugins
XDG_CONFIG_DIRS=/etc/xdg:/opt/kde/etc/xdg
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
DESKTOP_SESSION=gnome
GDM_XSERVER_LOCATION=local
INPUTRC=/etc/inputrc
PWD=/home/jordi
JAVA_HOME=/opt/java/jre
LIBXCB_ALLOW_SLOPPY_LOCK=true
EDITOR=vi
LANG=es_ES.utf8
GNOME_KEYRING_PID=3448
GDM_LANG=es_ES.utf8
KDEDIRS=/opt/kde:/usr
PS1=[\u@\h \W]\$
PS3=>
GDMSESSION=gnome
PS2=>
HISTCONTROL=erasedups
SHLVL=1
HOME=/home/jordi
PS4=+
XDG_CONFIG_HOME=/home/jordi/.config
GNOME_DESKTOP_SESSION_ID=Default
XDG_CACHE_HOME=/home/jordi/.cache
LOGNAME=jordi
LESS=-R
CLASSPATH=:/opt/java/jre/lib
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5ncgDqnWoO,guid=1e082c45cdb24be2d415016e486c820b
XDG_DATA_DIRS=/usr/share:/usr/local/share:/usr/local/share/:/usr/share/:/usr/share/gdm/:/opt/kde/share
PKG_CONFIG_PATH=:/opt/kde/lib/pkgconfig:/opt/qt/lib/pkgconfig
WINDOWPATH=7
DISPLAY=:0.0
J2REDIR=/opt/java/jre
G_BROKEN_FILENAMES=yes
COLORTERM=gnome-terminal
XAUTHORITY=/home/jordi/.Xauthority
_=/usr/bin/env
A lot of vars are different, but they refer to the Gnome environment. I can see that SHELL, TERM are different, but I don't know what can make the difference.
Do you think there's a problem there? -
I had this problem: "cannot connect to itunes" while trying to download an app so i went to the settings and i kinda messed it up that now i have not apps or itunes icon on my ipad! can anyone help me?
First, try a reset: hold down the home button along with the power button until you see the Apple, then let go.
-
I have downloaded Firefox onto my computer and it is messed up with Sweetimstore. How do I get rid of it? Every time I open Firefox a Sweetimstore "thing" comes onto my screen. It is very annoying and I do not want it on my computer.
* http://www.imessengr.com/2006/12/how-to-remove-uninstall-sweetim.html
* http://www.sweetim.com/help_simff.asp -
I want to clean all of the cookies and bugs that are in my computer causing it to be slow. What program should I use that is safe and won't mess up my computer?
Problem description:
I would like to clean up my computer. Its beginning to run slow and I believe cookies and bugs are apart of the reason.
EtreCheck version: 2.0.6 (91)
Report generated October 26, 2014 at 4:59:31 PM EDT
Hardware Information: ℹ️
MacBook Air (13-inch, Early 2014) (Verified)
MacBook Air - model: MacBookAir6,2
1 1.4 GHz Intel Core i5 CPU: 2-core
4 GB RAM Not upgradeable
BANK 0/DIMM0
2 GB DDR3 1600 MHz ok
BANK 1/DIMM0
2 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en0: 802.11 a/b/g/n/ac
Video Information: ℹ️
Intel HD Graphics 5000 -
Color LCD 1440 x 900
System Software: ℹ️
OS X 10.9.5 (13F34) - Uptime: 13 days 2:41:41
Disk Information: ℹ️
APPLE SSD SD0128F disk0 : (121.33 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 120.47 GB (70.38 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
Apple Internal Memory Card Reader
Apple Inc. iPhone
General USB Flash Disk 16.13 GB
S.M.A.R.T. Status: Verified
MSD (disk1s1) /Volumes/MSD : 16.13 GB (11.18 GB free)
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Library/Extensions
[loaded] foo.tap (1.0) Support
[loaded] foo.tun (1.0) Support
Startup Items: ℹ️
tap: Path: /Library/StartupItems/tap
tun: Path: /Library/StartupItems/tun
Startup items are obsolete and will not work in future versions of OS X
Problem System Launch Daemons: ℹ️
[failed] com.apple.wdhelper.plist
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[running] com.perion.searchprotectd.plist Support
User Launch Agents: ℹ️
[loaded] com.genieo.completer.download.plist Support
[loaded] com.genieo.completer.ltvbit.plist Support
[running] com.genieo.completer.update.plist Support
[loaded] com.google.keystone.agent.plist Support
[invalid?] com.jdibackup.ZipCloud.autostart.plist Support
[running] com.zeobit.MacKeeper.Helper.plist Support
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: ℹ️
DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 537 - SDK 10.9
User Internet Plug-ins: ℹ️
TroviNPAPIPlugin: Version: 1.0 - SDK 10.9 Support
Safari Extensions: ℹ️
Trovi Search for Safari (Disabled)
3rd Party Preference Panes: ℹ️
Flash Player Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
53% mds
9% WindowServer
3% mds_stores
3% storeagent
2% hidd
Top Processes by Memory: ℹ️
920 MB mds
31 MB com.apple.WebKit.WebContent
30 MB Messages
29 MB Safari
21 MB WindowServer
Virtual Memory Information: ℹ️
31 MB Free RAM
713 MB Active RAM
681 MB Inactive RAM
1.09 GB Wired RAM
17.85 GB Page-ins
1.95 GB Page-outs -
Few days before I brought one iphone 5 by second party and this phone make a unlock but it sometime have a cellular network most of time say no service can u solve this problem please and I put serial number it say this phone is replace can u help me for original serial number....
If Apple's service database says that your iPhone was replaced, then Apple will no longer provide any service for that phone.
First, get a new SIM from your cell carrier and see if that corrects the problem. If it does not, try the usual steps for addressing software problems: restart, reset, restore.
http://support.apple.com/kb/HT1430
http://support.apple.com/kb/HT1414
If you try restoring from a backup and that doesn't fix the problem, try restoring to factory settings and, if the problem goes away, then sync back your apps and content. You'll lose the app data and settings, but if the problem is due to a corrupt cache or settings file, restoring to factory settings should cure it.
If none of that helps, your device may have developed a hardware fault. Again, Apple will provide no service for it, so you will need to pay some independent repair shop to fix your iPhone.
Regards. -
I just got the Itunes update. So frustrating. I will be trying methods on this forum to save my library and re-install the older version of ITunes. What was Apple thinking when they developed and released this mess?
Apple is more likely to see your comments if you send feedback via:
http://www.apple.com/feedback/itunesapp.html
=Downgrading from iTunes 11 to iTunes 10.7=
You may be able to go back with Time Machine but this may involve restoring other items too (https://discussions.apple.com/message/20441404). Alternatively:
Back up your computer first, in case the unexpected happens.
Quit iTunes.
Get iTunes 10.7 from http://support.apple.com/kb/DL1576 or the direct download link at: http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg
Do a few preparatory steps by making sure all iTunes components are not running and cleaning old files. See https://discussions.apple.com/message/20475394. Do steps 3 and 4. Steps 6-8 may be also useful but I don't know if they are essential. Some of the other steps are not necessary, duplicate steps listed later in my post or are perhaps even unhelpful in the process.
Replace the iTunes 11 application with iTunes 10.7. Simply dragging the application to the trash may not work. Lion (OSX 10.7) and newer systems have iTunes integrated into the operating system and deleting is a bit more involved. Two ways to do this are:
1. Use the shareware Pacifist utility (http://www.charlessoft.com/) to install iTunes 10.7 including all associated system files. Details at http://forums.macrumors.com/showpost.php?p=16400819&postcount=6
2. Check this reference on how to delete the iTunes application itself:
Delete iTunes in Mac OS X 10.7 Lion - http://osxdaily.com/2011/09/13/delete-itunes-in-mac-os-x-10-7-lion/
After deleting the application there may be other files that need downgrading too. See the note about error -42408 at the end of this post. You may want to tuck these away somewhere safe until you have completed the installation of iTunes 10.7. I have not tested this but ideally if newer versions are not found then the installer will put in the old versions. This may include these files in /System/Library/PrivateFrameworks/ which apparently get updated by iTunes 11:
AirTrafficHost.framework
CoreFP.framework
DeviceLink.framework
iTunesAccess.framework
MobileDevice.framework
After doing one of the two procedures above you will have to rescue the most recent old iTunes library from your iTunes > Previous Libraries folder. Rename it "iTunes Library.itl" and replace the existing one in the iTunes folder. A newer version of iTunes irreversibly updates your library file so you have to replace it with the old one or you will get an error message. Note, this will revert your library to the version at the time of the upgrade and you will have to update any changes made since. See:
https://discussions.apple.com/message/20401436 - turingtest2 11/2012 post on rebuilding empty/corrupt library from previous iTunes library file after upgrade/crash.
iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451
Other issues:
- https://discussions.apple.com/message/20432309 - solution to mobile devices saying they need to be restored after downgrading
- If you encounter error -42408:
iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - including specific error codes.
Alternatively, check https://discussions.apple.com/message/20441424 which requires you have a Time Machine backup (though possibly if you remove the newer version of these files old ones may be installed with the iTunes 10.7 installer - untested). A variant of this is at: https://discussions.apple.com/message/20448184
- Persistent "Show in iTunes Store" arrows after downgrade - https://discussions.apple.com/thread/4567064 -
Revision: 18377
Revision: 18377
Author: [email protected]
Date: 2010-10-29 12:17:57 -0700 (Fri, 29 Oct 2010)
Log Message:
Remove WEB-INF/flex/jars from classpath in qa-manual and qa-regress. This folder no longer exists as we don't have the webtier compiler.
checkintests: passed
Modified Paths:
blazeds/trunk/qa/apps/qa-manual/build.xml
blazeds/trunk/qa/apps/qa-regress/build.xml -
upgraded my macbook pro to mountain lion from snow leopard does this mean i can upgrade my imac as well for the same price? And will it mess it up?
You can upgrade the iMac for no extra charge - sign into the App Store there, download and install 10.8.
I recommend that you make a backup (Time Machine is probably the easiest method) before you install, and make sure that you are not using any applications that are incomptible with 10.8 (eg Office 2004) - other than that, it should go smoothly.
Matt -
[SOLVED] Conky Mail Notification using a Bash Script
Hi there, I have conky piped into a dzen panel, and I'm trying to get conky to echo my unread mail count whenever the # is >0. It's just not working for me, and I was wondering what I did incorrectly.
I have the 3 following files.
~/.conkyrc
background yes
out_to_console yes
out_to_x no
update_interval 1
TEXT
${execi 60 /home/nil/mail-notify}
~/mail-notify
#! /bin/bash
gmail=$(python /home/nil/gmail.py)
if [ $gmail -gt 0 ]; then
echo "$gmail"
fi
~/gmail.py
#!/usr/bin/env python
# This is a script that checkes the gmail unread count.
from urllib.request import FancyURLopener
username = 'myusername'
password = 'mypasswd'
url = 'https://%s:%[email protected]/mail/feed/atom' % (username, password)
opener = FancyURLopener()
page = opener.open(url)
contents = page.read().decode('utf-8')
ifrom = contents.index('<fullcount>') + 11
ito = contents.index('</fullcount>')
unread = contents[ifrom:ito]
print(unread)
gmail.py was taken from the archwiki page, and I've confirmed it to be working (I censored my user name and password here). What gmail.py does is output an integer representing your unread mail count.
Similarly, Conky's code and the mail-notify script run fine. If I rewrite mail-notify's conditional to be "if [ 1 -gt 0 ]; then", then it will successfully output the unread mail count. Hence the problem lies in the scripting of the if condition. mail-notify should run gmail.py, if the output count is >0, then it should echo that number. Else it does nothing. Any help is appreciated!
Last edited by nil (2013-08-19 23:40:14)jasonwryan wrote:Presumably the script is called gmail.py, not gmail1.py?
Oops, sorry, that was a typo when writing up this post. -
Revision: 13169
Revision: 13169
Author: [email protected]
Date: 2009-12-22 14:39:59 -0800 (Tue, 22 Dec 2009)
Log Message:
Fixes for two FB issues and two regressions caused by recent fixes.
QE notes:
Doc notes:
Bugs: SDK-24708, SDK-24668, SDK-24827, SDK-24829
Reviewer: Corey
Tests run: checkintests, com.adobe.flexbuilder.project JUnit tests
Is noteworthy for integration: Yes, fixes two FB issues
Code-level description of changes:
modules/compiler/src/java/flex2/tools/oem/Library.java
modules/compiler/src/java/flex2/tools/Compc.java
modules/compiler/src/java/flex2/tools/Fcsh.java
modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
Modified calls into SwcAPI's setupClasses() and
setupNamespaceComponents() to pass in the SourceList.
modules/compiler/src/java/flex2/tools/VersionInfo.java
Added null check to getBuild().
modules/compiler/src/java/flex2/compiler/CompilerAPI.java
Modified compile() to only add elements of "classes" to "sources"
if not already contained. This covers the case of a Source being
in the SourceList and the manifest.
modules/compiler/src/java/flex2/compiler/swc/SwcAPI.java
Modified setupClasses() and setupNamespaceComponents() to check the
SourceList before the SourcePath when looking up sources.
modules/compiler/src/java/flex2/compiler/SourceList.java
Made getPaths() public.
modules/compiler/src/java/flex2/compiler/CompilationUnit.java
Modified setState() to skip disconnecting the root's Logger. This
fixes SDK-24827 and SDK-24829.
modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java
Added sourceList variable, modified procressSources() to
initialize it, and modified init() to recursively store a
timestamp for each path in the SourceList. This fixes SDK-24708.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24708
http://bugs.adobe.com/jira/browse/SDK-24668
http://bugs.adobe.com/jira/browse/SDK-24827
http://bugs.adobe.com/jira/browse/SDK-24829
http://bugs.adobe.com/jira/browse/SDK-24827
http://bugs.adobe.com/jira/browse/SDK-24829
http://bugs.adobe.com/jira/browse/SDK-24708
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourceList.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureExtension.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Fcsh.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/VersionInfo.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java -
Why is it that everything is fine with my verizon account and apple is messing with my pre order of the iphone 5 telling me that verizon is "rejecting" my order.. My verizon account is fine, and I am eligible for an upgrade, there is no past due balance.. the order went from being prepared to ship back to processing 2 days before it's supposed to get here.. still says it's going to deliver 9/21, yet it still stuck in processing mode, called apple for the past couple of days since i ordered it ON TIME and basically spoke to 17 different people telling me all different things and seems as if it just becomes more and more of a problem..
this what most people say, track in on UPS website using your phone number. its TRUE and better tracking info
more info here
https://discussions.apple.com/thread/4311254?tstart=0
Maybe you are looking for
-
There aren't many details other than that. As long as I am using firefox, the request for my master password just appears over and over.
-
Quicktime 7.2 won't play videos or adds on safari
I installed quicktime 7.2 on to my mac book, and now videos and adds don't show all I get is a Q with a ? mark on it. I'm not that good with computers, but can some Please help me solve this problem?
-
Product Hierarchy from SRM 4.0 to SRM 5.0
Hello Gurus, We are in SRM 4.0. We may move to SRM 5.0. I have some ZPRODUCTHIERARCHY in srm 4.0. How can I transfered all the ZPRODUCTHIERARCHY to SRM 5.0 . is there any standard way to do it. Any link or clue is appreciated.Scenario Standalone Th
-
Cannot even begin to download Yosemite
I have a Macbook Pro 2010 and tried to download the Yosemite app from the App Store (I have Mavericks at the moment). When I click on the "Free" button, it keeps asking me to sign in, even though I am already signed in. When I click on "Sign In", no
-
Why my macBook Pro won't turn off
I recently updated my OS to OS X Mountain Lion and since then my lap top won't turn completely off. I will turn off but the wait screen with the little progress icon going indefinitely until the battery run out of power?! Any idea on how to fix this?