Upps sorry, I had a error with .app files, where appears FicheroPrincipal.py 
replace MySharedApp.py.

Regards

El dia 30 ago 2010 15:30, Jesus Cea Oliva <jesus....@uca.es> escribió:

   Hi Christoph, I don't understand very well what do you mean.

   I have problems when I tried unpacking the Shared Application with the 
command:

   sudo agpm.py -s -p SharedApp.agpkg

   because show me messages errors about there are files that don't exists (the 
image files). My first .app file was:

   [application]
   name = MySharedApp
   mimetype = application/x-ag-my-shared-app
   extension = mysharedapp
   files = MySharedApp.py MySharedApp_GUI.py ./images/*


   [commands]
   Open = %(python)s FicheroPrincipal.py -a %(appUrl)s -v %(venueUrl)s


   but it doesn't work. Then, I tried this:

   [application]
   name = MySharedApp
   mimetype = application/x-ag-my-shared-app
   extension = mysharedapp
   files = MySharedApp.py MySharedApp_GUI.py ./images/icon1.png 
./images/icon2.png ...


   [commands]
   Open = %(python)s FicheroPrincipal.py -a %(appUrl)s -v %(venueUrl)s


   but, it doen't work too :S.


   Regards again! ;)

   El dia 30 ago 2010 14:55, Christoph Willing <c.will...@uq.edu.au> escribió:

      On 30/08/2010, at 9:19 PM, Jesus Cea Oliva wrote:

         Hi list.

         First all, I hope you had a good holiday ^^. Well, I've developed a 
Shared Application (that soon, I would like to shared with yours), and it has a 
subfolder, called 'images', that contains several icons from the app.

         When I created the .app file, on section 'files', I tried putting 
relatives paths to references this images (./images/icon1.png, etc), but it 
didn't work.

         Is it possible create agpkg3 files that contains subfolders with other 
files?

      Just a guess - you probably have to reference the file in a subdirectory 
with something like:
      icon1 = os.path.join(os.getcwd(), "images", "incon1.png")

      Then do something with icon1


      chris


      Christoph Willing +61 7 3365 8316
      QCIF Access Grid Manager
      University of Queensland



Reply via email to