Could not create desktop file
Bug #1211352 reported by
Víctor R. Ruiz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-qml |
Fix Released
|
Critical
|
Alexandre Abreu | ||
unity-webapps-qml (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Jenkins' log, this critical error is displayed:
Could not create desktop file: "/home/
I checked in my VirtualBox Saucy installation, and the parent directory, ~/.local/
QFile f(desktopFilePath);
if ( ! f.open(
{
qCritical() << "Could not create desktop file: " << desktopFilePath;
return success;
}
Code must be added to create that folder. The program cannot expect it to be available.
Related branches
lp:~vrruiz/unity-webapps-qml/fix-sharelocalapps
- PS Jenkins bot (community): Approve (continuous-integration)
- Francis Ginther: Approve
- Robert Bruce Park (community): Approve
-
Diff: 22 lines (+10/-2)1 file modifiedsrc/Ubuntu/UnityWebApps/plugin/unity-webapps-api.cpp (+10/-2)
Changed in unity-webapps-qml: | |
importance: | Undecided → Critical |
Changed in unity-webapps-qml: | |
status: | New → In Progress |
assignee: | nobody → Víctor R. Ruiz (vrruiz) |
assignee: | Víctor R. Ruiz (vrruiz) → Alexandre Abreu (abreu-alexandre) |
Changed in unity-webapps-qml: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
When .local/ share/applicati ons is not available, the autopilot tests fail:
Traceback (most recent call last): ubuntu/ unity-webapps- qml/tests/ integration/ autopilot/ unity_webapps_ qml/tests/ test_hud. py", line 40, in test_addAction assertThat( lambda: self.eval_ expression_ in_page_ unsafe( "return document. getElementById( 'status' ).innerHTML; "), Eventually( Equals( 'actionadded' )))
File "/home/
self.
MismatchError: After 10.0 seconds test failed: 'actionadded' != u''
So, this bug is related to https:/ /bugs.launchpad .net/unity- webapps- qml/+bug/ 1208355