Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96326 - pygoogle import complains about soappy not existing
Summary: pygoogle import complains about soappy not existing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 17:21 UTC by Vincent Merlino
Modified: 2005-07-02 09:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pygoogle-0.6-r1.ebuild (pygoogle-0.6-r1.ebuild,485 bytes, text/plain)
2005-06-16 17:55 UTC, Christopher Korn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Merlino 2005-06-16 17:21:27 UTC
It seems that pygoogle needs soappy to work. Yet soappy is not a dependency of
pygoogle in the pygoogle ebuild.  If you import google in the python interpreter
it complains and throws an error.  After emerge'ing soappy everything works fine.

Reproducible: Always
Steps to Reproduce:
1.echo 'dev-python/pygoogle ~x86' >> /etc/portage/package.keywords
2.emerge pygoogle
3.try to import the pygoogle module in the python interpreter (import google)

Actual Results:  
pygoogle complains about not finding soappy.  I don't have the actual error
message but its irrelevant since emerge'ing soappy fixes the issue.

Expected Results:  
Not given an error.

This is with pygoogle 0.6 which is masked.  I didn't try the others but the
author of pygoogle suggest using the newest release because the old ones may
break if google changes something.
Comment 1 Christopher Korn 2005-06-16 17:55:44 UTC
Created attachment 61362 [details]
pygoogle-0.6-r1.ebuild

This is a slightly modified ebuild of pygoogle. 
According to pygoogle.sf.net's documentation at least SOAPpy 0.11.3 is needed.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-06-17 08:12:43 UTC
A modified version of soappy 0.9.7.3 is included with pygoogle in case you
already have a version installed which may not work. Can you please paste the
error message, I can't reproduce your error and let me know which version of
python you're using? Thanks.

You should have this file installed:
/usr/lib/python2.x/site-packages/pygoogle/SOAP.py
Comment 3 Vincent Merlino 2005-06-17 18:34:55 UTC
I'm running python-2.3.5.  This is what happens:

>>> import google
/usr/lib/python2.3/site-packages/pygoogle/google.py:58: DeprecationwWarning:
SOAPpy not imported.  Trying legacy SOAP.py
  import GoogleSOAPFacade

From my small code that I wrote it does seem to work but the above warning is
generated every time the module is imported even in programs.

Rob do you have soappy installed?  If so, try uninstalling it.  Then you will
probably get the above warning as well.
Comment 4 Fernando Serboncini (RETIRED) gentoo-dev 2005-07-02 09:51:10 UTC
Added SOAPpy dependency, since pygoogle.sf.net says that it's internal soappy is
deprecated. 
Christopher: next time, please attach only the "diff -u" of the ebuild when
doing small changes. It makes easier to see what has changed. 
Thanks for the notice guys.