A Music playlist app
This application is licensed under Apache license
A Music playlist app
Home Page: http://159.203.216.55:8000/home/
License: Apache License 2.0
A Music playlist app
This application is licensed under Apache license
add here if I miss any..
Here is the traceback
None
None
Internal Server Error: /signup/
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/arpit/Projects/MusicWebApp/mysite/MusicApp/views.py", line 100, in user_signup
user = User.objects.create_user(username, email, passwd, first_name=first_name, last_name=last_name)
File "/usr/local/lib/python3.4/dist-packages/django/contrib/auth/models.py", line 154, in create_user
return self._create_user(username, email, password, **extra_fields)
File "/usr/local/lib/python3.4/dist-packages/django/contrib/auth/models.py", line 144, in _create_user
raise ValueError('The given username must be set')
ValueError: The given username must be set
Correct these errors
@vishaln04
When i clicked on login button it shows username nd password did not match
without even clicking submit button.
Have a look on that
http://159.203.216.55:8080/accounts/login/?next=/playlists/add/
Here is the traceback.
Page not found (404)
Request Method: GET
Request URL: http://159.203.216.55:8080/accounts/login/?next=/playlists/add/
Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:
^admin/
^ ^login/ [name='login']
^ ^home/ [name='home']
^ ^signup/ [name='signup']
^ ^activate [name='activate']
^ ^password-reset [name='password_reset']
^ ^change-password [name='change_password']
^ ^u-logout [name='logout']
^ ^playlists$ [name='view-playlists']
^ ^playlists/$ [name='view-playlists']
^ ^playlist/(?P<playlist_name>[a-zA-Z0-9]+)$ [name='playlist_songs']
^ ^playlist/(?P<playlist_name>[a-zA-Z0-9]+)/$ [name='playlist_songs']
^ ^playlists/create$ [name='create-playlists']
^ ^playlists/create/$ [name='create-playlists']
^ ^playlists/add$ [name='add_to_playlist']
^ ^playlists/add/$ [name='add_to_playlist']
^ ^playlists/(?P<username>[\S]+)/view$ [name='view_user_playlists']
^ ^playlists/(?P<username>[\S]+)/view/$ [name='view_user_playlists']
^ ^plylist/(?P<username>[\S]+)/view/(?P<playlist_name>[a-zA-Z0-9]{1,})$ [name='view_user_playlist_songs']
^ ^plylist/(?P<username>[\S]+)/view/(?P<playlist_name>[a-zA-Z0-9]{1,})/$ [name='view_user_playlist_songs']
^ ^playlist/add/song/(?P<song_id>[\S]+)$ [name='add_to_playlist_router']
^ ^playlist/add/song/(?P<song_id>[\S]+)$/ [name='add_to_playlist_router']
^ ^playlists/delete/(?P<name>[a-zA-Z]{1,}) [name='delete-playlist']
^ ^playlists/(?P<playlist_name>[a-zA-Z0-9]{1,})/songs/(?P<song_id>[\S]+) [name='delete-songs']
^ ^playlists/(?P<username>[\S]+)/import/(?P<name>[a-zA-Z0-9]{1,})$ [name='import_playlist']
^ ^playlists/(?P<username>[\S]+)/import/(?P<name>[a-zA-Z0-9]{1,})/$ [name='import_playlist']
^ ^follow/(?P<username>[\S]+) [name='follow-user']
^ ^unfollow/(?P<username>[\S]+) [name='unfollow-user']
^ share/(?P<playlist_name>[a-zA-Z0-9]{1,})$ [name='share_playlist-router']
^ share/(?P<playlist_name>[a-zA-Z0-9]{1,})/$ [name='share_playlist-router']
^ share/(?P<playlist_name>[a-zA-Z0-9]{1,})/user$ [name='share_playlist']
^ share/(?P<playlist_name>[a-zA-Z0-9]{1,})/user/$ [name='share_playlist']
^ ^search$ [name='search-result']
^ ^search/$ [name='search-result']
^ ^audio/geturl/(?P<yt_url>[\S]+) [name='get_url']
^ ^audio/geturl/$ [name='get_url']
^ ^searchuser$ [name='search_user']
^ ^searchuser/$ [name='search_user']
^ profile$ [name='view_profile']
^ profile/$ [name='view_profile']
^ history$ [name='view_history']
^ history/$ [name='view_history']
The current URL, accounts/login/, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
I got this warnings
System check identified some issues:
WARNINGS:
MusicApp.History.song: (fields.W340) null has no effect on ManyToManyField.
MusicApp.Playlist.songs: (fields.W340) null has no effect on ManyToManyField.
System check identified 2 issues (0 silenced).
Implement thumbnail property for query parsing in ytqueryparser.py
@vishaln04
remember these things while completing the work
get_video_url
function is calledfollowings
table to keep track.Please commit the changes and notify the progress.
Address following points while solving this issue
DO NOT VIOLATE PEP8 CODE STYLE and maintain quality.
Handle all the exceptions and error messages in login and signup views.Try for all the cases like entering wrong data, creating account with existing username or email. Provide proper page redirection after login and signup or an error message.
@arpit1997 I thought this is because of indexing in this fashion in ytparser.py
self.yt_links_views.append(data.find_all('li')[1].get_text())
can we use next() function instead of [1] like
self.yt_links_views.append(data.find_all('li').next().get_text())
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.