Hi,
I've update my pack to pac-4.5.2.2-2.x86_64 on Fedora 19, and now it can't start:
Can't call method "set_cursor" on an undefined value at /opt/pac/lib/PACMain.pm line 2655.
Anyone experiencing this problem? Any fix?
I confirm this on my system too
Hi all!
Could you please replace lines #2655 & #2656 from /opt/pac/lib/PACMain.pm??
Original code:
$$self{_GUI}{main} -> window -> set_cursor( Gtk2::Gdk::Cursor -> new( 'watch' ) ); $$self{_GUI}{main} -> set_sensitive( 0 );
New code:
if ( defined $$self{_GUI} && defined $$self{_GUI}{main} && defined $$self{_GUI}{main} -> window ) { $$self{_GUI}{main} -> window -> set_cursor( Gtk2::Gdk::Cursor -> new( 'watch' ) ); $$self{_GUI}{main} -> set_sensitive( 0 ); }
and also line #2714 & 2715:
$$self{_GUI}{main} -> window -> set_cursor( Gtk2::Gdk::Cursor -> new( 'left-ptr' ) ); $$self{_GUI}{main} -> set_sensitive( 1 );
if ( defined $$self{_GUI} && defined $$self{_GUI}{main} && defined $$self{_GUI}{main} -> window ) { $$self{_GUI}{main} -> window -> set_cursor( Gtk2::Gdk::Cursor -> new( 'left-ptr' ) ); $$self{_GUI}{main} -> set_sensitive( 1 ); }
Please, let me know if works now.
I have tested your changes, attached patch. Now I get the following error:
unhandled exception in callback: Can't call method "show" on an undefined value at /opt/pac/lib/PACTerminal.pm line 642. *** ignoring at /opt/lib/PACMain.pm line 251.
weird... :(
Do you have any connection setup to auto start on PAC startup? any other PAC "special" configuration? (autohide, etc.)
I have enabled "Start a shell upon PAC startup" and it starts iconified, morever "Start PAC with last size" is also enabled.
Hi all!!
Ok, I found the problem! Please, stay tuned for next PAC release! (and sorry for the inconvenience!)
Hi!
Please, try latest PAC 4.5.2.3 and tell me if it worked.
It's ok now.
Thankx.
Log in to post a comment.
I confirm this on my system too
Hi all!
Could you please replace lines #2655 & #2656 from /opt/pac/lib/PACMain.pm??
Original code:
New code:
and also line #2714 & 2715:
Original code:
New code:
Please, let me know if works now.
I have tested your changes, attached patch. Now I get the following error:
unhandled exception in callback:
Can't call method "show" on an undefined value at /opt/pac/lib/PACTerminal.pm line 642.
*** ignoring at /opt/lib/PACMain.pm line 251.
weird... :(
Do you have any connection setup to auto start on PAC startup? any other PAC "special" configuration? (autohide, etc.)
I have enabled "Start a shell upon PAC startup" and it starts iconified, morever "Start PAC with last size" is also enabled.
Hi all!!
Ok, I found the problem!
Please, stay tuned for next PAC release! (and sorry for the inconvenience!)
Hi!
Please, try latest PAC 4.5.2.3 and tell me if it worked.
It's ok now.
Thankx.