A server error occurred. Please contact the administrator - django-admin

i have tried to migrate all apps.it is successfully registered. but i am added another app (music) adding one model Album it will be migrate but when i am trying to register like
"admin.site.register(Album)"
there is problem will occur it running successfully but it shows error in browser
"A server error occurred. Please contact the administrator."
this project folder structure in this apps directory we have another folder
enter image description here
this is apps folder structure in this we music app when i am trying to run it shows error above i mentioned error
enter image description here

as Vinay Kumar above says, set DEBUG=True and provide the traceback.
Also provide the code in app music/admin.py.

Related

What does this error mean from App Store Connect

We identified one or more issues with a recent delivery for your app,... . Please correct the following issues, then upload again.
ITMS-90129: The bundle uses a bundle name or display name that is already taken.
Best regards,
The App Store Team
I tried to resubmit the file 6 times. I renamed my bundle. I still keep on getting the email/error again and again. I'm also doing this from Xcode.
Try changing the display name of the app, it's pretty common that it's already been taken. You can do so in the project settings...

Visual Studio Deploying to Hololens Access is Denied

I am trying to deploy to Hololens 2. I followed all of the documentation located here for deploying from USB, but when I go to Debug .> Start without Debugging, I get the following error message:
Unable to activate Windows Store app. 'Template3D__pzq3xp76mxafg!App'.
The activation request failed with error 'Access is Denied'.
Has anyone else gotten this error before? How did you solve it? There doesn't seem to be any documentation anywhere.
The error message may be caused by various different reasons. And for now, we guess that the issue may happens when VS is trying to activate another app with the same package name on your HoloLens. So, we think the following steps worth trying for you.
Uninstall the existing app with the same name on your HoloLens.
Rebuild your Unity project to another empty folder, then open the UWP project with VS.
Update the DisplayName and Package name property in the Package.appxmainfest file with another name.
In my case, uninstalling the app and deleting the existing build folder didn't help. The solution was very simple: You need to be signed in on the Hololens 2 and keep it on your head. I'm using a PIN for my account and also paired the Hololens and allowed the developer options. I just tried several times to confirm and without logging in, I get exactly the described error. I'm deploying over USB.

This bundle is invalid - The Info.plist file for PersonalizedAdConsent.framework is missing or could not be read

The title error is what gets emailed after uploading the ipa via the application loader and below is the error that occurs in debug mode:
ERROR: "The framework
APPNAME.app/Frameworks/PersonalizedAdConsent.framework does not
contain a binary named PersonalizedAdConsent"
I've been getting this error in debug mode when trying to build the project. However, when I build it in Ad-Hoc mode, it builds fine and uploads on the application loader without any issues but then I get the following mail
"This bundle is invalid - The Info.plist file for
PersonalizedAdConsent.framework is missing or could not be read."
I've looked in the Info.plist file as well as .csproj file for this reference and I cannot find it anywhere.
Also searched online, can't find much about the PersonalizedAdConsent.
Any ideas?
So it seems like the issue was because of the following packages:
Xamarin.Google.iOS.MobileAds
&
Xamarin.Firebase.Ads
As far as I can tell, the app needs permissions to request consent to display ads or personalized ads (not too sure exactly) and it build correctly after removing these packages.
These were in a build that I've done on Windows for a different app which did not actually use them but VS for MAC gave me the issues and it turned out to be these packages that were causing it.
Hope it helps!

The document picker ... failed to launch

I have created my own DocumentPickerExtensionViewController and want to be able to open it up in the Excel app on iOS.
In the office app I press Open -> ... More -> Locations and choose my extensions name.
But after about two seconds of loading a dialog pops up saying "The document picker ... failed to launch (0)".
I can't find anything about this error when Googling. Does anyone know what I might have done wrong?
I found the solution. I tried creating a new test app and document provider with Xcode which worked out of the box. I realised that Xcode was creating a Document Provider project as well as a File Provider project and what I was missing in my Xamarin project was the File Provider since I won't be using iCloud.
After adding a File Provider project I no longer got an error message.

Could not find an application at the specified director xamarin ios app

Has anyone ever come across the error
Log generated on 29/12/2014 00:12:01
Failed to deploy application on the target device. Please try to rebuild the solution and try again. (Generic)
OK
Build server returned an Error.
error MT1001: Could not find an application at the specified directory
error MT1001: Could not find an application at the specified directory
I am trying to run the ios app sample project here
I am using Visual Studio 2013 I dont have much else to go on here really
Paul
Double click on the error message in the Error Message List of Visual Studio to see details.
https://bugzilla.xamarin.com/show_bug.cgi?id=23425
Might be a problem with the Entitlements.plist

Resources