Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error when pushing package with empty description. #158

Closed
BADF00D opened this issue Jul 18, 2016 · 4 comments
Closed

Internal Server Error when pushing package with empty description. #158

BADF00D opened this issue Jul 18, 2016 · 4 comments

Comments

@BADF00D
Copy link

BADF00D commented Jul 18, 2016

Hi,
I'm creating a nuget package with fake, where the assembly attribute description is "". This results in an internal server error 500. Unfortunately there is no further information.

The nuspec file contains an empty description tag.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
  <metadata>
    <id>some id</id>
    <version>0.7.0</version>
    <title>some title</title>
    <authors>authors</authors>
    <description></description>
    <dependencies>
      <dependency id="some id 2" version="0.7.0" />
      <dependency id="some id 3" version="0.7.0" />
    </dependencies>
  </metadata>
</package>

Within the nuget specification, I cannot find a hint that the specification tag has to be filled, so I assume this behavior is an error. If it is not, it would be great if there error is a little more verbose.

Best Greetings

@chriseldredge
Copy link
Owner

Please look in ~/App_Data/Logs/Klondike.log for details on what went wrong. You can also try enabling showExceptionDetails in Settings.config, but it won't mean that the NuGet client will show anything useful.

@inosik
Copy link

inosik commented Jul 25, 2016

The required fields in a .nuspec are id, version, authors and description. These attributes are written in bold font on the page @BADF00D linked. I agree that this should be stated more clearly in the documentation.

Do you use Paket to create your packages, @BADF00D? I had this problem with Paket, and tried to reproduce with NuGet, but it refuses to pack a .nuspec with any of the required fields missing or being an empty string.

@BADF00D
Copy link
Author

BADF00D commented Jul 25, 2016

Yes, I used paket to create the nuget package. So I should forward this error to them?

@inosik
Copy link

inosik commented Jul 25, 2016

Please leave a comment on fsprojects/Paket#1831, @BADF00D. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants