Re: django filebrowser decoding

2015-10-29 Thread 'Tom Evans' via Django users
On Thu, Oct 29, 2015 at 8:35 PM, Emīls Brass wrote: > I got django filebrowser for admin, where admin can see all added files in > special folder. > > When admin click on folder to see whats inside, if there is some file with > name who contains UNICODE chartacter, then I shows 500 error, but if n

Re: django filebrowser decoding

2015-10-29 Thread Dheerendra Rathor
Do you have the full stacktrace? Can you post that here? On Fri, 30 Oct 2015 at 02:37 Emīls Brass wrote: > I got django filebrowser for admin, where admin can see all added files in > special folder. > > When admin click on folder to see whats inside, if there is some file with > name who contain

Re: Django-filebrowser path problems

2012-12-07 Thread Felix Schlitter
Thanks for sharing! On Sunday, 6 February 2011 16:27:16 UTC+13, gerram wrote: > > I decided my problem! > If you use dynamic method for getting you path, example: > > import os > SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) > MEDIA_ROOT = os.path.join(SITE_ROOT, 'media') > > you ca

Re: Django-filebrowser path problems

2011-02-05 Thread gerram
I decided my problem! If you use dynamic method for getting you path, example: import os SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) MEDIA_ROOT = os.path.join(SITE_ROOT, 'media') you can dismiss path of you real folder especially when project lies outside of the site root. I check it

Re: django-filebrowser

2009-04-26 Thread patrickk
there´s something wrong with your setup. please take a look at the "available settings" and change stuff accordingly. when I´m having an error like this, it looks like: OSError: [Errno 2] No such file or directory: '/srv/www/media/ auto_media/uploads/xxx/' since there´s no path in your error mes

Re: django-filebrowser

2008-06-28 Thread Daniel Roseman
On Jun 28, 5:24 pm, Mario <[EMAIL PROTECTED]> wrote: > Hi, all! > > I'll try to install file browser application (http://code.google.com/p/ > django-filebrowser/) in my project and had some problems: > - Could not import filebrowser.views. Error was: cannot import name > ugettext > - Could not imp

Re: Django Filebrowser with FastCGI

2008-02-25 Thread David Reynolds
On 24 Feb 2008, at 1:37 pm, shabda wrote: > > I think, In a lot of old code, _ was automatically imported as > ugettext, while the newer code explicitly imports it as > from django.utils.translation import ugettext_lazy as _ > Might be when you are running fastcgi, you are hitting some path > wh

Re: Django Filebrowser with FastCGI

2008-02-24 Thread shabda
I think, In a lot of old code, _ was automatically imported as ugettext, while the newer code explicitly imports it as from django.utils.translation import ugettext_lazy as _ Might be when you are running fastcgi, you are hitting some path where, _ is not imported, while under mod_python, you are

Re: Django Filebrowser with FastCGI

2008-02-24 Thread patrickk
hi stephane, i´ve never used the filebrowser with fastcgi. not sure whether this is a django or a filebrowser-issue. maybe someone with more experience using fastcgi has an idea ... patrick On Feb 23, 3:12 pm, Rufman <[EMAIL PROTECTED]> wrote: > Hey Guys > > I'm using the django filebrowser (ht

Re: Django FileBrowser

2007-04-11 Thread va:patrick.kranzlmueller
hi, it means that somewhere on your server there is a directory for file- uploads - just point to that directory. e.g., our media-structure looks like this: within the media-directory (=settings.MEDIA_ROOT) we have some sub- directories: /admin/ /site/ /tinymce/ /uploads/ we want our editors

Re: Django FileBrowser

2007-04-11 Thread zehi
Hi, I can't figure out step 5: Change /filebrowser/views.py. Replace the paths: FB_ROOT = settings.MEDIA_ROOT + "uploads/" FB_URL = settings.MEDIA_URL + "uploads/" Does it mean to just delete or change? If to change, then how? Thanks On Mar 14, 1:18 am, "patrick k." <[EMAIL PROTECTED]> wrot

Re: Django FileBrowser

2007-03-13 Thread patrick k.
if you can´t see the mentioned screenshot, your urls are probably configured wrong. be sure to follow the installation guide EXACTLY - I´ve done that with all of my projects and I don´t have any problems. check the settings file (esp. MEDIA_ROOT and MEDIA_URL). patrick. Am 13.03.2007 um 19:

Re: Django FileBrowser

2007-03-13 Thread Mary
I would like to know why i can't see the thumbnails althought i have python-imaging-1.1.5-3.fc4 any ideas?? On Mar 13, 8:01 pm, "Mary" <[EMAIL PROTECTED]> wrote: > No i can't see this pictures and directories > but when i copy and past the url before the admin url [sorry i read > this note in th

Re: Django FileBrowser

2007-03-13 Thread Mary
No i can't see this pictures and directories but when i copy and past the url before the admin url [sorry i read this note in the steps and i think i missed it the first time]i was able to add directories But i still can't see the http://trac.dedhost-sil-076.sil.at/trac/filebrowser/chrome/site/fb

Re: Django FileBrowser

2007-03-13 Thread patrick k.
before you click on "make directory", do you see the directory- listing like this: http://trac.dedhost-sil-076.sil.at/trac/filebrowser/chrome/site/fb_2.jpg did you follow step 6? it seems that the urls aren´t configured. patrick Am 13.03.2007 um 17:14 schrieb Mary: > > I would like to use Dja

Re: Django Filebrowser and more than one TinyMCE instance

2007-03-03 Thread Dirk Eschler
On Freitag, 2. März 2007, patrick k. wrote: > try playing around with: > > relative_urls : false, > remove_script_host : true, > > we´re using absolute_urls and we don´t remove the script_host. > if the URL is inserted into the tinymce_popup correctly, it doesn´t > seem to be a problem w

Re: Django Filebrowser and more than one TinyMCE instance

2007-03-02 Thread patrick k.
try playing around with: relative_urls : false, remove_script_host : true, we´re using absolute_urls and we don´t remove the script_host. if the URL is inserted into the tinymce_popup correctly, it doesn´t seem to be a problem with the filebrowser but a problem with tiny_mce. there

Re: Django Filebrowser and more than one TinyMCE instance

2007-03-02 Thread Dirk Eschler
On Freitag, 2. März 2007, patrick k. wrote: > we´re also using more than one tinymce instance and we don´t have any > problems. > could you give more details about your specifications, e.g. how do > you init tinymce? > > patrick. Hello Patrick, thanks for your reply. In the model TinyMCE is loade

Re: Django Filebrowser and more than one TinyMCE instance

2007-03-02 Thread patrick k.
we´re also using more than one tinymce instance and we don´t have any problems. could you give more details about your specifications, e.g. how do you init tinymce? patrick. Am 02.03.2007 um 16:48 schrieb Dirk Eschler: > > Hi, > > i'm using the Django filebrowser together with TinyMCE in on