pypi-mirror team mailing list archive
-
pypi-mirror team
-
Mailing list archive
-
Message #00083
Re: Trouble mirroring MySQL-python
Meant to Repy-All here. Thanks again...
--
Wes Turner
On Mon, Mar 9, 2009 at 2:53 PM, Wes Turner <wes.turner@xxxxxxxxx> wrote:
> My apologies,
>
> This is an issue with BeautifulSoup>3.07 [1]
>
> BS 3.07a has no trouble with the following code:
>
>> from urllib import urlopen
>> from BeautifulSoup import BeautifulSoup as BS
>> b = BS(urlopen("http://sourceforge.net/projects/mysql-python"))
>>
>
> Whereas BS>3.07 returns the following error for the same script:
>
> HTMLParseError: bad end tag: u"</sc'+'ript>", at line 690, column 38
>>
>
> [1]
> http://groups.google.com/group/beautifulsoup/browse_thread/thread/2f7c284eeecd3068/d5a7540620538d14?#d5a7540620538d14
>
> [ ] http://www.crummy.com/software/BeautifulSoup/download/3.x/
>
>
> Regards
>
> --
> Wes Turner
>
>
>
> On Mon, Mar 9, 2009 at 2:32 PM, T. Kim Nguyen <nguyen@xxxxxxxxx> wrote:
>
>> I may be missing the point, but the mirror I run seems to have
>> MySQL-python as well:
>>
>> http://pypi.it.uwosh.edu/MySQL-python/
>>
>> Generated by z3c.pypimirror/1.0.11; 6003 packages mirrored
>>>
>>
>> Kim
>>
>>
>> On 9 Mar 2009, at 12:24, Wes Turner wrote:
>>
>> It's highly likely that this is a PEBKAC issue, but here's my question:
>>>
>>> $ egrep -v '#' ./pypimirror.cfg
>>> [DEFAULT]
>>> mirror_file_path = [valid]
>>> base_url = [valid]
>>> lock_file_name = [valid]
>>>
>>> filename_matches =
>>> *.zip
>>> *.tgz
>>> *.egg
>>> *.tar.gz
>>> *.tar.bz2
>>>
>>> package_matches =
>>> mysql*
>>> zope.*
>>> plone.*
>>>
>>> cleanup = True
>>> create_indexes = True
>>> verbose = True
>>> external_links = True
>>> follow_external_index_pages = True
>>> log_filename = [valid]
>>>
>>> $ ./bin/pypimirror -v -I ./pypimirror.cfg
>>> $ ./bin/pypimirror -v -U ./pypimirror.cfg
>>>
>>> Which works admirably for plone and zope packages, but it doesn't mirror
>>> MySQL-python.
>>>
>>> $ grep -i 'mysql' pypimirror.log
>>> --nada--
>>>
>>> Of course I could manually dl and place the package, but it would be
>>> great if pypimirror would download and index the file with the rest of the
>>> mirror.
>>>
>>> The download URL listed on the MySQL-python pypi page [1] is valid, and
>>> ends in .tar.gz [2]
>>>
>>> I have tried multiple permutations of MySQL, MYSQL, mysql, MySQL*,
>>> MySQL-*, mysql-*, etc in the package_matches section.
>>>
>>>
>>> Is this a pypimirror issue or a MySQL-python/pypi issue?
>>>
>>>
>>> [1] http://pypi.python.org/pypi/MySQL-python/1.2.2
>>> [2]
>>> http://internap.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz
>>>
>>> Thanks in advance,
>>> Wes Turner
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~pypi-mirror<https://launchpad.net/%7Epypi-mirror>
>>> Post to : pypi-mirror@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~pypi-mirror<https://launchpad.net/%7Epypi-mirror>
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>
>>
>
References