Strange editor error - Unable to load HTML stream
lazarus / 9-Editor
----------------------------------------------------------------------
JD · 2011-10-01 15:28
Hi there everyone,
I keep getting a strange annoying error message periodically when I'm
working in the Lazarus editor. I've never seen this error message
before so I don't know what to make of it. The error says
"URL:
Error: TLIHProviders.GetStream: unable to open file
/usr/lib/lazarus/0.9.31//docs/lazdoc.css".
I'm not working with streams for the moment so I don't know where this
error comes from. I can't understand why it is trying to open a CSS
stylesheet either.
Find attached a screen capture of the error.
I'm using Lazarus 0.9.31/FPC 2.4.4 svn 31847 on Linux Mint 11.
Thanks for your assistance.
JD
----------------------------------------------------------------------
Martin_fr · 2011-10-01 16:37
Don't know, why iot is missing (or at least not accessible) on your
PC.
Maybe you have a different install location...
That css file is used for displaying the hint. You can uninstall the
package TurboPowerIproDsgn, in order to get none-html hints. Or just
put a css file in place.
----------------------------------------------------------------------
JD · 2011-10-01 18:10
I took a look at the /usr/lib/lazarus/0.9.31//docs/ directory in Linux
and compared its contents with the equivalent directory in my Windows
XP Lazarus installation and I was surprised to see that while the
Linux installation was missing the files, the Windows installation had
the files!
So I just copied the files from the Windows installation to the Linux
installation.
For now it looks OK.
----------------------------------------------------------------------
Martin_fr · 2011-10-01 18:39
Which installer did you use?
The snapshots are sometimes getting broken / partly uploaded (Or at
least, IIRC someone once said so). So if you used a snapshot, maybe it
was incomplete?
----------------------------------------------------------------------
JD · 2011-10-01 18:56
Quote from: Martin_fr on October 01, 2011, 08:39:28 pmWhich installer
did you use?
The snapshots are sometimes getting broken / partly uploaded (Or at
least, IIRC someone once said so). So if you used a snapshot, maybe it
was incomplete?
I just downloded the deb files and installed them using the terminal.
It was certainly broken and incomplete. I talked about it here http://
lazarus.freepascal.org/index.php/topic,14829.msg78928/topicseen.html#n
ew
----------------------------------------------------------------------
Martin_fr · 2011-10-01 19:38
The revision you mentioned is a while back. I doubt anyone will
remember or be able to check, if they were ok on that day.
the snapshots are entirely automated. A script runs every night,,
builds and uploads them.
There is no person, who checks that it completed.
Since you use 0.931 => the easiest for you is to switch to direct SVN.
As long as you have an fpc install.
If you dislike using the Makefiles to build lazarus, use your current
lazarus, point it to the new sources, and rebuild.
If you have or will have more than one Lazarus, look for --primary-
config-path
----------------------------------------------------------------------
Awesome Programmer · 2015-12-18 20:04
I got the same error with the latest and the greatest of Lazarus 1.2.4
and FPC 2.6.2
I just went online searching for lazdoc.css. Then, downloaded it and
placed a copy of it in following folder /usr/lib/lazarus/1.2.4/doc/
And the error box went away...
Here is the content of the lazdoc.css. Just copy it and paste into a
empty file and name it as lazdoc.css.
Code: Pascal [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i body {
background: #ffffc0} body, p, th, td, caption, h1, h2, h3, ul, ol, dl
{ color: black; font-family: sans-serif} div { margin: 0 0 0 0px;
padding: 0 0 0 0;} div.header { margin-bottom: 0px;} div.title {
font-weight: bold; font-size: 14px; color: #005A9C;} div.focushint
{ text-align: right; font-size: 10px; color: #005A9C;} tt,
span.keyword, pre { font-family: Courier, monospace} body, p, th, td,
caption, ul, ol, dl, tt, span.kw, pre { font-size: 14px} A:link {
color: blue} A:visited { color: darkblue} A:active { color: red} A
{ text-decoration: none} A:hover { text-decoration: underline} h1,
h2, td.h2 { color: #005A9C} /* Especially for Netscape on Linux:
*/h3, td.h3 { font-size: 12pt} /* identifier in source fragments
*/span.identifier { } /* symbols in source fragments */span.symbol {
color: darkred} /* keywords in source fragments */span.keyword {
font-weight: bold} /* comments in source fragments */span.comment {
color: darkcyan; font-style: italic} /* directives in source
fragments */span.directive { color: darkyellow; font-style:
italic} /* numbers in source fragments */span.number { color:
darkmagenta} /* characters (#...) in source fragments */span.character
{ color: darkcyan} /* strings in source fragments */span.string {
color: blue} /* assembler passages in source fragments
*/span.assembler { color: green} td.pre { white-space: pre} p.cmt
{ color: gray} span.warning { color: red; font-weight:
bold} span.file { color: darkgreen} table.remark { background-color:
#ffffc0;} table.bar { background-color: #a0c0ff;} span.bartitle {
font-weight: bold; font-style: italic; color: darkblue} /*
definition list */dl { border: 3px double #ccc; padding: 0.5em;} /*
definition list: term */dt { float: left; clear: left; width: auto;
/* normally browsers default width of largest item */ padding-right:
20px; font-weight: bold; color: darkgreen;} /* definition list:
description */dd { margin: 0 0 0 110px; padding: 0 0 0.5em 0;}
----------------------------------------------------------------------
Martin_fr · 2015-12-18 21:14
Quote from: reltek on December 18, 2015, 09:04:58 pmI got the same
error with the latest and the greatest of Lazarus 1.2.4 and FPC 2.6.2
The latest (for testing) is 1.6RC1 / Otherwise 1.4.4
The downloads are on http://sourceforge.net/projects/lazarus/files/
If your linux distro has its own package system then ignore this. The
packages distributed by individual linux distros are made by the
maintainers of those distros, and the Lazarus team has no influence on
them.
If the error is present in 1.6RC1 from above link, then it can be
fixed (in that case report on the bugtracker, with clear steps how to
reproduce / maybe it is related to the hint in the source editor).
If 1.6RC1 is not affected then wait for your distro to ship 1.6. If
the problem is only present in your distro but not in the official
installer of the same version, then report a bug with your linux
distro