Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with GetUpdatedPropertyDetails #6

Open
dgua opened this issue Apr 4, 2016 · 1 comment
Open

Problem with GetUpdatedPropertyDetails #6

dgua opened this issue Apr 4, 2016 · 1 comment

Comments

@dgua
Copy link

dgua commented Apr 4, 2016

Hello, I am trying the example code from the readme. GetDeepSearchResults works with no problems, but GetUpdatedPropertyDetails fails.

Here's my code:

from pyzillow.pyzillow import ZillowWrapper, GetDeepSearchResults, GetUpdatedPropertyDetails
zillow_data = ZillowWrapper(ZWSID)
deep_search_response = zillow_data.get_deep_search_results(address, zipcode)
result = GetDeepSearchResults(deep_search_response)
zillow_id = result.zillow_id
updated_property_details_response = zillow_data.get_updated_property_details(zillow_id)
result = GetUpdatedPropertyDetails(updated_property_details_response)

Here is the error traceback:

`

TypeError Traceback (most recent call last)
/Volumes/silo/Users/davide/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in run_code(self, code_obj, result)
3081 if result is not None:
3082 result.error_in_exec = sys.exc_info()[1]
-> 3083 self.showtraceback()
3084 else:
3085 outflag = 0

/Volumes/silo/Users/davide/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in showtraceback(self, exc_tuple, filename, tb_offset, exception_only)
1880 value, tb, tb_offset=tb_offset)
1881
-> 1882 self._showtraceback(etype, value, stb)
1883 if self.call_pdb:
1884 # drop into debugger

/Volumes/silo/Users/davide/anaconda/lib/python2.7/site-packages/ipykernel/zmqshell.pyc in _showtraceback(self, etype, evalue, stb)
417 u'traceback' : stb,
418 u'ename' : unicode_type(etype.name),
--> 419 u'evalue' : py3compat.safe_unicode(evalue),
420 }
421

/Volumes/silo/Users/davide/anaconda/lib/python2.7/site-packages/ipython_genutils/py3compat.pyc in safe_unicode(e)
63 """
64 try:
---> 65 return unicode_type(e)
66 except UnicodeError:
67 pass

TypeError: coercing to Unicode: need string or buffer, dict found`

I am using Anaconda Python 2.7 and the latest pyzillow.

@MDcontributor
Copy link

I, too, am having the same problem with GetUpdatedPropertyDetails. However, I am running Anaconda Python 3.5. If there are any updates, I would love to hear them!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants