go112 appengine standard runtime environment -- /usr/bin/xdg-open: www-browser: not found

43 views
Skip to first unread message

Marcel Schlatter

unread,
Jul 17, 2019, 2:20:52 PM7/17/19
to google-appengine-go
My go program that runs in a go112 appengine standard runtime environment complains that it can't find xdg-open (see below log entries):


2019-07-17T16:03:49.539678Z 1563356849 of type int641563356895 of type int64INFO	2019/07/17 18:03:49 169.254.1.1:53138 - HTTP/1.1 GET /ui/static/img/logo.png 
2019-07-17T16:03:49.537688Z GET 404 206 B 2 ms Firefox 67 /ui/static/img/logo.png A GET 404 206 B 2 ms Firefox 67 5d2f46e500ff0834584b3e76100001687e6474736c69746562657461310001323031393037313774313830323031000100
2019-07-17T16:03:48.287460Z 1563356849 of type int641563356895 of type int64*********** OpenURL *****  exit status 3 
2019-07-17T16:03:48.287002Z xdg-open: no method available for opening 'https://drive.google.com/file/d/1jfoGWsAzJQGZ************/view?usp=drivesdk'  
2019-07-17T16:03:48.286955Z /usr/bin/xdg-open: 851: /usr/bin/xdg-open: w3m: not found  
2019-07-17T16:03:48.194497Z /usr/bin/xdg-open: 851: /usr/bin/xdg-open: lynx: not found  
2019-07-17T16:03:48.183656Z /usr/bin/xdg-open: 851: /usr/bin/xdg-open: links: not found  
2019-07-17T16:03:48.087740Z /usr/bin/xdg-open: 851: /usr/bin/xdg-open: elinks: not found  
2019-07-17T16:03:47.990086Z /usr/bin/xdg-open: 851: /usr/bin/xdg-open: links2: not found  
2019-07-17T16:03:47.894961Z /usr/bin/xdg-open: 851: /usr/bin/xdg-open: www-browser: not found  
2019-07-17T16:03:46.492213Z ***** VIEWING  1jfoGWsAzJQGZ****************

As a consequence, my statement:

     browser.OpenURL(d.WebViewLink)

fails with an error code exit status 3

Anybody any idea what is wrong, and how to fix the problem?

Thanks,
Marcel
Reply all
Reply to author
Forward
0 new messages