zzsoszz / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

Extend IO support to Mac/FF #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In local copy of trunk i'm running docs. In url:
file:///Users/Alexey/Solutions/base2/src/apps/doc/base2.html#/doc/!base2.DOM.Tra
versal.getNextElementSibling
i tried put summary information: "Return the next element to the supplied
element nextSibling is not good enough as it might return a text or comment
node.". When i apply i tried save this and i had an error:

uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.create]" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
http://base2.googlecode.com/svn/trunk/lib/src/base2-io.js :: anonymous ::
line 434" data: no]
(no name)()base2-jst.js (line 84)
interpret("<%\nif (typeof currentObject != 'undefined') {\n var separator =
/:/.test(objectID) ? '::' : /\./.test...")base2-jst.js (line 60)
exec("section", "Notes")engine.js (line 612)
process("section", "Notes")engine.js (line 663)
(no name)()base2-jst.js (line 64)
interpret("<%\n process('section', 'Summary');\n process('section',
'Syntax');\n include('source_code');\n process(...")base2-jst.js (line 60)
exec("function", "/doc/default")engine.js (line 612)
include("function")engine.js (line 641)
(no name)()base2-jst.js (line 70)
interpret("<%\nif (typeof currentObject != 'undefined') {\n
include('title');\n if (currentObject instanceof Names...")base2-jst.js
(line 60)
exec("current_object", "/doc/default")engine.js (line 612)
include("current_object")engine.js (line 641)
include_once("current_object")engine.js (line 648)
(no name)()base2-jst.js (line 67)
interpret("<%\nif (typeof currentObject == 'undefined') {\n if (typeof
objectID == 'undefined') {\n include_once(...")base2-jst.js (line 60)
exec("content", "/doc/default")engine.js (line 612)
include("content")engine.js (line 641)
(no name)()base2-jst.js (line 73)
interpret("<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><%\n
include_once('system.js');\n%><html>\n<head>\n<ti...")base2-jst.js (line 60)
exec("/doc/system/view", "/doc/default")engine.js (line 612)
interpret()engine.js (line 747)
interpret(Object headers=Object readyState=4 method=GET)engine.js (line 412)
GET(Object io=Object, Object headers=Object readyState=4
method=GET)engine.js (line 452)
respond(Object headers=Object readyState=4 method=GET, undefined)engine.js
(line 428)
send(Object headers=Object readyState=4 method=GET, undefined)engine.js
(line 132)
send(undefined)engine.js (line 544)
constructor("GET", "/doc/!base2.DOM.Traversal.getNextElementSibling",
undefined, undefined)engine.js (line 522)
klass()base2.js (line 114)
send("GET", "/doc/!base2.DOM.Traversal.getNextElementSibling", undefined,
undefined)engine.js (line 279)
reload()engine.js (line 273)
(no name)()

OS: Mac OS X 10.4.10
Browser: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6)
Gecko/20070725 Firefox/2.0.0.6

Original issue reported on code.google.com by dwarf...@gmail.com on 13 Aug 2007 at 1:42

GoogleCodeExporter commented 9 years ago
MiniWeb version 0.6, revision 2485

Original comment by dwarf...@gmail.com on 13 Aug 2007 at 1:50

GoogleCodeExporter commented 9 years ago
This is because IO support for Mac Firefox is untested.

Original comment by dean.edw...@gmail.com on 13 Aug 2007 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 5 Dec 2007 at 4:46

GoogleCodeExporter commented 9 years ago
Trying on 163 revision in Firefox 3 beta1. Error:

uncaught exception: [Exception... "Component returned failure code: 0x80520015 
(NS_ERROR_FILE_ACCESS_DENIED) 
[nsIFileOutputStream.init]"  nsresult: "0x80520015 
(NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: 
http://base2.googlecode.com/svn/trunk/lib/src/base2-io.js :: anonymous :: line 
436"  data: no]
http://base2.googlecode.com/svn/trunk/lib/src/base2-jst.js
Line 102

Original comment by dwarf...@gmail.com on 5 Dec 2007 at 4:36

GoogleCodeExporter commented 9 years ago
OK. I'll look into it. This is on Mac FF3 right?

Original comment by dean.edw...@gmail.com on 5 Dec 2007 at 10:00

GoogleCodeExporter commented 9 years ago
Yes, Mac OS X Leopard version 10.5.1

In Safari 3.0.4 error:

"Not supported" on line 18 in file 
http://base2.googlecode.com/svn/trunk/lib/src/base2-io.js

In Firefox 2 (2.0.0.11) is the same error Firefox 3 beta1:

uncaught exception: [Exception... "Component returned failure code: 0x80520015 
(NS_ERROR_FILE_ACCESS_DENIED) 
[nsIFileOutputStream.init]"  nsresult: "0x80520015 
(NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: 
http://base2.googlecode.com/svn/trunk/lib/src/base2-io.js :: anonymous :: line 
436"  data: no]
http://base2.googlecode.com/svn/trunk/lib/src/base2-jst.js
Line 102

Original comment by dwarf...@gmail.com on 6 Dec 2007 at 8:45

GoogleCodeExporter commented 9 years ago
It's not possible to support Safari for IO.

Original comment by dean.edw...@gmail.com on 6 Dec 2007 at 11:26

GoogleCodeExporter commented 9 years ago
This is working for me with the latest Firefox on Mac.

You need to save the MiniWeb page to local disk. Run MiniWeb, you may get an 
alert
asking for permission to access the local file system.

Are you still having problems dwarfman?

Original comment by dean.edw...@gmail.com on 8 Dec 2007 at 10:15

GoogleCodeExporter commented 9 years ago
I've tested this on OSX and Linux and it seems to work so I'm closing this bug.

Original comment by dean.edw...@gmail.com on 19 Dec 2007 at 9:21

GoogleCodeExporter commented 9 years ago
I've tested this on OSX and Linux and it seems to work so I'm closing this bug.

Original comment by dean.edw...@gmail.com on 19 Dec 2007 at 9:21

GoogleCodeExporter commented 9 years ago
For me, this has been fixed in the latest revision.

Original comment by dwarf...@gmail.com on 20 Dec 2007 at 9:27