Hi Jeff

So, I think the problem is that the TiddlyWeb plugin doesn't like being
loaded into a single file TiddlyWiki that is being viewed on a file: URI.
I'll patch it to catch the error that you're encountering.

Am I right in understanding that you're trying to use the same wiki folder
to build both a clientserver edition and a single file edition of your
wiki? If so, you could use the same technique that the TW5 repo does: have
your base wiki folder that contains the bits and pieces you need for the
single file edition, and then have a separate wiki that contains the extra
clientserver components, and includes the main wiki. You can see this with
the 'editions/clientserver' wiki including the 'editions/tw5.com' wiki in
the TiddlyWiki5 repo.

Best wishes

Jeremy



On Tue, Dec 17, 2013 at 10:40 PM, <[email protected]> wrote:

> Via git revision history, I confirmed that I didn't make any tweaks that
> referenced an outside domain.  Then I removed plugin references in the
> tiddlywiki.info file and it appears that the tiddlyweb plugin is the
> culprit.
>
> When I remove that tiddlyweb plugin from tiddlywiki.info, I am able to
> build an html wiki file just fine.  However, without that plugin, it
> appears that I'm no longer able to serve up the .tid files via the server.
>
> As a workaround, I'm copying one version of tiddlywiki.info *without* the
> tiddlyweb plugin reference right before building the html wiki file and
> copying another version of tiddlywiki.info *with* the tiddlyweb plugin
> reference right before serving .tid files via the server.  I created
> shortcut commands, which simplify and eliminate any thinking from this
> process.
>
> However, I'm still wondering if this is expected behavior with respect to
> the tiddlyweb plugin?
>
>
>
>
> On Tuesday, December 17, 2013 2:46:41 AM UTC-5, Jeremy Ruston wrote:
>
>> Hi Chisahaku
>>
>> The error you're getting indicates that Firefox is preventing access to a
>> URI in a different domain than that containing the TW file. The core
>> doesn't do anything during startup that could cause that error, so I'm
>> guessing that some of your tweaks might be the issue. Can you outline what
>> you've done? It would also be useful to list the steps to reproduce the
>> error.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>> On Tue, Dec 17, 2013 at 4:21 AM, <[email protected]> wrote:
>>
>>> *Internal Javascript Error -> NS_ERROR_DOM_BAD_URI: Access to restricted
>>> URI denied*
>>>
>>> I've built an html wiki file from a directory of tiddlers and I receive
>>> this fatal error which prevents the wiki from properly loading.  I
>>> typically load the tiddlers from the server so having not used an html wiki
>>> file in a while, I am having trouble figuring out what, if any, tweaks I
>>> made are leading to the error.
>>>
>>> Any help is greatly appreciated.
>>>
>>> Thanks!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to