Dwoo loader error

Bug #1193177 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Robert Lyon
1.9
Fix Released
Low
Robert Lyon

Bug Description

These warnings appear when switching from one theme to another in site options: (Mahara version 1.7)

[WAR] d9 (lib/dwoo/dwoo/Dwoo/Loader.php:103) include(/var/www/myportfolio-ac-testing-mahara/releases/20121228012029/lib/dwoo/dwoo/plugins/builtin/blocks/topLevelBlock.php): failed to open stream: No such file or directory

[WAR] d9 (lib/dwoo/dwoo/Dwoo/Loader.php:103) include(): Failed opening '/var/www/myportfolio-ac-testing-mahara/releases/20121228012029/lib/dwoo/dwoo/plugins/builtin/blocks/topLevelBlock.php' for inclusion (include_path='/var/www/myportfolio-ac-testing-mahara/releases/20130516043004/lib/:/var/www/myportfolio-ac-testing-mahara/releases/20130516043004/lib/pear/:.:/usr/share/php:/usr/share/pear')

Looks to be a race situation error where Dwoo tries to load certain things that are not cached.
A refresh of the page makes the errors go away. So only a minor annoyance for a task that should rarely be changed.

Revision history for this message
Robert Lyon (robertl-9) wrote :

We should move away from using Dwoo as it is not currently been maintained.

Here is an interesting look at speed tests between twig and smarty3
http://umumble.com/blogs/php/249/

Also the user comments give good insight into the pros and cons of going with either option.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/4691

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.9_STABLE" branch: https://reviews.mahara.org/4692

Revision history for this message
Robert Lyon (robertl-9) wrote :

Ok this problem was fixed for 15.04 when we upgraded the Dwoo

Seen as the fix is small and that it can be annoying when deploying to older sites I'll backport this fix to the 1.10 and 1.9 branches

Changed in mahara:
status: Confirmed → In Progress
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 1.10.4
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4691
Committed: http://gitorious.org/mahara/mahara/commit/67399f879c739d014674fc1e8995f5bbe402a752
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 67399f879c739d014674fc1e8995f5bbe402a752
Author: Robert Lyon <email address hidden>
Date: Fri Apr 24 11:39:19 2015 +1200

Stop the dwoo loader error (Bug #1193177)

The fix for this exists in Dwoo 1.2 so backporting it to older branches

Change-Id: Idafa654ea5e71118d8fdd1512e9a32cf1f4c39cd
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4692
Committed: http://gitorious.org/mahara/mahara/commit/eaa54f908bef85bdc56609dbda4adf7bb3314954
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.9_STABLE

commit eaa54f908bef85bdc56609dbda4adf7bb3314954
Author: Robert Lyon <email address hidden>
Date: Fri Apr 24 11:39:19 2015 +1200

Stop the dwoo loader error (Bug #1193177)

The fix for this exists in Dwoo 1.2 so backporting it to older branches

Change-Id: Idafa654ea5e71118d8fdd1512e9a32cf1f4c39cd
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.