Uploading a site to tiddlyspot.com from a local file

96 views
Skip to first unread message

mgp

unread,
Jan 5, 2012, 9:09:08 AM1/5/12
to TiddlyWiki
Dear all,

Thank you in advance for your help.

I am trying to upload a local TW to tiddlyspot and get the following
error:

"""
[Exception... "Access to restricted URI denied" code: "1012" nsresult:
"0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "PATHTOFILE Line:
16784"]
"""

In more detail:

1. I found an interesting TW (http://twt-blackicity.tiddlyspot.com)
that I wished to use and downloaded it to my harddrive
2. I wished to upload the file to tiddlyspot (mskb.tiddlyspot.com) and
followed the instructions at:
http://faq.tiddlyspot.com/#[[Can%20I%20upload%20an%20existing%20TiddlyWiki%20to%20a%20tiddlyspot.com%20site%3F]]
3. Tried to upload using the backstage and got the error displayed
above (also happens when using the -modified- sidebar link)

Though I have been on and off the list for a while now, I am an
absolute newbie with TW and Javascript and I am rather lost on how to
solve this. Thinking it might be related to TW trying to upload to the
original page I hunted down any references in the local file but that
did not solve the issue. My searches on the internet have got me to
conclude that it might be something related to the use of a proxy to
upload the file (
https://groups.google.com/group/tiddlywiki/browse_thread/thread/2628cd11a60e85a4/8e3072422f5147f5?lnk=gst&q=%22Access+to+restricted+URI+denied%22+#8e3072422f5147f5
) but I am pretty much clueless on how to fix this.

Thanks again for your help.

Best,

Michael

Måns

unread,
Jan 6, 2012, 10:46:19 AM1/6/12
to TiddlyWiki
Hi Michael

There are some problems uploading content to TiddlySpot caused by
increased security introduced in newer browserversions.
TiddlySpot isn't CORS enabled. http://en.wikipedia.org/wiki/Cross-Origin_Resource_Sharing
- and it doesn't seem that it will happen - as the problem has been
evident for a couple of months now ...

Some solutions:

A)
Use a FireFox ver. pre 5 (I know FF ver. 4.01 works for uploading
content til TiddlySpot)

If you don't want to downgrade your current installation you can get a
portable version at portableapps.com (Win) or portablelinuxapps.org
(linux)

1) Open your local TW in FF v. 4.01 Import these four tiddlers into
your local TW from your online tiddlyspot TW:
LoadRemoteFileThroughProxy
PasswordOptionsPlugin
UploadPlugin
TspotSetupPlugin
2) Save and reload your local TW
3) Open the shadowtiddler TspotControls - write password and click
upload...

B)
Create a userspace on tiddlyspace.com
Create a subspace (optional)
Upload tiddlers from your local TW via the backstage of your newly
created subspace (online)

That's it :-)

Cheers Måns Mårtensson
Reply all
Reply to author
Forward
0 new messages