Overview
Artifact ID: | 8c48571d8acb6d0791e605f852fb6b30d91c29e4691cb625c630b795882b252a |
---|---|
Ticket: | 4ff12e3abdbad86b99ec59f604632952cd4b44ab
fileutil::magic fails to identify mimetype |
User & Date: | aku 2018-05-17 20:03:12 |
Changes
- comment changed to:
package require fileutil::magic::filetype fileutil::magic::filetype /Users/kevin/Desktop/dndtest.rb Based on inspection of the source code of the module, I expected the output to be something like: mime text/x-ruby but there's no output at all. Checking to see if the module is correctly installed, I run this command: fileutil::magic::filetype /Users/kevin/Downloads/tcllib-1.19/devdoc/devguide.html And I get this output: {{HTML document text}} {text html} {} So, it seems to be working as designed, at least in some instances. But others, such as script and text files, return no output. This seems to be a bug to me.
- icomment:
Kevin, could you attach a small sample ruby file to the ticket which demos the problem ?
- login: "aku"
- mimetype: "text/plain"
- priority changed to: "6"
- title changed to: "fileutil::magic fails to identify mimetype"