Author Topic: Problem installing eCups 2.1  (Read 26513 times)

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #15 on: March 25, 2016, 08:10:37 pm »
Hi Adam

I often see those errors with my first attempt at printing for the day - sometimes it takes 3 attempts before the job gets to the printer.

However, when booted from a different boot volume on the same system and using the existing working cups installation I do not seem to be able to get past these errors at all. My best guess so far is that something in cups needs a DLL file that is installed on the boot drive - possibly in \ecs\dll or \os2\dll - and that (or those) DLL file(s) installed on the non-working system are not at the correct level.  I have not discovered which DLLs may be involved yet...


Regards

Pete

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #16 on: March 25, 2016, 10:28:26 pm »
I probably shouldn't have remmed out the Listen /cups/var/run/cups/cups.sock directive but that was giving me errors before because the files are not there, just the certs folder. Maybe that is what this whole mess is about.- the file doesn't exist.

This warning is 100% harmless...

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #17 on: March 25, 2016, 11:07:50 pm »
Okay Paul, well I guess that torpedoes that theory out of the water. :) Well I guess I am stumped as to what is causing the Loadfile temp messages.

adam

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #18 on: March 26, 2016, 12:02:35 am »
Hi Adam,

Okay Paul, well I guess that torpedoes that theory out of the water. :) Well I guess I am stumped as to what is causing the Loadfile temp messages.

Can you change LogLevel to debug2 and generate a log of an attempt to print a testprint, and either attach the log here or email it to me?

Cheers,

Paul

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #19 on: March 26, 2016, 07:13:55 pm »
H Paul, the error log is apparently too large ti attach and I do not have an email for you so if you could give me email than I would have no problem sending it to you. You did say set it to degub2 correct? After I did that and restarted the cups server it spitted out the last 3 test pages I had sent before I changed the log level. Weird. It's great work you are doing with this. Maybe it just doesn't like me. :).

adam

Pete2

  • Newbie
  • *
  • Posts: 28
  • Karma: +4/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #20 on: March 29, 2016, 09:54:54 pm »
Hello! I'm also having problems installing eCUPS 2.1 . I installed the base, HP-LIP, ecups_HP driver and wizard packages, and replaced cups20.dll in ecs\dll with the new version. I used the wizard to try to create a printer (I like the fact that the HP deskjet 2510 is now listed) but it failed. Relevant part of the log is attached - I think the problem occurs where it says 'broken pipe'. I'm not sure what to try to fix this.

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #21 on: March 30, 2016, 04:28:25 am »
Hi Pete2

No, the Boken pipe message is not the problem - looks like it closed successfully on the next line.

Point your browser to http://localhost:631/admin and check the "Save debugging information for troubleshooting" checkbox to get a much more comprehensive error log which should help identify the problem.

While you are using the interface you could also create the cups printer and print a test page. That would help trackdown if the bug is in the cups wizard or elsewhere.


Regards

Pete



Pete2

  • Newbie
  • *
  • Posts: 28
  • Karma: +4/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #22 on: April 01, 2016, 12:16:07 am »
Hi Pete. Since my last post I've deleted all and re-installed, and this time the wizard was able to create a printer object with no problems. So that problem was probably something left around from 2.03, and it just needed a thorough enough uninstall. Now I can't print the test page - I'm getting  'not a pdf file' or 'unrecognized file type' errors. I've set log level to debug2 and  part of the log file is attached.

Thanks
Pete

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #23 on: April 01, 2016, 12:27:25 am »
Yep, same type of stuff I was getting until I switched the debug level to debug2. After that it did spit out some test pages I attempted to print earlier but it refused. It has never allowed me to print from an app despite the cups wizard now being able to create a printer object. Maybe I will take another look at the eCups website and see if there is something I overlooked. I still think it is strange that I had to burn all the wpi packages on a cd before it would install. Not doing that it kept complaining about drive d not being ready.

adam

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #24 on: April 01, 2016, 07:24:12 pm »
Hi Pete2

I see that failure to print at least once a day - usually the first print job of the day. Cancelling the job and then starting the print job again usually works.


Regards

Pete

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #25 on: April 01, 2016, 10:55:33 pm »
Hmm, it never has for me. It only started printing out some attempts after I switched the logging level to debug2. I have not tried since a couple of days ago.

adam

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #26 on: April 07, 2016, 02:01:00 am »
Hmm, this is interesting. I just now noticed that clicking Print in applications cause the application to quit. It apparently is system wide to. Apache Open Office apps just quit. Test Editor spits out a dialog box about an exception error EGPFault. I wonder if there is an error log that recorded the problem. Let me check... I will see if any other apps with printing capability go "POOF!" when I click print.

adam

...Curious- the EPM editor does not crash. It seems like it is the only one that does not do a houdini when I click Print. It doesn't print anything but it doesn't go "POOF!" either. Weird.
« Last Edit: April 07, 2016, 03:37:47 am by adam »

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 387
  • Karma: +5/-0
    • View Profile
Re: Problem installing eCups 2.1
« Reply #27 on: April 07, 2016, 05:44:35 am »
Hmm, this is interesting. I just now noticed that clicking Print in applications cause the application to quit. It apparently is system wide to. Apache Open Office apps just quit. Test Editor spits out a dialog box about an exception error EGPFault. I wonder if there is an error log that recorded the problem. Let me check... I will see if any other apps with printing capability go "POOF!" when I click print.

Look for a POPUPLOG.OS2 entry. 

Are you using an imported PPD driver?  Also, which printer DRV: ECUPS.DRV, ECUPS-HP.DRV, PSCRIPT.DRV or PSPRINT.DRV?

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #28 on: April 07, 2016, 04:39:17 pm »
I have already checked the POPUPLOG.OS2 file. The only entry in there relating to the ECUPS.DRV driver is this:

03-26-2016  18:54:05  SYS3175  PID 0124  TID 0003  Slot 0094
C:\OS2\APPS\OS2CHESS.EXE
c0000005
1f157393
P1=00000001  P2=00000007  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000000  EBX=00c87818  ECX=00c87a64  EDX=00000007
ESI=1b2b6e84  EDI=00c87a66 
DS=0053  DSACC=f0f3  DSLIM=ffffffff 
ES=0053  ESACC=f0f3  ESLIM=ffffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1f157393  CSACC=f0df  CSLIM=ffffffff
SS:ESP=0053:00c87438  SSACC=f0f3  SSLIM=ffffffff
EBP=00c876ac  FLG=00012202

ECUPS.DRV 0001:00017393 

I did play some os/2 chess on that day. I don't see why that would have anything to do with the apps not printing though.

eCups printer driver is designated as ECUPS.0. Output port is designated as CUPS2 Localhost:Epson_WordForce_545. Printer is wifi and not connected via USB. The printer object was created by the eCups printer wizard.

adam

arr531

  • Guest
Re: Problem installing eCups 2.1
« Reply #29 on: April 07, 2016, 06:46:59 pm »
I tied it at a command line with lpr. I then checked the Cups admin page and it is still doing the Loadfile temp and file not a PDF file issue. It always seems to be that. I think I will just uninstall it and say the heck with it. Besides, it only let's me install the packages if they are on a cd - not from the virtual machines hard drive. It is the only warpin packages I have found that display this behavior.  It's not worth it.It is not necessary I print from the os/2 virtual machine. I can print just fine using the version of Cups on the Linux host machine. Thanks for the help anyways guys. I do appreciate it.

adam