Giter Site home page Giter Site logo

Comments (5)

andruska avatar andruska commented on August 22, 2024

I reproduced problem now this with log information.

$ nixnote2
INFO  2022-07-31 15:06:20.123 src/utilities/crossmemorymapper.cpp:62 Shared memory segment allocated, instance key: "72e37e05-2a75-45cd-89ea-8bc15cd368622"
INFO  2022-07-31 15:06:20.126 src/main.cpp:304 NixNote 2.1.6-460aec81, build at Dec 28 2021 at 19:52:53, with Qt 5.15.2 running on 5.15.3
INFO  2022-07-31 15:06:20.127 src/main.cpp:307 To get more detailed startup logging use --logLevel=1

Nixnote2 minimized to System Tray icon. Nixnote2 window button is not present on xfce4 panel.
Disconnected network. Waiting for timeout.

WARN 2022-07-31 15:11:04.540 src/qevercloud/QEverCloud/src/http.cpp:176 QEverCloud.http.simpleDownload: reply for url="https://www.evernote.com/edam/note/s307" is error: "Request timeout." => EverCloudException "Request timeout."

Nixnote2 prompts "Sync error. See message log for details". Pressed "OK".

ERROR 2022-07-31 15:11:04.562 src/communication/communicationmanager.cpp:537 Exception stacktrace:
nixnote2(_ZN20CommunicationManager11reportErrorEN18CommunicationError22CommunicationErrorTypeEiRK7QStringS4_+0x6b)[0x5b1ddb]
nixnote2(+0xb29a8)[0x4d59a8]
nixnote2(_ZN10SyncRunner12evernoteSyncEv+0x106)[0x841f56]
nixnote2(_ZN10SyncRunner11synchronizeEv+0x467)[0x842cc7]
/usr/lib/libQt5Core.so.5(_ZN14QMetaCallEvent13placeMetaCallEP7QObject+0x96)[0xb371f646]
/usr/lib/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x258)[0xb37200f8]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x86)[0xb75ded06]
nixnote2(_ZN11Application6notifyEP7QObjectP6QEvent+0x32)[0x556712]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x12c)[0xb36f7dfc]
/usr/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1a6)[0xb36fd036]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2b)[0xb36fd43b]
/usr/lib/libQt5Core.so.5(+0x29d4c4)[0xb37484c4]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1c4)[0xb0cbaa14]
/usr/lib/libglib-2.0.so.0(+0xa5c42)[0xb0d10c42]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x39)[0xb0cb7da9]
/usr/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x73)[0xb37453a3]
/usr/lib/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x12e)[0xb36f6b0e]
/usr/lib/libQt5Core.so.5(_ZN7QThread4execEv+0x68)[0xb356b858]
/usr/lib/libQt5Core.so.5(+0xbe3f4)[0xb35693f4]
/usr/lib/libc.so.6(+0x8bdfe)[0xb3028dfe]
/usr/lib/libc.so.6(clone+0x6a)[0xb30af21a]
ERROR 2022-07-31 15:11:04.575 src/communication/communicationerror.cpp:88 "StdException[code=16]: Request timeout."
INFO  2022-07-31 15:11:22.206 src/main.cpp:375 main: Exit: retcode=0

Nixnote2 crashed. And that way it behaves every time.
Behaves exactly same on other tested computer.

When leaving window open and not minimizing to system tray, or if window minimized to xfce4 panel window button, the crash is not present.

from nixnote2.

boo-yee avatar boo-yee commented on August 22, 2024

It looks like a normal exit, because the retcode is 0.

from nixnote2.

andruska avatar andruska commented on August 22, 2024

Behaviour definitely is not normal. It doesnt let to work offline.

from nixnote2.

boo-yee avatar boo-yee commented on August 22, 2024

The reason of issue is: when the last window is closed, the Qt application will exit automatically. This is a feature of Qt.
I have created a pr to fix it. You could disable the auto sync in the preference dialog temporarily.

from nixnote2.

robert7 avatar robert7 commented on August 22, 2024

thx I'll check the pull request

from nixnote2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.