Django, AWS EB ERROR, Your WSGIPath refers to a file that does not exist - amazon-elastic-beanstalk

I have been trying to deploy my project with AWS EB console, not CLI, and I have encountered this "Your WSGIPath refers to a file that does not exist." again and again. I changed the WSGIPath from application.py to awesomedonor/wsgi.py and I struggled to find typo in my django.config but I failed...So... I need you guys help!!
this is my EB status,
this is django.config. and last...
This is list of files and directory I try to upload, except venv, db.sqlite, and zip file.

It feels like the zip file does not contain the right structure. Please download the application version from EB console and unzip to ensure it contains the following structure.
....manage.py
....requirements.txt
....awesomedonor
........wsgi.py
hope this helps.

Related

Error with uploading my google chrome extnsion to chrome web store

Hey guys i have planned to upload my google chrome.
According to the documentation i have made the whole file in a zip format with the manifest.json in the root directory. i have developed the solution with reactjs
But when i select the file and uploaded it to the web store it shows me error like
An error occurred: Failed to process your item.
Invalid package. Please make sure it is a valid zip file and the file manifest.json is at the root directory of the zip package.
Can anyone tell me why am getting like this ??..
Any help would be appreciated ..Thanx in advance

Heroku deployment: 'Cannot find module '...mime.js Please verify package.json has valid "main" entry

I am working on a React app with a MySQLdb and am trying to deploy with Heroku. I have followed a guide closely and am using JAWS DB hook to connect my db to Heroku. I am running into this error when I run the "heroku open" command after pushing to heroku:
"Error: Cannot find module '/app/node_modules/mime/mime.js'. Please verify that the package.json has a valid "main" entry"
My package.json has mime.js installed as a devDependency. I have set the "main" line in my package.json to "index.js" as well.
Repo: https://github.com/AndrewCodesDontYaKnow/ReactCalc
Anyone have any experience with this type of issue? Thanks much.
I just had the same problem with a different module ("telebot" in my case)
I didn't figure out how to fix the issue (if anyone else finds this, I'd also like to know how to fix it), but I got it to work with a work around...
I copied the module source, and put it into my repo, and just used it as a local module...
(in my case I had by my .gitignore file ignore any "lib" folder, it gave me a hard time until i realized the lib folder from the telebot folder is just not getting uploaded to GitHub, and as such not getting to heroku, but after commenting it out, and getting it to upload, the local module worked as intended)
also, I don't think this is an actual answer, but I don't have the rep to comment, so I hope this helps

Warning: Could not find file C:\Users\Harsh Jain\Downloads\com.mysql.jdbc_5.1.5.jar\co

I am getting this error while running the Student Management System project in netbeans Ide project in made in java,jsp,html.Please help me
Your project's build has a dependency on the Java ARchive (.jar file) com.mysql.jdbc_5.1.5
There are two possibilities that I see here, without further details on what you have done so far:
1) You already downloaded the jar, but when you specified the path where your build process is gonna look for that file you had an error in your path ... make sure you have a jar file in C:\Users\Harsh Jain\Downloads\com.mysql.jdbc_5.1.5.jar or C:\Users\Harsh Jain\Downloads\com.mysql.jdbc_5.1.5.jar\com.mysql.jdbc_5.1.5.jar (I'm thinking you might have copied the name of the jar file twice in your path).
2) If you have not manually downloaded that file, then you should do so. You can find that version at http://www.java2s.com/Code/Jar/c/Downloadcommysqljdbc515jar.htm (or elsewhere). Once downloaded, make sure to copy/unzip the actual JAR file to your C:\Users\Harsh Jain\Downloads folder.
Once you have ensured the file is actually on your system AND in the right path, run the build again.

How to add new functionality into ejabberd server

I have created a .erl file named "confirmDelivery.erl" and compile it successfully, A beam file named "confirmDelivery.beam" has been created.
All these files are in /etc/ejabberd/. Now I wanna add the functionality of this file into ejabberd, But I don't know how to link my file with ejabberd server.
Please help me, I will be really really thankful to you.
You need to place your beam files in the path of the Erlang VM to be able to use them. You should have a look at where are other ejabberd module for example and place it in the same directory.
You need to put your beam file in etc/ejjaberd/ebin folder and call it from ejabberd debug mode.
use command:
ejabberdctl debug

Adding an external project directory in phpStorm 6.0 to keeping workspace files separated from code?

I am try to keep separate workspace directory and code directories in my php project and sweating to understand/find how this could be achieved. A couple of revisions back I tried phpStorm and found that it does not provide such feature.
I just want to know if phpstorm 6.0 has this feature or still lacking it ? If possible please help me out.
Work Around
File > Settings >[Directories]
+[Add Content Root] to add external directory
Assuming that you have created project separate from code.Some of the tool might not work
as expected
This works for linux using sshfs, sorry for windows users.
I've created this folder structure in my pc
/mnt/remote_code/code/
And i have to mount code from server like this
sshfs user#server:/var/www/server_code/ /mnt/remote_code/code/
Code from server will be mounted in code folder
In PS I open this directory: /mnt/remote_code/
So, that means PS will create this folder /mnt/remote_code/.idea (indexing and saving all project and ide settings), and keeps the code folder (with remote code inside) without changes.
Hope it help you.
Greetings.