[Sugar-devel] Problem when building a module

Daniel Narvaez dwnarvaez at gmail.com
Sat Dec 29 07:00:12 EST 2012


Hey,

thanks for looking into this. I'm away from my laptop for a few days...
Could you please commit the fix (I added you as committer)? Perhaps use two
separate lines instead of the comma, to match the style of the rest of the
code.

Btw, not sure what you are doing exactly but these days you don't normally
need to build a specific module... Both make run and make build will figure
out which modules are changed and build just those.

On Saturday, 29 December 2012, Ajay Garg wrote:

> Ahhh.. never-mind...
>
> replacing
> ""from devbot import main""
>
> by
> "from devbot import main, build"
>
> in "commands/build" did the trick !!!
>
>
>
> On Sat, Dec 29, 2012 at 4:49 PM, Ajay Garg <ajay at activitycentral.com<javascript:_e({}, 'cvml', 'ajay at activitycentral.com');>
> > wrote:
>
>> Hi.
>>
>> I cloned the latest code for sugar-build architecture; and I then tried
>> to (just) build "sugar".
>> I ran "make build-sugar"; however, I am getting the error ::
>>
>>
>> ###########################################################################
>> [ajay at localhost sugar-build]$ make build-sugar
>> Traceback (most recent call last):
>>   File "/home/ajay/doosra/commands/build", line 17, in <module>
>>     if not build.build_one(args.module):
>> NameError: name 'build' is not defined
>> make: *** [build-sugar] Error 1
>>
>> ###########################################################################
>>
>>
>> Any ideas how the issue may be solved?
>>
>>
>>
>> Regards,
>>
>> Ajay Garg
>> Dextrose Developer
>> Activity Central: http://activitycentral.com
>
>
>
>
> --
> Regards,
>
> Ajay Garg
> Dextrose Developer
> Activity Central: http://activitycentral.com



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121229/dd33611e/attachment.html>


More information about the Sugar-devel mailing list