|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
paperclipped extension problemsHi - I'm just checking out the paperclipped extension and have seen a
few problems. Once I've installed it from http://github.com/kbingman/paperclipped master, the admin UI comes up nicely and I can add and edit attachments no problem. However, when I go to edit a page in the admin UI there are some visual problems and the edit form renders much more slowly. I'm working on a radiant 0.8.1 site with sqlite3. This is what my edit form looks like: http://imgur.com/2wxW0. Sometimes there can be even more instances of the "Show Assets Bucket" button, taking up quite a lot of screen real estate. Also, it takes a few seconds to load the edit form for the page, as opposed to a few milliseconds before paperclipped was installed: Completed in 2339ms (View: 2322, DB: 9) | 200 OK [http://localhost/admin/pages/9/edit ] /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ action_controller/mime_type.rb:80: warning: already initialized constant IMAGE /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ action_controller/mime_type.rb:80: warning: already initialized constant VIDEO /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ action_controller/mime_type.rb:80: warning: already initialized constant AUDIO /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ action_controller/mime_type.rb:80: warning: already initialized constant SWF /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ action_controller/mime_type.rb:80: warning: already initialized constant PDF /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ action_controller/mime_type.rb:80: warning: already initialized constant MOVIE Any idea what might be going wrong? I also noticed that there's *quite* a proliferation of paperclipped forks on github...anybody have any tips on whether it's generally recommended to track another fork of this project, or whether these are changes that are likely to be merged back in to the origin...? Thanks! Liam _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: paperclipped extension problemsLiam,
I recently setup a site with that kbingman paperclipped and didn't have a problem. From the screenshot and your description of the load time, it seems like there's some kind of repetitive though not infinite looping going on. This is kind of random, but in coding my own Rails apps I've had unexpected/odd crashes when simultaneous requests hit a SQLite database. I assumed that either my adapter or the library itself didn't properly support them. Is this Radiant instance a new deployment or does it already have content? If it isn't live, it'd be interesting to try setting up a Postgres or MySQL db, change your database config, rerun the migrations, and see if the app exhibits the same problems. - Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter SQL Jumpstart - Nov 14 & 15 - Intro to Database Design and SQL WebDev Jumpstart - Dec 5 & 6 - Beginning HTML & CSS for Web Design Ruby Jumpstart - Dec 12 & 13 - Intro to Programming with Ruby On Fri, Nov 6, 2009 at 11:46 AM, Liam Staskawicz <lstask@...> wrote: > Hi - I'm just checking out the paperclipped extension and have seen a > few problems. Once I've installed it from http://github.com/kbingman/paperclipped > master, the admin UI comes up nicely and I can add and edit > attachments no problem. However, when I go to edit a page in the > admin UI there are some visual problems and the edit form renders much > more slowly. I'm working on a radiant 0.8.1 site with sqlite3. > > This is what my edit form looks like: http://imgur.com/2wxW0. > Sometimes there can be even more instances of the "Show Assets Bucket" > button, taking up quite a lot of screen real estate. > > Also, it takes a few seconds to load the edit form for the page, as > opposed to a few milliseconds before paperclipped was installed: > > Completed in 2339ms (View: 2322, DB: 9) | 200 OK [http://localhost/admin/pages/9/edit > ] > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > action_controller/mime_type.rb:80: warning: already initialized > constant IMAGE > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > action_controller/mime_type.rb:80: warning: already initialized > constant VIDEO > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > action_controller/mime_type.rb:80: warning: already initialized > constant AUDIO > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > action_controller/mime_type.rb:80: warning: already initialized > constant SWF > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > action_controller/mime_type.rb:80: warning: already initialized > constant PDF > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > action_controller/mime_type.rb:80: warning: already initialized > constant MOVIE > > Any idea what might be going wrong? > > I also noticed that there's *quite* a proliferation of paperclipped > forks on github...anybody have any tips on whether it's generally > recommended to track another fork of this project, or whether these > are changes that are likely to be merged back in to the origin...? > > Thanks! > > Liam > _______________________________________________ > Radiant mailing list > Post: Radiant@... > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: paperclipped extension problemsHi Jeff - thanks for the response. This is just a dev environment on my
laptop, so it had a bit of content but is essentially a new deployment and in any case I can definitely experiment with it a bit...I'll try some different DB backends and see if that changes anything. Also, if it's relevant I have a couple other extensions installed: submenu, shared_layout, reader, forum. Liam On Fri, Nov 6, 2009 at 9:03 AM, Jeff Casimir <jeff@...>wrote: > Liam, > > I recently setup a site with that kbingman paperclipped and didn't > have a problem. From the screenshot and your description of the load > time, it seems like there's some kind of repetitive though not > infinite looping going on. > > This is kind of random, but in coding my own Rails apps I've had > unexpected/odd crashes when simultaneous requests hit a SQLite > database. I assumed that either my adapter or the library itself > didn't properly support them. > > Is this Radiant instance a new deployment or does it already have > content? If it isn't live, it'd be interesting to try setting up a > Postgres or MySQL db, change your database config, rerun the > migrations, and see if the app exhibits the same problems. > > - Jeff > > --- > Jeff Casimir > Jumpstart Lab by Casimir Creative, LLC > http://jumpstartlab.com > @jumpstartlab on twitter > SQL Jumpstart - Nov 14 & 15 - Intro to Database Design and SQL > WebDev Jumpstart - Dec 5 & 6 - Beginning HTML & CSS for Web Design > Ruby Jumpstart - Dec 12 & 13 - Intro to Programming with Ruby > > > > On Fri, Nov 6, 2009 at 11:46 AM, Liam Staskawicz <lstask@...> wrote: > > Hi - I'm just checking out the paperclipped extension and have seen a > > few problems. Once I've installed it from > http://github.com/kbingman/paperclipped > > master, the admin UI comes up nicely and I can add and edit > > attachments no problem. However, when I go to edit a page in the > > admin UI there are some visual problems and the edit form renders much > > more slowly. I'm working on a radiant 0.8.1 site with sqlite3. > > > > This is what my edit form looks like: http://imgur.com/2wxW0. > > Sometimes there can be even more instances of the "Show Assets Bucket" > > button, taking up quite a lot of screen real estate. > > > > Also, it takes a few seconds to load the edit form for the page, as > > opposed to a few milliseconds before paperclipped was installed: > > > > Completed in 2339ms (View: 2322, DB: 9) | 200 OK [ > http://localhost/admin/pages/9/edit > > ] > > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > > action_controller/mime_type.rb:80: warning: already initialized > > constant IMAGE > > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > > action_controller/mime_type.rb:80: warning: already initialized > > constant VIDEO > > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > > action_controller/mime_type.rb:80: warning: already initialized > > constant AUDIO > > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > > action_controller/mime_type.rb:80: warning: already initialized > > constant SWF > > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > > action_controller/mime_type.rb:80: warning: already initialized > > constant PDF > > /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/actionpack/lib/ > > action_controller/mime_type.rb:80: warning: already initialized > > constant MOVIE > > > > Any idea what might be going wrong? > > > > I also noticed that there's *quite* a proliferation of paperclipped > > forks on github...anybody have any tips on whether it's generally > > recommended to track another fork of this project, or whether these > > are changes that are likely to be merged back in to the origin...? > > > > Thanks! > > > > Liam > > _______________________________________________ > > Radiant mailing list > > Post: Radiant@... > > Search: http://radiantcms.org/mailing-list/search/ > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > > _______________________________________________ > Radiant mailing list > Post: Radiant@... > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: paperclipped extension problemsOn Fri, Nov 6, 2009 at 12:32 PM, Liam Staskawicz <lstask@...> wrote:
> Hi Jeff - thanks for the response. This is just a dev environment on my > laptop, so it had a bit of content but is essentially a new deployment and > in any case I can definitely experiment with it a bit...I'll try some > different DB backends and see if that changes anything. Also, if it's > relevant I have a couple other extensions installed: submenu, shared_layout, > reader, forum. i use paperclipped with a number of sites running sqlite and haven't run into any trouble. i would try disabling the other extensions and checking if you see the same issue. if not re-enable the other extensions one by one until you see it break again. _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
| Free embeddable forum powered by Nabble | Forum Help |