Code Monkey home page Code Monkey logo

legacy's People

Contributors

aclark4life avatar alex avatar berkerpeksag avatar carreau avatar chadcatlett avatar di avatar dstufft avatar ewdurbin avatar hickford avatar joernhees avatar llimllib avatar loewis avatar mpacer avatar msabramo avatar ncoghlan avatar njsmith avatar pradyunsg avatar puiterwijk avatar r1chardj0n3s avatar stephendonner avatar techtonik avatar thommahoney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

legacy's Issues

testpypi and strange interaction with pip

Originally reported by: Anonymous


pypa/pip#913 describes a problem I had installing a package with pip.

https://testpypi.python.org/pypi/pipbugdemo01 is the sample package that demonstrates the bug. The README for the package contains details.

There is some indication that the bug may only exist when installing from testpypi. testpypi appears to be running a different version of the software than the production pypi, so I wonder: if the bug is in testpypi, might it eventually be installed on pypi? In case my conjecture is correct, I declared this bug "major".


unmatch MD5 for colorama-0.2.5.tar.gz

Originally reported by: gu_tigergwh (Bitbucket: gu_tigergwh, GitHub: Unknown)


Can someone help to check this package if its MD5 is ok?

Using download cache from /tmp/.pip_download_cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fc%2Fcolorama%2Fcolorama-0.2.5.tar.gz
Hash of the package https://pypi.python.org/packages/source/c/colorama/colorama-0.2.5.tar.gz#md5=c76f67ead9dc7c83700c57695ebb741e (from https://pypi.python.org/simple/colorama/) (<md5 HASH object @ 0x7fa05c28>) doesn't match the expected hash c76f67ead9dc7c83700c57695ebb741e!
Bad md5 hash for package https://pypi.python.org/packages/source/c/colorama/colorama-0.2.5.tar.gz#md5=c76f67ead9dc7c83700c57695ebb741e (from https://pypi.python.org/simple/colorama/)
Storing complete log in /home/ewenhgu/.pip/pip.log
Command "/cygdrive/c/users/ewenhgu/git/horizon_ericsson/tools/with_venv.sh pip install --upgrade -r /cygdrive/c/users/ewenhgu/git/horizon_ericsson/tools/test-requires" failed.
None


easy_install HtmlCssInclude - Not working in windows

Originally reported by: Anonymous


I installed Python 2.7 and easy_install-2.7.exe on my Windows 2003 server, then set %PATH% to C:\Python27;C:\Python27\Scripts;. Also installed lxml-2.2.8.win32-py2.7.exe Then I tried to install a python package with easy_install, but easy_install failed. The failure follows:


C:>easy_install HtmlCssInclude
Searching for HtmlCssInclude
Reading http://pypi.python.org/simple/HtmlCssInclude/
Best match: HtmlCssInclude 0.1.2
Downloading http://pypi.python.org/packages/source/H/HtmlCssInclude/HtmlCssInclu
de-0.1.2.tar.gz#md5=0b4438bf62ae66842a514dcff67c0cd7
Processing HtmlCssInclude-0.1.2.tar.gz
Running HtmlCssInclude-0.1.2\setup.py -q bdist_egg --dist-dir c:\docume~1\admini
1\locals1\temp\1\easy_install-qpossf\HtmlCssInclude-0.1.2\egg-dist-tmp-haku7q
C:\Python27\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option:
'auther'
warnings.warn(msg)
warning: no files found matching 'testdata'
error: Setup script exited with error: can't copy 'sample.css': doesn't exist or
not a regular file.


I think this package contains an error argument in setup.py that named 'auther' instead of 'author'


Cannot set installed dir for python2.7

Originally reported by: Anonymous


Downloaded and ran installer on Win7. Error reported it could not find python2.7 in the registry. This could be my fault although I searched the registry and can find it myself. The problem is the installer does not allow me to manually override where the installed directory is for my python2.7


LICENSE file missing Problem while installing

Originally reported by: Anonymous


I am depolying formhub on my local.....
Below is the error i am getting

........................................................................................................................................
Downloading/unpacking elaphe (from -r requirements.pip (line 35))
Downloading elaphe-0.5.5.tar.gz (67Kb): 67Kb downloaded
Running setup.py egg_info for package elaphe
Traceback (most recent call last):
File "", line 14, in
File "/home/shashank/virtual_environments/formhub/build/elaphe/setup.py", line 18, in
open(pathjoin(dirname(abspath(file)), 'LICENSE')).read(),
IOError: [Errno 2] No such file or directory: '/home/shashank/virtual_environments/formhub/build/elaphe/LICENSE'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 14, in

File "/home/shashank/virtual_environments/formhub/build/elaphe/setup.py", line 18, in

open(pathjoin(dirname(abspath(__file__)), 'LICENSE')).read(),

IOError: [Errno 2] No such file or directory: '/home/shashank/virtual_environments/formhub/build/elaphe/LICENSE'

......................................................................................................................................

please help


issue with removing a version from pypi

Originally reported by: Guy Rozendorn (Bitbucket: guyroz, GitHub: Unknown)


When a package contains multiple versions and the last one is removed by the owner, the older versions of the package are still installable and visible from the '/simple' interface but the package itself disappears from the API and from the '/pypi' interface, returning "Not Found" in both.


jellyfishmodule.c build error

Originally reported by: Anonymous


I was on the windows amd64 and using Microsoft Visual Studio 9.0. When I was trying to build the jellyfishmodule.c this error appeared:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcjellyfishmodule.
c /Fobuild\temp.win32-2.7\Release\jellyfishmodule.obj

jellyfishmodule.c

jellyfishmodule.c(28) : error C2054: expected '(' to follow 'inline'

jellyfishmodule.c(28) : error C2085: 'normalize' : not in formal parameter list

jellyfishmodule.c(28) : error C2143: syntax error : missing ';' before '{'

jellyfishmodule.c(72) : warning C4013: 'isnan' undefined; assuming extern return
ing int

jellyfishmodule.c(164) : warning C4013: 'normalize' undefined; assuming extern r
eturning int

jellyfishmodule.c(164) : warning C4047: '=' : 'PyObject *' differs in levels of
indirection from 'int'

jellyfishmodule.c(195) : warning C4047: '=' : 'PyObject *' differs in levels of
indirection from 'int'

jellyfishmodule.c(319) : warning C4113: 'PyObject *(__cdecl *)(PyObject *,PyObje
ct *,PyObject *)' differs in parameter lists from 'PyCFunction'

jellyfishmodule.c(323) : warning C4113: 'PyObject *(__cdecl *)(PyObject *,PyObje
ct *,PyObject *)' differs in parameter lists from 'PyCFunction'

jellyfishmodule.c(327) : warning C4113: 'PyObject *(__cdecl *)(PyObject *,PyObje
ct *,PyObject *)' differs in parameter lists from 'PyCFunction'

error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.ex
e"' failed with exit status 2


Command C:\Python27\python.exe -c "import setuptools;file='c:\users\interv
1\appdata\local\temp\pip-build-interview\jellyfish\setup.py';exec(compile
(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --reco
rd c:\users\interv
1\appdata\local\temp\pip-ixmivd-record\install-record.txt --s
ingle-version-externally-managed failed with error code 1 in c:\users\interv~1\a
ppdata\local\temp\pip-build-interview\jellyfish
Storing complete log in c:/Users/interview\pip\pip.log


Contact a package owner?

Originally reported by: sienkiew (Bitbucket: sienkiew, GitHub: Unknown)


There are various use cases in pypi where one would like to contact the owner of a package. In my case, someone had registered the name of my software (including correctly listing the authors), but not actually uploaded anything.

I would have tried to contact the owner of that record and ask to have it transferred so that I could upload a current version of that software, but I was unable to find any way to contact a user when all I know about them is the pypi user name listed in the record.

The bug I am reporting is one of these, but I'm not sure which:

  • There is no way to contact the owner of a pypi record.
  • There is a way to contact the owner, but I can't find it through the pypi user interface.

Insert or update on table "journals" violates foreign key constraint

Originally reported by: Mikołaj Siedlarek (Bitbucket: msiedlarek, GitHub: msiedlarek)


Trying to delete my old account, after confirmation, I receive the following error message:

Error...

There's been a problem with your request

: insert or update on table "journals" violates foreign key constraint "journals_submitted_by_fkey" DETAIL: Key (submitted_by)=(deleted user) is not present in table "users".

Removing old releases: 'list' object has no attribute 'encode'

Originally reported by: Anonymous


I have selected all the old releases, and I want to remove them - it seems silly to keep them around.

You are about to remove releases X, Y, Z, A, B, C.
This action cannot be undone!
Consider that removing this file may break people's system builds.
Are you sure?

clicks yes

Error...
There's been a problem with your request
: 'list' object has no attribute 'encode'

This works well enough if I do these one by one.


This is a scam, right?

Originally reported by: smontanaro (Bitbucket: smontanaro, GitHub: smontanaro)


I got this email this evening:


Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 31 by [email protected]: Host lockfile on PyPi
http://code.google.com/p/pylockfile/issues/detail?id=31

Currently lockfile is hosted off of PyPi, this presents security and performance challenges. If you could upload the releases to PyPi and then follow the instructions at pypi-externals.caremad.io/help/what/ it'd be great!

Is there a problem hosting lockfile at Google Code?


Upload failed (403): You are not allowed to edit 'scons' package information

Originally reported by: William Deegan (Bitbucket: bdbaddog, GitHub: bdbaddog)


python setup.py --verbose sdist upload --show-response
yields
...
Creating tar archive
removing 'scons-2.3.0' (and everything under it)
running upload
Using PyPI login from /Users/bdbaddog/.pypirc
Submitting dist/scons-2.3.0.tar.gz to http://pypi.python.org/pypi
Upload failed (403): You are not allowed to edit 'scons' package information

I was added as an "Owner" to the SCons project on Pypi about 5 days ago.
When I login I can see that I'm an owner and able to do administrative tasks, but the upload fails.
Am I doing something wrong? Do I need additional privileges?
My pypi username is bdbaddog


pySerial on Raspberry Pi with USB/tty/RF device

Originally reported by: Roger Garrett (Bitbucket: RogerInHawaii, GitHub: RogerInHawaii)


I have a USB/tty/RF device that connects to a USB port and allows the computer to transmit and receive serial data over an RF link. The one I have is similar to one sold by elechouse. http://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=316

I have used this successfully with my PCs, being able to send and receive data between my various computers, using programs that I wrote in C# and using microsoft's serial class.

I am now trying to use it with my Raspberry Pi. I've installed python (version 2.x) pySerial (also version 2.x) and written some python programs for it. I can indeed open a serial connection to the device. And when I do a serial.write() it returns a number indicating that it has indeed sent the correct number of bytes out to the "serial port" on the USB device, and presumably out into the RF antenna. But I am never able to successfully READ any bytes. It never receives anything. It never shows anything in the input buffer and reads from the device show nothing received.

I've tried a number of different configurations and nothing works when these python programs are running on my Raspberry Pi.

I CAN access my USB/tty/RF devices using my C# programs running on my PCs and it all works fine there.

I installed 2.x python and 2.x pySerial on my PC and run my python programs there and they do NOT work, just like on the Raspberry Pi.

My conclusion is that there is something wrong with pySerial. It's doing SOMETHING different than Microsoft's serial class, but I can't figure out what.

Does anyone have any experience with this or can offer some suggestions on getting it to work?

Mahalo (that's Hawaiian for Thank You)

  • RogerInHawaii

"pip install easygui" fails

Originally reported by: unsolvable (Bitbucket: unsolvable, GitHub: Unknown)


pip install easygui
Downloading/unpacking easygui
HTTP error 404 while getting http://easygui.sourceforge.net/download/version0.95/easygui_v0.95.tar.gz#egg=easygui-0.95 (from https://pypi.python.org/simple/easygui/)
Could not install requirement easygui because of error HTTP Error 404: Not Found
Could not install requirement easygui because of HTTP error HTTP Error 404: Not Found for URL http://easygui.sourceforge.net/download/version0.95/easygui_v0.95.tar.gz#egg=easygui-0.95 (from https://pypi.python.org/simple/easygui/)

There's something wrong here. The latest version according to PyPi is 0.96, not 0.95, and the URL that pip goes to is wrong.


Can't add #egg=package-dev URL for package in pypi-explicit mode

Originally reported by: Stein Magnus Jodal (Bitbucket: jodal, GitHub: jodal)


If I add a new package to PyPI, it gets the pypi-explicit mode by default now. Thus, no URLs are extracted from the long_description to the simple index, including any #egg=package-dev URLs.

The obvious way to add a #egg=package-dev URL for my package now is to use the "Add a New URL" form on the package's Urls page on PyPI. Because that form requires a #hashtype=hashvalue suffix, that doesn't work.

Thus, the current workaround is to:

  1. Register new package
  2. Switch away from pypi-explicit
  3. Upload a version of the package with a long_description with the wanted URL
  4. Switch back to pypi-explicit
  5. Remove any URLs from the "Additional File URLs" except the #egg=package-dev URL

auth cache issue?

Originally reported by: alex koval (Bitbucket: avkoval, GitHub: avkoval)


I have logged in, tried to 'Claim OpenID', but then system said 'Not Logged In'.
That is strange because I've been doing this from my "user profile".
Al through the problem cleared itself after a few page refreshes it may be critical. For a reference I put the screenshot from sute where you can see that I am at profile page with Username and SSH key displayed, but banner at top/right says "Not Logged In".


pip install package==version inefficiently crawling all urls

Originally reported by: Damien Nozay (Bitbucket: dnozay, GitHub: dnozay)


Attached two files:

  • download.bad.txt where I'm trying to retrieve a non-existing package from pypi.
  • download.good-but-bad.txt where I'm trying to retrieve an existing package but things are very sluggish from my network.

First things to pay attention to:

#!text
  Will skip URL http://pypi.python.org/simple/django/1.6.777 when looking for download links for django==1.6.777

This means the package maintainer did not provide a subdirectory for that specific version with an associated index.html. Maybe it is a problem in general where no good practices are documented (?). This is the part I would like to see addressed. If all packages had a more limited index.html for specific versions, then crawling would be much faster.

http://pypi.python.org/simple/django/1.6.777 -> http://pypi.python.org/simple/django/1.6.777/index.html ->
http://pypi.python.org/simple/django/1.6.777/Django-1.6.777.tar.gz

Because network is so slow for me, I am using collective.eggproxy and that alleviates some of the pain, but it has its own problems too.

#!text
  Ignoring link http://b.pypi.python.org/packages/source/D/Django/Django-1.2.6.tar.gz#md5=bff9fc7d871c0b5e6ce1a7babd16847b (from http://b.pypi.python.org/simple/Django/), version 1.2.6 doesn't match ==1.6.777
  Ignoring link http://b.pypi.python.org/packages/source/D/Django/Django-1.3.6.tar.gz#md5=357dbedf41ba6db990fd4be7c86cd80d (from 

Secondly (and I'll file an enhancement request against pip), when asking for a specific version, it tries each link in the package index rather than doing any guesswork. Very often the name conventions is consistent.

http://b.pypi.python.org/packages/source/D/Django/Django-1.3.6.tar.gz#md5=357dbedf41ba6db990fd4be7c86cd80d -> maybe files are all named http://b.pypi.python.org/packages/source/D/Django/Django-X.Y.Z.tar.gz#md5=XXX -> try http://b.pypi.python.org/packages/source/D/Django/Django-1.6.777.tar.gz#md5=XXX

Thank you!


Tapir

Originally reported by: Anonymous


Tapir checks scipy's version in "tapir/init.py" as:

        assert scipy.version.version > '0.9', "tapir requires >= scipy 0.9.0"

Although scipy's version is 0.12.0. The one on github seems to have this fixed, but I don't know who to report it to, so I'm doing this on both.


Possible error in password reset

Originally reported by: Richard Jones (Bitbucket: r1chardj0n3s, GitHub: r1chardj0n3s)


User report:

"Password rules (which letters/chars and combinations are allowed/required) are only displayed when a new user registers. For some reason, these requirements are not checked when a new password is entered. This seems to be only checked when you try to login with this new password (probably a persistence storage problem of the encrypted password)."


Getting Gateway Time-out when doing setup.py register

Originally reported by: Julien Seiler (Bitbucket: julozi, GitHub: julozi)


Hi pypi,

I have successfully create a PyPI account but now I get a "Server response (504): Gateway Time-out" error when I try to register my ghp-update package.
Curiously, the package has been created successfully on PyPI (https://pypi.python.org/pypi/ghp-update/0.1) however, because the register command is failing I can't start uploading.

Thanks for your help,


Allow deleting project documentation from pythonhosted.org

Originally reported by: Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm)


It seems like there is no way to remove the project's documentation from pythonhosted.org. Some kind of a delete button would be nice.

The "Documentation" link is admittedly useful, like the "Bug Tracker" link, but it seems like Pythonhosted is the only possible place where I can have such documentation? How about making that link editable too?


Add license field to DOAP

Originally reported by: Anonymous


This is a follow-up ticket of http://sourceforge.net/p/pypi/bugs/361/

The request is to add DOAP license information extracted from the categories when possible/available.

The problem is that DOAP expects a URI for the license and it turns out that http://spdx.org/licenses/ provides some.

Attached in a patch that browse the categories of a package, check if one of them is a license and if so, check if the license is known to the license table allowing mapping the category to a URI.

/!\ patch not tested (but I don't expect it breaks anything).


Requests 1.0 / TypeError: 'instancemethod' object has no attribute '__getitem__'

Originally reported by: ben_low (Bitbucket: ben_low, GitHub: Unknown)


The requests module's experienced a backwards-incompatible change:

http://blog.lumino.so/2013/01/04/how-to-make-an-orderly-transition-to-python-requests-1-0-instead-of-running-around-in-a-panic/

The requests-transition “Python HTTP for busy people who don’t have time to port all their code yet” seems to work ok.


Pypi hides stable releases when unstable/dev releases are uploaded

Originally reported by: vmalloc (Bitbucket: vmalloc, GitHub: vmalloc)


New versions of distribute support the .dev suffix to versions. This is useful to enable some developers to experiment with new unstable releases, while the rest of the world gets the stable version when using easy_install or pip.

It seems, however, that pypi's default behavior hinders this feature - it automatically hides the stable versions when a .dev release is uploaded, thus probably breaking things for most of the people looking for the stable version.


pymongo installation blocked on windows

Originally reported by: michael kearney (Bitbucket: makearney, GitHub: Unknown)


windows 32 and 64, vista and 7.
Installation via installer as recommended
My immediate problem is with a vista 64 bit machine.

It appears to me that this is a problem with the windows installer that seems to be seeing wider use in PyPI. It is absolutely not a pymongo problem. The faulty installer has just spread to this package.

  1. I download the .exe
  2. Double click the exe
  3. The first installer window pops up and expands to the entire screen (inconvenient but tolerable. )
  4. click next to get to menu where I select the installation location.
  5. I am given one location choice in a window with two seemingly editable fields.
    Specifically the installer has found one python installation, the one in the registry.

I cannot clear the fields and specify another python installation. I definitely do not want to install pymongo in my default install of python. I think I can get around this. I have in the past with other packages. Today, happened to try pip, and in the course of that install I encountered a specific message from the pymongo team ( I think ) that suggested that I use the installer. I was concerned it would not work and indeed it did not.


Authentication problems

Originally reported by: Francesc Alted (Bitbucket: falted, GitHub: Unknown)


Hi,

Since the password reset on PyPI site (https://pypi.python.org/pypi), I cannot longer log in there. My username used to 'falted' there, and although I requested a reset password for this user (https://pypi.python.org/pypi?%3Aaction=forgotten_password_form), and the form says that a mail has been sent, the thing is that I don't receive any e-mail. I am not sure why I'm not receiving this message!

I need to continue providing releases for the numexpr package, but I can't. Please help!

Francesc


PyPI returning 404 on new uploads

Originally reported by: Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco)


In Setuptools 39 and Setuptools 45, we are seeing reports of the newly-uploaded distribution returning a 404, but subsequently the file appears without intervention.

I suspect what's happening is the record for the file is being added to the site before the actual file is present, so there's a few second gap where the reference to the file is present, but the content is not yet there. And because setuptools gets 44k downloads a day (1 every two seconds), the CDNs attempt to retrieve that content, get a 404, and then cache that 404 for some period of time.

Is that scenario plausible? If so, can we verify if that's the case? And if so, is there something we can do about it (specifically ensuring that a link to a file is not advertised until that link is viable)?


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.