It is a browser issue, the browser is looking at the MIME/TYPE of the file,
(which web2py says to be a .gz). So for security reasons, the browser is
renaming the extension for the file.

So this could be considered a bug in web2py, in that web2py sends the gz
mimetype instead of a w2p mimetype.

This is the new file upload regexy

filename=^web2py.plugin.*

extension=^w2p|gz$

-Thadeus




On Tue, Dec 1, 2009 at 4:27 PM, Thadeus Burgess <thade...@thadeusb.com>wrote:

> Go ahead and try it now.
>
> Also, I noticed logout does not appear on the menu at top, perhaps the font
> should be reduced, or the search bar floated to the top right.
>
> -Thadeus
>
>
>
>
>
> On Tue, Dec 1, 2009 at 4:19 PM, Thadeus Burgess <thade...@thadeusb.com>wrote:
>
>> I shall allow it for now :)
>>
>> -Thadeus
>>
>>
>>
>>
>>
>> On Tue, Dec 1, 2009 at 4:07 PM, selecta <gr...@delarue-berlin.de> wrote:
>>
>>> yes i hit "pack plugin" and i get a gz file returned
>>> will test tomorrow with other browsers and the "pack all" too
>>> ... till then
>>>
>>> On Dec 1, 5:54 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
>>> > I am using the latest version from trunk, on Ubuntu, using Firefox.
>>> >
>>> > When I hit "pack plugin" from the plug-in details screen, I recieve a
>>> w2p
>>> > file.
>>> > When I hit "pack all" from the site screen, I recieve a w2p file.
>>> >
>>> > I am confused as to why you are getting a .gz.
>>> >
>>> > Perhaps Opera is looking at the mimetype returned (which is a .gz file)
>>> and
>>> > renaming it. This would be a bug :)
>>> >
>>> > Agreed, search needs to be refined to display more results.
>>> >
>>> > -Thadeus
>>> >
>>> >
>>> >
>>> > On Tue, Dec 1, 2009 at 8:58 AM, mdipierro <mdipie...@cs.depaul.edu>
>>> wrote:
>>> > > I do not understand. Is this a web2pyslices issue of you get
>>> >
>>> > > web2py.app.name.gz
>>> >
>>> > > when you pack apps on your own web2py installation?
>>> >
>>> > > On Dec 1, 2:52 am, selecta <gr...@delarue-berlin.de> wrote:
>>> > > > > *Filename is expected to be "web2py.plugin.*.w2p" This is what
>>> you get
>>> > > when
>>> > > > > you "pack" the plug-in individually.
>>> >
>>> > > > well i used web2py Version 1.72.3 on Ubuntu with Opera and it
>>> returns
>>> > > > a gz file ... maybe a bug, so untill it is fixed you should allow
>>> gz
>>> > > > files too
>>> >
>>> > > > for the functionality i guess it is really all about information
>>> > > > density and this is still quite low on you page
>>> > > > try to fit in more information on one page, go to a commercial or
>>> > > > sucessfull open source web page (e.g.http://www.web2pyslices.com/)
>>> > > > and you will find at least 5-10 main items of information on each
>>> > > > page, right now i can see 3+1/2 plugin on the main page
>>> >
>>> > > > On Nov 30, 4:22 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
>>> >
>>> > > > > *Value not in database errors. -> Should have been fixed in
>>> trunk, not
>>> > > sure
>>> > > > > of a way around it except for just not using Validators all
>>> around.
>>> >
>>> > > > > *Version Number -> good idea.
>>> >
>>> > > > > *Filename is expected to be "web2py.plugin.*.w2p" This is what
>>> you get
>>> > > when
>>> > > > > you "pack" the plug-in individually.
>>> >
>>> > > > > *Code for comments -> My bad, that actually comes from the python
>>> > > sample at
>>> > > > > gravatar.com, yay for editors auto-save :)
>>> >
>>> > > > > -Thadeus
>>> >
>>> > > > > On Mon, Nov 30, 2009 at 3:47 AM, selecta <
>>> gr...@delarue-berlin.de>
>>> > > wrote:
>>> > > > > > in the cotroller plug
>>> >
>>> > > > > > i see
>>> > > > > > 0 Responses Comment RSS Feed
>>> > > > > > # import code for encoding urls and generating md5 hashes
>>> import
>>> > > > > > urllib, hashlib # Set your variables here email =
>>> > > > > > "some...@somewhere.com" default = "http://www.somewhere.com/
>>> > > > > > homsar.jpg <http://www.somewhere.com/%0Ahomsar.jpg>" size = 40
>>> #
>>> > > construct
>>> > > > > > the url gravatar_url = "http://
>>> > > > > >www.gravatar.com/avatar.php?" gravatar_url += urllib.urlencode
>>> > > > > > ({'gravatar_id':hashlib.md5(email).hexdigest(),
>>> 'default':default,
>>> > > > > > 'size':str(size)})
>>> >
>>> > > > > > looks like some commented code that should be hidden
>>> >
>>> > > > > > On Nov 30, 10:43 am, selecta <gr...@delarue-berlin.de> wrote:
>>> > > > > > > thanks that was it
>>> > > > > > > when I try to submit my plugin and I don't choose a category
>>> like
>>> > > > > > > "food" I get
>>> > > > > > > "value not in database" for each category
>>> > > > > > > on "Publish a new version"
>>> > > > > > > there is a field called "Number:" it's not clear what this is
>>> > > supposed
>>> > > > > > > to mean I would call it "version number" instead
>>> > > > > > > on uploading my improved tagging plugin i get "enter valid
>>> > > filename"
>>> > > > > > > my filename is web2py.plugin.tagging.gz ... as chosen by the
>>> export
>>> > > > > > > function?? why is it not valid?
>>> >
>>> > > > > > > On Nov 29, 8:56 pm, Thadeus Burgess <thade...@thadeusb.com>
>>> wrote:
>>> >
>>> > > > > > > > Make sure you are using "username" not "emai"
>>> >
>>> > > > > > > > -Thadeus
>>> >
>>> > > > > > > > On Sun, Nov 29, 2009 at 7:32 AM, selecta <
>>> > > gr...@delarue-berlin.de>
>>> > > > > > wrote:
>>> > > > > > > > > nice design, i hope it will go online soon
>>> > > > > > > > > but i am having problems signing in, I registerd but
>>> after
>>> > > clicking
>>> > > > > > > > > the confimation link it jus says invalid login??
>>> > > > > > > > > I would also suggest that you add a licencse category,
>>> for the
>>> > > > > > tagging
>>> > > > > > > > > part also i would suggest that you use my improved
>>> version of
>>> > > the
>>> > > > > > > > > tagging plugin for your tagging ;-)
>>> >
>>> > >
>>> http://groups.google.com/group/web2py/browse_thread/thread/4f9dfc4e9c...
>>> >
>>> > > > > > > > > On Nov 28, 8:57 pm, Thadeus Burgess <
>>> thade...@thadeusb.com>
>>> > > wrote:
>>> > > > > > > > > > Hello everyone,
>>> >
>>> > > > > > > > > > Ok I am putting the finishing touches on our new web2py
>>> > > plugin
>>> > > > > > hosting
>>> > > > > > > > > site.
>>> >
>>> > > > > > > > > > Could everyone take a look at it, let me know what you
>>> think,
>>> > > and
>>> > > > > > reply
>>> > > > > > > > > to
>>> > > > > > > > > > this thread for any comments or suggestions. I will not
>>> get a
>>> > > > > > chance to
>>> > > > > > > > > > update it until next weekend, but would love to start
>>> > > gathering a
>>> > > > > > list of
>>> > > > > > > > > > things that could be done better.
>>> >
>>> > > > > > > > > > You can start uploading some packed plug-ins to try the
>>> site
>>> > > out,
>>> > > > > > however
>>> > > > > > > > > it
>>> > > > > > > > > > is just running off the demo SQLITE database, which
>>> will be
>>> > > > > > scrubbed when
>>> > > > > > > > > > the site goes official.
>>> >
>>> > > > > > > > > > As a note, the plug-ins that are already in the
>>> database are
>>> > > test
>>> > > > > > files,
>>> > > > > > > > > and
>>> > > > > > > > > > do not actually contain anything.
>>> >
>>> > > > > > > > > >http://plugincentral.thadeusb.com/
>>> >
>>> > > > > > > > > > Hope you enjoy!
>>> >
>>> > > > > > > > > > Thanks,
>>> >
>>> > > > > > > > > > -Thadeus
>>> >
>>> > > > > > > > > --
>>> >
>>> > > > > > > > > You received this message because you are subscribed to
>>> the
>>> > > Google
>>> > > > > > Groups
>>> > > > > > > > > "web2py-users" group.
>>> > > > > > > > > To post to this group, send email to
>>> web...@googlegroups.com.
>>> > > > > > > > > To unsubscribe from this group, send email to
>>> > > > > > > > > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
>>> <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
>>> >
>>> > > <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
>>> <web2py%252bunsubscr...@googlegroups.­com>
>>> >
>>> > > > > > <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
>>> <web2py%252bunsubscr...@googlegroups.­com>
>>> > > <web2py%252bunsubscr...@googlegroups.­com>
>>> >
>>> > > > > > > > > .
>>> > > > > > > > > For more options, visit this group at
>>> > > > > > > > >http://groups.google.com/group/web2py?hl=en.
>>> >
>>> > > > > > --
>>> >
>>> > > > > > You received this message because you are subscribed to the
>>> Google
>>> > > Groups
>>> > > > > > "web2py-users" group.
>>> > > > > > To post to this group, send email to web...@googlegroups.com.
>>> > > > > > To unsubscribe from this group, send email to
>>> > > > > > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
>>> <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
>>> >
>>> > > <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
>>> <web2py%252bunsubscr...@googlegroups.­com>
>>> >
>>> > > > > > .
>>> > > > > > For more options, visit this group at
>>> > > > > >http://groups.google.com/group/web2py?hl=en.
>>> >
>>> > > --
>>> >
>>> > > You received this message because you are subscribed to the Google
>>> Groups
>>> > > "web2py-users" group.
>>> > > To post to this group, send email to web...@googlegroups.com.
>>> > > To unsubscribe from this group, send email to
>>> > > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
>>> <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
>>> >
>>> > > .
>>> > > For more options, visit this group at
>>> > >http://groups.google.com/group/web2py?hl=en.
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "web2py-users" group.
>>> To post to this group, send email to web...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/web2py?hl=en.
>>>
>>>
>>>
>>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to