Comments (26)
@VicDeo Can you test with current core master and have a look?
from documents.
@karlitschek just pulled the master and can't reproduce. Anything related in logs/browser console?
from documents.
[Wed Oct 02 16:09:44 2013] [error] [client 192.168.58.1] PHP Fatal error: Class 'OCA\Documents\OCP\Template' not found in /var/www/owncloud/documents/lib/download.php on line 103, referer: http://oc:90/core/index.php/apps/documents
[Wed Oct 02 16:09:44 2013] [error] [client 192.168.58.1] PHP Fatal error: Class 'OCA\Documents\OCP\Template' not found in /var/www/owncloud/documents/lib/download.php on line 103, referer: http://oc:90/core/index.php/apps/documents
But even after fixing this (adding a "") doesn't fix this problem.
Tested with latest core master and Chrome, Safari, Firefox. Just a grey spinner.
from documents.
In the JS console I get:
HEAD http://oc:90/core/index.php/apps/documents/ajax/genesis/6a1d0e24f3ea16c92ee95292c2115a 404 (Not Found) documents/ajax/genesis/6a1d0e24f3ea16c92ee95292c2115a:1
GET http://oc:90/core/index.php/apps/documents/ajax/genesis/6a1d0e24f3ea16c92ee95292c2115a 404 (Not Found) documents/ajax/genesis/6a1d0e24f3ea16c92ee95292c2115a:1
Uncaught InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
from documents.
Could be that you have non-compatible stuff in the db from an old session which no longer matches current state.
Can you send me the odt file where this happens per pm, so I can test tonight if there are issues with webodf itself?
from documents.
Uncaught InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
Ah, that seems less a webodf problem then. Well. Kind of is still, an error escalition problem. That part is still a TODO with webodf :(
from documents.
I tested this with a clean owncloud and with an empty new document
from documents.
if the genesis handler returns a 404 then there is not much WebODF can do except to do a more gracefull handling of this exceptional state. the problem is either:
- the document was not copied in the right place on session-creation
- the database has incorrect information where to look for the document
- the genesis url delivered to WebODF is corrupt
from documents.
@VicDeo Does this really work for you with a fresh core master installation? Very strange.
from documents.
@karlitschek I did a clean install cloning current master.
Reproduced, fixed and pushed. The very first document was always failing as fs was not ready yet.
from documents.
Thx
from documents.
Hmm. Perhaps I'm totaly crazy but the error still exists for me with a fresh checkout and a new owncloud setup. @VicDeo Does it work for you?
from documents.
@karlitschek ok, doing another fresh install to test
from documents.
@karlitschek can't reproduce on completely fresh install. Do you use the instance for which this bug was initially reported by any chance?
from documents.
it indeed works with a clean seperate checkout. very strange. Sorry for the noise :-)
from documents.
@karlitschek Besides with the fix I submitted a patch that doesn't allow to create session entry if related file was not stored successfully.
So just clean oc_documents_session
on that instance and everything will work there too.
from documents.
Unfortunately I still have the same issue after a clean install.
In the php log:
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(/var/www/html/owncloud/data/admin/thumbnails/13/): failed to open dir: No such file or directory at /var/www/html/owncloud/lib/private/files/storage/local.php#44","level":3,"time":"2013-10-20T14:57:21+00:00"}
In JS console:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Uncaught ReferenceError: runtime is not defined Server.js:4
from documents.
@karlitschek is this the only error in JS console?
Can you check if all js files are loaded (there are no 404 status for some of them)
from documents.
I can see only that. The interesting thing is that is also works every 2nd or third time. @PVince81 You had a similar error before, right?
from documents.
The interesting thing is that is also works every 2nd or third time
@karlitschek it works/doesn't work/ for the same file or it's file persistent?
Which DB engine/browser do you use?
from documents.
Now I get this error in the console (with OC6 master + documents master):
Uncaught InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
It stays stuck on the loading spinner of the document.
from documents.
@PVince81 Did you pull recently?
Which browser?
from documents.
Yes, pulled both master branches and cleant my cache. (Chrome 30)
I did the same on another test machine and it works there with the same browser (connecting remotely).
I suspect there is still a race condition somewhere. Since I'm using the same client computer+browser, could there be a race condition on the server side ?
from documents.
Wait, it looks like the server difference is that I have encryption enabled. Will test this with and without encryption.
from documents.
Ok, I get this in the log:
{"app":"Encryption library","message":"failed to open file "/root/documents/91fd6163c58570ee3fb2e3360ff0294f9e72f06f.odt" expecting a path to user/files or to user/files_versions","level":3,"time":"2013-10-22T14:03:09+00:00"}
CC @schiesbn
from documents.
probably fixed
from documents.
Related Issues (20)
- mimetype error HOT 1
- Sharing via Document-App does not work when using LDAP HOT 1
- Problem with document uploads HOT 3
- Documents App goes to "Documents" pseudo folder on close
- Collaborative Edits Being Mangled
- PHP Fatal error: Call to undefined method OCP\App::register() in /var/www/html/apps/rescan_fs/appinfo/app.php on line 2
- Documents for nextcloud HOT 3
- Array Bug
- Cannot enable MS Word Support HOT 2
- Feature Request: manage documents in documents index
- webdav blocked
- [Feature Request] Folders
- Synchronisation problems with concurrent modifications
- [ Feature Request ] Register as File Handler
- Signature data not found
- SQL table "oc_documents_invite" missing primary key
- Showing up as experimental?
- documents app needs updating for owncloud 10 HOT 3
- how to open ownclou_documents in my computer?
- Publicly sharing a document does not work
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 documents.