"[SOLVED] Failed to create directory error in Crawl Web operator"

Vineet
Vineet New Altair Community Member
edited November 5 in Community Q&A
Hello,
i have just updated the RapidMiner version to 5.3
i am using crawl web operator and specifying directory. but i am getting 'Failed to create directory' error.
i cannot understand why it is happening because i was successfully able to execute the same process before upgrading the version.
ive added my process code.

Please help!

Thanks,
Vineet

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.000">
 <context>
   <input/>
   <output/>
   <macros/>
 </context>
 <operator activated="true" class="process" compatibility="5.3.000" expanded="true" name="Process">
   <process expanded="true" height="579" width="748">
     <operator activated="true" class="web:crawl_web" compatibility="5.3.000" expanded="true" height="60" name="Crawl Web" width="90" x="112" y="30">
       <parameter key="url" value="https://twitter.com/search?q=iphone&amp;src=typd"/>
       <list key="crawling_rules"/>
       <parameter key="add_pages_as_attribute" value="true"/>
       <parameter key="output_dir" value="C:\Users\vnagpal\Desktop\Crawl"/>
       <parameter key="max_pages" value="1"/>
       <parameter key="max_depth" value="1"/>
       <parameter key="max_threads" value="4"/>
       <parameter key="max_page_size" value="1000"/>
       <parameter key="user_agent" value=" Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.12 Safari/537.4 "/>
     </operator>
     <connect from_op="Crawl Web" from_port="Example Set" to_port="result 1"/>
     <portSpacing port="source_input 1" spacing="0"/>
     <portSpacing port="sink_result 1" spacing="0"/>
     <portSpacing port="sink_result 2" spacing="0"/>
   </process>
 </operator>
</process>

Answers

  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    sadly this is a bug that has sneaked into the release. We are aware of this and have already fixed it.
    We will release a bugfix for this soon.

    Best,
    Nils 
  • Vineet
    Vineet New Altair Community Member
    Hello,

    Thanks for letting me know!!!

    Regards,
    Vineet
  • MariusHelf
    MariusHelf New Altair Community Member
    This problem has been fixed by now in the latest version. Just update your RapidMiner :)

    Best regards,
    Marius