[ckan-discuss] ckan-discuss Digest, Vol 39, Issue 5

Luca Racchetti l.racchetti at campus.unimib.it
Sun Apr 14 16:30:20 BST 2013


I think it's a different problem if you get the error "Unable to 
authenticate upload".
My ckan upload file.

which Linux distribution you're using and what version?
I'm using ubuntu 12.04

Have you looked at these links?
http://docs.ckan.org/en/latest/filestore.html
http://docs.ckan.org/en/latest/datastore-setup.html

ckan.storage.bucket is a name, not a path.
I use:
	ckan.storage.bucket = my-bucket-name
	ofs.impl = pairtree
	ofs.storage_dir = /home/ckan/ckan-upload
and then i create "ckan-upload" directory in my home


Luca Racchetti


Nella citazione in data Sat Apr 13 19:45:01 2013, Ilia Gromislav ha 
scritto:
> I have some problem with upload file.
> "Unable to authenticate upload"
>
> development.ini:
> after: [app:main]
> # 'Bucket' to use for file storage
> ckan.storage.bucket = /var/local/ckan
>
> # To enable local file storage:
> ofs.impl = pairtree
> ofs.storage_dir = /var/local/ckan
>
> 'ckan' have permission 777 and empty (var/local/ckan)
> and I have installed 'pairtree'
> and run sudo /etc/init.d/nginx reload
>
> and still "Unable to authenticate upload"
> What have I done wrong?
>
> http://my.site/storage/upload_handle
> I have mesage:
> "Server Error
> An internal server error occurred"
>
>
> 2013/4/13 <ckan-discuss-request at lists.okfn.org
> <mailto:ckan-discuss-request at lists.okfn.org>>
>
>     Send ckan-discuss mailing list submissions to
>     ckan-discuss at lists.okfn.org <mailto:ckan-discuss at lists.okfn.org>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.okfn.org/mailman/listinfo/ckan-discuss
>     or, via email, send a message with subject or body 'help' to
>     ckan-discuss-request at lists.okfn.org
>     <mailto:ckan-discuss-request at lists.okfn.org>
>
>     You can reach the person managing the list at
>     ckan-discuss-owner at lists.okfn.org
>     <mailto:ckan-discuss-owner at lists.okfn.org>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of ckan-discuss digest..."
>
>
>     Today's Topics:
>
>        1. Re: Cannot fetch index base URL
>     http://pypi.python.org/simple/ (Adri? Mercader)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Fri, 12 Apr 2013 18:34:41 +0100
>     From: Adri? Mercader <adria.mercader at okfn.org
>     <mailto:adria.mercader at okfn.org>>
>     Subject: Re: [ckan-discuss] Cannot fetch index base URL
>     http://pypi.python.org/simple/
>     To: Ketty Adoch <kettya298 at gmail.com <mailto:kettya298 at gmail.com>>
>     Cc: CKAN discuss <ckan-discuss at lists.okfn.org
>     <mailto:ckan-discuss at lists.okfn.org>>
>     Message-ID:
>
>     <CAGJR8iKsH1SfrJUcx1hCfxqoTxWJaDWGLiSb8nozMz97TsDH7Q at mail.gmail.com <mailto:CAGJR8iKsH1SfrJUcx1hCfxqoTxWJaDWGLiSb8nozMz97TsDH7Q at mail.gmail.com>>
>     Content-Type: text/plain; charset=ISO-8859-1
>
>     Hi Ketty,
>
>     You are on the right track, just be careful with the command line
>     commands
>
>     On 12 April 2013 10:38, Ketty Adoch <kettya298 at gmail.com
>     <mailto:kettya298 at gmail.com>> wrote:
>     > when i run pip install pip-requirements.txt file i get the error
>     below
>
>     You need to run:
>
>     pip install -r pip-requirements.txt
>
>     (notice the -r)
>
>     This tells pip to read the pip-requirements.txt file, otherwise you
>     are trying to install a package called pip-requirements.txt
>
>
>     > I tried to install carrot 0.10.1 manually by running
>     >
>     > pip install carrot 0.10.1 and the error was
>
>     You need the ==, so it would be:
>
>     pip install carrot==0.10.1
>
>     But you won't need this one if you run the previous command
>
>
>     Adri?
>
>
>
>     ------------------------------
>
>     _______________________________________________
>     ckan-discuss mailing list
>     ckan-discuss at lists.okfn.org <mailto:ckan-discuss at lists.okfn.org>
>     http://lists.okfn.org/mailman/listinfo/ckan-discuss
>     Unsubscribe: http://lists.okfn.org/mailman/optionss/ckan-discuss
>
>
>     End of ckan-discuss Digest, Vol 39, Issue 5
>     *******************************************
>
>
>
>
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss


--------------------------------------------------------------------------------
-Internet Email Confidentiality Footer-
La presente comunicazione, con le informazioni in essa contenute e ogni
documento o file allegato, e' rivolta unicamente alla/e persona/e cui e'
indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non
siete i destinatari/autorizzati siete avvisati che qualsiasi azione,
copia, comunicazione, divulgazione o simili basate sul contenuto di tali
informazioni e' vietata e potrebbe essere contro la legge (art. 616
C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati
personali). Se avete ricevuto questa comunicazione per errore, vi
preghiamo di darne immediata notizia al mittente e di distruggere il
messaggio originale e ogni file allegato senza farne copia alcuna o
riprodurne in alcun modo il contenuto.
This e-mail and its attachments are intended for the addressee(s) only
and are confidential and/or may contain legally privileged information.
If you have received this message by mistake or are not one of the
addressees above, you may take no action based on it, and you may not
copy or show it to anyone; please reply to this e-mail and point out the
error which has occurred.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3207 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20130414/2fd23217/attachment-0001.bin>


More information about the ckan-discuss mailing list