Skip Menu |

This queue is for tickets about the Perl-LanguageServer CPAN distribution.

Report information
The Basics
Id: 129528
Status: resolved
Priority: 0/
Queue: Perl-LanguageServer

People
Owner: GRICHTER [...] cpan.org
Requestors: DMOL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.9
Fixed in: 2.0.2



Subject: unclear how to use it with qt-creator
Hi, Thank you for your module. I'd like to play with it a little bit inside qt-creator. However, I cannot find an executable for language-server in the distribution. Could you help, please? The guideline for using Language Server in qt-creator described at [1]. [1] https://doc.qt.io/qtcreator/creator-language-servers.html WBR, basiliscos
Subject: AW: [rt.cpan.org #129528] unclear how to use it with qt-creator
Date: Fri, 10 May 2019 14:55:37 +0200 (CEST)
To: <bug-Perl-LanguageServer [...] rt.cpan.org>
From: Gerald Richter - ECOS Technology <gerald.richter [...] ecos.de>
Just run it with perl -MPerl::LanguageServer -e Perl::LanguageServer::run Regards Gerald Show quoted text
-----Ursprüngliche Nachricht----- Von: Ivan Baidakou via RT [mailto:bug-Perl-LanguageServer@rt.cpan.org] Gesendet: Freitag, 10. Mai 2019 14:45 An: undisclosed-recipients: Betreff: [rt.cpan.org #129528] unclear how to use it with qt-creator Fri May 10 08:45:05 2019: Request 129528 was acted upon. Transaction: Ticket created by DMOL Queue: Perl-LanguageServer Subject: unclear how to use it with qt-creator Broken in: 0.9 Severity: Important Owner: GRICHTER Requestors: DMOL@cpan.org Status: new Ticket <URL: https://urlsand.esvalabs.com/?u=https%3A%2F%2Frt.cpan.org%2FTicket%2FDisplay.html%3Fid%3D129528&e=52cce4d1&h=4adcf143&f=y&p=y > Hi, Thank you for your module. I'd like to play with it a little bit inside qt-creator. However, I cannot find an executable for language-server in the distribution. Could you help, please? The guideline for using Language Server in qt-creator described at [1]. [1] https://urlsand.esvalabs.com/?u=https%3A%2F%2Fdoc.qt.io%2Fqtcreator%2Fcreator-language-servers.html&e=52cce4d1&h=8d824c9b&f=y&p=y WBR, basiliscos -- This message has been checked by Libra Esva and is found to be clean. Follow this link to mark it as spam: http://srvmailgw3.i.ecos.de/cgi-bin/learn-msg.cgi?id=1FE8A4008A.AA3A4
Thanks for quick reply. I think it's worth mentioning that in the main POD file for the module, isn't it? However, I've met another issue: in the "general messages" I see the error: LanguageClient perl-lns: Unexpectedly finished. Restarting in 5 seconds. When I launch qt-creator in console with logging, I get the following error: QT_LOGGING_RULES=qtc.languageclient.*=true qtcreator qtc.languageclient.client: initializing language server "perl-lns" qtc.languageclient.messages: StdIOClient send data: qtc.languageclient.messages: Content-Length: 678 {"id":"{e7343469-d00b-4bf1-890d-7a9928096c62}","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"va lueSet":["*"]}}},"completion":{"completionItem":{},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"dynamicRegistration":true},"document Symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willS aveWaitUntil":false}},"workspace":{"workspaceFolders":true}},"processId":4204,"rootUri":null,"trace":"off"}} qtc.languageclient.messages: StdIOClient std err: qtc.languageclient.messages: start aio read end aio read cnt=701 len=678 len buffer=678 {"id":"{e7343469-d00b-4bf1-890d-7a9928096c62}","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"va lueSet":["*"]}}},"completion":{"completionItem":{},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"dynamicRegistration":true},"document Symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willS aveWaitUntil":false}},"workspace":{"workspaceFolders":true}},"processId":4204,"rootUri":null,"trace":"off"}} header={ "Content-Length" => 678 } handle_req id={e7343469-d00b-4bf1-890d-7a9928096c62} Attribute (id) does not pass the type constraint because: Validation failed for 'Maybe[Int]' with value {e7343469-d00b-4bf1-890d-7a9928096c62} at /home/b/perl5/perlbrew/perls/perl-5.28.0/li$ /site_perl/5.28.0/x86_64-linux/Moose/Object.pm line 24 Moose::Object::new('Perl::LanguageServer::Req', 'HASH(0x3955198)') called at /home/b/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/Perl/LanguageServer.pm line 188 Perl::LanguageServer::__ANON__ at /home/b/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux/Coro.pm line 716 Coro::_coro_run at -e line 0 Do you have an idea: is it module issue or qt-creator plugin, and I should report bug upstream?
This issue is fixed in 2.0.2 Perl::LanguageServer now allows non numeric IDs