<table><tr><td style="">sirgienko added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11626">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>What about this <tt style="background: #ebebeb; font-size: 13px;">cantor_print()</tt> (<tt style="background: #ebebeb; font-size: 13px;">15.12</tt> 'stable' cantor also have this problem): each time, when you save worksheet this command is added to worksheet (not more than once per cantor session)</p></blockquote>
<p>Let's concentrate on 18.04 now. We have two outstanding problems that need to be urgently fixed - running of the saved project and missing latex output.</p></blockquote>
<p><a href="https://phabricator.kde.org/p/asemke/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@asemke</a>, maybe I understand, what is the problem: when we load worksheet, we login twice, so we set <tt style="background: #ebebeb; font-size: 13px;">m_prompt, m_tempDir</tt> after first login, but after second login we can't set it again, because <tt style="background: #ebebeb; font-size: 13px;">if (!m_currentExpression || m_prompt.isEmpty())</tt> never come <tt style="background: #ebebeb; font-size: 13px;">true</tt> and we never call <tt style="background: #ebebeb; font-size: 13px;">changeStatus(Done);</tt> inside this branch, so we never run rest of entries.</p>
<p>First login backtrace (not full):</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">#0 OctaveSession::login (this=0x147bf90)
at /home/mmmm1998/Документы/Репозитории/cantor/src/backends/octave/octavesession.cpp:59
#1 0x00007fffbe00561d in Worksheet::loginToSession (this=0x8e3a00)
at /home/mmmm1998/Документы/Репозитории/cantor/src/worksheet.cpp:89
#2 Worksheet::enableHighlighting (this=this@entry=0x8e3a00, highlight=<optimized out>)
at /home/mmmm1998/Документы/Репозитории/cantor/src/worksheet.cpp:769
#3 0x00007fffbe0067c3 in Worksheet::load (this=this@entry=0x8e3a00,
device=device@entry=0x7fffffffcc90)
at /home/mmmm1998/Документы/Репозитории/cantor/src/worksheet.cpp:1053
#4 0x00007fffbe006ea0 in Worksheet::load (this=0x8e3a00, filename=...)
at /home/mmmm1998/Документы/Репозитории/cantor/src/worksheet.cpp:951
#5 0x00007fffbdff4f02 in CantorPart::openFile (this=0x88dee0)
at /home/mmmm1998/Документы/Репозитории/cantor/src/cantor_part.cpp:427</pre></div>
<p>Second <tt style="background: #ebebeb; font-size: 13px;">login</tt> backtace (pay attention to value of <tt style="background: #ebebeb; font-size: 13px;">m_loginDone</tt>)</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">#0 OctaveSession::login (this=0x147bf90)
at /home/mmmm1998/Документы/Репозитории/cantor/src/backends/octave/octavesession.cpp:59
#1 0x00007fffbdffef8e in Worksheet::loginToSession (this=0x8e3a00)
at /home/mmmm1998/Документы/Репозитории/cantor/src/worksheet.cpp:89
#2 0x00007fffbe038ed0 in Worksheet::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>)
at /home/mmmm1998/Документы/Репозитории/cantor/build/src/moc_worksheet.cpp:531
#3 0x00007ffff4c39211 in QObject::event(QEvent*) ()
from /home/mmmm1998/Qt/5.8/gcc_64/lib/libQt5Core.so.5
#4 0x00007ffff5c9cf4b in QGraphicsScene::event(QEvent*) ()
from /home/mmmm1998/Qt/5.8/gcc_64/lib/libQt5Widgets.so.5
#5 0x00007ffff59a9dcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /home/mmmm1998/Qt/5.8/gcc_64/lib/libQt5Widgets.so.5
#6 0x00007ffff59b1236 in QApplication::notify(QObject*, QEvent*) ()
from /home/mmmm1998/Qt/5.8/gcc_64/lib/libQt5Widgets.so.5
#7 0x00007ffff4c0f458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /home/mmmm1998/Qt/5.8/gcc_64/lib/libQt5Core.so.5
(More stack frames follow...)
(gdb) frame 1
#1 0x00007fffbdffef8e in Worksheet::loginToSession (this=0x8e3a00)
at /home/mmmm1998/Документы/Репозитории/cantor/src/worksheet.cpp:89
89 m_session->login();
(gdb) print m_loginDone
$1 = true</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R55 Cantor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11626">https://phabricator.kde.org/D11626</a></div></div><br /><div><strong>To: </strong>sirgienko, Cantor, asemke<br /><strong>Cc: </strong>Cantor, KDE Edu, narvaez, apol<br /></div>