Error 11 - Resource Temporarily Unavailable Print
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this linux error 11 resource temporarily unavailable listener site About Us Learn more about Stack Overflow the company Business Learn more
Fatal Io Error 11 Resource Temporarily Unavailable
about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x
Hpux Ia64 Error 11 Resource Temporarily Unavailable
Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up OSError: [Errno
Linux X86_64 Error 11 Resource Temporarily Unavailable
11] Resource temporarily unavailable. What causes this? up vote 4 down vote favorite Background I have two python processes that need to communicate with each other. The comminication is handled by a class named Pipe. I made a seperate class for this because most of the information that needs to be communicated comes in the form of dictionaries so Pipe implements a pretty simple mount error 11 = resource temporarily unavailable protocol for doing this. Here is the Pipe constructor: def __init__(self,sPath): """ create the fifo. if it already exists just associate with it """ self.sPath = sPath if not os.path.exists(sPath): try: os.mkfifo(sPath) except: raise Exception('cannot mkfifo at path \n {0}'.format(sPath)) self.iFH = os.open(sPath,os.O_RDWR | os.O_NONBLOCK) self.iFHBlocking = os.open(sPath,os.O_RDWR) So ideally I would just construct a Pipe in each process with the same path and they would be able to talk nice. I'm going to skip out stuff about the protocol because I think it is largely unnecessary here. All read and write operations make use of the following 'base' functions: def base_read_blocking(self,iLen): self.lock() lBytes = os.read(self.iFHBlocking,iLen) self.unlock() return lBytes def base_read(self,iLen): print('entering base read') self.lock() lBytes = os.read(self.iFH,iLen) self.unlock() print('exiting base read') return lBytes def base_write_blocking(self,lBytes): self.lock() safe_write(self.iFHBlocking,lBytes) self.unlock() def base_write(self,lBytes): print('entering base write') self.lock() safe_write(self.iFH,lBytes) self.unlock() print('exiting base write') safe_write was suggested in another post def safe_write(*args, **kwargs): while True: try: return os.write(*args, **kwargs) except OSError as e: if e.errno == 35: import time print(".") time.sleep(0.5) else: raise locking and unlocking is handled like this: def lock(self): print('locking...') while True: try: os.mkdir(self.get_lock_dir()) print('...locked') return except OSError as e: if
Resource temporarily unavailable Starred by 2 users Project Member Reported by ulrik.sj...@gmail.com, Feb 24 2010 Back to list Status: db4 error 11 from dbenv open resource temporarily unavailable Invalid Owner: ---- Closed: Feb 2010 Type-Bug Priority-Major Sign in python oserror: [errno 11] resource temporarily unavailable to add a comment Affected Version: at least 2.1.1.1 What steps will reproduce the problem? 1. Repo python resource temporarily unavailable socket init 2. Repo sync 3. goto 1 many times ;-) What is the expected output? The repo sync should finish without errors. What do you see instead? http://stackoverflow.com/questions/13340893/oserror-errno-11-resource-temporarily-unavailable-what-causes-this Traceback (most recent call last): File "/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/main.py", line 235, in
1 #1 2014-10-28 23:08:48 GreenRaccoon23 Member Registered: 2014-09-27 Posts: 31 [SOLVED] Printing Problems (Brother HL2140 under XFCE) I can't get my printer to work under Arch https://bbs.archlinux.org/viewtopic.php?id=189091 (I'm using XFCE). It works under Ubuntu fine, and it used https://code.google.com/p/git-repo/issues/detail?id=67 to work under Arch before I did a clean install (a couple weeks ago). I've spent too many hours trying to figure this out. Can someone help please? (I've already tried everything on the Arch wiki page for the hl2140 printer.)I first installed these resource temporarily packages:cups brother-hl2140 system-config-printerThen I tried installing a bunch of other "cups" packages.After that, I installed these:hplip brother-lpr-drivers-common brother-lpr-drivers-laser1 brother-cups-wrapper-common brother-cups-wrapper-extra brother-cups-wrapper-laser1Output of lsusb:Bus 002 Device 006: ID 04f9:0033 Brother Industries, LtdI'm using system-config-printer. When I try to add the printer, it starts to search for drivers and then crashes. (I run system-config-printer with sudo. I've tried resource temporarily unavailable adding my home user to lp and a bunch of other groups, but I can't figure out which one will let me configure printers). Here's the output when it crashes:No ID match for device usb://Brother/HL-2140%20series?serial=123456789: MFG:Brother;MDL:HL-2140 series;CMD:PJL,HBP; (system-config-printer.py:21895): Gdk-WARNING **: system-config-printer.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.Fail. So I tried using hp-setup, but it doesn't find anything, even though system-config-printer and lsusb do:Searching... (bus=usb, search=(None), desc=0) error: No devices found on bus: usb Searching... (bus=usb, search=(None), desc=0) error: No devices found on bus: usbI've also tried using the openprinting driver (which worked before I reinstalled Arch). Here's my steps:cd ~/Downloads wget -o "hl2140.ppd" https://www.openprinting.org/ppd-o-matic.php?driver=hpijs-pcl5e&printer=Brother-HL-2140&show=0 sudo lpinfo -v sudo lpadmin -p 'HL-2140' -E -v 'usb://Brother/HL-2140%20series?serial=123456789' -P "$HOME/Downloads/hl2140.ppd"It installs fine, but when I try to print, it says that there's a problem printing it.Does anyone have any guidance? Last edited by GreenRaccoon23 (2016-03-23 01:19:29) Offline #2 2014-10-29 06:04:07 PhotonX Member From: Munich Registered: 2008-08-10 Posts: 432 Re: [SOLVED] Printing Problems (Br
repo sync: IOError: [Errno 11] Resource temporarily unavailable ‹ Prev 122 of 159 Next › 2 people starred this issue and may be notified of changes. Back to list Status: New Owner: ---- Type-Bug Priority-Minor Sign in to add a comment Reported by fredrik....@sonyericsson.com, May 19, 2010 This issue have been replicated from gerrit issue https://code.google.com/p/gerrit/issues/detail?id=467 which was marked invalid Affected Version: at least 2.1.1.1 What steps will reproduce the problem? 1. Repo init 2. Repo sync 3. goto 1 many times ;-) What is the expected output? The repo sync should finish without errors. What do you see instead? Traceback (most recent call last): File "/home/hudsonslave/root/workspace/offbuild_deckard-integration/.repo/repo/main.py", line 235, in