Skip to content

Click help->Online Tutorial #44

Description

@gitfoxi

Dies with

threadscope: Operation not supported

I'm on OSX.

Help -> Website does the same thing.

Activity

  1. Mikolaj commented on Dec 6, 2014

    @Mikolaj
    Member

    Thank you for the report, but I can't reproduce this on Ubuntu. Could somebody else on OSX try? Perhaps your machine (or OSX in general? that would be good to know) doesn't allow random applications to open a browser? At least with this method:

    GtkExtras.launchProgramForURI "http://www.haskell.org/haskellwiki/ThreadScope_Tour"
    
  2. gitfoxi commented on Dec 8, 2014

    @gitfoxi
    Author

    Googling: gtk_show_uri operation not supported

    Looks like there's tons of reports of this going wrong on various systems for many years.

    On OS X specifically there's a program called /usr/bin/open which, if passed a URL will open it with the default browser.

  3. Mikolaj commented on Dec 8, 2014

    @Mikolaj
    Member

    OK, so this is not a gtk2hs bug either. I'm open to a PR that catches the exception (if possible) and tries another method of opening the webpage. Or detects a system where gtk_show_uri is known to fail often and instead uses another method.

  4. gitfoxi commented on Dec 9, 2014

    @gitfoxi
    Author

    It's a thorny issue. You'd think in 2014 opening a web page is something we could agree on but bug reports cover OS X, Windows and especially Linux. It depends on how GTK is configured as well as your desktop environment. Here seems to be the only legit solution. It will make a nice library if I get around to porting it to Haskell. I'll put it on the todo list but no eta.

  5. Mikolaj commented on Dec 9, 2014

    @Mikolaj
    Member

    Impressive. ;) Keeping the issue open. If you are reasonably experienced in Haskell and you'd rather help a newbie do that (or just pair with someone), you may think about adding this lib to https://www.haskell.org/haskellwiki/Haskell_projects_needing_help and announcing on, I guess, cafe and gtk2hs-devel@lists.sourceforge.net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions