[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #2568 [Torflow]: IOError: [Errno 36] File name too long:



#2568: IOError: [Errno 36] File name too long:
---------------------+------------------------------------------------------
 Reporter:  stars    |          Owner:  mikeperry
     Type:  defect   |         Status:  new      
 Priority:  normal   |      Milestone:           
Component:  Torflow  |        Version:           
 Keywords:           |         Parent:           
   Points:  3        |   Actualpoints:           
---------------------+------------------------------------------------------

Comment(by aagbsn):

 I am having trouble reproducing this bug. Steps I've tried:

 1. find a long url

 {{{
 export
 TARGET='http://some_host_here/xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.html
 }}}

 2. scan this target

 {{{
 python soat.py --http --targ $TARGET >& ./data/soat.log
 }}}

 3. check output files
 {{{
 ./data/soat/http/content/some_host_here_xxxxxxxxxxxxxxxxxxxx_xxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.content
 }}}

 4. check output filename lengths
 {{{
 >>>
 s="/data/soat/http/content/some_host_here_xxxxxxxxxxxxxxxxxxxx_xxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.content"
 >>> len(s)
 230
 >>>
 }}}

 Perhaps the error is an ubuntu bug? It seems the length of the filename
 you provide are also less than 255

 {{{
 >>>
 s="./data/soat/http/content/pshared.5min.com_Scripts_ThumbSeed.js_sid_527_displayBorder_false_layout_700X180_backgroundColor_White_displayHeader_false_displayFooter_false_videoCount_3_fallbackType_featured_fallback_0.content"
 >>> len(s)
 221
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2568#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs