home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / web / arcweb / Problems < prev    next >
Encoding:
Text File  |  1995-09-18  |  15.6 KB  |  341 lines

  1. Problems
  2. ========
  3.  
  4. This file is part of ArcWeb, and acts as a troubleshooting guide for those
  5. who have had difficulty installing, configuring and operating ArcWeb.  It
  6. assumes that you have read 'Instruct' and 'ReadMe1st', and if the question
  7. is about proxies, then 'WotIsProxy' as well.
  8.  
  9.  
  10. Question Summary
  11. ================
  12.  
  13. Q1.  I try to run !ArcWeb or !ArcWebImg and I get a message saying:
  14. "Find ChangeFSI before loading".
  15.  
  16. Q2.  When I try to load !ArcWeb, it says that it requires the DrawFile
  17. module.  What is it and where do I get it?
  18.  
  19. Q2b. When I try to load !ArcWeb, it says 'nager: Sprites22'.  What on
  20. earth does this mean?
  21.  
  22. Q3.  When I use the Open URL dialogue box and specify something like
  23. http://www.demon.co.uk/ in the box, I get an error saying that no fetcher
  24. is available for that URL.
  25.  
  26. Q4.  When I try to use the Open URL dialogue box to open a local file using
  27. local: URLs, I get an error saying that no fetcher is available for that
  28. URL.
  29.  
  30. Q5.  When I try to use the Open URL dialogue box to open a local file using
  31. riscos: URLs, I get an error saying that no fetcher is available for that
  32. URL.
  33.  
  34. Q6.  Sometimes when I load a page, the inlined images are not displayed
  35.  
  36. Q7.  I have heard that UniSys have been threatening to enforce a patent on
  37. the LZ compression used in the GIF file format, as used by many WWW sites.
  38. Does this affect ArcWeb?
  39.  
  40. Q8.  My icon bar is too full with the ArcWebImg and ArcWebLcl icons present
  41. in addition to the main ArcWeb icon.  How can I prevent this?
  42.  
  43. Q9.  I don't have the ArcWebLcl or ArcWebImg icons on the icon bar.  How do
  44. I get them to appear so I can change the configuration?
  45.  
  46. Q10.  How do I change fonts, colours and default options if I don't like
  47. them?
  48.  
  49. Q11.  How do I set up !ArcWeb for use on a shared network
  50.  
  51. Q12.  I try to run ArcWeb and nothing happens/machine locks up/odd errors
  52. appear (eg. Permission denied).
  53.  
  54. Q13.  What does icon 'x' do?
  55.  
  56. Q14.  When I follow a link to some URLs, I get a dialogue box saying that
  57. authentication is required.  What does this mean?
  58.  
  59. Q15.  When I follow a link to some URLs, I get a dialogue box saying that a
  60. non-default port is being used in the URL.  What does this mean?
  61.  
  62. Q16.  When I try to run !ArcWeb, I get a stack backtrace/Directory Full
  63. errors
  64.  
  65. Q17.  Why do I get a save dialogue box when trying to read some pages, even
  66. when the object is HTML?
  67.  
  68. Q18.  Sometimes I get 'Too Long' (or similar) error messages whilst the page
  69. is being drawn and then none of the graphics are on the page.  Why?
  70.  
  71. Q19.  What do I do to cure 'unable to lookup host's address' errors?
  72.  
  73.  
  74. Questions & Answers
  75. ===================
  76.  
  77. Q1.  I try to run !ArcWeb or !ArcWebImg and I get a message saying:
  78. "Find ChangeFSI before loading".
  79.  
  80. A1.  ArcWebImg uses ChangeFSI as its image manipulator.  It invokes it on the
  81. command line to transform GIFs, JPEGs and other formats into RISC OS sprite
  82. files.  If the Filer has not seen ChangeFSI, then ArcWebImg does not know
  83. where it will be able to find this tool.  Open a directory viewer containing
  84. !ChangeFSI and then try to run ArcWebImg again.  If ArcWebImg was auto run
  85. by ArcWeb, then you will have to quit ArcWeb and load it again, or open the
  86. !WebHelper application (double-click it - no SHIFT required) and run !ArcwebImg
  87. directly.
  88.  
  89.  
  90. Q2.  When I try to load !ArcWeb, it says that it requires the DrawFile
  91. module.  What is it and where do I get it?
  92.  
  93. A2.  The DrawFile module is a relocatable module written by Acorn which
  94. provides SWIs for drawing Draw files (as manipulated by !Draw) on the
  95. screen.  ArcWeb uses this module to reduce its own size (since the module
  96. can be shared by many applications it can reduce memory requirements). You
  97. can FTP it from from ftp.acorn.co.uk in /pub/riscos/releases/drawfile.arc
  98. You require at least version 1.30.  The higher the version the better though.
  99.  
  100. Q2b. When I try to load !ArcWeb, it says 'nager: Sprites22'.  What on
  101. earth does this mean?
  102.  
  103. A2b. This appears to happen when an attempt is made to load a newer version
  104. of the DrawFile module over an already loaded version.  Kill the old module
  105. with '*rmkill drawfile' and then try again.
  106.  
  107.  
  108. Q3.  When I use the the Open URL dialogue box and specify something like
  109. http://www.demon.co.uk/ in the box, I get an error saying that no fetcher
  110. is available for that URL.
  111.  
  112. A3.  ArcWeb is not supplied with fetchers for remote documents.  These can be
  113. found on the FTP server at Demon Internet in /pub/archimedes/www.  You need
  114. to run *one* of these HTTP fetchers alongside KA9Q (!TCPIP) in order to be
  115. able to fetch these documents.  ArcWebTCP can be used with Acorn TCP/IP, or
  116. other stack such as Tom Hughes' FreeNet (when it is available).  In fact it
  117. can use anything which provides the same BSD socket interface as Acorn TCP/IP.
  118.  
  119.  
  120. Q4.  When I try to use the Open URL dialogue box to open a local file using
  121. local: URLs, I get an error saying that no fetcher is available for that
  122. URL.
  123.  
  124. A4.  This may indicate that ArcWebLcl isn't running.  ArcWebLcl is required
  125. in order to fetch local: URLs.  If it is running, then this indicates that
  126. some failure occurred finding the file.  This may be because:
  127.  
  128.   i) the filing system you used does not exist
  129.  ii) the URL specified a non-existent file
  130. iii) you did not specify the URL correctly.  Remember that all / and .
  131.      characters after the :: in the filing system name, are transposed.
  132.  
  133. Remember that these URLs will look odd.  Examples of valid URLs:
  134. local://ADFS::HardDisc4/$/WWW/index.html  (ADFS::HardDisc4.$.WWW.index/html)
  135. local://SCSI::ScsiDisc7/$/Internet/me.gif (SCSI::ScsiDisc7.$.Internet.me/gif)
  136. local://resources:/$/Apps/!Help           (resources:$.Apps.!Help)
  137.  
  138. Note in particular the strange format for local URLs on filing systems which
  139. do not use device names (eg. resources:)
  140.  
  141.  
  142. Q5.  When I try to use the Open URL dialogue box to open a local file using
  143. riscos: URLs, I get an error saying that no fetcher is available for that
  144. URL.
  145.  
  146. A5.  riscos: URLs were handled by earlier versions of ArcWebLcl.  This URL
  147. naming scheme is now obsolete, superceded by local: URLs, which you must now
  148. use.  NOTE: Running on old version of ArcwebLcl alongside the new ArcWebLcl
  149. will not work, as support for the riscos: name system in ArcWeb itself has
  150. been removed.  This is because separate routines were needed for resolving
  151. relative references involving riscos: URLs, and these no longer exist.
  152.  
  153.  
  154. Q6.  Sometimes when I load a page, the inlined images are not displayed
  155.  
  156. A6.  This should have been fixed in version 0.13.  Alternatively, look at
  157. the page's menu under the Options submenu to make sure that you haven't
  158. disabled the loading of inlined images.
  159.  
  160.  
  161. Q7.  I have heard that UniSys have been threatening to enforce a patent on
  162. the LZ compression used in the GIF file format, as used by many WWW sites.
  163. Does this affect ArcWeb?
  164.  
  165. A7.  No.  ArcWeb does not contain any code for handling GIF format graphics
  166. files.  It merely tests files for filetype &695 (GIF) or for starting GIF87a
  167. or GIF89a, and pulls out the image pixel size (for imagemaps).  [GIF is a
  168. registered trademark (and service mark) of CompuServe Inc.]
  169.  
  170.  
  171. Q8.  My icon bar is too full with the ArcWebImg and ArcWebLcl icons present
  172. in addition to the main ArcWeb icon.  How can I prevent this?
  173.  
  174. A8.  Edit the !Run file inside !ArcWebImg (hold down SHIFT whilst double
  175. clicking on the icon in a Filer window).  Load the !Run file into !Edit (or
  176. your favourite text editor) and add '-noiconbar' on the last line
  177. of the file.  Save it again. Repeat for !ArcWebLcl.  Now, neither of these
  178. helpers will ever install an icon bar icon.  You can still access the
  179. configuration window by using the Configure menu on the ArcWeb icon bar menu.
  180.  
  181.  
  182. Q9.  I don't have the ArcWebLcl or ArcWebImg icons on the icon bar.  How do
  183. I get them to appear so I can change the configuration?
  184.  
  185. A9.  Double-click on !WebHelper and then double-click on the application you
  186. want.  If you have edited the !Run file for each application (inside Helpers
  187. directory) and added -noiconbar to the last line in the file, you must
  188. remove this option.  Alternatively, to just change the configuration, use the
  189. Configure submenu on the ArcWeb icon bar menu.
  190.  
  191.  
  192. Q10.  How do I change fonts, colours and default options if I don't like
  193. them?
  194.  
  195. A10.  There are two levels at which the changes can be made - system wide,
  196. or user specific.  ArcWeb checks the following files for font definitions
  197. and colour schemes in this order: 1)  <WebCache$Dir>.Choices 
  198. 2) <ArcWeb$Dir>.Defaults   3) built-in defaults (you can't change these).
  199.  
  200. If !WebCache is local to your machine and not a per-user installation on a
  201. network, then you should alter the version in the cache directory. 
  202. (Double-click SELECT on !WebCache and it will open the directory containing
  203. Choices - edit that file).   For network usage, the user should be
  204. able to change this choices file.   System-wide defaults can be set in the
  205. <ArcWeb$Dir>.Defaults file.  This is a copy of the supplied file in the
  206. cache directory. 
  207.  
  208. Edit the file in order to change the fonts used.  Although there is no
  209. restriction on how you can change the fonts, bear in mind that the italic
  210. version of the body font should be the same size as the normal version of
  211. the body font etc., otherwise you will get odd effects.  Colours can also be
  212. changed.  You can set the foreground colour as three R,G,B quantities, and
  213. if you wish you may also specify a further three values representing the
  214. background colour hint. (See !ArcWeb.Defaults for an example).  Note that
  215. when ArcWeb exports Draw files via its dialogue boxes, it automatically
  216. filters the background hints out (and makes them white).
  217.  
  218.  
  219. Q11.  How do I set up !ArcWeb for use on a shared network
  220.  
  221. In order to stop proliferation of ArcWeb into everyone's home directories,
  222. ArcWeb is willing to cooperate in a network environment.  !ArcWeb may be
  223. installed in a read-only filing system, provided that no -debug option is
  224. set for any of the helpers (which is the state in which ArcWeb is supplied)
  225. Users will also need to have seen a !WebCache application to which they have
  226. exclusive use and to which they have read-write access.  Only one instance
  227. of ArcWeb may use any !WebCache directory.
  228.  
  229. If you are connected to the Internet via a UNIX gateway, then I strongly
  230. recommend running the CERN httpd on it and using it as a proxy HTTP server.
  231.  
  232. The system administrator may wish to edit !ArcWeb.!Run to refuse to run if
  233. Arcweb$CacheDir is not set (as supplied, if it isn't set, it sets it to a
  234. subdirectory of itself).  The system administrator may choose to edit the
  235. !ArcWeb.Defaults file to change any system wide options.
  236.  
  237.  
  238. Q12.  I try to run ArcWeb and nothing happens/machine locks up/odd errors
  239. appear (eg. Permission denied).
  240.  
  241. A12.  This might be caused by !WebCache not being installed in a read/write
  242. filing system.  Unless you have appropriate archiving software (eg. SparkFS
  243. or ArcFS 2), you will have to extract the !WebCache application to a
  244. writable filing system, and then double-click on the WebCache icon to
  245. install it.
  246.  
  247. Q13.  What does icon 'x' do?
  248.  
  249. A13.  ArcWeb, ArcWebLcl and ArcWebImg all support interactive help.  Load
  250. the Acorn !Help application and you will be given help about the buttons
  251. under the pointer when in an ArcWeb window.  Note that in the window
  252. displaying the page itself, the help is purely the URL which would be opened
  253. if you were to click SELECT.
  254.  
  255. Q14.  When I follow a link to some URLs, I get a dialogue box saying that
  256. authentication is required.  What does this mean?
  257.  
  258. A14.  To allow information providers to restrict access to certain web
  259. pages, there is an authentication capability in the HTTP protocol.  The
  260. authentication domain is a combination of the host name and a 'realm' (just
  261. a keyword indicating which user/password is required).  If you do not have
  262. a valid user name and password, then you will not be able to access the URL.
  263. If you do, then enter them in the boxes and press RETURN (or click OK).  If
  264. you toggle the authetication window to full size, you will see which server
  265. is asking for authentication and in which domain.  NOTE:  Authentication
  266. checking is performed at the *server* not the client, so you can't get
  267. around it by hacking at ArcWebTCP.  ArcWebTCP will cache the user/password
  268. together with the server and realm and attempt to auto-authenticate you in
  269. future connections to that server.  This cache is destroyed when ArcWebTCP
  270. exits.
  271.  
  272. Q15.  When I follow a link to some URLs, I get a dialogue box saying that a
  273. non-default port is being used in the URL.  What does this mean?
  274.  
  275. Most Internet based protocols such as FTP, HTTP, Finger, SMTP, NNTP etc. are
  276. defined as existing at a particular 'port' on a server which supports the
  277. protocol.  eg. HTTP is usually at port 80, FTP is at port 21.  Sending
  278. control strings of one protocol to a different server port may cause damage
  279. at the local machine (your machine!) or at the server, or it may connect you
  280. to undesirable (and sometimes illegal) services.  To help you recognise
  281. these rogue URLs, you will be asked for confirmation when ArcWebTCP finds
  282. that the default port has been overridden (except for HTTP, as it is
  283. commonly run on port 8001, 8080 as well as 80).  It's not a foregone
  284. conclusion that any non-standard port connection is dangerous or illegal,
  285. but this way you at least have the option of blocking the connection.
  286.  
  287.  
  288. Q16.  When I try to run !ArcWeb, I get a stack backtrace/Directory Full
  289. errors
  290.  
  291. A16.  You must remove your old !WebCache directory before installing the
  292. new !WebCache because the directory hierarchy underneath the !WebCache.Data
  293. directory has changed in order to allow you over a 1000 entries in the cache
  294. instead of limiting it to 75.  If this isn't the problem, then email me the
  295. stack backtrace.  (Tech: you can capture the stack backtrace to a file by
  296. adding " 2>stacktrace " to the end of the last line of !ArcWeb.!Run.  The
  297. stack backtrace will then appear in a file called stacktrace in the current
  298. directory.)
  299.  
  300.  
  301. Q17.  Why do I get a save dialogue box when trying to read some pages, even
  302. when the object is HTML?
  303.  
  304. A17.  If the server did not send, or the fetcher failed to parse, the special
  305. Content-Type header returned by the server (this won't happen with KA9Q), then
  306. ArcWeb does not know what to do with the object.  From version 0.25, there is
  307. an option on the Options menu to attempt to 'execute' unknown objects.  There
  308. is also a fix for an incorrect parse of Content-Type headers in A/TCP 0.21
  309.  
  310.  
  311. Q18.  Sometimes I get 'Too Long' (or similar) error messages whilst the page
  312. is being drawn and then none of the graphics are on the page.  Why?
  313.  
  314. A18.  ArcWebImg uses external programs to convert GIF and JPEG files into
  315. RISC OS sprites.  To do this, it constructs a command line which invokes
  316. the translator and tells it the input and output files.  When RISC OS runs
  317. the command string through its routines, it is possible for an overflow to
  318. occur (ie. the command ends up longer than the maximum permitted command
  319. length).  This is when the OS generates the Too Long error.  To fix it, you
  320. need to move the relevant programs closer to your root directory. 
  321. Specifically, !WebCache, !WebHelper, !ChangeFSI are the programs that are
  322. concerned.  Using ..$Path variables does not seem to help, as the OS is
  323. canonicalising the paths.
  324.  
  325.  
  326. Q19.  What do I do to cure 'unable to lookup host's address' errors?
  327.  
  328. A19.  ArcWebTCP uses Adam Goodfellow's InetDB module to perform DNS
  329. lookups (which means the conversion from machine names to addresses
  330. such as mapping www.demon.co.uk to 193.195.1.1).  Sometimes the module
  331. gets into an inconsistent state and refuses to resolve anything.  To
  332. cure it you should issue two commands from the CLI prompt (press F12
  333. to get a CLI prompt):  "*NSCache_Flush"  "*RmReinit InetDB"
  334. If this fails to cure the problem and you are using a dialup Internet
  335. connection, then check that you are using the SerialBuffer module.
  336.  
  337.  
  338. --
  339. Stewart Brodie
  340. 18 September 1995
  341.