Comments (5)
A little update: I think I have narrowed down the problem to the filesize. I am not able to upload anything with more than 1000000 bytes. I am almost sure that this is a problem of the AsyncHTTPClient/pycurl interface.
So my main question for the time being remains: has anyone been able to upload an attachment with more than 1 MB?
from trombi.
I haven't hit limits with CouchDBs attachment uploading. What CouchDB do you use?
And apparently there's a bug in Document.attach, it does not handle any errors properly. I've added #11 to separate it from here, as they might be separate issues.
from trombi.
I am using CouchDB 1.0.2 built from source using couch(io/one/base)'s build-couchdb
script.
If I upload the attachment via Futon everything works, which is why I don't think it is a CouchDB problem...
from trombi.
I created a small script to test the problem: https://gist.github.com/834928
I tried with 1M and 2M files, both working ok. Can you tell more about your setup? Does your app involve uploading files to a tornado instance and sending them to trombi?
from trombi.
Yes, thanks for all the effort. The script just works on my side, so the problem must come from some other part of my code (unfortunately :)).
Closing this and thank you again for your help!
Daniel
from trombi.
Related Issues (15)
- Add support for list-functionality HOT 1
- Handle PyCurl errors better in Document.attach HOT 1
- Disjoint between Document and ViewResult objects HOT 3
- Long-polling changes feed does not work if documents are added after opening the feed HOT 1
- Add a method for getting a document attachment to Database
- If view has include_docs=True, convert row['doc'] automatically to trombi.Document
- Make trombi Python 3.2 compatible HOT 1
- Support Content-Type multipart/related when attachments=True
- Add `origin` in TrombiError instances
- Change Database.set() signature HOT 8
- Fix session handling
- Add support for _bulk_docs HOT 1
- Database.get() fails ungracefully in some situations HOT 1
- Database.view() sends keys both in the body and in the query string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trombi.