Tag Archives: output

The uibot database connection is unrecognized error: The object definition error

When defining the database, the connection object is too long, so the object is separated from the definition first, and then database.createdb();

In order to simplify and enhance readability when separating objects, some typesetting and possible errors will be made, as follows:

//The following two cases are possible
dim a={"a":"123","b":"fg"}
dim a={
    "a":"123",
    "b":"fg"}
//One of the following cases is not allowed
dim a={
    "a":"123",
    "b":"fg"
}
//Separating the closing curly brace from the last element does not work.

dvips Error:-no default destination available

# dvips work-summary.dvi

This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)

‘ TeX output 2008.09.16:1816’ -> work-summary-08_09.ps

<tex.pro><texps.pro>. <cmti10.pfb><cmti12.pfb><cmmi10.pfb><cmr7.pfb> lpr: Error – no default destination available.

lpr is about printer or print file

Because I have no printer connected to my PC, so I did below:

#texconfig

Then:

->choose dvips,

->choose Dest,

->press enter (so that dvips destination can be a file, instead of a printer).