[sugar] G1G1v2 Activities

Gary C Martin gary at garycmartin.com
Fri Sep 19 22:02:47 EDT 2008


On 19 Sep 2008, at 22:50, C. Scott Ananian wrote:

> On Thu, Sep 18, 2008 at 10:01 PM, Gary C Martin  
> <gary at garycmartin.com> wrote:
>> However, any hints would be much appreciated as to what this last
>> remaining setup.py WARNING is trying to tell me?
>>
>>       WARNING:root:bundle_name deprecated, now comes from  
>> activity.info
>>
>> I've not had much luck tracking it down, and I make no reference to
>> bundle_name in my code.
>
> When you call BundleBuilder in setup.py, don't pass in a string in the
> constructor, leave it empty.  It interprets the argument as a
> 'bundle_name' and is complaining that it's going to ignore what you
> passed in and use the name specified in activity.info instead.
>
> Yes, it took me a *long* time to finally realize this.
> --scott

And just like magic, the warning has gone. Thanks scott!

Does anyone disagree with me modifying pages I find on the wiki that  
show this (incase there is some side effect I am unaware of)? So where  
I see:

	bundlebuilder.start("HelloWorldActivity")

I'd edit to:

	bundlebuilder.start()

--Gary


More information about the Sugar mailing list