[Plone-UI] Re: [Plone-Users] Pb Import csv files in Plone 2.5.5 with ploneGazette 2.5.4 on windows platform

Espen Moe-Nilssen espen at medialog.no
Thu Nov 6 11:36:52 UTC 2008


Looks like this is a permission problem.

Try this: make sure the file can be read by everyone before uploading  
it.

If that doesnt work, you could try changing the read permission in

:\\sauvegardesreels\\prg\\Plone 2\\Data\\var

(the last part might be a security problem )


Den 5. nov. 2008 kl. 17.56 skrev pompilio fanelli:

> Ok thanks.
>
> I have now a new message after the import of csv file :
>
> 2008-11-05T17:33:34 ERROR Zope.SiteErrorLog http://localhost:8080/ 
> plone1/newsletters/NewsletterTheme_import
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 115, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 41, in call_object
>   Module Products.CMFCore.FSPythonScript, line 108, in __call__
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>   Module Products.CMFCore.FSPythonScript, line 164, in _exec
>   Module None, line 16, in NewsletterTheme_import
>    - <FSPythonScript at /plone1/NewsletterTheme_import used for / 
> plone1/newsletters>
>    - Line 16
>   Module Products.PloneGazette.NewsletterTheme, line 793, in  
> createSubscribersFromCSV
> OSError: [Errno 13] Permission denied: 'C:\\sauvegardesreels\\prg\ 
> \Plone 2\\Data\\var/Copie de fichierbon.csv'
>
>
> I think , you say right when you write " the import never starts  
> because the "temp-file" is never made ".
>
> I think that plone admin or zope admin can't create this temp file  
> in windows temp directory because the message say " permission  
> denied".
>
> So can someone can confirm me that they are this problem with  
> import subscibers in plone gazette with windows platform ?
>
> and the only solution  is uploading the csv file from another pc  
> (or better, a unix or mac) ?
>
>
> Thanks
>
>
>
>
> ----- Original Message -----
> From: Espen Moe-Nilssen
> To: pompilio fanelli
> Cc: jeanmichel.francois at makina-corpus.com ; plone- 
> users at lists.sourceforge.net
> Sent: Wednesday, November 05, 2008 12:10 PM
> Subject: Re: [Plone-Users] Pb Import csv files in Plone 2.5.5 with  
> ploneGazette 2.5.4 on windows platform
>
>
> I am not really sure why this happens but think the following is  
> "true":
>
> • PloneGazette uploads (tries to) upload your file and then "run  
> the import".
> • the import never starts because the "temp-file" is never made
> • try uploading the csv from another pc (or better, a unix or mac),  
> because there is something wrong with this :
>
> 'C:\prg\\Plone 2\\Data\\var/C:\\abc\\news1.csv'
>
> (look at the slashes)
>
>
> Den 4. nov. 2008 kl. 18.47 skrev pompilio fanelli:
>
>> Hi , Thanks for your response.
>>
>> I try that and now I have this message in debug mode.
>>
>> 2008-11-04T18:21:12 ERROR Zope.SiteErrorLog http://localhost:8080/ 
>> plone1/newsletters/NewsletterTheme_import
>> Traceback (innermost last):
>>   Module ZPublisher.Publish, line 115, in publish
>>   Module ZPublisher.mapply, line 88, in mapply
>>   Module ZPublisher.Publish, line 41, in call_object
>>   Module Products.CMFCore.FSPythonScript, line 108, in __call__
>>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>>   Module Products.CMFCore.FSPythonScript, line 164, in _exec
>>   Module None, line 16, in NewsletterTheme_import
>>    - <FSPythonScript at /plone1/NewsletterTheme_import used for / 
>> plone1/newsletters>
>>    - Line 16
>>   Module Products.PloneGazette.NewsletterTheme, line 730, in  
>> createSubscribersFromCSV
>>   Module Products.PloneGazette.NewsletterTheme, line 837, in  
>> _createTempFile
>> IOError: [Errno 2] No such file or directory: 'C:\prg\\Plone 2\ 
>> \Data\\var/C:\\abc\\news1.csv'
>>
>>
>> ----- Original Message -----
>> From: JeanMichel FRANCOIS
>> To: plone-users at lists.sourceforge.net
>> Sent: Tuesday, November 04, 2008 10:49 AM
>> Subject: Re: [Plone-Users] Pb Import csv files in Plone 2.5.5 with  
>> ploneGazette 2.5.4 on windows platform
>>
>> Hi,
>> Try to add a btree folder inside your newsletter theme and set  
>> it's id to the SubscriberFolder input field (newslettertheme / edit).
>> If you can try with your zope in debug mode = on, i m sure there  
>> are logs.
>> The csv must have an header like email, active, format
>> It's has work for us, i m sure, this is just a simple bug, or error.
>> --
>> JeanMichel FRANCOIS
>> Makina Corpus
>> Le Saturday 01 November 2008 15:46:31 pompilio fanelli, vous avez  
>> écrit :
>> > Hi,
>> >
>> > I have plone gazette 2.5.4 product with plone 2.5.5 on windows.
>> >
>> >
>> > I need to import a lot of subscribers ( email etc... ) from a  
>> csv file into
>> > plone gazette with the the import tab of plone gazette.
>> >
>> > But I have a lot of problem with this operation.
>> >
>> >
>> > Example of my csv file :
>> >
>> > "Email","Active","Format"
>> > "toto at toto.com",,
>> >
>> >
>> >
>> > When I import this files, He create nothing in plone gazette and  
>> a lot of
>> > time they are no message during the operation .
>> >
>> >
>> > Can someone tell me it the import tab of plone gazette work well  
>> with
>> > windows ?
>> >
>> > In the case of the response is yes, it 's a problem in the csv  
>> file ?
>> >
>> >
>> > Thanks
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>
>>
>> _______________________________________________
>> Plone-Users mailing list
>> Plone-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ 
>> _______________________________________________
>> Plone-Users mailing list
>> Plone-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-ui/attachments/20081106/05781d57/attachment.html>


More information about the UI mailing list