Skip to main content

DnD COLLADA fail on 1/16 nightly -- WebDav pathing problem?

13 replies [Last post]
maggiel
Offline
Joined: 2003-06-10

This probably isn't issue 116 anymore... starting to look like there's a problem mapping users to a path in WebDAV

now I'm getting on clientside:
------------------------
Jan 17, 2010 10:36:48 AM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path art/serenity.dae/serenity.dae.dep element serenity.dae.dep not found
Jan 17, 2010 10:36:56 AM org.jdesktop.wonderland.client.assetmgr.content.WlContentAssetRepository openAssetStream
WARNING: Unable to open URL for asset http://haruhi:8080/webdav/content/users/maggie/art/serenity.dae/serenity... response 404
Jan 17, 2010 10:36:56 AM org.jdesktop.wonderland.modules.artimport.client.DeployedModelCellFactory getDefaultCellServerState
WARNING: Unable to load deployed model from wlcontent://users@haruhi:8080/maggie/art/serenity.dae/serenity.dae.dep
java.io.IOException: No such asset wlcontent://users@haruhi:8080/maggie/art/serenity.dae/serenity.dae.dep
at org.jdesktop.wonderland.client.protocols.wlcontent.WlContentURLConnection.getInputStream(WlContentURLConnection.java:62)
at java.net.URL.openStream(Unknown Source)
at org.jdesktop.wonderland.client.jme.artimport.LoaderManager.getLoaderFromDeployment(LoaderManager.java:134)
at org.jdesktop.wonderland.modules.artimport.client.DeployedModelCellFactory.getDefaultCellServerState(DeployedModelCellFactory.java:100)
at org.jdesktop.wonderland.client.jme.content.AbstractContentImporter.createCell(AbstractContentImporter.java:224)
at org.jdesktop.wonderland.client.jme.content.AbstractContentImporter.importFile(AbstractContentImporter.java:147)
at org.jdesktop.wonderland.client.jme.dnd.FileListDataFlavorHandler$1.run(FileListDataFlavorHandler.java:115)

---------------------------and on the webserver------------------------------

Jan 17, 2010 3:36:48 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art
Jan 17, 2010 3:36:48 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art
Jan 17, 2010 3:36:48 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae
Jan 17, 2010 3:36:48 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz.dep
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz.dep
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz.dep
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz.ldr
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz.ldr
Jan 17, 2010 3:36:56 PM com.sun.web.security.RealmAdapter hasRole
INFO: Unable to find a element which map: /webdav/content/users/maggie/art/serenity.dae/serenity.dae.gz.ldr

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
maggiel
Offline
Joined: 2003-06-10

Hmm. On today's daily.

Looks like "gz" is showing up in the *path* now.

Jan 29, 2010 10:42:52 PM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path art/serenity.dae element art not found
Jan 29, 2010 10:43:03 PM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path art element art not found
Jan 29, 2010 10:43:03 PM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path serenity.dae element serenity.dae not found
Jan 29, 2010 10:43:03 PM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path serenity.dae.gz element serenity.dae.gz not found
Jan 29, 2010 10:43:05 PM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path serenity.dae.gz.dep element serenity.dae.gz.dep not found
Jan 29, 2010 10:43:05 PM org.jdesktop.wonderland.modules.webdav.common.WebdavContentCollection getChild
WARNING: In path serenity.dae.gz.ldr element serenity.dae.gz.ldr not found
RET wlcontent://users/maggie/art/serenity.dae/serenity.dae.gz

maggie@kasumi:~/.wonderland-server/0.5-dev/run/content/users/maggie/art/serenity.dae$ ls -l
total 6420
-rw-r--r-- 1 maggie maggie 6563775 Jan 29 22:44 serenity.dae.gz
-rw-r--r-- 1 maggie maggie 1098 Jan 29 22:44 serenity.dae.gz.dep
-rw-r--r-- 1 maggie maggie 232 Jan 29 22:44 serenity.dae.gz.ldr

Edit: I just walked back to 0,0,0 and the model is there, rather than where I dropped it. Odd.

Message was edited by: maggiel

kaplanj
Offline
Joined: 2004-07-13

The http:// URL you specified should map to ~/.wonderland-server/0.5-dev/run/content/users/maggie/art/serenity.dae/serenity.dae.dep. Does that file exist in webdav? If not, does the serenity.dae directory exist?

If the files aren't getting uploaded properly, that sounds like an issue during the processing of the drag and drop. The best thing to do would be to go into an empty world, drop in this model, and then post the client log from doing just that.

maggiel
Offline
Joined: 2003-06-10

OK, will do that when I get a chance.

Not being completely hip to WebDAV, does "existing in WebDAV" entail anything other than being at the path location you mention? There's no registry or index or anything like that, right?

kaplanj
Offline
Joined: 2004-07-13

Correct. The webdav code we use (which is built into Glassfish) just presents a view of a given filesystem via the webdav protocol, based on what is on disk and nothing else. We have modified the webdav servlet to take Wonderland permissions into account, but that would cause a different error than 404.

maggiel
Offline
Joined: 2003-06-10

A quick look at

\.wonderland-server\0.5-dev\run\content\users\maggie\art\serenity.dae\

shows

serenity.dae.gz
serenity.dae.gz.dep
serenity.dae.gz.ldr

bernard_horan
Offline
Joined: 2007-06-04

so there's your problem... your URL is missing an intermediate '.gz'

regards

Bernard

maggiel
Offline
Joined: 2003-06-10

Um, yeah, I can see that. But I didn't type the URL; it was generated by the client.

Appears to be a client bug.

paulby
Offline
Joined: 2003-06-13

Is this problem with trunk or an old nightly ?

I'll retry the few dae models that I have.

Rgds

Paul

maggiel
Offline
Joined: 2003-06-10

well..."fail on 1/16 nightly"; it's a nightly, but wasn't old at the time I started this thread on 1/17.

I've been able to work with .kml-packaged models as before, but this one (which used to work fine) is now failing. It's a Blender export.

paulby
Offline
Joined: 2003-06-13

Oops, sorry, missed that reference to nightly. Anyway I can reproduce the problem, I'll work on a fix.

Rgds

Paul

paulby
Offline
Joined: 2003-06-13

Turns out there were 2 bugs in this area. I've fixed the first so you should be able to load your dae model using the Insert->Model menu item.

Working on the dnd issue now....

paulby
Offline
Joined: 2003-06-13

Hi Maggie,

This should be fixed now, please give at a try and let me know if you find any issues.

Rgds

Paul

maggiel
Offline
Joined: 2003-06-10

Will do at earliest opportunity. Right now I'm moving my PW instance to a new permanent home in my shiny new Ubuntu machine while keeping an eye on stuff I'm doing at work and another eye on the stream from the Snoracle show (that's three eyes, I only have one left).

"We're hiring" sounds promising, it's all a matter of *who* they're hiring though. I'd love to work on PW as a day job, but I don't think y'all can afford me. Yet.