Paul | 3 Apr 2004 21:24

- Print Spitting Paper

Hello, I finaly got my HP 1200 working with the 2.6 kernel. Well, mostly
working. The scanning works fine, and when I try to print something (via
cups) something happens. The wrong something, but better than the last
time I tried 2.6 ;)

Currently as soon as I try to print, the printer starts printing blank
pages, forever. Even if what I tried to print was only a single page, it
will feed sheets through until it runs out of paper in the tray or I
turn it off. I've no idea where to start looking for the problem. 
'ptal-print </dev/null' works. CUPS is obviously communicating with
hpoj. hpoj was compiled from source, as was cups... 

If anyone can shed some light on my problem it would be apreciated.

--

-- 
De mortuis nihil nisi bonum.

Choi,Stephanie [Ontario] | 5 Apr 2004 22:53
Picon
Favicon

- Problem using DataManager on UnixODBC 2.2.8

Hi all,

I have a problem when using unixODBC 2.2.8 on Redhat AS 3.0.  I have already install the easysoft odbc driver and I have Oracle client 9i on my server too.  And I have already test the database connection.  But when I tried to use DataManager to log in and view all tables, I got the appliaction stop reponsing.  It doesn't produce any error and it just doesn't give me any response.

Does anyone have any idea on this problem?

Any help would be greatly appreciated.

Stephanie

Nick Gorham | 5 Apr 2004 23:23
Favicon

Re: - Problem using DataManager on UnixODBC 2.2.8

Choi,Stephanie [Ontario] wrote:
> Hi all,
> 
> I have a problem when using unixODBC 2.2.8 on Redhat AS 3.0.  I have 
> already install the easysoft odbc driver and I have Oracle client 9i on 
> my server too.  And I have already test the database connection.  But 
> when I tried to use DataManager to log in and view all tables, I got the 
> appliaction stop reponsing.  It doesn't produce any error and it just 
> doesn't give me any response.
> 
> Does anyone have any idea on this problem?
> 
> Any help would be greatly appreciated.
> 
> Stephanie
> 

Hi,

First thing to do, turn on ODBC tracing and see where its stopping. In 
odbcinst.ini

[ODBC]
Trace = Yes
TraceFile = /tmp/sql.log

--

-- 
Nick Gorham
Easysoft Limited

Choi,Stephanie [Ontario] | 6 Apr 2004 20:44
Picon
Favicon

RE: - Problem using DataManager on UnixODBC 2.2.8

Hey thanks Nick ... I know what I problem is right now ... Thanks for
you help :)

-----Original Message-----
From: Nick Gorham [mailto:nick <at> easysoft.com] 
Sent: Monday, April 05, 2004 5:23 PM
To: unixodbc-dev <at> unixodbc.org
Subject: Re: [unixODBC-DEV] - Problem using DataManager on UnixODBC
2.2.8

Choi,Stephanie [Ontario] wrote:
> Hi all,
> 
> I have a problem when using unixODBC 2.2.8 on Redhat AS 3.0.  I have
> already install the easysoft odbc driver and I have Oracle client 9i
on 
> my server too.  And I have already test the database connection.  But 
> when I tried to use DataManager to log in and view all tables, I got
the 
> appliaction stop reponsing.  It doesn't produce any error and it just 
> doesn't give me any response.
> 
> Does anyone have any idea on this problem?
> 
> Any help would be greatly appreciated.
> 
> Stephanie
> 

Hi,

First thing to do, turn on ODBC tracing and see where its stopping. In 
odbcinst.ini

[ODBC]
Trace = Yes
TraceFile = /tmp/sql.log

--

-- 
Nick Gorham
Easysoft Limited

Daly, Fergal | 8 Apr 2004 15:49

- compile problem with gODBCConfig

Hi,
    with 2.2.8, on Fedora Core 1, I tried to compile the GTK thingy but make was dieing. While in the gODBCConfig directory I did
 
ln -s ../depcomp .
ln -s ../libtool .
 
and then make worked. Not sure if this is "good" but it seems to do the trick,
 
F
 
Alessandro Machetti | 8 Apr 2004 18:45
Picon

- iSeriesAccess ODBC driver for linux

Is there anybody in there who know why when i send an SQL statement like this...

Select * from table where field = 'value'

My as400 receive THIS statement ?

Select * from table where field = \'value\'

Who is adding "\" to the char " ' "???

        thanks

Nick Gorham | 8 Apr 2004 19:22
Favicon

Re: - iSeriesAccess ODBC driver for linux

Alessandro Machetti wrote:
> Is there anybody in there who know why when i send an SQL statement like this...
> 
> Select * from table where field = 'value'
> 
> My as400 receive THIS statement ?
> 
> Select * from table where field = \'value\'
> 
> Who is adding "\" to the char " ' "???
> 
> 	thanks
> 

Something is escaping it, what are you using to send the query.

if you do it using isql it should get down as expected.

--

-- 
Nick Gorham

Easysoft Limited
web: www.easysoft.com
tel: +44 (0)1937 860000
fax: +44 (0)1937 860001

Alessandro Machetti | 8 Apr 2004 19:35
Picon

R: - iSeriesAccess ODBC driver for linux

This happens from within apache/php.
So it is surely PHP. It is, perhaps, because of Unicode characters?
I wonder if i may find something about in the php.ini.
I'll check!
Thanks for reply!

-----Messaggio originale-----
Da: owner-unixodbc-dev <at> easysoft.com [mailto:owner-unixodbc-dev <at> easysoft.com] Per conto di Nick Gorham
Inviato: giovedì 8 aprile 2004 19.23
A: unixodbc-dev <at> unixodbc.org
Oggetto: Re: [unixODBC-DEV] - iSeriesAccess ODBC driver for linux

Alessandro Machetti wrote:
> Is there anybody in there who know why when i send an SQL statement 
> like this...
> 
> Select * from table where field = 'value'
> 
> My as400 receive THIS statement ?
> 
> Select * from table where field = \'value\'
> 
> Who is adding "\" to the char " ' "???
> 
> 	thanks
> 

Something is escaping it, what are you using to send the query.

if you do it using isql it should get down as expected.

--

-- 
Nick Gorham

Easysoft Limited
web: www.easysoft.com
tel: +44 (0)1937 860000
fax: +44 (0)1937 860001

Stefan Radman | 8 Apr 2004 20:08
Favicon

- readline check

Nick,

It looks like there is a typo in configure.in

--- snip ---
have_readline="no"
AC_CHECK_LIB_NOC(readlines, readline,
[
    READLINE=-lreadline
    have_readline="yes"
],
--- snip ---

Shouldn't that read 

	AC_CHECK_LIB_NOC(readline, readline,

instead ???

Checking for libreadline"s" and adding it as -lreadline doesn't make
sense to me...

Stefan

Stefan Radman | 8 Apr 2004 20:20
Favicon

RE: - compile problem with gODBCConfig

That's right. 
On RedHat 6.2 the "ln -s ../depcomp ." was sufficient for me.

The "trick" seems to be pretty universal ;-)

Stefan

-----Original Message-----
From: Daly, Fergal [mailto:fergal.daly <at> accpac.com] 
Sent: Thursday, 08 April, 2004 15:50
To: 'unixodbc-dev <at> unixodbc.org'
Subject: [unixODBC-DEV] - compile problem with gODBCConfig

Hi,
    with 2.2.8, on Fedora Core 1, I tried to compile the GTK thingy but
make was dieing. While in the gODBCConfig directory I did

ln -s ../depcomp . 
ln -s ../libtool .

and then make worked. Not sure if this is "good" but it seems to do the
trick,

F


Gmane