Hi Toni,

Antonio Bleile wrote:
> Hi,
> 
> I’m trying to upload a file to
> 
> http://opensg.vrsource.org/trac/attachment/wiki/PotentialContributions?action=new
> 
> but I get an error:
> 
...
>   File "/home/trac/installed/lib/python2.4/site-packages/trac/attachment.py", 
> line 474, in _do_save
>     for field, message in manipulator.validate_attachment(req, attachment):
>   File "build/bdist.linux-i686/egg/tracspamfilter/adapters.py", line 122, in 
> validate_attachment
>   File "build/bdist.linux-i686/egg/tracspamfilter/api.py", line 130, in test
>   File "build/bdist.linux-i686/egg/tracspamfilter/model.py", line 119, in 
> insert
>   File "/home/trac/installed/lib/python2.4/site-packages/trac/db/util.py", 
> line 47, in execute
>     return self.cursor.execute(sql_escape_percent(sql), args)
>   File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 255, in execute
>     self.rs = self.con.db.execute(SQL % parms)
> TypeError: execute() argument 1 must be string without null bytes, not str
> 
> Any ideas?

What is the name and type of the file? Could it be that it was spaces or other 
special characters?

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to