Message I get when I turn on mac book pro.10.10.4 What does this mean?
"""distutils.pypircProvides the PyPIRCCommand class, the base class for the command classes
that uses .pypirc in the distutils.command package.
import os
import sys
from ConfigParser import ConfigParserfrom distutils.cmd import CommandDEFAULT_PYPIRC = """\
[distutils]
index-servers =
pypi[pypi]
username:%s
password:%s
"""class PyPIRCCommand(Command):
"""Base command that knows how to handle the .pypirc file
DEFAULT_REPOSITORY = 'http://pypi.python.org/pypi'
DEFAULT_REALM = 'pypi'
repository = None
realm = Noneuser_options = [
('repository=', 'r',
"url of repository [default: %s]" % \
DEFAULT_REPOSITORY),
('show-response', None,
'display full response text from server')]boolean_options = ['show-response']def _get_rc_file(self):
"""Returns rc file path."""
return os.path.join(os.path.expanduser('~'), '.pypirc')def _store_pypirc(self, username, password):
"""Creates a default .pypirc file."""
rc = self._get_rc_file()
with os.fdopen(os.open(rc, os.O_CREAT | os.O_WRONLY, 0600), 'w') as fp:
fp.write(DEFAULT_PYPIRC % (username, password))def _read_pypirc(self):
"""Reads the .pypirc file."""
rc = self._get_rc_file()
if os.path.exists(rc):
self.announce('Using PyPI login from %s' % rc)
repository = self.repository or self.DEFAULT_REPOSITORY
realm = self.realm or self.DEFAULT_REALMconfig = ConfigParser()
config.read(rc)
sections = config.sections()
if 'distutils' in sections:
# let's get the list of servers
index_servers = config.get('distutils', 'index-servers')
_servers = [server.strip() for server in
index_servers.split('\n')
if server.strip() != '']
if _servers == []:
# nothing set, let's try to get the default pypi
if 'pypi' in sections:
_servers = ['pypi']
else:
# the file is not properly defined, returning
# an empty dict
return {}
for server in _servers:
current = {'server': server}
current['username'] = config.get(server, 'username')
current['password'] = config.get(server, 'password')# optional params
for key, default in (('repository',
self.DEFAULT_REPOSITORY),
('realm', self.DEFAULT_REALM)):
if config.has_option(server, key):
current[key] = config.get(server, key)
else:
current[key] = default
if (current['server'] == repository or
current['repository'] == repository):
return current
elif 'server-login' in sections:
# old format
server = 'server-login'
if config.has_option(server, 'repository'):
repository = config.get(server, 'repository')
else:
repository = self.DEFAULT_REPOSITORY
return {'username': config.get(server, 'username'),
'password': config.get(server, 'password'),
'repository': repository,
'server': server,
'realm': self.DEFAULT_REALM}return {}def initialize_options(self):
"""Initialize options."""
self.repository = None
self.realm = None
self.show_response = 0def finalize_options(self):
"""Finalizes options."""
if self.repository is None:
self.repository = self.DEFAULT_REPOSITORY
if self.realm is None:
self.realm = self.DEFAULT_REALM
Hi MrConnors
Honestly, I'm not sure what could be causing this. It looks like a python error of some sort. You said you get this when you turn on your Macbook, can you tell me anything else? Like what application do you see the error in? Maybe you can provide a screen shot?
Similar Messages
-
When I try to turn on Home Sharing, I get the message: "Home Sharing could not be turned on because of an error (5506)." What does this mean please?!
I had the same error it was due to a program called Little Snitch, it's somewhat like a firewall. I changed the settings in Little Snitch to allow network connections in iTunes and now I can enable Home Sharing. Maybe you should try changing some firewall settings.
-
When I open up Safari I get a message saying 'Your request is prohibited because it will cause a cycle. What does this mean? How do it get rid of it?
Your request is prohibited because it...: Apple Support Communities
-
TS1292 When I enter my gift card code 5301 pops up; what does this mean?
When I enter my gift card code 5301 pops up; what does this mean?
AbbyONeal wrote:
Thanks for the tip;...
You're Welcome
AbbyONeal wrote:
...they were able to sort very quickly
Excellent. -
Trying to update my iTunes but keep getting the error message "the URL could not be opened" what does this mean and how do I resolve this? It's always worked fine in the past!
Select a broken track and press ctrl-i to Get Info. Look on the summary tab for the location where iTunes "thinks" the file should be. Where is it really? Post back the two locations and I can suggest the best approach.
tt2 -
My iphone randomly turns off multiple times throughout the day. What does this mean?
My iphone will turn off anytime I try to use anything on it. This includes checking my email, listening to voicemail messages, using apps. What does this mean and what should I do?
Bring your phone into Apple for evaluation
-
CAN'T DOWNLOAD READER AN ERROR WINDOW POPS UP "OPERATING SYSTEM ERROR! (16299.103.516-73272312.80004005.FFFFFFFF.00000000) WHAT DOES THIS MEAN. HELP THIS DAMSEL IN DISTRESS
I am trying to download Adobe Reader X (10.0.1) so I can not download any PDF's. I am downloading from http://get.adobe.com/reader/.
-
When I turn my mac book pro on the screen goes blue
Hi when I have had my mac book pro for well almost a year now and for some odd reason twice now when I turn on the computer the screen goes blue and will not go to the desk top....please advice
http://docs.info.apple.com/article.html?path=Mac/10.6/en/8963.html
-
Got message while downloading to iphoto from iphone" Your iphoto disc is almost filled up do you want to contine?" What does it mean and what should I do?
Click on the hard drive icon and type Command+i to bring up the Info window;
It's recommended that one have a minimum of 10 GB of free space on the boot drive to provide for optimal system and application performance and 20 GB minimum free if you use iDVD.
OT -
Tonight I have clicked onto mail and this message appeared saying i have mail version 6.6 (1510/1503). Cant be used on Mac OX version 10.8.3. Don't know what has happened. Can anyone help.
You need to update your system software to v10.8.5
Open System Preferences > Software Update. Click Check Now
OR, click Softare Update from your Apple menu top left in your screen.
Restart your Mac after the updates are installed then try Mail. -
When trying to load my recently puchased Apps this is the message that appears---Please adavise. Thank you. Richard (New Boy on the Block)
The IP address shown is 192.168.0.1:80. This is an address on your local network and is probably the address of your router. The port number shown is port 80 which is the standard HTTP (web server) port. It looks like your router thinks that you are attempting to open an administrative browser session with it. Since this is incorrect your router or possibly your iPad may be having some problem. Try restarting your router by removing power to it for 30 seconds and restarting. I would also suggest resetting your iPad.
Reset iPad: Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears - ignore the power off slider. -
What is speechsynthesisserver.app? Twice I received a message from Mountain Lion that this could not be installed due to an error. Is this significant?
Regarding the scrolling, SYSTEM PREFERENCES>TRACKPAD>SCROLL & ZOOM, uncheck 'Scroll direction: natural.
Ciao. -
When I open the add-ons screen, I get a faded out message that Trend-Micro NSC Firefox extension is incompatible with Firefox 4. Below it is another faded out message that Trend-micro toolbar is incompatible with Firefox 4.
Do these messages mean that I'm not getting the Trend-Micro protection, or that I just can't open Trend-micro from within Firefox 4?
I've been using Trend-micro for a long time, and I really like it.No that's wrong, the update for the trend micro toolbar will be issued the second week of JUNE 2011. How do I know this?
http://esupport.trendmicro.com/solution/en-US/1058585.aspx%EF%BB%BF
Says so there. Want more info?
http://community.trendmicro.com/t5/Home-and-Home-Office-Forum/UPDATE-Toolbar-For-Mozilla-Firefox-4-0/td-p/32014/page/4
Hope this helps, because I am one of the people as well with Firefox 4 and no Toolbar. -
Does anyone have suggestions?
Wow that was really quick, thank you so much. Im not sure at all which version it was because i said it was around 4 years ago he bought it. I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names. isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
sarucia -
I Have an issue with taking photos my iPad mini 2 keeps saying "time elapsed" what's does this mean and how do I fix?
You are using PPPoE but there is no server to authenticate against.. or the modem is already connected and nothing else can join.
Is this ADSL?
Do you have the modem in bridge?
How does it work with the modem working as router? ie what type of connection does your ISP supply.. eg PPPoE is only one.. PPPoA is another.. IPoA or ETHoA.. and sever other more specialised.. PPPoE can only work where it is supported.
Maybe you are looking for
-
I recently upgrade my old G5 to a new iMac. I bought this as a refurb however so it came half set up. I did the usual swap of data files, but now many photo's say they do not have the original master so i can do nothing with them. How can i transfer
-
Why are my iCal events not the same across views?
Help! I've been editing my iCal in Month view and everything looks great... but then I look at the day view (or week, whatever) and it's not the same. For example, in Month view for July 2 - I have one event scheduled from 8:30-noon. Then I look a
-
Any advice on a cheap but good microphone to use to improve the recording quality from the built-in mic? I'll be recording lyrics and acoustic guitar, usually simultanously on to the same track. I want to use it both in my iMac (G5) and my iBook (G4)
-
Hi, I was trying to get the rectangle occupied by characters in a TextBlock and found this TextPointer.GetCharacterRect method only... it does not return a rect, but rather a position (the width of the rect is always zero) and TextBlock.ContentStart.
-
Where can I get Keynote 6 training?
I need to get a crash course in Keynote and I have looked online at Udemy type courses, but I prefer something more personal or with a group of folks. Ideas? Also, any books in print? I like both sorts of training, live on the computer, and via print