TypeError: 'type' object is not iterable

Issue #15 resolved
Former user created an issue

Hi there,

on OSX 10.11 with python 2.7.12 the client won't start:

r99t@b0x:~/Desktop/ojoc$ python ojoc.py 

    OJOC, Copyright (C) 2016 Christian Fibich
    OJOC comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.
    This is free software, and you are welcome to redistribute it
    under certain conditions; see LICENSE for details.

    OJOC makes use of OpenStreetMap's Nominatim Service.
    See http://wiki.openstreetmap.org/wiki/Nominatim for details.

/var/folders/9t/vg26hghx557cf1cnj4smg5xr0000gn/T/tmpVz2_3f
Traceback (most recent call last):
  File "ojoc.py", line 805, in <module>
    win = OjocWindow()
  File "ojoc.py", line 106, in __init__
    for post_category in post_category_type:
TypeError: 'type' object is not iterable

I've installed all deps via pip. Any clues?

Thanks

Comments (4)

  1. Former user Account Deleted

    I've just fixed the issue by installing enum34 via pip.

    Maybe the README needs a hint for this.

    Thanks :-)

  2. Log in to comment