Add debug messages for Layout creation errors
When creating a Layout, users sometimes get the critical error message popup:
"Couldn't prepare data for creation layout"
The debug log in Qt doesn't generate any messages to assist with this error. Please implement debug messages for this error, indicating which aspect or which step of building the Layout failed.
Comments (11)
-
repo owner -
reporter And in other logs to enable troubleshooting of these issues. Since this single generic error message appears for all layout errors, it isn't as helpful as it could be.
Reason I opened this issue: I get this layout error message frequently but I find it difficult to replicate. It may require creating a layout, then saving the pattern, then trying to create a new layout. I was looking for logging messages because the popup message doesn't indicate the point of failure.
I'll keep trying to replicate the layout error so I can open another issue.
-
repo owner I am asking because log is the last place where common user will seek answer. Maybe better make message in popup window more verbose?
-
reporter This is for me and others who help to debug and test. It's also the right thing to do. Standard practice is to log error messages with additional details. More info in the user error message is good, but it is not a substitute for logging error messages.
-
repo owner - changed status to resolved
Resolved issue
#530. Add debug messages for Layout creation errors.→ <<cset 3997e8635085>>
-
reporter Where are the logs containing error messages from previous session?
-
repo owner Check by date of creating.
-
reporter In which directory?
-
repo owner I thought you knew. :) Default Log Location.
-
reporter Your link address is https://bitbucket.org/dismine/valentina/issues/530/add-debug-messages-for-layout-creation, which is the top of this issue. So which directory is Valentina's default log location?
-
repo owner - Log in to comment
Only in debug log?