Comment 3 for bug 152913

Revision history for this message
Leslie Viljoen (leslieviljoen) wrote :

The hash causes syntax errors:

Traceback (most recent call last):
  File "/usr/lib/meld/task.py", line 131, in iteration
    ret = task()
  File "/usr/lib/meld/filediff.py", line 671, in _set_files_internal
    set_highlighting_enabled( self.textview[i].get_buffer(), files[i], self.prefs.use_syntax_highlighting )
  File "/usr/lib/meld/filediff.py", line 51, in set_highlighting_enabled
    mime_type = gnomevfs.get_mime_type( os.path.abspath(fname) )
RuntimeError: there was an error reading the file

At the command line the brackets also need to be escaped but I don't think that is your problem when meld is called from perforce. The hash is most likely the problem.

And since it looks like the hash is indicating a version number, you are stuck.

Looks like a bug in the function gnomevfs.get_mime_type to me.