Re: [i3] i3 4.10.2 i3-save-tree perl module missing

2015-06-18 Thread Sargrad, Dave
I'm using ubuntu 14.04. Can someone please provide guidance relative to how to 
fix the following. What package do I need to install?

ubuntu@sensis-8930:/var/www/cwpmash/app$ i3-save-tree
Can't locate AnyEvent/I3.pm in @INC (you may need to install the AnyEvent::I3 
module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 
/usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/bin/i3-save-tree line 
19.
BEGIN failed--compilation aborted at /usr/bin/i3-save-tree line 19.

This message is intended only for the addressee and may contain information 
that is company confidential or privileged. Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately.


Re: [i3] i3 4.10.2 i3-save-tree perl module missing

2015-06-18 Thread Michael Stapelberg
On Thu, Jun 18, 2015 at 4:43 PM, Sargrad, Dave dave.sarg...@saabsensis.com
wrote:

  I’m using ubuntu 14.04. Can someone please provide guidance relative to
 how to fix the following. What package do I need to install?



 ubuntu@sensis-8930:/var/www/cwpmash/app$ i3-save-tree

 Can't locate AnyEvent/I3.pm in @INC (you may need to install the
 AnyEvent::I3 module)


The error message mentions that you should install the AnyEvent::I3 module,
and
http://packages.ubuntu.com/search?suite=trustysearchon=nameskeywords=anyevent
reveals libanyevent-i3-perl, so try installing that.

The package http://packages.ubuntu.com/trusty/i3-wm also recommends
libanyevent-i3-perl, so please don’t turn off the installation of
recommended packages if you’re not willing to do this kind of digging
yourself :).


 (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2
 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5
 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at
 /usr/bin/i3-save-tree line 19.

 BEGIN failed--compilation aborted at /usr/bin/i3-save-tree line 19.

 *This message is intended only for the addressee and may contain
 information that is company confidential or privileged. Any technical data
 in this message may be exported only in accordance with the U.S.
 International Traffic in Arms Regulations (22 CFR Parts 120-130) or the
 Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use
 is strictly prohibited and may be unlawful. If you are not the intended
 recipient, or the person responsible for delivering to the intended
 recipient, you should not read, copy, disclose or otherwise use this
 message. If you have received this email in error, please delete it, and
 advise the sender immediately. *




-- 
Best regards,
Michael


Re: [i3] i3 4.10.2 crash ---- isolated

2015-06-18 Thread Sargrad, Dave
One crash location found (con.c line 393), reference through null pointer:
[cid:image001.png@01D0A9AA.222B9380]


I3-with-shmlog is indeed the process to attach to. I started i3 clean, and then 
as root I was able to attach to this process. For some reason, though i3 is 
running as ubuntu, I was not able to attach as ubuntu. Once attached, I then 
initiated the sequence of events that I expected to crash i3, the crash did 
indeed occur (so this is quite repeatable).

I'll continue to see if I can isolate other crash points.

I'll post a bug on the bug tracker to ensure that this hits Michael's radar.





From: Sargrad, Dave
Sent: Thursday, June 18, 2015 9:16 AM
To: 'i3-discuss@i3.zekjur.net'
Subject: i3 4.10.2 crash

I3 4.10.2 has crashed on me. I've seen crashes before but have ignored them. 
I'm interested in seeing if I can isolate the crash, particularly since I think 
I know how to repeat the crash. Once isolated I can provide feedback to the dev 
team.

I am currently presented with the crash response window (red border with 
options to: attach gdb, save a backtracke, restart i3 in place, forget the 
current layout and restart i3).

When I putty into the box and see what i3 processes are running (with an eye 
towards attaching gdb), I see the following:

ubuntu@sensis-8930:~$ ps -aef | grep i3
ubuntu2349  2075  0 Jun17 ?00:00:01 i3-with-shmlog
ubuntu2420  2349  0 Jun17 ?00:00:00 /usr/bin/ssh-agent 
/usr/bin/dbus  -launch 
--exit-with-session /usr/bin/im-launch i3-with-shmlog
ubuntu2423 1  0 Jun17 ?00:00:00 /usr/bin/dbus-launch 
--exit-with  -session 
/usr/bin/im-launch i3-with-shmlog
ubuntu2484 1  0 Jun17 ?00:00:00 /bin/sh -c i3bar --bar_id=bar-0 
  
--socket=/run/user/1000/i3/ipc-socket.2349
ubuntu2485  2484  0 Jun17 ?00:00:29 i3bar --bar_id=bar-0 
--socket=/r  
un/user/1000/i3/ipc-socket.2349
ubuntu2487  2485  0 Jun17 ?00:00:00 /bin/sh -c i3status
ubuntu2489  2487  0 Jun17 ?00:00:24 i3status
ubuntu2510 1  0 Jun17 ?00:00:00 /bin/sh -c i3-sensible-terminal
ubuntu6031  6005  0 12:12 pts/100:00:00 grep --color=auto i3


The area that I built i3 out of is:  /home/ubuntu/work/i3/i3-4.10.2

This is where I should be able to find the source code and symbol files 
required by gdb.

I've attached gdb to debuggable processes in the past (I don't need help with 
that). I do need some guidance relative to the following questions:
1] If I save a backtrace, where will that get saved on the system
2] Of the processes listed above, which one do I attach to (I don't see i3.. 
perhaps i3-with-shmlog)?
3] What are the commands that I should enter into gdb so that it loads the 
proper symbol files?

Thanks for any thoughts or guidance.

ubuntu@sensis-8930:~/work/i3$ ls
i3-4.10.2  i3-4.10.2.tar.bz2  i3status-2.9  i3status-2.9.tar.bz2


This message is intended only for the addressee and may contain information 
that is company confidential or privileged. Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately.


Re: [i3] About accessing workspaces by name

2015-06-18 Thread Anton Löfgren


On June 16, 2015 9:07:36 PM CEST, Steven K Knight ste...@knight.cx wrote:
June 16 2015 2:21 PM, Nicolas Bercher nberc...@yahoo.fr wrote:
 On 16/06/2015 19:08, Kareem Khazem wrote:
 
 Hi Nicholas,
 
 You can use i3-msg to do this from the command line. I use a
 combination of i3-msg and dmenu to do this.
 
 Hi Kareem,
 
 I was thinking vaguely to do things like that but didn't get to the
idea
 of using dmenu! For sure your approach will be mine (but I think I'll
 do it in some mix of Python and bash maybe that will be flawlessly
 integrated together with my bunch of wmii scripts).
 
 Thanks a lot!
 
 Nicolas

Hi,

I've been a find of https://github.com/proxypoke/quickswitch-for-i3. 
It provide for switching between workspaces:
https://github.com/proxypoke/quickswitch-for-i3#workspaces

Thanks,

--
Steven Knight ste...@knight.cx

After using quickswitch for a couple of years, I've recently switched to rofi 
(https://davedavenport.github.io/rofi/), and can highly recommend looking into 
that as well. Highlights include dmenu compatibility, pango font rendering and 
a sweet ssh launcher. 

Besides, I think the quickswitch project is pretty much unmaintained these 
days, which is what triggered my looking for a replacement in the first place. 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.