Hi -

I was only trying to upload a new gzipped-tarfile with new files to a repository that I own on the sandbox toolshed server, and get the following error:

Server Error

URL: http://testtoolshed.g2.bx.psu.edu/upload/upload?repository_id=f5109f746542d96d
Module paste.exceptions.errormiddleware:144 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module paste.debug.prints:106 in __call__
>>  environ, self.app)
Module paste.wsgilib:543 in intercept_output
>>  app_iter = application(environ, replacement_start_response)
Module paste.recursive:84 in __call__
>>  return self.application(environ, start_response)
Module paste.httpexceptions:633 in __call__
>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:128 in __call__
>>  return self.handle_request( environ, start_response )
Module galaxy.web.framework.base:184 in handle_request
>>  body = method( trans, **kwargs )
Module galaxy.web.framework:94 in decorator
>>  return func( self, trans, *args, **kwargs )
Module galaxy.webapps.tool_shed.controllers.upload:108 in upload
>>  self.upload_tar( trans, repository, tar, uploaded_file, upload_point, remove_repo_files_not_in_tar, commit_message,new_repo_alert )
Module galaxy.webapps.tool_shed.controllers.upload:283 in upload_tar
>>  return self.__handle_directory_changes(trans, repository, full_path, filenames_in_archive, remove_repo_files_not_in_tar,new_repo_alert, commit_message, undesirable_dirs_removed, undesirable_files_removed)
Module galaxy.webapps.tool_shed.controllers.upload:345 in __handle_directory_changes
>>  commands.commit( repo.ui, repo, full_path, user=trans.user.username, message=commit_message )
Module mercurial.commands:1279 in commit
>>  node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
Module mercurial.cmdutil:1294 in commit
>>  scmutil.match(repo[None], pats, opts), opts)
Module mercurial.commands:1277 in commitfunc
>>  match, editor=e, extra=extra)
Module mercurial.localrepo:1199 in commit
>>  ret = self.commitctx(cctx, True)
Module mercurial.localrepo:1270 in commitctx
>>  p2.manifestnode(), (new, drop))
Module mercurial.manifest:197 in add
>>  cachedelta = (self.rev(p1), addlistdelta(addlist, delta))
Module mercurial.manifest:124 in addlistdelta
>>  addlist[start:end] = array.array('c', content)
TypeError: array item must be char

Is there a better way to upload updated files to those repositories?

--
Peter Waltman, Ph.D. 
pwaltman@ucsc.edu
617.347.187