Ticket #1110 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

missing mime types

Reported by: walter Owned by: walter
Priority: High Milestone: 0.86
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

  Changed 4 years ago by sascha_silbe

  • cc sascha_silbe added

in reply to: ↑ description   Changed 4 years ago by tomeu

  • owner changed from tomeu to walter
  • component changed from sugar to Turtleart

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.

follow-up: ↓ 4   Changed 4 years ago by walter

Is there an example I could follow?

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

  • priority changed from Unspecified by Maintainer to High
  • milestone changed from Unspecified by Release Team to 0.86

  Changed 4 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).

  Changed 4 years ago by walter

  • status changed from new to accepted
  • distribution changed from SoaS to Unspecified

Added a mime-icon. Waiting for testing.

  Changed 4 years ago by walter

  • status changed from accepted to closed
  • resolution set to fixed

Seems to work fine.

Note: See TracTickets for help on using tickets.