Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: 1.5.4 errors with large channels

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Hide all messages in topic

All messages in topic

Re: 1.5.4 errors with large channels

Reply

Author Arthur Clune <ajc22 at york dot ac dot uk>
Full name Arthur Clune <ajc22 at york dot ac dot uk>
Date 2003-04-10 08:56:15 PDT
Message --On 09/04/03 17:46:08 -0400 Hunter Matthews wrote:

> 1.4 ignored files that rpmlib couldn't open correctly. I propose the
> same treatment for 1.5

That's best for me at least - I use wget to mirror the updates, which
sometimes brings down various bits of cruft into the directory.

Arthur

--
Arthur Clune, Systems Security Advisor, The Computing Service
University of York, UK, YO10 5DD. +44 (0) 1904 433129

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: 1.5.4 errors with large channels

Reply

Author hunterm
Full name Hunter Matthews
Date 2003-04-09 14:46:08 PDT
Message On Tue, 2003-04-08 at 17:28, Jos Vos wrote:
> > What shows up in the Current log file, if anything? I do all my testing
> > on a full distro with updates, so it /should/ work...
>
> OK, thanks, solved, stupid me for not looking in current.log.
>
> But the error is interesting: there was a TRANS.TBL file in the dir,
> as the dir was created as the union of the RH CD set.
>
> This will happen to more people, I think, so what about (a) ignoring
> files that do not appear to have rpm file contents or (b) specify a
> file glob for the dir (default: "*.rpm").

1.4 ignored files that rpmlib couldn't open correctly. I propose the
same treatment for 1.5

(It did print a warning)

--
Hunter Matthews Unix / Network Administrator
Office: BioScience 145/244 Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: 1.5.4 errors with large channels

Reply

Author josvos
Full name Jos Vos
Date 2003-04-08 14:28:27 PDT
Message > What shows up in the Current log file, if anything? I do all my testing
> on a full distro with updates, so it /should/ work...

OK, thanks, solved, stupid me for not looking in current.log.

But the error is interesting: there was a TRANS.TBL file in the dir,
as the dir was created as the union of the RH CD set.

This will happen to more people, I think, so what about (a) ignoring
files that do not appear to have rpm file contents or (b) specify a
file glob for the dir (default: "*.rpm").

--
-- Jos Vos <jos at xos dot nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

Re: 1.5.4 errors with large channels

Reply

Author jwbernin
Full name John Berninger
Date 2003-04-08 14:08:28 PDT
Message What shows up in the Current log file, if anything? I do all my testing
on a full distro with updates, so it /should/ work...

On Tue, 08 Apr 2003, Jos Vos wrote:

> Hi,
>
> When I have a small channel, Current 1.5.4 scans it fine. When the
> directory is larger (e.g., a complete RH distro), I get when doing
> a "cadmin scan_channel":
>
>
> SSL exception (-1, 'Unexpected EOF')
> SSL exception (-1, 'Unexpected EOF')
> Traceback (most recent call last):
> File "/usr/local/sbin/cadmin", line 132, in ?
> main()
> File "/usr/local/sbin/cadmin", line 125, in main
> scan_channels(sys.argv[2:])
> File "/usr/local/sbin/cadmin", line 63, in scan_channels
> result = rpcServer.doCall(ser​ver.cadmin.scanChann​els, chan)
> File "rpcServer.py", line 114, in doCall
> File "/usr/lib/python2.2/​xmlrpclib.py", line 821, in __call__
> return self.__send(self.__name, args)
> File "/usr/lib/python2.2/​site-packages/rhn/rp​clib.py", line 126, in _request
> verbose=self._verbose
> File "/usr/lib/python2.2/​site-packages/rhn/tr​ansports.py", line 153, in request
> return self.parse_response(fd)
> File "/usr/lib/python2.2/​site-packages/rhn/tr​ansports.py", line 172, in parse_response
> p.close()
> File "/usr/lib/python2.2/​xmlrpclib.py", line 393, in close
> self._parser.Parse("", 1) # end of data
> xml.parsers.expat.ExpatError: no element found: line 1, column 0
>
>
> This is fully reproducable. Any suggestions?
>
> Thanks,
>
> --
> -- Jos Vos <jos at xos dot nl>
> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
> -- Amsterdam, The Netherlands | Fax: +31 20 6948204
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
> For additional commands, e-mail: dev-help at current dot tigris dot org

--
John Berninger

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C

Sit vis nobiscum.
--

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

1.5.4 errors with large channels

Reply

Author josvos
Full name Jos Vos
Date 2003-04-08 13:58:19 PDT
Message Hi,

When I have a small channel, Current 1.5.4 scans it fine. When the
directory is larger (e.g., a complete RH distro), I get when doing
a "cadmin scan_channel":


SSL exception (-1, 'Unexpected EOF')
SSL exception (-1, 'Unexpected EOF')
Traceback (most recent call last):
  File "/usr/local/sbin/cadmin", line 132, in ?
    main()
  File "/usr/local/sbin/cadmin", line 125, in main
    scan_channels(sys.argv[2:])
  File "/usr/local/sbin/cadmin", line 63, in scan_channels
    result = rpcServer.doCall(ser​ver.cadmin.scanChann​els, chan)
  File "rpcServer.py", line 114, in doCall
  File "/usr/lib/python2.2/​xmlrpclib.py", line 821, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.2/​site-packages/rhn/rp​clib.py", line 126, in _request
    verbose=self._verbose
  File "/usr/lib/python2.2/​site-packages/rhn/tr​ansports.py", line 153, in request
    return self.parse_response(fd)
  File "/usr/lib/python2.2/​site-packages/rhn/tr​ansports.py", line 172, in parse_response
    p.close()
  File "/usr/lib/python2.2/​xmlrpclib.py", line 393, in close
    self._parser.Parse("", 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 1, column 0


This is fully reproducable. Any suggestions?

Thanks,

--
-- Jos Vos <jos at xos dot nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org
Messages per page: