Bug 4875

Summary: webhob needs Django 1.4 to run
Product: [Build System, Metadata & Runtime] Toaster Reporter: Calin Dragomir <calinx.l.dragomir>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: alexandru.damian, razvanx.ionescu
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Calin Dragomir 2013-07-19 10:36:12 UTC
Users need to have Djangio 1.4 installed to use Webhob.
Otherwise they'll be shown tracebacks that complain about missing Django components upon system start.

Here's an example: 

yocto@icarus:~/poky/build$ source webhob start
Traceback (most recent call last):
  File "/home/yocto/poky/bitbake/bin/../lib/webhob/manage.py", line 8, in
<module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
Failed db sync, stopping system start
Comment 1 Alexandru Damian 2013-07-29 13:50:31 UTC
Fixed in webhob-poky/master

Startup script will check for Django 1.4.5 to be available.
Comment 2 Razvan Ionescu 2013-10-09 07:49:03 UTC
Verified with webhob-poky/master