Need help to resolve any problems

2007-11-19 Thread Cihan Akkurt
Hi,
I have any problems with my program : Ghost.activity
Can someone help me to resolve them.
Thanks.

Problem with activity-icon.svg :
I created an icon svg format with Inkscape that I see in my development
machine, but the icon is not displayed in the emulator XO. why 

I am committed the icon.svg at this mail


Problem with Manifest in .xo generation :
I can not create Ghost.xo(my program)  because I get this error that appears
each time.

I am committed the manifest file at this mail

[EMAIL PROTECTED]:~/Activities/Ghost.activity$ ./setup.py dist
WARNING: NEWS file is missing.
Traceback (most recent call last):
  File ./setup.py, line 4, in module
bundlebuilder.start(Ghost)
  File
/home/cihan/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/bundlebuilder.py,
line 386, in start
cmd_dist(bundle_name, manifest)
  File
/home/cihan/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/bundlebuilder.py,
line 188, in cmd_dist
bundle_zip.write(filename, os.path.join(base_dir, filename))
  File /usr/lib/python2.5/zipfile.py, line 541, in write
st = os.stat(filename)
OSError: [Errno 2] No such file or directory: 'Ghost.activity'
[EMAIL PROTECTED]:~/Activities/Ghost.activity$


-- 
**
Cihan Akkurt

E-mail : [EMAIL PROTECTED]

Msn : [EMAIL PROTECTED]

Skype : akkuciha

**


MANIFEST
Description: Binary data
attachment: ghost.svg___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need help to resolve any problems

2007-11-19 Thread Reinier Heeres
Hi Cihan,

Your icon tries to embed a gif file. The actual image data, however, is 
not in there. Try drawing a couple of lines in inkscape and it'll 
probably work.

As for your MANIFEST file: you need to list the files like this:
just.png
question.png
DefaultConfig

So remove the Ghost.activity/ from the beginning of the lines. Also I 
don't think you have to include the activity/ directory, as 
activity.info and the icon will be included automatically. Also leave 
out other directories, and list the individual files.

Cheers,
Reinier

Cihan Akkurt wrote:
 Hi,
 I have any problems with my program : Ghost.activity
 Can someone help me to resolve them.
 Thanks.

 Problem with activity-icon.svg :
 I created an icon svg format with Inkscape that I see in my 
 development machine, but the icon is not displayed in the emulator XO. 
 why 

 I am committed the icon.svg at this mail


 Problem with Manifest in .xo generation :
 I can not create Ghost.xo(my program)  because I get this error that 
 appears each time.

 I am committed the manifest file at this mail

 [EMAIL PROTECTED]:~/Activities/Ghost.activity$ ./setup.py dist
 WARNING: NEWS file is missing.
 Traceback (most recent call last):
   File ./setup.py, line 4, in module
 bundlebuilder.start(Ghost)
   File 
 /home/cihan/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/bundlebuilder.py,
  
 line 386, in start
 cmd_dist(bundle_name, manifest)
   File 
 /home/cihan/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/bundlebuilder.py,
  
 line 188, in cmd_dist
 bundle_zip.write(filename, os.path.join (base_dir, filename))
   File /usr/lib/python2.5/zipfile.py, line 541, in write
 st = os.stat(filename)
 OSError: [Errno 2] No such file or directory: 'Ghost.activity'
 [EMAIL PROTECTED]:~/Activities/Ghost.activity$


 -- 
 **
 Cihan Akkurt

 E-mail : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 Msn : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 Skype : akkuciha

 **
 

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
   
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel