aki2o / emacs-plsense

Provide omni completion for Perl.
29 stars 4 forks source link

Emacs hangs after typing M-x plsense-server-start #7

Closed kb01 closed 8 years ago

kb01 commented 9 years ago

Hello,

After typing M-x plsense-server-start, Emacs doesn't respond anymore: I tried to reset my iptables configuration but the same problem occurs always. This is the error message:

[PLSENSE] Start server ... [PLSENSE] Start server is failed. command-execute: Buffer is read-only: #<buffer Messages>

How to solve this issue?

Thanks in advance.

aki2o commented 8 years ago

Hi, @kb01 Try to do plsense svstart in commandline. What will happen?

kb01 commented 8 years ago

@aki2o I got successive identical 5 error messages: "Argument "__Positional_0001" isn't numeric in postincrement (++) at /usr/share/perl5/site_perl/Class/Std/Storable.pm line 51." after typing plsense svstart.

aki2o commented 8 years ago

Mmm... Sorry... I don't seem to be able to resolve. It's no happen in my environment. Does plsense svstart after deleting cachedir cause the same error too ?

And...

  1. What version of Perl are you using?
  2. The installed Class::Std::Storable version might be different from mine because it seems to have the cause. Here is the version and md5sum value in my environment.
$ perl -e "use Class::Std::Storable 9999"
Class::Std::Storable version 9999 required--this is only version 0.0.1 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
$ perldoc -l Class::Std::Storable
/home/hiroaki/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Class/Std/Storable.pm
$ md5sum /home/hiroaki/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Class/Std/Storable.pm
a20f34d2dd8491089cb0301d942a64e8  /home/hiroaki/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Class/Std/Storable.pm
kb01 commented 8 years ago

Well, the problem still occurs after removing ~/.plsense.d and I got:

[PLSENSE] Start server ... [PLSENSE] Start server is failed. byte-code: End of buffer [9 times] byte-code: End of buffer

along, with the same 5 identical error messages in the terminal, as described above.

Additional infos:

1- 5.22.0 2- $ perl -e "use Class::Std::Storable 9999" Class::Std::Storable version 9999 required--this is only version 0.0.1 at -e line 1. BEGIN failed--compilation aborted at -e line 1. $ perldoc -l Class::Std::Storable /usr/share/perl5/site_perl/Class/Std/Storable.pm

So what is supposed to be wrong here?

note: the 5 identical error messages, as described above, in the CLI, got printed just after I type plsense-server-start, I'm using Emacs v24.4: this is my .emacs configuration file http://pastebin.com/1aXmbxmG.

aki2o commented 8 years ago

Oh... I've encountered same trouble using 5.22.0 Give me a time.