Sending messages does not work anymore #16

Open
rik0 opened this Issue Apr 18, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Owner

rik0 commented Apr 18, 2012

$ sh bin/blogracy

from web-browser I sent a message:

ct!multipart/form-data; boundary=----WebKitFormBoundaryr6iV7Ya8jMjjihcA
h!Content-Disposition: form-data; name="message"

Content-Disposition: form-data null
name message
m!dsds
h!Content-Disposition: form-data; name="file"; filename=""
Content-Type: application/octet-stream

Content-Disposition: form-data null
name file
filename null
dsds
IO Exception while sharing a message
java.io.FileNotFoundException: /Users/enrico/git/blogracy/build/config/plugins/blogracy/cache/H7NRGZ33CBUR325TSCO5SF5QB3TVCEK2.txt (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:194)
at java.io.FileOutputStream.(FileOutputStream.java:84)
at java.io.FileWriter.(FileWriter.java:46)
at it.unipr.aotlab.blogracy.Blogracy.shareMessage(Blogracy.java:682)
at it.unipr.aotlab.blogracy.web.resolvers.MessagesResolver.post(MessagesResolver.java:138)
at it.unipr.aotlab.blogracy.web.resolvers.AbstractRequestResolver.resolve(AbstractRequestResolver.java:65)
at it.unipr.aotlab.blogracy.Blogracy.generateSupport(Blogracy.java:349)
at org.gudy.azureus2.ui.webplugin.WebPlugin.generate(WebPlugin.java:1925)
at org.gudy.azureus2.pluginsimpl.local.tracker.TrackerWCHelper$1.run(TrackerWCHelper.java:111)
at org.gudy.azureus2.pluginsimpl.local.tracker.TrackerWCHelper$1.run(TrackerWCHelper.java:83)
at org.gudy.azureus2.pluginsimpl.local.utils.UtilitiesImpl.callWithPluginThreadContext(UtilitiesImpl.java:989)
at org.gudy.azureus2.pluginsimpl.local.tracker.TrackerWCHelper.handleExternalRequest(TrackerWCHelper.java:80)
at org.gudy.azureus2.core3.tracker.server.impl.tcp.TRTrackerServerTCP.handleExternalRequest(TRTrackerServerTCP.java:399)
at org.gudy.azureus2.core3.tracker.server.impl.tcp.TRTrackerServerProcessorTCP.handleExternalRequest(TRTrackerServerProcessorTCP.java:961)
at org.gudy.azureus2.core3.tracker.server.impl.tcp.TRTrackerServerProcessorTCP.processRequest(TRTrackerServerProcessorTCP.java:184)
at org.gudy.azureus2.core3.tracker.server.impl.tcp.blocking.TRBlockingServerProcessor.runSupport(TRBlockingServerProcessor.java:350)
at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
at org.gudy.azureus2.core3.util.ThreadPool.runIt(ThreadPool.java:321)
at org.gudy.azureus2.core3.util.ThreadPool$threadPoolWorker.run(ThreadPool.java:634)
at org.gudy.azureus2.core3.util.AEThread2$threadWrapper.run(AEThread2.java:299)

Owner

rik0 commented Apr 18, 2012

I suppose it does not create the cache directory.

Owner

rik0 commented Apr 18, 2012

Creating the cache directory is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment