2017-05-24, 17:02
As usual you are correct. I now recall that I only put git on my machine after I successfully got Kodi-Alexa going.
I am still stuck.
I downloaded the zip file and replaced all the changed files in my working folder. I activated the virtual environment, ran requirements and discovered that for some reason I had to reinstall zappa. Okay zappa reinstalled. With my heart filled with hope, I ran 'zappa update dev' Here's what I got:
(venv) C:\Python27\kodi-alexa>zappa update dev
Calling update for stage dev..
Oh no! An error occurred!
==============
Traceback (most recent call last):
File "c:\python27\lib\site-packages\zappa\cli.py", line 2353, in handle
sys.exit(cli.handle())
File "c:\python27\lib\site-packages\zappa\cli.py", line 456, in handle
self.dispatch_command(self.command, stage)
File "c:\python27\lib\site-packages\zappa\cli.py", line 500, in dispatch_comma
nd
self.update()
File "c:\python27\lib\site-packages\zappa\cli.py", line 794, in update
self.create_package()
File "c:\python27\lib\site-packages\zappa\cli.py", line 1945, in create_packag
e
output=output
File "c:\python27\lib\site-packages\zappa\core.py", line 462, in create_lambda
_zip
copytree(site_packages, temp_package_path, symlinks=False, ignore=shutil.ign
ore_patterns(*excludes))
File "c:\python27\lib\site-packages\zappa\utilities.py", line 32, in copytree
shutil.copystat(src, dst)
File "c:\python27\lib\shutil.py", line 95, in copystat
st = os.stat(src)
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Python27
\\kodi-alexa-master\\venv\\Lib\\site-packages'
==============
Need help? Found a bug? Let us know!
File bug reports on GitHub here: https://github.com/Miserlou/Zappa
And join our Slack channel here: https://slack.zappa.io
Love!,
~ Team Zappa!
(venv) C:\Python27\kodi-alexa>
It looks like my renaming of my working folder yesterday screwed things up. My folder is kodi-alexa and its looking for kodi-alexa-master. My zappa site on lambda is named kodi-alexa-dev.
What should I do? I don't know how to proceed or how, even to start over. Could I just delete the zappa site from Lambda, delete my working Kodi -Alexa folder from c:\Python27 and start over (saving my .env for reuse). Would the existing zappa an env installation screw me up if I tried that?
Is there a way to proceed?
I am still stuck.
I downloaded the zip file and replaced all the changed files in my working folder. I activated the virtual environment, ran requirements and discovered that for some reason I had to reinstall zappa. Okay zappa reinstalled. With my heart filled with hope, I ran 'zappa update dev' Here's what I got:
(venv) C:\Python27\kodi-alexa>zappa update dev
Calling update for stage dev..
Oh no! An error occurred!
==============
Traceback (most recent call last):
File "c:\python27\lib\site-packages\zappa\cli.py", line 2353, in handle
sys.exit(cli.handle())
File "c:\python27\lib\site-packages\zappa\cli.py", line 456, in handle
self.dispatch_command(self.command, stage)
File "c:\python27\lib\site-packages\zappa\cli.py", line 500, in dispatch_comma
nd
self.update()
File "c:\python27\lib\site-packages\zappa\cli.py", line 794, in update
self.create_package()
File "c:\python27\lib\site-packages\zappa\cli.py", line 1945, in create_packag
e
output=output
File "c:\python27\lib\site-packages\zappa\core.py", line 462, in create_lambda
_zip
copytree(site_packages, temp_package_path, symlinks=False, ignore=shutil.ign
ore_patterns(*excludes))
File "c:\python27\lib\site-packages\zappa\utilities.py", line 32, in copytree
shutil.copystat(src, dst)
File "c:\python27\lib\shutil.py", line 95, in copystat
st = os.stat(src)
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Python27
\\kodi-alexa-master\\venv\\Lib\\site-packages'
==============
Need help? Found a bug? Let us know!
File bug reports on GitHub here: https://github.com/Miserlou/Zappa
And join our Slack channel here: https://slack.zappa.io
Love!,
~ Team Zappa!
(venv) C:\Python27\kodi-alexa>
It looks like my renaming of my working folder yesterday screwed things up. My folder is kodi-alexa and its looking for kodi-alexa-master. My zappa site on lambda is named kodi-alexa-dev.
What should I do? I don't know how to proceed or how, even to start over. Could I just delete the zappa site from Lambda, delete my working Kodi -Alexa folder from c:\Python27 and start over (saving my .env for reuse). Would the existing zappa an env installation screw me up if I tried that?
Is there a way to proceed?