[gpodder-devel] SVN r431 - ImportError: cannot import name util

  • From: thp at perli.net (Thomas Perl)
  • Date: Fri, 21 Sep 2007 11:57:55 +0200

Hello, Roel!

On Fri, 2007-09-21 at 09:37 +0200, Roel Groeneveld wrote:
> I just saw the 0.10.0 release and decided to update SVN. After 'svn
> up' and running 'make test' I get the following error (on Ubuntu
> Feisty Fawn):
> 
> roel at poseidon:~/src/gpodder$ make test
> bin/gpodder --local --verbose
> Traceback (most recent call last):
>   File "bin/gpodder", line 148, in <module>
>     sys.exit( main())
>   File "bin/gpodder", line 109, in main
>     from gpodder import console
>   File "/home/roel/src/gpodder/src/gpodder/console.py", line 20, in
> <module>
>     from gpodder import util
>   File "/home/roel/src/gpodder/src/gpodder/gpodder.py", line 46, in
> <module>
>   File "/home/roel/src/gpodder/src/gpodder/libpodcasts.py", line 35,
> in <module>
>     from gpodder import util
> ImportError: cannot import name util
> make: *** [test] Error 1
> 
> Does anyone have a clue what's wrong here?

You have the old "gpodder.py" file in your local copy. Try running
"svn-clean" and then "svn update" in "/home/roel/src/gpodder/". If not,
remove the folder and do a fresh check-out of the gPodder source.

Thomas



Other related posts: