You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WalkHistory::clear()
QML debugging is enabled. Only use this in a safe environment.
Start Tute v. 0. 0. 1
Set main program file to "./tute"
---------------
Critical error!
---------------
"Can't set permissions to file \"/home/xi/.config/tute/mode.ini\""
I create empty file /home/xi/.config/tute/mode.ini, and run again:
$ ./tute
WalkHistory::clear()
QML debugging is enabled. Only use this in a safe environment.
Start Tute v. 0. 0. 1
Set main program file to "./tute"
Segmentation fault
I try run in debug mode, and see very long called stack with repeat functions call.
How to run tute?
The text was updated successfully, but these errors were encountered:
That is to say, during the application's initialization, if the program can not find a file named "mode.ini" under the directory "/home/$USER/.config/tute/", it should recover the file from the resource.
auto permanent_root_info_to_app_data_path_system =
[&](QString target_root) -> bool {
......
auto t = mode_full_name_in_app_data_path_system();
if (!QFile(t).exists()) {
if (!DiskHelper::qt_resource_recover(std::make_shared<QFileInfo>(t)))
critical_error(QString("Unhandled error encountered when force copy file \"") + ":/resource/standardconfig/" + target_os() + "/" + _mode_filename + "\" to \"" + t + "\"");
}
......
That shows that I just check the existence of the file and try to recover it.
The content of "mode.ini":
[General]
application_mode=Portable
rootdir=.
The keyword "Portable" means I always prefer to put all user data at somewhere special -- for synchronizing remotely. Another alternative keyword should be "Standard" and I never use it.
Hi!
I try compile and running Tute (commit 593844e).
Tute normal compile.
But first error if run tute:
I create empty file /home/xi/.config/tute/mode.ini, and run again:
I try run in debug mode, and see very long called stack with repeat functions call.
How to run tute?
The text was updated successfully, but these errors were encountered: