You are not logged in.

#1 2010-01-29 17:13:21

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Safauri: Hunt down those wild new apps

Accero (I think) had asked for any new and exciting apps we'd found.  I said to check the newest additions to the AUR.

Turns out you can't do that on the AUR.

So here is a little app which does.  If you are feeling bored or want to run the newest and most unstable software, this is for you.

AUR: http://aur.archlinux.org/packages.php?ID=34126
homepage: http://kmkeen.com/safauri/

Offline

#2 2010-01-29 17:40:18

raymboard
Member
Registered: 2010-01-22
Posts: 61

Re: Safauri: Hunt down those wild new apps

Make a website that displays the results.


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#3 2010-01-29 21:09:24

ilembitov
Member
Registered: 2008-10-07
Posts: 124

Re: Safauri: Hunt down those wild new apps

raymboard wrote:

Make a website that displays the results.

+1. My first reaction was the same.

Offline

#4 2010-01-30 00:31:25

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Safauri: Hunt down those wild new apps

keenerd wrote:

Accero

Aren't you going to fix that tongue

Offline

#5 2010-01-30 00:53:39

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Safauri: Hunt down those wild new apps

Acecero wrote:
keenerd wrote:

Accero

Aren't you going to fix that tongue

Yeah, can an admin please change Acecero's name to Accero?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2010-01-30 01:04:28

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Safauri: Hunt down those wild new apps

Xyne wrote:
Acecero wrote:
keenerd wrote:

Accero

Aren't you going to fix that tongue

Yeah, can an admin please change Acecero's name to Accero?

Now that would be funny, can I see that happen? big_smile

Offline

#7 2010-01-30 01:20:41

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Safauri: Hunt down those wild new apps

Xyne, why did you have to say something funny?  Original post now locked for humor.  My hands are tied, I can not edit it.

Offline

#8 2010-01-31 14:54:04

JLL-Arch
Member
Registered: 2008-12-15
Posts: 9

Re: Safauri: Hunt down those wild new apps

Seems like it doesn't work behind a proxy or maybe just mine.
Churns out errors that look like that might be the problem at any rate smile.

Searching AUR for recent additions...                                                   
Traceback (most recent call last):                                                      
  File "/usr/bin/safauri", line 67, in <module>                                         
    main()                                                                              
  File "/usr/bin/safauri", line 62, in main                                             
    for i in newest(options.n):                                                         
  File "/usr/bin/safauri", line 48, in newest                                           
    last = find_last(start=34000)                                                       
  File "/usr/bin/safauri", line 39, in find_last                                        
    while not is_last(n):
  File "/usr/bin/safauri", line 29, in is_last
    return not any(test(i) for i in range(n+1, n+1+fails))
  File "/usr/bin/safauri", line 29, in <genexpr>
    return not any(test(i) for i in range(n+1, n+1+fails))
  File "/usr/bin/safauri", line 15, in test
    info = json.load(pull(search(n)))
  File "/usr/bin/safauri", line 7, in <lambda>
    pull = lambda url: urllib2.urlopen(urllib2.Request(url))
  File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 389, in open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 407, in _open
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 1146, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1099, in do_open
    h = http_class(host, timeout=req.timeout) # will parse host:port
  File "/usr/lib/python2.6/httplib.py", line 656, in __init__
    self._set_hostport(host, port)
  File "/usr/lib/python2.6/httplib.py", line 673, in _set_hostport
    raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
httplib.InvalidURL: nonnumeric port: '8080/'

Offline

#9 2010-01-31 18:22:53

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Safauri: Hunt down those wild new apps

It does not care about proxies and hands all that off to the Python urllib library.

Could you echo "$http_proxy" and make sure it does not have a trailing slash?  From the urllib docs:

% http_proxy="http://www.someproxy.com:3128"
% export http_proxy
% python ...

It thinks your port is "8080/", leading me to believe there is a trailing slash in $http_proxy.

Offline

#10 2010-02-01 00:44:10

JLL-Arch
Member
Registered: 2008-12-15
Posts: 9

Re: Safauri: Hunt down those wild new apps

Yeah, there was a trailing slash, removed it and it works now. Thanks smile.

Offline

Board footer

Powered by FluxBB