Project

General

Profile

Actions

Feature #1894

open

Поддержка systemd/logind

Added by DA almost 10 years ago. Updated over 7 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Plugins: Liznoo
Target version:
Start date:
03/05/2015
Due date:
% Done:

0%

Estimated time:

Description

cat .log (удалены перед ждущим, не давал соединениям протухнуть)
[05.03.2015 22:40:29.221] [0x1d10e30] [2716] LeechCraft::AdvancedNotifications::VisualNotificationsView::VisualNotificationsView() created
[05.03.2015 22:40:37.054] [0x1d10e30] [2717] void LeechCraft::AdvancedNotifications::VisualNotificationsView::handleStatusChanged(QDeclarativeView::Status) 1
[05.03.2015 22:40:38.048] [0x1d10e30] [2722] void LeechCraft::AdvancedNotifications::VisualNotificationsView::handleStatusChanged(QDeclarativeView::Status) 1
[05.03.2015 22:41:02.471] [0x1d10e30] [2723] virtual void LeechCraft::Dolozhee::ChooseUserPage::initializePage() "org.LeechCraft.Dolozhee.Username_DA"
[05.03.2015 22:42:38.169] [0x1d10e30] [2724] LeechCraft::AdvancedNotifications::VisualNotificationsView::VisualNotificationsView() created
[05.03.2015 22:42:45.666] [0x1d10e30] [2725] requesting ids for "-585343970\" ""
[05.03.2015 22:43:00.956] [0x1d10e30] [2726] " <lfm status="ok">
<scrobbles ignored="0" accepted="1">
<scrobble>
<track corrected="0">Pirates Of The Caribbean</track>
<artist corrected="0">Epica</artist>
<album corrected="0">The Classical Conspiracy (Clear Vinyl LP)</album>
<albumArtist corrected="0"/>
<timestamp>1425584373</timestamp>
<ignoredMessage code="0"/>
</scrobble>
</scrobbles>
</lfm>
"
[05.03.2015 22:39:54.036] [0x1d10e30] [2708] void LeechCraft::DeadLyrics::ConcreteSite::handleReplyError() query failed for QUrl( "http://www.lyricstime.com/epica-pirates-of-the-caribbean-lyrics.html" )
[05.03.2015 22:39:54.037] [0x1d10e30] [2709] error: 3 "Host www.lyricstime.com not found"
[05.03.2015 22:39:54.037] [0x1d10e30] [2710] desc: "lyricstime.com" "http://www.lyricstime.com/{artist}-{title}-lyrics.html"
[05.03.2015 22:39:54.065] [0x1d10e30] [2711] void LeechCraft::DeadLyrics::ConcreteSite::handleReplyError() query failed for QUrl( "http://www.seeklyrics.com/lyrics/Epica/Pirates-of-the-caribbean.html" )
[05.03.2015 22:39:54.065] [0x1d10e30] [2712] error: 3 "Host www.seeklyrics.com not found"
[05.03.2015 22:39:54.065] [0x1d10e30] [2713] desc: "seeklyrics.com" "http://www.seeklyrics.com/lyrics/{Artist}/{Title}.html"
[05.03.2015 22:40:28.606] [0x1d10e30] [2714] void LeechCraft::Blogique::Metida::LJXmlRPC::handleNetworkError(QNetworkReply::NetworkError) 3 "Host www.livejournal.com not found"
[05.03.2015 22:40:28.607] [0x1d10e30] [2715] QByteArray LeechCraft::Blogique::Metida::{anonymous}::CreateDomDocumentFromReply(QNetworkReply
, QDomDocumentx%x
) "unexpected end of file" in line: 1 column: 1
[05.03.2015 22:40:37.990] [0x1d10e30] [2718] T* LeechCraft::Azoth::ChatTab::GetEntry() const [with T = LeechCraft::Azoth::IUpdatableChatEntry] object LeechCraft::Azoth::Xoox::GlooxCLEntry(0x6918fb0) doesn't implement the required interface
[05.03.2015 22:40:38.028] [0x1d10e30] [2719] T* LeechCraft::Azoth::ChatTab::GetEntry() const [with T = LeechCraft::Azoth::IMUCEntry] object LeechCraft::Azoth::Xoox::GlooxCLEntry(0x6918fb0) doesn't implement the required interface
[05.03.2015 22:40:38.029] [0x1d10e30] [2720] void LeechCraft::RootWindowsManager::PerformWithTab(const std::function<void(LeechCraft::TabManager*, int)>&, QWidget*) no window for tab LeechCraft::Azoth::ChatTab(0x1053c950, name = "ChatTab")
[05.03.2015 22:40:38.046] [0x1d10e30] [2721] void LeechCraft::DockToolbarManager::AddDock(QDockWidget*, Qt::DockWidgetArea) double-adding QDockWidget(0x24450c0) "Azoth"

STR:
suspend
Ждём, пока соединения протухнут.
Будим.

Expected result:
Azoth переходит в offline перед ждущим и в online — после.

Actual result:
Перед ничего не происходит, после один или два раза теряет соединение с серверами и реконнектится.

System information:
LeechCraft 0.6.70-2708-g0cb8a04
Built with Qt 4.8.6, running with Qt 4.8.6
Running on: openSUSE 13.2 (Harlequin) (x86_64) x86_64 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a)


Files

debug.log (13 KB) debug.log DA, 03/09/2015 06:19 PM
warning.log (11.8 KB) warning.log DA, 03/09/2015 06:19 PM
debug.log (1.78 KB) debug.log DA, 05/11/2015 09:07 PM
warning.log (712 Bytes) warning.log DA, 05/11/2015 09:07 PM
warning.log (715 Bytes) warning.log DA, 05/12/2015 06:43 AM
debug.log (645 Bytes) debug.log DA, 05/12/2015 06:43 AM
Actions #1

Updated by 0xd34df00d almost 10 years ago

UPower есть?

Actions #2

Updated by DA almost 10 years ago

i | upower | package | 0.99.2~git20141204-2.4.1

Actions #3

Updated by 0xd34df00d almost 10 years ago

С какими флагами собираются личкрафты? В cmake USE_LIZNOO_PMUTILS включено?

Actions #4

Updated by DA almost 10 years ago

Охуеть, ты просто взял и выключил в сентябре основную функциональность модуля и хуй что кому сказал. Включу.

Actions #5

Updated by 0xd34df00d almost 10 years ago

Вообще-то как раз не надо включать, оно и должно быть выключено.

Actions #6

Updated by DA almost 10 years ago

Блять _ Так в чём проблема?

Actions #7

Updated by 0xd34df00d almost 10 years ago

Хороший вопрос.

Я в недавних коммитах добавил дебаговый вывод. Сделай на каком-нибудь тестовом юзере, если есть, leechcraft -P liznoo, уведи машину в сон, подожди немного, и разбуди обратно. И покажи логи потом.

Ещё можно на нетестовом юзере зайти в настройки Liznoo и на вкладке Debug понажимать кнопки.

Updated by DA almost 10 years ago

leechcraft -P /usr/lib64/leechcraft/plugins/libleechcraft_azoth_xoox.so -P /usr/lib64/leechcraft/plugins/libleechcraft_azoth_standardstyles.so -P /usr/lib64/leechcraft/plugins/libleechcraft_azoth_adiumstyles.so -P /usr/lib64/leechcraft/plugins/libleechcraft_azoth.so -P /usr/lib64/leechcraft/plugins/libleechcraft_liznoo.so -P /usr/lib64/leechcraft/plugins/libleechcraft_secman.so -P /usr/lib64/leechcraft/plugins/libleechcraft_secman_simplestorage.so

Actions #9

Updated by DA almost 10 years ago

Ещё можно на нетестовом юзере зайти в настройки Liznoo и на вкладке Debug понажимать кнопки.

Кнопки работают, как ожидается.

Actions #10

Updated by 0xd34df00d almost 10 years ago

Я там в упор не вижу вывода от liznoo. Ты уверен, что недавно пересобирал личкрафты?

Actions #11

Updated by DA almost 10 years ago

LeechCraft 0.6.70-2806-gaabf218
Built with Qt 4.8.6, running with Qt 4.8.6
Running on: openSUSE 13.2 (Harlequin) (x86_64) x86_64 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a)

1 day ago

Updated by DA over 9 years ago

Потыкал кнопки отправки сигнала с патчем.

Updated by DA over 9 years ago

Уснул/проснулся.

Actions #14

Updated by 0xd34df00d over 9 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Не делает azoth offline перед ждущим режимом to Поддержка systemd/logind
  • Status changed from New to Assigned
  • Target version set to 0.6.75

http://www.freedesktop.org/wiki/Software/systemd/logind/

В частности, сигналы PrepareForShutdown() и PrepareForSleep().

Actions #15

Updated by DA over 7 years ago

Relevant.

Actions

Also available in: Atom PDF