akjoshi / oohembed

Automatically exported from code.google.com/p/oohembed
Other
0 stars 0 forks source link

Cannot deploy oohembed in Google App Engine #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. check out source from Google Code
2. Deploy it to Google App Engine
3. Run app in Development Server results in Exceptions

What is the expected output? What do you see instead?

--> --> -->

Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3245, in _HandleRequest
    self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 3186, in _Dispatch
    base_env_dict=env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 531, in Dispatch
    base_env_dict=base_env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2410, in Dispatch
    self._module_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2320, in ExecuteCGI
    reset_modules = exec_script(handler_path, cgi_path, hook)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2216, in ExecuteOrImportScript
    exec module_code in script_module.__dict__
  File "E:\Projects\Genesis\src\3rdParty\oohEmbed\12-04-2010\oohembed\app\main.py", line 53, in <module>
    from provider import *
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1295, in Decorate
    return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1945, in load_module
    return self.FindAndLoadModule(submodule, fullname, search_path)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1295, in Decorate
    return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1847, in FindAndLoadModule
    description)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1295, in Decorate
    return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1798, in LoadModuleRestricted
    description)
  File "E:\Projects\Genesis\src\3rdParty\oohEmbed\12-04-2010\oohembed\app\provider\__init__.py", line 3, in <module>
    import photoprovider
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1295, in Decorate
    return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1945, in load_module
    return self.FindAndLoadModule(submodule, fullname, search_path)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1295, in Decorate
    return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1847, in FindAndLoadModule
    description)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1295, in Decorate
    return func(self, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1798, in LoadModuleRestricted
    description)
  File "E:\Projects\Genesis\src\3rdParty\oohEmbed\12-04-2010\oohembed\app\provider\photoprovider.py", line 15, in <module>
    from secrets import *
ImportError: No module named secrets

What version of the product are you using? On what operating system?

Google Apps Engine SDK 1.4.0
Python 2.5.4
Windows XP SP3

Please provide any additional information below.

Original issue reported on code.google.com by erchan2...@gmail.com on 5 Dec 2010 at 10:35

GoogleCodeExporter commented 9 years ago
You'll need a secrets.py file containing API keys from (as of today) Amazon & 
Slideshare. I can't include them in the source because of ToS disallowing 
sharing of API keys.

Original comment by deepak.s...@gmail.com on 15 Dec 2010 at 8:42

GoogleCodeExporter commented 9 years ago
How would one go about getting these keys from Amazon & Slideshare? Do you have 
a link/url that you can give me?

Thanks! 

Original comment by erchan2...@gmail.com on 15 Dec 2010 at 3:45