Comments (15)
I think this is due to the uploads folder not being committed because it was empty. Try creating a folder called uploads in the root of the project
from paperplane.
I ran into a new issue where the browser can not display images, or load PDFs.
from paperplane.
I built this feature on my netbook which was running windows. Some stuff didn't run right under *nix.
The content of any document you uploaded was the string "undefined", so that's why stuff appeared corrupt for you.
This should be fixed now
from paperplane.
I am still running into these errors, here is the log
from paperplane.
What is inside the file if you try to open it from finder?
from paperplane.
When opened with Finder:
And as plain text:
from paperplane.
So it contains image like binary stuff but it's corrupt?
from paperplane.
Is the file at the tmp location in the debug output corrupt too?
from paperplane.
I guess so. PDFs can open, but with no content inside:
from paperplane.
How can I check that?
from paperplane.
In your screenshot, the object has a path property. Its like /tmp/g34gg5g4gh45t435g34g
open that and see if it works
Basically what the server does is open the tmp file that got uploaded and resave it into the uploads folder
from paperplane.
from paperplane.
Something probably gets butchered when it coverts it to a string, i'll have a fix in a few secs
from paperplane.
Commit pushed
from paperplane.
That did the trick!
from paperplane.
Related Issues (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 paperplane.