Bug report #5985

Error 500 when I try to upload my plugin.

Added by Сергей Бастраков almost 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:-
Pull Request or Patch supplied:No

Description

I`m trying to upload my plugin here: http://plugins.qgis.org/plugins/add/ and i`m get error 500.
What shall i do?
I attached my plugin here.

Acca_Plugin.zip (43.4 KB) Сергей Бастраков, 2012-07-09 10:51 PM

History

#1 Updated by Alessandro Pasotti almost 12 years ago

  • Assignee set to Alessandro Pasotti

You did the right thing attaching the plugin so that I can test what fails.

Thanks for signaling the issue.

#2 Updated by Alessandro Pasotti almost 12 years ago

try changing

def version():
return "Version " + "0.1"

to

def version():
return "0.1"

#3 Updated by Сергей Бастраков almost 12 years ago

Alessandro Pasotti wrote:

try changing

def version():
return "Version " + "0.1"

to

def version():
return "0.1"

Ok, I changed it, but I still have error.

#4 Updated by Alessandro Pasotti almost 12 years ago

  • Status changed from Open to Feedback

def name():
    return "Acca plugin" 
def description():
    return "Plugin implements ACCA algorithm" 
def qgisMinimumVersion():
    return "1.0" 
def version():
    return "0.1" 
def authorName():
    return "Bastrakov Sergey" 
def classFactory(iface):
    from plugin import Acca_Plugin
    return Acca_Plugin(iface)

With this modifications the plugins loads fine for me. You will see a lot of warnings since many metadata are missing and metadata.txt is also missing, but the plugin will load anyway.

#5 Updated by Сергей Бастраков almost 12 years ago

Alessandro Pasotti wrote:

[...]

With this modifications the plugins loads fine for me. You will see a lot of warnings since many metadata are missing and metadata.txt is also missing, but the plugin will load anyway.

Hmm, now everything is OK. Thank you for the operative help.

#6 Updated by Nathan Woodrow almost 12 years ago

Just note that I would like to see some more information on the plugin before I approve it, mainly a better description.

#7 Updated by Alessandro Pasotti almost 12 years ago

  • Status changed from Feedback to Resolved

@Nathan,

might be better to open a new ticket for this. But please search first, IIRC there is already something about using longer descriptions through a new field. A task for the next HF.

#8 Updated by Сергей Бастраков almost 12 years ago

I have successfully uploaded the plugin. Add a description, but I do not see it in the "My plugins". Is it Ok?

#9 Updated by Paolo Cavallini over 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF