Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!rt.uk.eu.org!feed.xsnews.nl!border-2.ams.xsnews.nl!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'source.': 0.05; 'python': 0.09; 'python:': 0.09; 'slightly': 0.15; 'anymore': 0.16; 'belongs': 0.16; 'folks,': 0.16; 'nevertheless': 0.16; 'module': 0.19; 'written': 0.20; 'cheers,': 0.23; 'header': 0.24; 'specifically': 0.24; 'checking': 0.27; 'realize': 0.27; 'topic': 0.27; 'is?': 0.27; 'message-id:@mail.gmail.com': 0.27; 'source': 0.29; 'maybe': 0.29; 'related': 0.30; 'daniel': 0.30; 'function': 0.30; 'stuff': 0.30; 'could': 0.32; 'turns': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'list': 0.35; 'exist': 0.35; 'from:addr:googlemail.com': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'skip:g 30': 0.36; 'totally': 0.36; 'does': 0.37; 'uses': 0.37; 'received:209': 0.37; 'files': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'more': 0.63; 'hoping': 0.72; 'down!': 0.84; 'to:name:python': 0.84; 'lift': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3YTOzJAyw6l4ZF8fDsqrOwTRXdnfETlXszbfGZA4h30=; b=g0ogkXOXukk/parBdYYLnkuN0I5T/FrDdmDesGbsWgRaME1Xo38a/XwDBfecILnF7h mjs4ee+KwT9jOWFSJnj3ggA7Ik2c67w9oZbtIueF0GO+WV4Zyoo7DanITexU3u5ZWd3i Xzt8K47IfHBabnu0o1PY2CSzvFwNqs48rcq0l0ZAJcMiy86HBqowIeZzxwWFMMINHfop xA8EwOvlm1t1uHMPmmjJDVUqCSCLyRkmoYYnxPnGcv5By0zKuLmGJlZT4kw27ZivOyS3 q4IPiyuGaxacy7FHRjgZ+gd4mtLhmNhnqzxwWd9YiHth8IyJHEd5CHfruGbmA5JIRSgy aaGg== MIME-Version: 1.0 Date: Sat, 22 Dec 2012 09:57:11 +0100 Subject: pygnomevfs get_local_path_from_uri replacement From: Daniel Fetchinson To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356166639 news.xs4all.nl 6978 [2001:888:2000:d::a6]:34553 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35347 Hi folks, I realize this is slightly off topic and maybe belongs to a gnome email list but it's nevertheless python: I use an old python program that was written for gnome 2 and gtk 2 and uses the function get_local_path_from_uri. More specifically it uses gnomevfs.get_local_path_from_uri. Now with gnome 3 the module pygnomevfs does not exist anymore and after checking the source for pygnomevfs it turns out it's written in C using all the header files and stuff from gnome 2. So I can't just lift it from the source. I was hoping it's pure python in which case I could have simply lifted it. Does anyone know what a good replacement for get_local_path_from_uri is? Is there a gtk/gnome/etc related python package that contains it which would work with gnome 3? Or a totally gnome-independent python implementation? Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown