Christian Boos wrote:
Johan Andersson wrote:
...
   content = node.get_content().read(mimeview.max_preview_size())
 File "/usr/lib/python2.4/site-packages/svn/core.py", line 91, in read
   return svn_stream_read(self._stream, int(amt))
File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 2637, in svn_stream_read
   return apply(_core.svn_stream_read, args)
TypeError: expecting an integer for the buffer size

How do i fix this error msg?

sorry for my english =/


In $TRAC_ENV/conf/trac.ini what's your configured value
for the following setting:

[mimeview]
max_preview_size = ...

The error you're seeing seems a bit strange to me, as
mimeview.max_preview_size() is supposed to return an int...

-- Christian
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

oh..
damn :S its was my fault =/
When i was uploading a file using attach it did say it was to big.. then i wrote some 0 after the max_size and max_preview_size . now i have the org value on max_preview_size and it all works :D
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to