Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#1110 closed defect (fixed)

missing mime types

Reported by: walter Owned by: walter
Priority: High Milestone:
Component: Turtleart Version: 0.84.x
Severity: Blocker Keywords:
Cc: caroline, sascha_silbe Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

I tried transferring some Journal entries using both copying to USB (via dragging the object from within the Journal) and using the "send to" mechanism.

In both cases, the .gtar file was intact, but there was no mime type associated with the object, so there was no longer any activity associated with it for resuming.

Change History (8)

comment:1 Changed 12 years ago by sascha_silbe

  • Cc sascha_silbe added

comment:2 in reply to: ↑ description Changed 12 years ago by tomeu

  • Component changed from sugar to Turtleart
  • Owner changed from tomeu to walter

Replying to walter:

I tried transferring some Journal entries using both copying to USB (via dragging the object from within the Journal) and using the "send to" mechanism.

In both cases, the .gtar file was intact, but there was no mime type associated with the object, so there was no longer any activity associated with it for resuming.

Right now we are only sending files, with no metadata. So for now I suggest that you use an extension that identifies TurtleArt files and that TurtleArt contains in the bundle a xml file that associates that extension to the right mime type.

Have entered #1344 about the enhancement request.

comment:3 follow-up: Changed 12 years ago by walter

Is there an example I could follow?

comment:4 in reply to: ↑ 3 Changed 12 years ago by tomeu

  • Milestone changed from Unspecified by Release Team to 0.86
  • Priority changed from Unspecified by Maintainer to High

comment:5 Changed 12 years ago by garycmartin

FWIW I added MIME support to Physics for the last release. I'm not convinced the file extension is of much value just now, but assigning your own MIME type allows physics Journal entries to be transferred with the "send to" feature and launch correctly on the receiving machine. BTW there are lot's of outstanding bugs I've reported for the in the "send to" feature so check trac if you hit a snag. The glaring one being the receiver can't accept your file if their sugar doesn't yet recognise the MIME type (so make sure your app is installed at both ends before trying to send a file). Walter ping me and I can point to what you'd need to add, changes are minimal (as Sugar seems to ignore a bunch of the GNOME specific stuff - likely bugs but I need to retest).

comment:6 Changed 12 years ago by walter

  • Distribution/OS changed from SoaS to Unspecified
  • Status changed from new to accepted

Added a mime-icon. Waiting for testing.

comment:7 Changed 12 years ago by walter

  • Resolution set to fixed
  • Status changed from accepted to closed

Seems to work fine.

comment:8 Changed 8 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.