Conky doesn't show script output
I'm a bit lost here conky was working great until the last update. Now the output of my script will be shown when I run conky the first time, but then it is just blank. This sometimes also happens with my mail script, but it is far less frequent.
.conkyrc
color0 81b1e7
# Use Xft?
use_xft yes
xftfont snap
xftalpha 1
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window yes
#own_window_transparent yes
#own_window_type normal
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
#border_width 1
# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white
#position
gap_x 0
gap_y 0
alignment top_left
#minimum_size 1280
#maximum_width 1280
minimum_size 1677
maximum_width 1680
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${time %A %B %d, %Y - %R:%S}${alignc} ${color0}:: Mail ${color}${texeci 120 /home/pyther/scripts/checkmail.py} ${color0}:: PKGS ${color}${texeci 10800 /home/pyther/scripts/pmupdate.sh} ${color0}:: Weather ${color}${texeci 900 /usr/bin/conkyForecast --location=USOH0008 --imperial --datatype=HT -ux}F - ${texeci 900 conkyForecast --location=USOH0195 --imperial --datatype=CC} ${color0}::
pmupdate.sh (Script that is giving troubles)
#!/bin/sh
sudo pacman -Sy > /dev/null
pkgs=`pacman -Qu | wc -l`
if [ -n "$pkgs" ]; then
echo "$pkgs"
else
echo "0"
fi
Running conky from the terminal doesn't result in any useful output.
Occasionally the mail and weather script won't show anything, but that is far less frequent.
Last edited by pyther (2010-04-03 22:18:01)
This is unrelated and I emailed the author of conkyforecast about the issue.
/usr/bin/conkyforecast
change
$PYTHONPATH /usr/bin/python /usr/share/conkyforecast/conkyForecast.py "$@"
to
/usr/bin/python /usr/share/conkyforecast/conkyForecast.py "$@"
PYTHONPATH is used incorrectly in this case. It is used to reference python modules (which the openoffice pkg is now doing).
Last edited by pyther (2010-04-03 22:26:26)
Similar Messages
-
Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]
I've finally got XFCE4.8 all dressed up the way I want it to look.
Only problem left is Conky:
1.It simply doesn't show on the desktop.
2.It keeps asking for a password?
If i start conky via terminal i get this:
=========================================================
[sven@myhost ~]$ conky
Conky: desktop window (1400003) is subwindow of root window (15d)
Conky: window type - override
Conky: drawing to created window (0x2000001)
Conky: drawing to double buffer
Password:
=========================================================
My .conkyrc looks like this:
=========================================================
own_window yes
own_window_colour 0F0D0D
use_spacer right
use_xft yes
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_type override
own_window_hints undecorate,below,skip_taskbar,sticky)
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
#colour
default_color 808080
own_window_colour 333333
#font
use_xft yes
xftfont Droid Sans:pixelsize=11
# Stippled borders?
stippled_borders 0
# border margins
# border width
border_width 1
alignment top_left
gap_x 5
gap_y 5
# --- Colours, Sizes, Fonts & Margins --- #
minimum_size 1356 0
#stippled_borders 3
#border_inner_margin 9
# --- Text --- #
draw_outline no
draw_borders no
uppercase no
draw_shades no
# --- if-up_strictness --- #
if_up_strictness link
TEXT
${color}CPU0: ${color ffffff} ${execi 5 sensors | grep -A 0 'Core 0' | cut -c15-21} | ${color}CPU1: ${color ffffff} ${execi 5 sensors | grep -A 0 'Core 1' | cut -c15-21} | ${color}HDD: ${color ffffff} ${execi 60 sudo hddtemp /dev/sda | grep -A 0 '/dev/sda' | cut -c24-29} | ${color}RAM: ${color ffffff} $mem | ${color} Total Down: ${color ffffff} ${if_up eth0}${totaldown eth0}${else}${if_up wlan0}${totaldown wlan0}${endif}${endif} | ${color}Total Up: ${color ffffff}${if_up eth0}${totalup eth0}${else}${if_up wlan0}${totalup wlan0}${endif}${endif} | ${color} Down Speed: ${color ffffff} ${if_up eth0}${downspeed eth0}${else}${if_up wlan0}${downspeed wlan0}${endif}${endif}| ${color}Up Speed: ${color ffffff} ${if_up eth0}${upspeed eth0}${else}${if_up wlan0}${upspeed wlan0}${endif}${endif} ${alignr} ${color} Battery: ${color ffffff} ${battery_percent}% ${color} | ${color ffffff}${time %A} ${time %e} ${time %B} ${time %G} - ${time %H:%M:%S}
=========================================================
Any help is appreciated!
Sven
Last edited by killerturtle (2011-06-29 15:30:40)jasonwryan wrote:You should look at using visudo to make this script run with the hddtemp call...
Ok, thx; I'll look into that.
Now still to solve the first problem.... -
[Solved] Conky doesn't show network speed
Hello Archers!
I have my old conky config with net speed indication which worked in past but stopped working this installation. My user is in “network” group and I have
${font monospace:bold:size=10}NETWORK ${hr 2}
${font monospace:normal:size=10}Download: ${alignr}${downspeedf eth0} KB/s
Upload: ${alignr}${upspeedf eth0} KB/s
in my ~/.conkyrc file. It used to show speed in KB/s but now just zeros, all the time. What would be the reason for this malfunction?
Last edited by Mr. Alex (2013-07-28 09:27:41)Mr. Alex wrote:
jasonwryan wrote:it isn't the smartest thing to post here...
Yeah, I know Arch maintainers don't accept criticism anymore. But mine wasn't even obvious and yet you pointed that out and called it “not the smartest thing to post here”. Totalitarian regime inside of a distro. Free speech is forbidden. Arch Linux, ladies and gentlemen!
Read the Etiquette. Your histrionics are as unfounded as your original slur. If you had even the slightest clue of what a totalitarian regime actually involved, you would be ashamed of yourself for that association.
Don't post here again unless you are prepared to accept responsibility for your own incompetence.
Closing -
Money converter doesn't show any output...
Hi, I have the following source :
package euros;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class converter extends Applet
double beginWaarde, franceuro, guldeneuro, uitkomst;
Button knop1, knop2, knop3, knop4, knop5, knop6;
TextField invoer, uitvoer;
public void init()
{ setLayout(null);
knop1 = new Button( "gulden => euro" );
knop2 = new Button( "franc => euro" );
knop3 = new Button( "euro => francs" );
knop4 = new Button( "franc => gulden" );
knop5 = new Button( "gulden => franc" );
knop6 = new Button( "euro => gulden" );
knop1.setBounds(0,25,100,25);
knop2.setBounds(100,25,100,25);
knop3.setBounds(200,25,100,25);
knop4.setBounds(300,25,100,25);
knop5.setBounds(400,25,100,25);
knop6.setBounds(500,25,100,25);
invoer = new TextField( "0" );
uitvoer = new TextField();
String invoer1 = invoer.getText();
Double menno = Double.valueOf( invoer1 );
beginWaarde = menno.doubleValue();
invoer.setBounds(50,100,100,25);
uitvoer.setBounds(150,100,300,25);
add( knop1 );
add( knop2 );
add( knop3 );
add( knop4 );
add( knop5 );
add( knop6 );
add(uitvoer);
add(invoer);
public boolean action( Event e, Object o )
if( e.target == knop1 )
{ uitkomst = beginWaarde/2.20371;
uitvoer.setText( "Het aantal Euro's is : " + uitkomst );
repaint();
return true;
if( e.target == knop2 )
uitkomst = beginWaarde/6.3;
uitvoer.setText( "Het aantal Euro's is : " + uitkomst );
repaint();
return true;
if( e.target == knop3 )
uitkomst = beginWaarde*6.3;
uitvoer.setText( "Het aantal Francs is : " + uitkomst );
repaint();
return true;
if( e.target == knop4 )
uitkomst = beginWaarde/2.86;
uitvoer.setText( "Het aantal Guldens is : " + uitkomst );
repaint();
return true;
if( e.target == knop5 )
uitkomst = beginWaarde/2.86;
uitvoer.setText( "Het aantal Francs is : " + uitkomst );
repaint();
return true;
if( e.target == knop6 )
uitkomst = beginWaarde*2.2037;
uitvoer.setText( "Het aantal Guldens is : " + uitkomst );
repaint();
return true;
return false;
and don't get any awnsers in the textfield called 'uitvoer'
It just shows 0.0 all the time instead of one of the calqulations specified...
I can't find out what's wrong with it.
Can someone help me ??
Thanks in advance,
Menno.your code can be changed as below.
package euros;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class converter extends Applet
double beginWaarde, franceuro, guldeneuro, uitkomst;
Button knop1, knop2, knop3, knop4, knop5, knop6;
TextField invoer, uitvoer;
public void init()
setLayout(null);
knop1 = new Button( "gulden => euro" );
knop2 = new Button( "franc => euro" );
knop3 = new Button( "euro => francs" );
knop4 = new Button( "franc => gulden" );
knop5 = new Button( "gulden => franc" );
knop6 = new Button( "euro => gulden" );
knop1.setBounds(0,25,100,25);
knop2.setBounds(100,25,100,25);
knop3.setBounds(200,25,100,25);
knop4.setBounds(300,25,100,25);
knop5.setBounds(400,25,100,25);
knop6.setBounds(500,25,100,25);
invoer = new TextField( "0" );
uitvoer = new TextField();
// String invoer1 = invoer.getText();
// Double menno = Double.valueOf( invoer1 );
// beginWaarde = menno.doubleValue();
// This part should be moved to the method action(...)
invoer.setBounds(50,100,100,25);
uitvoer.setBounds(150,100,300,25);
add( knop1 );
add( knop2 );
add( knop3 );
add( knop4 );
add( knop5 );
add( knop6 );
add(uitvoer);
add(invoer);
public boolean action( Event e, Object o )
if( e.target == knop1 )
// getting the value in invoer
String invoer1 = invoer.getText();
Double menno = Double.valueOf( invoer1 );
beginWaarde = menno.doubleValue();
uitkomst = beginWaarde/2.20371;
uitvoer.setText( "Het aantal Euro's is : " + uitkomst );
repaint();
return true;
} -
Apple mail search doesn't show messages
I can normally search for sent and received emails by entering a persons email address in the search field with the spyglass icon, since last week I haven't been able to do this even though all messages show up in the inbox and sent folders. Is there a setting that I might have accidentally changed?
Step 1
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Triple-click anywhere in the line below on this page to select it:
syslog -F '$Time $Message' -k Sender mdworker -o -k Message Rne Norm -k Sender mds | tail | pbcopy
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
The Terminal window doesn't show the output. Please don't copy anything from there.
If any personal information appears in the output, anonymize before posting, but don’t remove the context.
Step 2
Enter the following command as in Step 1 and post the output:
mdutil -as 2>&- | pbcopy
You can then quit Terminal.
Step 3
Launch the Console application in the same way you launched Terminal. In the Console window, look under the heading DIAGNOSTIC AND USAGE INFORMATION on the left for crash reports related to Spotlight. If you don't see that heading, select
View ▹ Show Log List
from the menu bar. A Spotlight crash report has a name beginning in "mds" or "mdworker" and ending in ".crash". Select the most recent such report, if any, from the System and User subcategories and post the entire contents—the text, please, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
Please don’t post any other kind of diagnostic report, such as hang logs—they're very long and not helpful. -
Multipath -ll command doesn't give any output
Hi all,
I am new to configure storage in multipath. I have configured multipath in a newly installed oracle Linux 6.0 following Linux documentation; however, when I tried to list the multipath using the commands, it doesn’t show any output. I have stop and restart services, reboot the server to no fix. I have also check the LUNs that I can see the storage array's FC target ports from the server as well as the storage admin confirm that they are properly connected. Blew is the output when I used the commands. Please help and let me know if you need more info...
root@server1 ~]# multipath -ll
[root@server1 ~]# <-- no output
[root@server1 ~]# ps -ef |grep multipath
root 2563 2437 0 16:10 pts/0 00:00:00 grep multipath
root 20831 1 0 Jan09 ? 00:00:01 /sbin/multipathd
[root@server1 ~]# multipath -d
create: mpatha (3600508b10010414d5155594e56360008) undef HP,LOGICAL VOLUME
size=137G features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 0:0:0:0 cciss!c0d0 104:0 undef ready running
thank you,
LouHi All,
Here is the output that you have requested… thank you for the help
Lou
reply to: Dude
Q: What device names are you expecting to see?
A: Simmilar to the below output:
[root@oldServer ~]# multipath -ll
ocr_vote_1 (36001438005decdd10006e00003b30000) dm-0 HP,HSV450
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| |- 0:0:0:3 sdc 8:32 active ready running
| |- 0:0:1:3 sdq 65:0 active ready running
| |- 1:0:0:3 sdbg 67:160 active ready running
| `- 1:0:1:3 sdbu 68:128 active ready running
Reply to: Billy Verreynne
Here is the output. I didn't post the repetitive output for the 'sd*'s
[root@server1 ~]# multipath -v3
Jan 14 10:23:24 | ram0: device node name blacklisted
Jan 14 10:23:24 | ram1: device node name blacklisted
Jan 14 10:23:24 | ram2: device node name blacklisted
Jan 14 10:23:24 | ram3: device node name blacklisted
Jan 14 10:23:24 | ram4: device node name blacklisted
Jan 14 10:23:24 | ram5: device node name blacklisted
Jan 14 10:23:24 | ram6: device node name blacklisted
Jan 14 10:23:24 | ram7: device node name blacklisted
Jan 14 10:23:24 | ram8: device node name blacklisted
Jan 14 10:23:24 | ram9: device node name blacklisted
Jan 14 10:23:24 | ram10: device node name blacklisted
Jan 14 10:23:24 | ram11: device node name blacklisted
Jan 14 10:23:24 | ram12: device node name blacklisted
Jan 14 10:23:24 | ram13: device node name blacklisted
Jan 14 10:23:24 | ram14: device node name blacklisted
Jan 14 10:23:24 | ram15: device node name blacklisted
Jan 14 10:23:24 | loop0: device node name blacklisted
Jan 14 10:23:24 | loop1: device node name blacklisted
Jan 14 10:23:24 | loop2: device node name blacklisted
Jan 14 10:23:24 | loop3: device node name blacklisted
Jan 14 10:23:24 | loop4: device node name blacklisted
Jan 14 10:23:24 | loop5: device node name blacklisted
Jan 14 10:23:24 | loop6: device node name blacklisted
Jan 14 10:23:24 | loop7: device node name blacklisted
Jan 14 10:23:24 | cciss!c0d0: not found in pathvec
Jan 14 10:23:24 | cciss!c0d0: mask = 0x1f
Jan 14 10:23:24 | cciss!c0d0: dev_t = 104:0
Jan 14 10:23:24 | cciss!c0d0: size = 286677120
Jan 14 10:23:24 | cciss!c0d0: subsystem = cciss
Jan 14 10:23:24 | cciss!c0d0: h:b:t:l = 0:0:0:0
Jan 14 10:23:24 | cciss!c0d0: vendor = HP
Jan 14 10:23:24 | cciss!c0d0: product = LOGICAL VOLUME
Jan 14 10:23:24 | cciss!c0d0: revision = 1.86
Jan 14 10:23:24 | cciss!c0d0: get_state
Jan 14 10:23:24 | loading /lib64/multipath/libchecktur.so checker
Jan 14 10:23:24 | cciss!c0d0: path checker = tur (controller setting)
Jan 14 10:23:24 | cciss!c0d0: checker timeout = 300000 ms (internal default)
Jan 14 10:23:24 | cciss!c0d0: state = 3
Jan 14 10:23:24 | cciss!c0d0: getuid = /lib/udev/scsi_id whitelisted device=/dev/%n (controller setting)
Jan 14 10:23:24 | cciss!c0d0: uid = 3600508b10010414d5155594e56360008 (callout)
Jan 14 10:23:24 | cciss!c0d0: prio = const (controller setting)
Jan 14 10:23:24 | cciss!c0d0: const prio = 1
Jan 14 10:23:24 | sda: not found in pathvec
Jan 14 10:23:24 | sda: mask = 0x1f
Jan 14 10:23:24 | sda: dev_t = 8:0
Jan 14 10:23:24 | sda: size = 104857600
Jan 14 10:23:24 | sda: subsystem = scsi
Jan 14 10:23:24 | sda: vendor = HP
Jan 14 10:23:24 | sda: product = HSV450
Jan 14 10:23:24 | sda: rev = 0953
Jan 14 10:23:24 | sda: h:b:t:l = 0:0:0:1
Jan 14 10:23:24 | sda: tgt_node_name = 0x50001fe1501ec830
Jan 14 10:23:24 | sda: serial = PAFURC19SYZ0AB
Jan 14 10:23:24 | sda: get_state
Jan 14 10:23:24 | sda: path checker = tur (controller setting)
Jan 14 10:23:24 | sda: checker timeout = 30000 ms (sysfs setting)
Jan 14 10:23:24 | sda: state = running
Jan 14 10:23:24 | sda: state = 3
Jan 14 10:23:24 | sda: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
Jan 14 10:23:24 | /sbin/scsi_id exitted with 1
Jan 14 10:23:24 | error calling out /sbin/scsi_id -g -u -s /block/sda
Jan 14 10:23:24 | sda: state = running
Jan 14 10:23:24 | /sbin/scsi_id exitted with 1
Jan 14 10:23:24 | error calling out /sbin/scsi_id -g -u -s /block/sda
Jan 14 10:23:24 | loading /lib64/multipath/libprioalua.so prioritizer
Jan 14 10:23:24 | sda: prio = alua (controller setting)
Jan 14 10:23:24 | reported target port group is 2
Jan 14 10:23:24 | aas = 01 [active/non-optimized]
Jan 14 10:23:24 | sda: alua prio = 10
Jan 14 10:23:24 | sdb: not found in pathvec
Jan 14 10:23:24 | sdb: mask = 0x1f
Jan 14 10:23:24 | sdb: dev_t = 8:16
Jan 14 10:23:24 | sdb: size = 209715200
Jan 14 10:23:24 | sdb: subsystem = scsi
Jan 14 10:23:24 | sdb: vendor = HP
Jan 14 10:23:26 | sdav: not found in pathvec
Jan 14 10:23:26 | sdav: mask = 0x1f
Jan 14 10:23:26 | sdav: dev_t = 66:240
Jan 14 10:23:26 | sdav: size = 2097152
Jan 14 10:23:26 | sdav: subsystem = scsi
Jan 14 10:23:26 | sdav: vendor = HP
Jan 14 10:23:26 | sdav: product = HSV450
Jan 14 10:23:26 | sdav: rev = 0953
Jan 14 10:23:26 | sdav: h:b:t:l = 1:0:3:6
Jan 14 10:23:26 | sdav: tgt_node_name = 0x50001fe1501ec830
Jan 14 10:23:26 | sdav: serial = PAFURC19SYZ0AB
Jan 14 10:23:26 | sdav: get_state
Jan 14 10:23:26 | sdav: path checker = tur (controller setting)
Jan 14 10:23:26 | sdav: checker timeout = 30000 ms (sysfs setting)
Jan 14 10:23:26 | sdav: state = running
Jan 14 10:23:26 | sdav: state = 3
Jan 14 10:23:26 | sdav: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
Jan 14 10:23:26 | /sbin/scsi_id exitted with 1
Jan 14 10:23:26 | error calling out /sbin/scsi_id -g -u -s /block/sdav
Jan 14 10:23:26 | sdav: state = running
Jan 14 10:23:26 | /sbin/scsi_id exitted with 1
Jan 14 10:23:26 | error calling out /sbin/scsi_id -g -u -s /block/sdav
Jan 14 10:23:26 | sdav: prio = alua (controller setting)
Jan 14 10:23:26 | reported target port group is 2
Jan 14 10:23:26 | aas = 01 [active/non-optimized]
Jan 14 10:23:26 | sdav: alua prio = 10
===== paths list =====
uuid hcil dev dev_t pri dm_st chk_st v
3600508b10010414d5155594e56360008 0:0:0:0 cciss!c0d0 104:0 1 undef ready H
0:0:0:1 sda 8:0 10 undef ready H
0:0:0:2 sdb 8:16 50 undef ready H
0:0:0:3 sdc 8:32 10 undef ready H
0:0:0:4 sdd 8:48 10 undef ready H
0:0:0:5 sde 8:64 50 undef ready H
0:0:0:6 sdf 8:80 10 undef ready H
Jan 14 10:23:26 | Found matching wwid [3600508b10010414d5155594e56360008] in bindings file. Setting alias to mpatha
Jan 14 10:23:26 | cciss!c0d0: ownership set to mpatha
Jan 14 10:23:26 | cciss!c0d0: not found in pathvec
Jan 14 10:23:26 | cciss!c0d0: mask = 0xc
Jan 14 10:23:26 | cciss!c0d0: get_state
Jan 14 10:23:26 | cciss!c0d0: state = 3
Jan 14 10:23:26 | cciss!c0d0: const prio = 1
Jan 14 10:23:26 | mpatha: pgfailback = -2 (config file default)
Jan 14 10:23:26 | mpatha: pgpolicy = multibus (controller setting)
Jan 14 10:23:26 | mpatha: selector = round-robin 0 (controller setting)
Jan 14 10:23:26 | mpatha: features = 0 (controller setting)
Jan 14 10:23:26 | mpatha: hwhandler = 0 (controller setting)
Jan 14 10:23:26 | mpatha: rr_weight = 1 (controller setting)
Jan 14 10:23:26 | mpatha: minio = 1 rq (controller setting)
Jan 14 10:23:26 | mpatha: no_path_retry = 12 (controller setting)
Jan 14 10:23:26 | pg_timeout = NONE (internal default)
Jan 14 10:23:26 | mpatha: set ACT_CREATE (map does not exist)
Jan 14 10:23:26 | mpatha: domap (0) failure for create/reload map
Jan 14 10:23:26 | mpatha: ignoring map
reply for: Theanswriz42:
Here is part of the output from the scipt...
sdaa 36001438005decdd10006e000051c0000
sdab 36001438005decdd10006e000052c0000
sdz 36001438005decdd10006e00005200000 -
Conky - script output and formatting?
Hi, i made a small script that is outputting text to my conky, used like this:
${execi 3600 ~/scripts/horoscope.pl scorpio}
The problem is that the text doesn't seem to be formatted (it goes off the edge of the conky).
How can i get the output text to "fit" within my conky's width and not go off the screen?
Here is the script:
#!/usr/bin/env perl
use strict;
use warnings;
use LWP::Simple;
my $sign = $ARGV[0];
my @signs = qw(
aries taurus gemini cancer leo virgo
libra scorpio sagittarius capricorn
aquarius pisces
sub horoscope($)
our $data = get(
'http://my.horoscope.com/astrology/free-daily-horoscope-' . $sign. '.html'
if ($data =~ m/(.+)\ id=\"textline\">(.+)<\/div>(.+)/)
our $msg = $2 ."\n";
return $msg;
} else
return "Error retrieving horoscope.";
package main;
for my $val (@signs)
if ($sign eq $val)
print horoscope($val)That won't work, as i change conky often. I _don't want_ a script outputting "hard-formatted" text that will only fit one kind of conky unfortunately.
If that was what i wanted to do i would have done it that way already...
PS; i don't need to be told to read documentation. I wouldn't have bothered posting if i hadn't looked beforehand. It's rather annoying when you spend several hours searching through doc's, misc forums and tutorials trying to find a solution and when you post a thread about it someone asks you to RTFM..... -
Conky doesn't display bash-script variables (array)
I've been playing around with Conky and a bash script of mine. Unfortunately Conky displays only static text and not the array-variables in my script.
In my script:
...some code here...
echo "Static text: ${Variable[1]}"
In my conkyrc:
...some code here...
${exec ~/Test/test.sh}
The result is: "Static text: ". When running the script from the command line everything is fine. I've also tried with exec, execi, execp, texeci to no avail. Any ideas?
Edit: I had to be more specific.
Last edited by chilebiker (2009-10-06 03:30:20)Try echo -n "Static text: ${Variable[1]}"
-
Show bootflash output doesn't display space occupied by IOS image
Hello All,
We are having Cisco 4948E model switches.on one of switches while troubleshooting high cpu I have noticed that show bootflash doesn't show any IOS statistics like total or free space!!
Can anyone give any advice on our future course of actionAlso see o/p from show file system
show file sys
Error in reading FlashDriverCompactstarting at sector 56
Aborting read operation
Error in reading FlashDriverCompactstarting at sector 56
Aborting read operation
File Systems:
Size(b) Free(b) Type Flags Prefixes
Error in reading FlashDriverCompactstarting at sector 286
Aborting read operation
Error in reading FlashDriverCompactstarting at sector 286
Aborting read operation
128282624 0 flash rw bootflash:
- - disk rw slot0:
- - opaque rw system:
- - opaque rw tmpsys:
- - opaque ro crashinfo:
524284 523548 flash rw cat4000_flash:
- - opaque rw null:
- - opaque ro tar:
- - network rw tftp:
- - opaque ro profiler:
- - opaque wo syslog:
524284 515146 nvram rw nvram:
- - network rw rcp:
- - network rw http:
- - network rw ftp:
- - network rw scp:
- - network rw https:
- - opaque ro cns: -
Pixel bender output doesn't show up...
hi...i've downloaded the 32bit pixel bender version and using it on my mac. problem is, everytime i use pixel bender, the image that i'm using doesn't show up. all i can see are lines and different colors but no clear image. what gives?
Yeah, sorry I can't give you an exact answer. Apple's "OpenGL Capabilities Tables" (http://developer.apple.com/graphicsimaging/opengl/capabilities/GLInfo_1068.html) state that the MAX_TEXTURE_SIZE for your card is 8192 pixels. However, the Pixel Bender plugin will limit you to 128MB so you'd only be able to reach 8192 in one dimension. We've also found that the graphics drivers often tend to fail well below the MAX_TEXTURE_SIZE--I'd guess that a more realistic texture size limit for your graphics card is probably 4096. In any case, play with it and see how things go.
-
Can't get conky-cli and bash scripts to both display in dwm statusbar!
I'm trying to configure my dwm status bar to display some simple information using conky-cli and bash scripts. At first I tried just letting conky run the bash scripts (for network and volume state), but this increased my cpu usage by about 5%, which is significant considering I normally have 1-3% usage when idle. Also, I wanted to keep conky because it makes the display of certain information easy, such as cpu & RAM usage.
The problem is I'm having trouble getting both to display side by side. Here are the relevant parts of my .xinitrc:
network(){
iwconfig wlan0 2>&1 | grep -q no\ wireless\ extensions\. && {
echo wired
exit 0
essid=`iwconfig wlan0 | awk -F '"' '/ESSID/ {print $2}'`
stngth=`iwconfig wlan0 | awk -F '=' '/Quality/ {print $2}' | cut -d '/' -f 1`
bars=`expr $stngth / 10`
case $bars in
0) bar='[-------]' ;;
1) bar='[#------]' ;;
2) bar='[##-----]' ;;
3) bar='[###----]' ;;
4) bar='[####---]' ;;
5) bar='[#####--]' ;;
6) bar='[######-]' ;;
7) bar='[#######]' ;;
*) bar='[--!!!--]' ;;
esac
echo $essid$bar
exit 0
volume(){
vol=$(amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "MM" } else { print $2 }}' | head -n 1)
echo Vol: $vol%
exit 0
conky | while true; read line; do xsetroot -name "`$line` `volume` `network` `date '+%a %m-%d-%Y %I:%M%p'`"; done &
exec dwm
(let me know if it would help to post any other files)
For some reason when I run this I only get the network/volume scripts and date running, updating every second (I think). The conky line just doesn't show up. I don't know what could be wrong, since I didn't see any error messages.
An even better solution would be to just have shell scripts to display CPU and MEM usage. I have a dual-core cpu, cpu0 and cpu1. I'd like to see both percentages if possible, or at least a percentage that is an accurate average of the two or something. In conky-cli I have something that shows:
cpu0/1: xx% xx%
Also, seeing RAM usage would help a lot. In conky it shows:
mem: xx% (xxxMB)
These are the ways I would like to have bash scripts show them, if possible, but I have zero skill in bash programming. I made this an option in case it's easier/cleaner/less resource hungry than a conky solution. Personally, if they're about the same in these aspects, I would prefer something with conky and the shell scripts because conky is so extensible, yet it's only flaw is executing scripts with minimal resource usage.
Help?Thanks. I was thinking of using load average to save a few characters, but I didn't quite understand the numbers. I'll try that once I get to my Linux box, but could you please explain or post a link to something that explains load average (what's low, high, normal, etc.)?
EDIT: I found a website that explains loadavg. I now have my dwm status bar displaying it perfectly (yay!). Now I just need to add a few more things like battery status, etc. and I might be done. I'll probably post here if I have more questions, though.
Thanks for your help!
Last edited by Allamgir (2009-07-18 14:41:11) -
Workflow models doesn't show up
I have a problem with that my workflows doesn't show up in the list http://myserver:4502/libs/cq/workflow/content/console.html
There are several workflows that are there and they are visible on all the other servers i have including the publisher instance.
When i access the page i get these warnings in the log and the list is just empty:
04.07.2013 14:04:54.095 *WARN* [10.36.76.11 [1372939494095] GET /libs/cq/security/userinfo.json?cq_ck=1372939486539 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
04.07.2013 14:04:54.279 *WARN* [10.36.76.11 [1372939494279] GET /libs/cq/security/userinfo.json?cq_ck=1372939486726 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
04.07.2013 14:04:54.474 *WARN* [10.36.76.11 [1372939494474] GET /libs/cq/workflow/content/console/models.json?_dc=1372939486922&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
04.07.2013 14:04:54.478 *WARN* [10.36.76.11 [1372939494477] GET /libs/cq/workflow/content/console/instances.json?_dc=1372939486926&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
04.07.2013 14:04:54.480 *WARN* [10.36.76.11 [1372939494479] GET /libs/cq/workflow/content/console/archive.json?_dc=1372939486928&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
04.07.2013 14:04:54.482 *WARN* [10.36.76.11 [1372939494482] GET /home/users/a/admin.permissions.json?path=%2Fetc%2Fworkflow%2Flauncher&_charset_=utf-8&cq_ck=1372939486931 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
04.07.2013 14:04:54.496 *WARN* [10.36.76.11 [1372939494495] GET /libs/cq/workflow/launcher.json?_dc=1372939486944&start=0&limit=40 HTTP/1.1] servletengine Invalid cookie. Value not a token or quoted value
In the lanucher tab i can see that there are a few things and it also shows some of the workflow names. When i click on one of those (eg. Update_Asset) i get an error-page and the following log output:
04.07.2013 14:14:24.739 *ERROR* [10.36.76.11 [1372940064695] GET /etc/workflow/models/dam/update_asset.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDebugFilter Exception: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:388)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:297)
at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:216)
at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:103)
at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:381)
at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.java:106)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308)
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:257)
at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:305)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at se.sj.cq.common.CaptchaFilter.doFilter(CaptchaFilter.java:113)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.sj.publish.CaptchaFilter.doFilter(CaptchaFilter.java:100)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:153)
at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)
at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at com.sj.publish.CaptchaFilter.doFilter(CaptchaFilter.java:100)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at se.sj.cq.common.CaptchaFilter.doFilter(CaptchaFilter.java:113)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250)
at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:321)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:340)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:383)
at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)
at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script head.jsp
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:686)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:603)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:520)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
... 107 more
Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script custom_includes.jsp
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:686)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:603)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:520)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)
at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)
at org.apache.jsp.libs.foundation.components.page.page_jsp._jspx_meth_cq_005finclude_005f0(page_jsp.java:178)
at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:148)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
... 112 more
Caused by: org.apache.sling.api.SlingException:
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:686)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:603)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:528)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:447)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:235)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:85)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:432)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)
at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)
at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)
at org.apache.jsp.libs.cq.flow.components.pages.flow.head_jsp._jspx_meth_cq_005finclude_005f1(head_jsp.java:243)
at org.apache.jsp.libs.cq.flow.components.pages.flow.head_jsp._jspService(head_jsp.java:176)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
... 126 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.libs.cq.workflow.components.pages.model.custom_005fincludes_jsp._jspService(custom_005fincludes_jsp.java:176)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:497)
... 140 more
Does anyone have an idea of what this is caused by?
And why do all the warnings about "Invalid cookie. Value not a token or quoted value"
show upp all over the logs all the time ?
JohanHi Siva,
Thanks for your response.
Please find my reply below:
1. Have you renamed or moved the workflow model to other directory in etc/workflow/models/?
-> No. There was no renaming or moving of workflow models in the same directory or to other directory done.
-> However, there was a re-deployment of the complete package. But I am not sure how this could cause the version mismatch.
2. Is it the problem with only your workflow model? or you're able to access other workflow models?
-> Nopes. This problem is there for all the other workflows.
Cheers!
Pushkar -
Distiller 'default settings' blank and doesn't show all job options
We're experiencing a problem with Adobe Distiller 9.3.0 being blank next to "Default Settings" with the error, "Error in /Library/Application Support/Adobe/Adobe PDF/Settings/PDFX4 2008.joboptions: /CheckCompliance out of range".
I can delete that joboptions file, which removes the error message, but the Default Settings pulldown menu still is blank and doesn't show all of the joboptions files that it should. Only 2 of them are showing up in the pulldown.
How can I fix this?
I've tried deleting all joboptions files and letting Adobe self repair them and have tried deleting a few com.adobe.distiller* preference files and nothing yet seems to work.
Thanks!I am connected to a network but we don't share applications. CS5 Design Premium is installed on my machine.
See screenshot below:
What is the relevance of this? We seem to have the same location for the output module file.
Why does mine not work?
See screenshot below:
The Adobe Output Module is in my Startup Scripts but it still doesn't work. -
Firefox 4.0 beta 8 doesn't show tab label in IBM Lotus Domino Web Access while earlier version of FF and other IE do.
neuwerld wrote:
Ohh thanks guys!
It worked as a charm, and thanks Brisbin33 for the autostart.sh tip.
So the thing that caused my whole system not to work as it should was that I forgot to put a "&" after conky?
haha that´s kinda anoying I have been sitting and looking through like a milllion files looking for the answer
But again, really thanks!
/Neuwerld
that little "&" sends the conky process to the background freeing up the current process (your autostart.sh script) to finish doing what it's doing so you can move on to running openbox itself. with this in mind, it should be obvious why keeping conky in the foreground would cause problems.
also, replacing it with (sleep 1 && conky) & means... wait a second, when that's done successfully (&&) run conky, and put all of that () to the background. that way openbox comes up immediatly and only a second later you've got your panel and monitor.
all this after .xinitrc and before openbox -
The downloads window doesn't show files that I download them.Please, Note: I've already installed IDM 6.04 Build 2 & IE 8 is still my default browser.
neuwerld wrote:
Ohh thanks guys!
It worked as a charm, and thanks Brisbin33 for the autostart.sh tip.
So the thing that caused my whole system not to work as it should was that I forgot to put a "&" after conky?
haha that´s kinda anoying I have been sitting and looking through like a milllion files looking for the answer
But again, really thanks!
/Neuwerld
that little "&" sends the conky process to the background freeing up the current process (your autostart.sh script) to finish doing what it's doing so you can move on to running openbox itself. with this in mind, it should be obvious why keeping conky in the foreground would cause problems.
also, replacing it with (sleep 1 && conky) & means... wait a second, when that's done successfully (&&) run conky, and put all of that () to the background. that way openbox comes up immediatly and only a second later you've got your panel and monitor.
all this after .xinitrc and before openbox
Maybe you are looking for
-
...is not abstract and does not override abstract method compare
Why am I getting the above compile error when I am very clearly overriding abstract method compare (ditto abstract method compareTo)? Here is my code -- which was presented 1.5 code and I'm trying to retrofit to 1.4 -- followed by the complete compil
-
How to restrict the material for speific storage type
Dear all, i am maintained the X - material to 001 warehouse and 001 rack storage type when i try to create TO for putaway process it will allow me some other storage type like open,shelf....as per my client requirement it should not be ..... i am u
-
My music has disappeared from my iTunes library. HELP!!!
My computer recently locked up, and I had to do a hard re-set. After this, I logged into my iTunes and all of my library is gone. I have checked my iTunes folders on my computer and there is nothing in any of the folders. Please help!
-
I am using Developer Server 6 and Application Server 4.0.7 on NT SP5. When I use browser to run my app and run reports from a form using run_product with destype=screen or preview, the Windows Save File dialog appears instead of report output on scre
-
I am instructing students working on longer form projects to transcode their AVCHD material to Quicktime using the DNxHD codec (which is installed, and then preset loaded into Media Encoder). I am doing this since it is the suggested workflow in this