-
Notifications
You must be signed in to change notification settings - Fork 200
Replies: 2 comments · 2 replies
-
Launching emacs with zero configuration, same happens. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Can you follow the steps outlined here to provide as much useful information as possible in order to debug this problem? |
Beta Was this translation helpful? Give feedback.
All reactions
-
[internal] Fri Jun 14 06:18:40 2024:
(:message "Running language server: /home/nixos/.virtualenvs/quotesz/bin/pylsp")
[client-request] (id:1) Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2149 :rootPath "/home/nixos/GIT/quotes/" :rootUri "file:///home/nixos/GIT/quotes" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport t :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["markdown" "plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :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]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:window
(:workDoneProgress t)
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///home/nixos/GIT/quotes" :name "~/GIT/quotes/")]))
[server-reply] (id:1) Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :id 1 :result
(:capabilities
(:codeActionProvider t :codeLensProvider
(:resolveProvider :json-false)
:completionProvider
(:resolveProvider t :triggerCharacters
["."])
:documentFormattingProvider t :documentHighlightProvider t :documentRangeFormattingProvider t :documentSymbolProvider t :definitionProvider t :executeCommandProvider
(:commands
[])
:hoverProvider t :referencesProvider t :renameProvider t :foldingRangeProvider t :signatureHelpProvider
(:triggerCharacters
["(" "," "="])
:textDocumentSync
(:change 2 :save
(:includeText t)
:openClose t)
:notebookDocumentSync
(:notebookSelector
[(:cells
[(:language "python")])])
:workspace
(:workspaceFolders
(:supported t :changeNotifications t))
:experimental nil)
:serverInfo
(:name "pylsp" :version "1.11.0")))
[client-notification] Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
[client-notification] Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :method "textDocument/didOpen" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 0 :languageId "python" :text "\"\"\"A module for author app views.\"\"\"\n\nfrom django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin\nfrom django.contrib.auth.mixins import LoginRequiredMixin\nfrom django.urls import reverse_lazy\nfrom django.views.generic.detail import DetailView\nfrom django.views.generic.edit import CreateView, DeleteView, UpdateView\nfrom django.views.generic.list import ListView\n\nfrom apps.authors.models import Author\n\n\nclass AuthorListView(ListView):\n \"\"\"Generic CBV view for author list page\"\"\"\n\n model = Author\n template_name = \"authors/author_list.html\" # default\n\n\nclass AuthorDetailView(DetailView):\n \"\"\"Generic CBV view for author detail page\"\"\"\n\n model = Author\n template_name = \"authors/author_detail.html\" # default\n\n def get_context_data(self, **kwargs):\n \"\"\"Add the author's quotes to the context\"\"\"\n context = super().get_context_data(**kwargs)\n context[\"quotes\"] = self.object.quotes.all()\n return context\n\n\n# CreateView is very similar to FormView, but use CreateView anyway, it must be\n# there for a reason\n# does some additional magic for us, like saving to the db\n# YT - \"Learn Django Class Based Views - CreateView - Theory and Examples\"\nclass AuthorCreateView(LoginRequiredMixin, UserPassesTestMixin, CreateView):\n \"\"\"Generic CBV view for author create page\"\"\"\n\n model = Author\n fields = [\n \"name\",\n \"lastname\",\n ]\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorDeleteView(LoginRequiredMixin, UserPassesTestMixin, DeleteView):\n \"\"\"Generic CBV view for author delete page\"\"\"\n\n model = Author\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_confirm_delete.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorUpdateView(LoginRequiredMixin, UserPassesTestMixin, UpdateView):\n \"\"\"Generic CBV view for author update page\"\"\"\n\n model = Author\n fields = \"__all__\"\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n")))
[client-notification] Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params
(:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())))
[server-request] (id:58d3005b-f5fc-437a-be68-8a58853e71ce) Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :id "58d3005b-f5fc-437a-be68-8a58853e71ce" :method "window/workDoneProgress/create" :params
(:token "f9f14852-2b2e-4478-9ae2-f9efa3dc9144"))
[client-reply] (id:58d3005b-f5fc-437a-be68-8a58853e71ce) Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :id "58d3005b-f5fc-437a-be68-8a58853e71ce" :result nil)
[server-notification] Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "f9f14852-2b2e-4478-9ae2-f9efa3dc9144" :value
(:kind "begin" :title "lint: mccabe")))
[server-notification] Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "f9f14852-2b2e-4478-9ae2-f9efa3dc9144" :value
(:kind "end")))
[server-notification] Fri Jun 14 06:18:40 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[]))
[client-request] (id:2) Fri Jun 14 06:18:48 2024:
(:jsonrpc "2.0" :id 2 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[client-request] (id:3) Fri Jun 14 06:18:48 2024:
(:jsonrpc "2.0" :id 3 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[client-request] (id:4) Fri Jun 14 06:18:48 2024:
(:jsonrpc "2.0" :id 4 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[server-reply] (id:2) Fri Jun 14 06:18:48 2024:
(:jsonrpc "2.0" :id 2 :result
(:signatures
[]))
[server-reply] (id:3) Fri Jun 14 06:18:48 2024:
(:jsonrpc "2.0" :id 3 :result
(:contents ""))
[server-reply] (id:4) Fri Jun 14 06:18:48 2024:
(:jsonrpc "2.0" :id 4 :result nil)
[client-request] (id:5) Fri Jun 14 06:18:52 2024:
(:jsonrpc "2.0" :id 5 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 0)))
[client-request] (id:6) Fri Jun 14 06:18:52 2024:
(:jsonrpc "2.0" :id 6 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 0)))
[client-request] (id:7) Fri Jun 14 06:18:52 2024:
(:jsonrpc "2.0" :id 7 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 0)))
[server-reply] (id:5) Fri Jun 14 06:18:52 2024:
(:jsonrpc "2.0" :id 5 :result
(:signatures
[]))
[server-reply] (id:6) Fri Jun 14 06:18:52 2024:
(:jsonrpc "2.0" :id 6 :result
(:contents ""))
[server-reply] (id:7) Fri Jun 14 06:18:52 2024:
(:jsonrpc "2.0" :id 7 :result nil)
[client-request] (id:8) Fri Jun 14 06:18:55 2024:
(:jsonrpc "2.0" :id 8 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:9) Fri Jun 14 06:18:55 2024:
(:jsonrpc "2.0" :id 9 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:10) Fri Jun 14 06:18:55 2024:
(:jsonrpc "2.0" :id 10 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[server-reply] (id:8) Fri Jun 14 06:18:55 2024:
(:jsonrpc "2.0" :id 8 :result
(:signatures
[]))
[server-reply] (id:9) Fri Jun 14 06:18:55 2024:
(:jsonrpc "2.0" :id 9 :result
(:contents ""))
[server-reply] (id:10) Fri Jun 14 06:18:55 2024:
(:jsonrpc "2.0" :id 10 :result nil)
[internal] (id:11) Fri Jun 14 06:18:56 2024:
(:deferring :textDocument/signatureHelp :id 11 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[internal] (id:12) Fri Jun 14 06:18:56 2024:
(:deferring :textDocument/hover :id 12 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[internal] (id:13) Fri Jun 14 06:18:56 2024:
(:deferring :textDocument/documentHighlight :id 13 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[client-notification] Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 2)
:contentChanges
[(:range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 0))
:rangeLength 0 :text "\n")
(:range
(:start
(:line 32 :character 0)
:end
(:line 32 :character 0))
:rangeLength 0 :text " ")]))
[internal] Fri Jun 14 06:18:56 2024:
(:maybe-run-deferred
(13 12 11))
[client-request] (id:13) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id 13 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[client-request] (id:12) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id 12 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[client-request] (id:11) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id 11 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[server-reply] (id:13) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id 13 :result nil)
[server-reply] (id:12) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id 12 :result
(:contents ""))
[server-reply] (id:11) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id 11 :result
(:signatures
[]))
[server-request] (id:869e3492-6753-4f9d-97ee-c6552a6daf32) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id "869e3492-6753-4f9d-97ee-c6552a6daf32" :method "window/workDoneProgress/create" :params
(:token "fec85084-2865-46d4-813a-d882ab8ae7f9"))
[client-reply] (id:869e3492-6753-4f9d-97ee-c6552a6daf32) Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :id "869e3492-6753-4f9d-97ee-c6552a6daf32" :result nil)
[server-notification] Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "fec85084-2865-46d4-813a-d882ab8ae7f9" :value
(:kind "begin" :title "lint: mccabe")))
[server-notification] Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "fec85084-2865-46d4-813a-d882ab8ae7f9" :value
(:kind "end")))
[server-notification] Fri Jun 14 06:18:56 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[]))
[internal] (id:11) Fri Jun 14 06:19:06 2024:
(:timed-out :textDocument/signatureHelp :id 11 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[internal] (id:12) Fri Jun 14 06:19:06 2024:
(:timed-out :textDocument/hover :id 12 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[internal] (id:13) Fri Jun 14 06:19:06 2024:
(:timed-out :textDocument/documentHighlight :id 13 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[client-request] (id:14) Fri Jun 14 06:19:17 2024:
(:jsonrpc "2.0" :id 14 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[client-request] (id:15) Fri Jun 14 06:19:17 2024:
(:jsonrpc "2.0" :id 15 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[client-request] (id:16) Fri Jun 14 06:19:17 2024:
(:jsonrpc "2.0" :id 16 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 32 :character 4)))
[server-reply] (id:14) Fri Jun 14 06:19:17 2024:
(:jsonrpc "2.0" :id 14 :result
(:signatures
[]))
[server-reply] (id:15) Fri Jun 14 06:19:17 2024:
(:jsonrpc "2.0" :id 15 :result
(:contents ""))
[server-reply] (id:16) Fri Jun 14 06:19:17 2024:
(:jsonrpc "2.0" :id 16 :result nil)
[internal] (id:17) Fri Jun 14 06:19:20 2024:
(:deferring :textDocument/signatureHelp :id 17 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[internal] (id:18) Fri Jun 14 06:19:20 2024:
(:deferring :textDocument/hover :id 18 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[internal] (id:19) Fri Jun 14 06:19:20 2024:
(:deferring :textDocument/documentHighlight :id 19 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-notification] Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 3)
:contentChanges
[(:range
(:start
(:line 31 :character 0)
:end
(:line 32 :character 4))
:rangeLength 5 :text "")]))
[internal] Fri Jun 14 06:19:20 2024:
(:maybe-run-deferred
(19 18 17))
[client-request] (id:19) Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :id 19 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:18) Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :id 18 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:17) Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :id 17 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[server-reply] (id:19) Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :id 19 :result nil)
[server-reply] (id:18) Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :id 18 :result
(:contents ""))
[server-reply] (id:17) Fri Jun 14 06:19:20 2024:
(:jsonrpc "2.0" :id 17 :result
(:signatures
[]))
[server-request] (id:632771d8-001e-4b9a-b205-b5b6ab760401) Fri Jun 14 06:19:21 2024:
(:jsonrpc "2.0" :id "632771d8-001e-4b9a-b205-b5b6ab760401" :method "window/workDoneProgress/create" :params
(:token "0f8c475d-7bea-4abc-a323-0ab6cbde3e73"))
[client-reply] (id:632771d8-001e-4b9a-b205-b5b6ab760401) Fri Jun 14 06:19:21 2024:
(:jsonrpc "2.0" :id "632771d8-001e-4b9a-b205-b5b6ab760401" :result nil)
[server-notification] Fri Jun 14 06:19:21 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "0f8c475d-7bea-4abc-a323-0ab6cbde3e73" :value
(:kind "begin" :title "lint: mccabe")))
[server-notification] Fri Jun 14 06:19:21 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "0f8c475d-7bea-4abc-a323-0ab6cbde3e73" :value
(:kind "end")))
[server-notification] Fri Jun 14 06:19:21 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[]))
[internal] (id:17) Fri Jun 14 06:19:30 2024:
(:timed-out :textDocument/signatureHelp :id 17 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[internal] (id:18) Fri Jun 14 06:19:30 2024:
(:timed-out :textDocument/hover :id 18 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[internal] (id:19) Fri Jun 14 06:19:30 2024:
(:timed-out :textDocument/documentHighlight :id 19 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:20) Fri Jun 14 06:19:37 2024:
(:jsonrpc "2.0" :id 20 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:21) Fri Jun 14 06:19:37 2024:
(:jsonrpc "2.0" :id 21 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[client-request] (id:22) Fri Jun 14 06:19:37 2024:
(:jsonrpc "2.0" :id 22 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 0)))
[server-reply] (id:20) Fri Jun 14 06:19:37 2024:
(:jsonrpc "2.0" :id 20 :result
(:signatures
[]))
[server-reply] (id:21) Fri Jun 14 06:19:37 2024:
(:jsonrpc "2.0" :id 21 :result
(:contents ""))
[server-reply] (id:22) Fri Jun 14 06:19:37 2024:
(:jsonrpc "2.0" :id 22 :result nil)
[client-notification] Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 11)
:contentChanges
[(:range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 0))
:rangeLength 0 :text "\n")
(:range
(:start
(:line 32 :character 0)
:end
(:line 32 :character 0))
:rangeLength 0 :text " ")
(:range
(:start
(:line 32 :character 4)
:end
(:line 32 :character 4))
:rangeLength 0 :text "\n")
(:range
(:start
(:line 32 :character 0)
:end
(:line 32 :character 4))
:rangeLength 4 :text "")
(:range
(:start
(:line 33 :character 0)
:end
(:line 33 :character 0))
:rangeLength 0 :text " ")
(:range
(:start
(:line 33 :character 4)
:end
(:line 33 :character 4))
:rangeLength 0 :text "\n")
(:range
(:start
(:line 33 :character 0)
:end
(:line 33 :character 4))
:rangeLength 4 :text "")
(:range
(:start
(:line 34 :character 0)
:end
(:line 34 :character 0))
:rangeLength 0 :text " ")]))
[client-request] (id:23) Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :id 23 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 34 :character 4)))
[client-request] (id:24) Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :id 24 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 34 :character 4)))
[client-request] (id:25) Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :id 25 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 34 :character 4)))
[server-reply] (id:23) Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :id 23 :result
(:signatures
[]))
[server-reply] (id:24) Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :id 24 :result
(:contents ""))
[server-reply] (id:25) Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :id 25 :result nil)
[client-notification] Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 12)
:contentChanges
[(:range
(:start
(:line 34 :character 0)
:end
(:line 34 :character 4))
:rangeLength 4 :text "")]))
[client-notification] Fri Jun 14 06:19:39 2024:
(:jsonrpc "2.0" :method "textDocument/didSave" :params
(:text "\"\"\"A module for author app views.\"\"\"\n\nfrom django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin\nfrom django.contrib.auth.mixins import LoginRequiredMixin\nfrom django.urls import reverse_lazy\nfrom django.views.generic.detail import DetailView\nfrom django.views.generic.edit import CreateView, DeleteView, UpdateView\nfrom django.views.generic.list import ListView\n\nfrom apps.authors.models import Author\n\n\nclass AuthorListView(ListView):\n \"\"\"Generic CBV view for author list page\"\"\"\n\n model = Author\n template_name = \"authors/author_list.html\" # default\n\n\nclass AuthorDetailView(DetailView):\n \"\"\"Generic CBV view for author detail page\"\"\"\n\n model = Author\n template_name = \"authors/author_detail.html\" # default\n\n def get_context_data(self, **kwargs):\n \"\"\"Add the author's quotes to the context\"\"\"\n context = super().get_context_data(**kwargs)\n context[\"quotes\"] = self.object.quotes.all()\n return context\n\n\n\n\n\n# CreateView is very similar to FormView, but use CreateView anyway, it must be\n# there for a reason\n# does some additional magic for us, like saving to the db\n# YT - \"Learn Django Class Based Views - CreateView - Theory and Examples\"\nclass AuthorCreateView(LoginRequiredMixin, UserPassesTestMixin, CreateView):\n \"\"\"Generic CBV view for author create page\"\"\"\n\n model = Author\n fields = [\n \"name\",\n \"lastname\",\n ]\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorDeleteView(LoginRequiredMixin, UserPassesTestMixin, DeleteView):\n \"\"\"Generic CBV view for author delete page\"\"\"\n\n model = Author\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_confirm_delete.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorUpdateView(LoginRequiredMixin, UserPassesTestMixin, UpdateView):\n \"\"\"Generic CBV view for author update page\"\"\"\n\n model = Author\n fields = \"__all__\"\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n" :textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")))
[client-request] (id:26) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id 26 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 34 :character 0)))
[client-request] (id:27) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id 27 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 34 :character 0)))
[client-request] (id:28) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id 28 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 34 :character 0)))
[server-request] (id:a7b9d8d7-1d1d-4aa0-a432-e473b9a042de) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id "a7b9d8d7-1d1d-4aa0-a432-e473b9a042de" :method "window/workDoneProgress/create" :params
(:token "fb640f75-9001-4070-8dc7-be91405df56a"))
[client-reply] (id:a7b9d8d7-1d1d-4aa0-a432-e473b9a042de) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id "a7b9d8d7-1d1d-4aa0-a432-e473b9a042de" :result nil)
[server-reply] (id:26) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id 26 :result
(:signatures
[]))
[server-reply] (id:27) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id 27 :result
(:contents ""))
[server-reply] (id:28) Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :id 28 :result nil)
[server-notification] Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "fb640f75-9001-4070-8dc7-be91405df56a" :value
(:kind "begin" :title "lint: mccabe")))
[server-notification] Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :method "$/progress" :params
(:token "fb640f75-9001-4070-8dc7-be91405df56a" :value
(:kind "end")))
[server-notification] Fri Jun 14 06:19:40 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[]))
[client-request] (id:29) Fri Jun 14 06:20:50 2024:
(:jsonrpc "2.0" :id 29 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 0 :character 0)))
[client-request] (id:30) Fri Jun 14 06:20:50 2024:
(:jsonrpc "2.0" :id 30 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 0 :character 0)))
[client-request] (id:31) Fri Jun 14 06:20:50 2024:
(:jsonrpc "2.0" :id 31 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 0 :character 0)))
[server-reply] (id:29) Fri Jun 14 06:20:50 2024:
(:jsonrpc "2.0" :id 29 :result
(:signatures
[]))
[server-reply] (id:30) Fri Jun 14 06:20:50 2024:
(:jsonrpc "2.0" :id 30 :result
(:contents ""))
[server-reply] (id:31) Fri Jun 14 06:20:50 2024:
(:jsonrpc "2.0" :id 31 :result nil) I noticed that under my modeline, tokens like this one is being printed out
Emacs did not signal an error
I installed my language servers with [internal] Fri Jun 14 06:39:51 2024:
(:message "Running language server: /home/nixos/.virtualenvs/test eglot/bin/pyls")
[client-request] (id:1) Fri Jun 14 06:39:51 2024:
(:jsonrpc "2.0" :id 1 :method "initialize" :params
(:processId 2288 :rootPath "/home/nixos/GIT/quotes/" :rootUri "file:///home/nixos/GIT/quotes" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())
:capabilities
(:workspace
(:applyEdit t :executeCommand
(:dynamicRegistration :json-false)
:workspaceEdit
(:documentChanges t)
:didChangeWatchedFiles
(:dynamicRegistration t)
:symbol
(:dynamicRegistration :json-false)
:configuration t :workspaceFolders t)
:textDocument
(:synchronization
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t)
:completion
(:dynamicRegistration :json-false :completionItem
(:snippetSupport t :deprecatedSupport t :resolveSupport
(:properties
["documentation" "details" "additionalTextEdits"])
:tagSupport
(:valueSet
[1]))
:contextSupport t)
:hover
(:dynamicRegistration :json-false :contentFormat
["markdown" "plaintext"])
:signatureHelp
(:dynamicRegistration :json-false :signatureInformation
(:parameterInformation
(:labelOffsetSupport t)
:activeParameterSupport t))
:references
(:dynamicRegistration :json-false)
:definition
(:dynamicRegistration :json-false :linkSupport t)
:declaration
(:dynamicRegistration :json-false :linkSupport t)
:implementation
(:dynamicRegistration :json-false :linkSupport t)
:typeDefinition
(:dynamicRegistration :json-false :linkSupport t)
:documentSymbol
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :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]))
:documentHighlight
(:dynamicRegistration :json-false)
:codeAction
(:dynamicRegistration :json-false :codeActionLiteralSupport
(:codeActionKind
(:valueSet
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))
:isPreferredSupport t)
:formatting
(:dynamicRegistration :json-false)
:rangeFormatting
(:dynamicRegistration :json-false)
:rename
(:dynamicRegistration :json-false)
:inlayHint
(:dynamicRegistration :json-false)
:publishDiagnostics
(:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport
(:valueSet
[1 2])))
:window
(:workDoneProgress t)
:general
(:positionEncodings
["utf-32" "utf-8" "utf-16"])
:experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
:workspaceFolders
[(:uri "file:///home/nixos/GIT/quotes" :name "~/GIT/quotes/")]))
[stderr] 2024-06-14 06:39:52,266 UTC - WARNING - pyls.config.config - Failed to load pyls entry point 'pylint': No module named 'pylint.epylint'
[server-reply] (id:1) Fri Jun 14 06:39:52 2024:
(:jsonrpc "2.0" :id 1 :result
(:capabilities
(:codeActionProvider t :codeLensProvider
(:resolveProvider :json-false)
:completionProvider
(:resolveProvider :json-false :triggerCharacters
["."])
:documentFormattingProvider t :documentHighlightProvider t :documentRangeFormattingProvider t :documentSymbolProvider t :definitionProvider t :executeCommandProvider
(:commands
[])
:hoverProvider t :referencesProvider t :renameProvider t :foldingRangeProvider t :signatureHelpProvider
(:triggerCharacters
["(" "," "="])
:textDocumentSync
(:change 2 :save
(:includeText t)
:openClose t)
:workspace
(:workspaceFolders
(:supported t :changeNotifications t))
:experimental nil)))
[client-notification] Fri Jun 14 06:39:52 2024:
(:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
()))
[client-notification] Fri Jun 14 06:39:52 2024:
(:jsonrpc "2.0" :method "textDocument/didOpen" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 0 :languageId "python" :text "\"\"\"A module for author app views.\"\"\"\n\nfrom django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin\nfrom django.contrib.auth.mixins import LoginRequiredMixin\nfrom django.urls import reverse_lazy\nfrom django.views.generic.detail import DetailView\nfrom django.views.generic.edit import CreateView, DeleteView, UpdateView\nfrom django.views.generic.list import ListView\n\nfrom apps.authors.models import Author\n\n\nclass AuthorListView(ListView):\n \"\"\"Generic CBV view for author list page\"\"\"\n\n model = Author\n template_name = \"authors/author_list.html\" # default\n\n\nclass AuthorDetailView(DetailView):\n \"\"\"Generic CBV view for author detail page\"\"\"\n\n model = Author\n template_name = \"authors/author_detail.html\" # default\n\n def get_context_data(self, **kwargs):\n \"\"\"Add the author's quotes to the context\"\"\"\n context = super().get_context_data(**kwargs)\n context[\"quotes\"] = self.object.quotes.all()\n return context\n\n\n\n# CreateView is very similar to FormView, but use CreateView anyway, it must be\n# there for a reason\n# does some additional magic for us, like saving to the db\n# YT - \"Learn Django Class Based Views - CreateView - Theory and Examples\"\nclass AuthorCreateView(LoginRequiredMixin, UserPassesTestMixin, CreateView):\n \"\"\"Generic CBV view for author create page\"\"\"\n\n model = Author\n fields = [\n \"name\",\n \"lastname\",\n ]\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorDeleteView(LoginRequiredMixin, UserPassesTestMixin, DeleteView):\n \"\"\"Generic CBV view for author delete page\"\"\"\n\n model = Author\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_confirm_delete.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorUpdateView(LoginRequiredMixin, UserPassesTestMixin, UpdateView):\n \"\"\"Generic CBV view for author update page\"\"\"\n\n model = Author\n fields = \"__all__\"\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n")))
[client-notification] Fri Jun 14 06:39:52 2024:
(:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params
(:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data
())))
[server-notification] Fri Jun 14 06:39:52 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[(:source "pyflakes" :range
(:start
(:line 3 :character 0)
:end
(:line 3 :character 58))
:message "redefinition of unused 'LoginRequiredMixin' from line 3" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 33 :character 0)
:end
(:line 33 :character 80))
:message "E303 too many blank lines (3)" :code "E303" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 37 :character 0)
:end
(:line 37 :character 77))
:message "E302 expected 2 blank lines, found 3" :code "E302" :severity 2)]))
[client-notification] Fri Jun 14 06:40:22 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 2)
:contentChanges
[(:range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 0))
:rangeLength 0 :text "p")
(:range
(:start
(:line 31 :character 1)
:end
(:line 31 :character 1))
:rangeLength 0 :text "r")]))
[client-request] (id:2) Fri Jun 14 06:40:22 2024:
(:jsonrpc "2.0" :id 2 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 2)
:context
(:triggerKind 1)))
[client-notification] Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 3)
:contentChanges
[(:range
(:start
(:line 31 :character 2)
:end
(:line 31 :character 2))
:rangeLength 0 :text "i")]))
[client-request] (id:3) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 3 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 3)
:context
(:triggerKind 1)))
[client-notification] Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 4)
:contentChanges
[(:range
(:start
(:line 31 :character 3)
:end
(:line 31 :character 3))
:rangeLength 0 :text "n")]))
[client-request] (id:4) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 4 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 4)
:context
(:triggerKind 1)))
[server-reply] (id:2) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 2 :result
(:isIncomplete :json-false :items
[(:label "print(values, sep, end, file, flush)" :kind 3 :detail "builtins" :documentation "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None\n\nprint(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :sortText "aprint" :insertText "print")
(:label "ProcessLookupError" :kind 7 :detail "builtins" :documentation "ProcessLookupError(*args: object)\n\nProcess not found." :sortText "aProcessLookupError" :insertText "ProcessLookupError")
(:label "property" :kind 7 :detail "builtins" :documentation "property(fget: Optional[Callable[[Any], Any]]=..., fset: Optional[Callable[[Any, Any], None]]=..., fdel: Optional[Callable[[Any], None]]=..., doc: Optional[str]=...)\n\nProperty attribute.\n\n fget\n function to be used for getting an attribute value\n fset\n function to be used for setting an attribute value\n fdel\n function to be used for del'ing an attribute\n doc\n docstring\n\nTypical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x" :sortText "aproperty" :insertText "property")
(:label "ProcessLookupError object" :kind 25 :detail "builtins" :documentation "ProcessLookupError(*args: object)\n\nProcess not found." :sortText "aProcessLookupError" :insertText "ProcessLookupError")
(:label "property object" :kind 25 :detail "builtins" :documentation "property(fget: Optional[Callable[[Any], Any]]=..., fset: Optional[Callable[[Any, Any], None]]=..., fdel: Optional[Callable[[Any], None]]=..., doc: Optional[str]=...)\n\nProperty attribute.\n\n fget\n function to be used for getting an attribute value\n fset\n function to be used for setting an attribute value\n fdel\n function to be used for del'ing an attribute\n doc\n docstring\n\nTypical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x" :sortText "aproperty" :insertText "property")]))
[server-reply] (id:3) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 3 :result
(:isIncomplete :json-false :items
[(:label "print(values, sep, end, file, flush)" :kind 3 :detail "builtins" :documentation "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None\n\nprint(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :sortText "aprint" :insertText "print")]))
[server-reply] (id:4) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 4 :result
(:isIncomplete :json-false :items
[(:label "print(values, sep, end, file, flush)" :kind 3 :detail "builtins" :documentation "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None\n\nprint(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :sortText "aprint" :insertText "print")]))
[server-notification] Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[(:source "pyflakes" :range
(:start
(:line 3 :character 0)
:end
(:line 3 :character 58))
:message "redefinition of unused 'LoginRequiredMixin' from line 3" :severity 2)
(:source "pyflakes" :range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 5))
:message "undefined name 'prin'" :severity 1)
(:source "pycodestyle" :range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 5))
:message "E305 expected 2 blank lines after class or function definition, found 1" :code "E305" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 37 :character 0)
:end
(:line 37 :character 77))
:message "E302 expected 2 blank lines, found 1" :code "E302" :severity 2)]))
[client-request] (id:5) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 5 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 4)))
[client-request] (id:6) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 6 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 4)))
[client-request] (id:7) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 7 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 4)))
[server-reply] (id:5) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 5 :result
(:signatures
[]))
[server-reply] (id:6) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 6 :result
(:contents ""))
[server-reply] (id:7) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 7 :result
[(:range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 4))
:kind 2)])
[client-notification] Fri Jun 14 06:40:22 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 5)
:contentChanges
[(:range
(:start
(:line 31 :character 4)
:end
(:line 31 :character 4))
:rangeLength 0 :text "t")]))
[client-request] (id:8) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 8 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 5)))
[client-request] (id:9) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 9 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 5)))
[client-request] (id:10) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 10 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 5)))
[server-reply] (id:8) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 8 :result
(:signatures
[]))
[server-notification] Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[(:source "pyflakes" :range
(:start
(:line 3 :character 0)
:end
(:line 3 :character 58))
:message "redefinition of unused 'LoginRequiredMixin' from line 3" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 6))
:message "E305 expected 2 blank lines after class or function definition, found 1" :code "E305" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 37 :character 0)
:end
(:line 37 :character 77))
:message "E302 expected 2 blank lines, found 1" :code "E302" :severity 2)]))
[server-reply] (id:9) Fri Jun 14 06:40:23 2024:
(:jsonrpc "2.0" :id 9 :result
(:contents
[(:language "python" :value "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None")
"print(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream."]))
[internal] (id:11) Fri Jun 14 06:40:24 2024:
(:deferring :textDocument/signatureHelp :id 11 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[internal] (id:12) Fri Jun 14 06:40:24 2024:
(:deferring :textDocument/hover :id 12 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[internal] (id:13) Fri Jun 14 06:40:24 2024:
(:deferring :textDocument/documentHighlight :id 13 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[client-notification] Fri Jun 14 06:40:24 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 9)
:contentChanges
[(:range
(:start
(:line 31 :character 5)
:end
(:line 31 :character 5))
:rangeLength 0 :text "(")
(:range
(:start
(:line 31 :character 5)
:end
(:line 31 :character 6))
:rangeLength 1 :text "")
(:range
(:start
(:line 31 :character 5)
:end
(:line 31 :character 5))
:rangeLength 0 :text "(")
(:range
(:start
(:line 31 :character 6)
:end
(:line 31 :character 6))
:rangeLength 0 :text ")")]))
[internal] Fri Jun 14 06:40:24 2024:
(:maybe-run-deferred
(13 12 11))
[client-request] (id:13) Fri Jun 14 06:40:24 2024:
(:jsonrpc "2.0" :id 13 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[client-request] (id:12) Fri Jun 14 06:40:24 2024:
(:jsonrpc "2.0" :id 12 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[client-request] (id:11) Fri Jun 14 06:40:24 2024:
(:jsonrpc "2.0" :id 11 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[internal] (id:14) Fri Jun 14 06:40:25 2024:
(:deferring :textDocument/signatureHelp :id 14 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[internal] (id:15) Fri Jun 14 06:40:25 2024:
(:deferring :textDocument/hover :id 15 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[internal] (id:16) Fri Jun 14 06:40:25 2024:
(:deferring :textDocument/documentHighlight :id 16 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[client-notification] Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 15)
:contentChanges
[(:range
(:start
(:line 31 :character 6)
:end
(:line 31 :character 6))
:rangeLength 0 :text "\"")
(:range
(:start
(:line 31 :character 6)
:end
(:line 31 :character 7))
:rangeLength 1 :text "")
(:range
(:start
(:line 31 :character 6)
:end
(:line 31 :character 6))
:rangeLength 0 :text "\"")
(:range
(:start
(:line 31 :character 6)
:end
(:line 31 :character 7))
:rangeLength 1 :text "")
(:range
(:start
(:line 31 :character 6)
:end
(:line 31 :character 6))
:rangeLength 0 :text "\"")
(:range
(:start
(:line 31 :character 7)
:end
(:line 31 :character 7))
:rangeLength 0 :text "\"")]))
[internal] Fri Jun 14 06:40:25 2024:
(:maybe-run-deferred
(16 15 14))
[client-request] (id:16) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 16 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[client-request] (id:15) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 15 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[client-request] (id:14) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 14 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[client-notification] Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 17)
:contentChanges
[(:range
(:start
(:line 31 :character 7)
:end
(:line 31 :character 7))
:rangeLength 0 :text "h")
(:range
(:start
(:line 31 :character 8)
:end
(:line 31 :character 8))
:rangeLength 0 :text "e")]))
[client-request] (id:17) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 17 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 9)
:context
(:triggerKind 1)))
[client-notification] Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 18)
:contentChanges
[(:range
(:start
(:line 31 :character 9)
:end
(:line 31 :character 9))
:rangeLength 0 :text "l")]))
[client-request] (id:18) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 18 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 10)
:context
(:triggerKind 1)))
[client-notification] Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 19)
:contentChanges
[(:range
(:start
(:line 31 :character 10)
:end
(:line 31 :character 10))
:rangeLength 0 :text "l")]))
[client-request] (id:19) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 19 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 11)
:context
(:triggerKind 1)))
[server-reply] (id:10) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 10 :result
[(:range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 5))
:kind 2)])
[server-reply] (id:13) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 13 :result nil)
[server-reply] (id:12) Fri Jun 14 06:40:25 2024:
(:jsonrpc "2.0" :id 12 :result
(:contents ""))
[server-reply] (id:11) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 11 :result
(:signatures
[(:label "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None" :documentation "print(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :parameters
[(:label "values" :documentation nil)
(:label "sep" :documentation "string inserted between values, default a space.")
(:label "end" :documentation "string appended after the last value, default a newline.")
(:label "file" :documentation "a file-like object (stream); defaults to the current sys.stdout.")
(:label "flush" :documentation "whether to forcibly flush the stream.")])]
:activeSignature 0 :activeParameter 0))
[server-reply] (id:16) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 16 :result nil)
[server-reply] (id:15) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 15 :result
(:contents ""))
[server-reply] (id:14) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 14 :result
(:signatures
[(:label "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None" :documentation "print(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :parameters
[(:label "values" :documentation nil)
(:label "sep" :documentation "string inserted between values, default a space.")
(:label "end" :documentation "string appended after the last value, default a newline.")
(:label "file" :documentation "a file-like object (stream); defaults to the current sys.stdout.")
(:label "flush" :documentation "whether to forcibly flush the stream.")])]
:activeSignature 0 :activeParameter 0))
[server-reply] (id:17) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 17 :result
(:isIncomplete :json-false :items
[]))
[server-reply] (id:18) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 18 :result
(:isIncomplete :json-false :items
[]))
[server-reply] (id:19) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 19 :result
(:isIncomplete :json-false :items
[]))
[client-notification] Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 20)
:contentChanges
[(:range
(:start
(:line 31 :character 11)
:end
(:line 31 :character 11))
:rangeLength 0 :text "o")]))
[client-request] (id:20) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 20 :method "textDocument/completion" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)
:context
(:triggerKind 1)))
[server-reply] (id:20) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 20 :result
(:isIncomplete :json-false :items
[]))
[server-notification] Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[(:source "pyflakes" :range
(:start
(:line 3 :character 0)
:end
(:line 3 :character 58))
:message "redefinition of unused 'LoginRequiredMixin' from line 3" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 15))
:message "E305 expected 2 blank lines after class or function definition, found 1" :code "E305" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 37 :character 0)
:end
(:line 37 :character 77))
:message "E302 expected 2 blank lines, found 1" :code "E302" :severity 2)]))
[client-request] (id:21) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 21 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)))
[client-request] (id:22) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 22 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)))
[client-request] (id:23) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 23 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)))
[server-reply] (id:21) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 21 :result
(:signatures
[(:label "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None" :documentation "print(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :parameters
[(:label "values" :documentation nil)
(:label "sep" :documentation "string inserted between values, default a space.")
(:label "end" :documentation "string appended after the last value, default a newline.")
(:label "file" :documentation "a file-like object (stream); defaults to the current sys.stdout.")
(:label "flush" :documentation "whether to forcibly flush the stream.")])]
:activeSignature 0 :activeParameter 0))
[server-reply] (id:22) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 22 :result
(:contents ""))
[server-reply] (id:23) Fri Jun 14 06:40:26 2024:
(:jsonrpc "2.0" :id 23 :result nil)
[client-notification] Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :method "textDocument/didSave" :params
(:text "\"\"\"A module for author app views.\"\"\"\n\nfrom django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin\nfrom django.contrib.auth.mixins import LoginRequiredMixin\nfrom django.urls import reverse_lazy\nfrom django.views.generic.detail import DetailView\nfrom django.views.generic.edit import CreateView, DeleteView, UpdateView\nfrom django.views.generic.list import ListView\n\nfrom apps.authors.models import Author\n\n\nclass AuthorListView(ListView):\n \"\"\"Generic CBV view for author list page\"\"\"\n\n model = Author\n template_name = \"authors/author_list.html\" # default\n\n\nclass AuthorDetailView(DetailView):\n \"\"\"Generic CBV view for author detail page\"\"\"\n\n model = Author\n template_name = \"authors/author_detail.html\" # default\n\n def get_context_data(self, **kwargs):\n \"\"\"Add the author's quotes to the context\"\"\"\n context = super().get_context_data(**kwargs)\n context[\"quotes\"] = self.object.quotes.all()\n return context\n\nprint(\"hello\")\n\n# CreateView is very similar to FormView, but use CreateView anyway, it must be\n# there for a reason\n# does some additional magic for us, like saving to the db\n# YT - \"Learn Django Class Based Views - CreateView - Theory and Examples\"\nclass AuthorCreateView(LoginRequiredMixin, UserPassesTestMixin, CreateView):\n \"\"\"Generic CBV view for author create page\"\"\"\n\n model = Author\n fields = [\n \"name\",\n \"lastname\",\n ]\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorDeleteView(LoginRequiredMixin, UserPassesTestMixin, DeleteView):\n \"\"\"Generic CBV view for author delete page\"\"\"\n\n model = Author\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_confirm_delete.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorUpdateView(LoginRequiredMixin, UserPassesTestMixin, UpdateView):\n \"\"\"Generic CBV view for author update page\"\"\"\n\n model = Author\n fields = \"__all__\"\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n" :textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")))
[server-notification] Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[(:source "pyflakes" :range
(:start
(:line 3 :character 0)
:end
(:line 3 :character 58))
:message "redefinition of unused 'LoginRequiredMixin' from line 3" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 15))
:message "E305 expected 2 blank lines after class or function definition, found 1" :code "E305" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 37 :character 0)
:end
(:line 37 :character 77))
:message "E302 expected 2 blank lines, found 1" :code "E302" :severity 2)]))
[client-request] (id:24) Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :id 24 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)))
[client-request] (id:25) Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :id 25 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)))
[client-request] (id:26) Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :id 26 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 12)))
[server-reply] (id:24) Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :id 24 :result
(:signatures
[(:label "print(*values: object, sep: Optional[Text]=..., end: Optional[Text]=..., file: Optional[_Writer]=..., flush: bool=...) -> None" :documentation "print(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream." :parameters
[(:label "values" :documentation nil)
(:label "sep" :documentation "string inserted between values, default a space.")
(:label "end" :documentation "string appended after the last value, default a newline.")
(:label "file" :documentation "a file-like object (stream); defaults to the current sys.stdout.")
(:label "flush" :documentation "whether to forcibly flush the stream.")])]
:activeSignature 0 :activeParameter 0))
[server-reply] (id:25) Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :id 25 :result
(:contents ""))
[server-reply] (id:26) Fri Jun 14 06:40:29 2024:
(:jsonrpc "2.0" :id 26 :result nil)
[client-notification] Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :method "textDocument/didChange" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :version 22)
:contentChanges
[(:range
(:start
(:line 31 :character 14)
:end
(:line 31 :character 14))
:rangeLength 0 :text "\n")
(:range
(:start
(:line 32 :character 0)
:end
(:line 32 :character 0))
:rangeLength 0 :text "\n")]))
[client-request] (id:27) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 27 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[client-request] (id:28) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 28 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[client-request] (id:29) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 29 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[server-reply] (id:27) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 27 :result
(:signatures
[]))
[server-reply] (id:28) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 28 :result
(:contents ""))
[server-reply] (id:29) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 29 :result nil)
[internal] (id:11) Fri Jun 14 06:40:34 2024:
(:timed-out :textDocument/signatureHelp :id 11 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[internal] (id:12) Fri Jun 14 06:40:34 2024:
(:timed-out :textDocument/hover :id 12 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[internal] (id:13) Fri Jun 14 06:40:34 2024:
(:timed-out :textDocument/documentHighlight :id 13 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 6)))
[client-notification] Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :method "textDocument/didSave" :params
(:text "\"\"\"A module for author app views.\"\"\"\n\nfrom django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin\nfrom django.contrib.auth.mixins import LoginRequiredMixin\nfrom django.urls import reverse_lazy\nfrom django.views.generic.detail import DetailView\nfrom django.views.generic.edit import CreateView, DeleteView, UpdateView\nfrom django.views.generic.list import ListView\n\nfrom apps.authors.models import Author\n\n\nclass AuthorListView(ListView):\n \"\"\"Generic CBV view for author list page\"\"\"\n\n model = Author\n template_name = \"authors/author_list.html\" # default\n\n\nclass AuthorDetailView(DetailView):\n \"\"\"Generic CBV view for author detail page\"\"\"\n\n model = Author\n template_name = \"authors/author_detail.html\" # default\n\n def get_context_data(self, **kwargs):\n \"\"\"Add the author's quotes to the context\"\"\"\n context = super().get_context_data(**kwargs)\n context[\"quotes\"] = self.object.quotes.all()\n return context\n\nprint(\"hello\")\n\n\n\n# CreateView is very similar to FormView, but use CreateView anyway, it must be\n# there for a reason\n# does some additional magic for us, like saving to the db\n# YT - \"Learn Django Class Based Views - CreateView - Theory and Examples\"\nclass AuthorCreateView(LoginRequiredMixin, UserPassesTestMixin, CreateView):\n \"\"\"Generic CBV view for author create page\"\"\"\n\n model = Author\n fields = [\n \"name\",\n \"lastname\",\n ]\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorDeleteView(LoginRequiredMixin, UserPassesTestMixin, DeleteView):\n \"\"\"Generic CBV view for author delete page\"\"\"\n\n model = Author\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_confirm_delete.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n\n\nclass AuthorUpdateView(LoginRequiredMixin, UserPassesTestMixin, UpdateView):\n \"\"\"Generic CBV view for author update page\"\"\"\n\n model = Author\n fields = \"__all__\"\n success_url = reverse_lazy(\"author-list\")\n template_name = \"authors/author_form.html\" # default\n\n def test_func(self):\n \"\"\"Checks if the user is a superuser.\"\"\"\n return self.request.user.is_superuser\n" :textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")))
[client-request] (id:30) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 30 :method "textDocument/signatureHelp" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[client-request] (id:31) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 31 :method "textDocument/hover" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[client-request] (id:32) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 32 :method "textDocument/documentHighlight" :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 33 :character 0)))
[server-reply] (id:30) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 30 :result
(:signatures
[]))
[server-reply] (id:31) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 31 :result
(:contents ""))
[server-reply] (id:32) Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :id 32 :result nil)
[server-notification] Fri Jun 14 06:40:34 2024:
(:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py" :diagnostics
[(:source "pyflakes" :range
(:start
(:line 3 :character 0)
:end
(:line 3 :character 58))
:message "redefinition of unused 'LoginRequiredMixin' from line 3" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 31 :character 0)
:end
(:line 31 :character 15))
:message "E305 expected 2 blank lines after class or function definition, found 1" :code "E305" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 35 :character 0)
:end
(:line 35 :character 80))
:message "E303 too many blank lines (3)" :code "E303" :severity 2)
(:source "pycodestyle" :range
(:start
(:line 39 :character 0)
:end
(:line 39 :character 77))
:message "E302 expected 2 blank lines, found 3" :code "E302" :severity 2)]))
[internal] (id:14) Fri Jun 14 06:40:35 2024:
(:timed-out :textDocument/signatureHelp :id 14 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[internal] (id:15) Fri Jun 14 06:40:35 2024:
(:timed-out :textDocument/hover :id 15 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7)))
[internal] (id:16) Fri Jun 14 06:40:35 2024:
(:timed-out :textDocument/documentHighlight :id 16 :params
(:textDocument
(:uri "file:///home/nixos/GIT/quotes/apps/authors/views.py")
:position
(:line 31 :character 7))) I dont see the token values in this events buffer then.
I believe it does not really matter what the project directory or filenames are.
Emacs - GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) On Windows WSL, NixOS distribution version - 23.11.7313.9d29cd266ceb (Tapir)
This can be replicated with Hope this helps! |
Beta Was this translation helpful? Give feedback.
All reactions
-
Your beliefs can be added later, separately. When baking a cake is it also "eggs and then I believe it does not really matter"? But your problem is likely with the server sending too many WorkDoneProgress notifications. You can upgrade Eglot and tweak |
Beta Was this translation helpful? Give feedback.
-
Recording.2024-06-08.093501.mp4
Can you see this line of randomly generated lines/numbers in under modeline?
It appears whenever I am typing something, this randomly generated text is displayed. It is distracting
Recently played with pylint, black and company mode. Could any of these packages be of influence here?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions