[ 
https://issues.apache.org/jira/browse/UIMA-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16850775#comment-16850775
 ] 

Lou DeGenaro commented on UIMA-6003:
------------------------------------

Turns out problem is that properties.py does not correctly compute the path to 
make directories.  It wrongly includes the file name, resulting in a directory 
having the name, and when time comes to write the properties file, failure 
occurs because a directory of the same name exists.

> DUCC start_sim fails to create a pids file
> ------------------------------------------
>
>                 Key: UIMA-6003
>                 URL: https://issues.apache.org/jira/browse/UIMA-6003
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>            Priority: Major
>             Fix For: future-DUCC
>
>
> When running start_sim, we get the following message at the end:
> All Work completed
> Traceback (most recent call last):
>   File "./start_sim", line 438, in <module>
>     starter.main(sys.argv[1:])
>   File "./start_sim", line 434, in main
>     self.pids.write('sim.pids')            
>   File 
> "/usr/local/duccy/ducc_runtime/apache-uima-ducc-3.0.0/bin/properties.py", 
> line 232, in write
>     f = open(propsfile, 'w')
> IOError: [Errno 21] Is a directory: 'sim.pids'



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to