title: Submitting a form with mechanize (TypeError: ListControl, must set a sequence)
body: <p>I'm trying to submit a form with mechanize but have run into an error (TypeError: ListControl, must set a sequence) After googling for some time and trying a couple of different solutions I haven't been able to solve the issue. I'm trying to submit all the fields. </p>
  
  <p>The form data fetched via mechanize (for f in br.forms() print: f)</p>
  
  <pre><code>&lt;POST http://www.example.com/takeupload.php multipart/form-data
  &lt;HiddenControl(MAX_FILE_SIZE=1000000) (readonly)&gt;
  &lt;TextControl(&lt;None&gt;=http://www.example.com:81/test.php?pass=550) (readonly)&gt;
  &lt;FileControl(file=&lt;No files added&gt;)&gt;
  &lt;TextControl(name=)&gt;
  &lt;SelectControl(type=[*0, 23, 22, 1, 10, 7, 18, 4, 21, 56, 20, 60, 5, 19, 6, 55, 63, 9])&gt;
  &lt;CheckboxControl(strip=[strip])&gt;
  &lt;FileControl(nfo=&lt;No files added&gt;)&gt;
  &lt;TextareaControl(descr=)&gt;
  &lt;SubmitControl(&lt;None&gt;=Do it!) (readonly)&gt;&gt;
  </code></pre>
  
  <p>My current code</p>
  
  <pre><code>br.open('http://www.bitfarm.co.za/upload.php')
  
  br.select_form(nr=4)
  
  filename = 'test.torrent'
  br.form.add_file(open(filename), 'application/x-bittorrent', filename, name='file') 
  br.form['name'] = 'test'
  br.form['type'] = '22'
  br.form['strip'] = '0'
  br.form['nfo'] = ''
  br.form['descr'] = 'This is the desc'
  
  br.submit()
  </code></pre>
  
  <p>Please could you assist and check I'm using the right syntax for the form options. Thanks</p>