Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44551

Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error.

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.065
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'importerror:': 0.07; 'python': 0.11; '"new': 0.16; 'etc?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'import': 0.22; 'saying': 0.22; 'environment': 0.24; '15,': 0.26; 'skip:" 20': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'ball': 0.31; 'ctypes': 0.31; 'file': 0.32; 'probably': 0.32; 'quite': 0.32; 'url:python': 0.33; '(most': 0.33; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'url:org': 0.36; 'operating': 0.37; 'received:209': 0.37; 'system,': 0.38; 'thank': 0.38; 'url:library': 0.38; 'version,': 0.38; 'to:addr:python- list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'offer': 0.62; 'information': 0.63; 'more': 0.64; 'response.': 0.68; 'results': 0.69; 'etc,': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=N4y4M46VpLb6yrQkmleRblEJGJBX/93gr57TWGM4RpM=; b=GkpySUt7nmXOJWbq6FCvWPExOuapZ3lLspHYu0EWNF+IhE5O+XcyVfxIpGgFuFJeQf +6padyuFcG0ZQQp6veL8JNqyAECsNJvGDRGf+lK+fGK81x5CFbR6sOKkhCoDKqmGGvbZ x2cCnfbg52S62Q4eonBBkSqLRpBtlJAUGY1DKCg5g6hPOepyfymqf8KmeXsWQ29Af2ry qqg2qxsNPhAHioNVYZgrXCG2KJt3bBeBm1So6aWIXeZb9aP9Db7cq7Cg0tYXHXqyJfxn sDu5rpxClVJhWoSLCwbXMoF/jD5qnwpbH7jYA4B5PEI5GTuKfgWdpDuTulZsaxuLhlmh Wy5Q==
MIME-Version 1.0
X-Received by 10.58.75.46 with SMTP id z14mr34727603vev.52.1367337532831; Tue, 30 Apr 2013 08:58:52 -0700 (PDT)
In-Reply-To <574ce3d3-8848-4136-a635-728d8cf3db85@googlegroups.com>
References <ad277b74-0fbd-456d-915e-e87743dc16df@googlegroups.com> <mailman.1180.1367336283.3114.python-list@python.org> <574ce3d3-8848-4136-a635-728d8cf3db85@googlegroups.com>
Date Wed, 1 May 2013 01:58:52 +1000
Subject Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error.
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1184.1367337541.3114.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367337541 news.xs4all.nl 15967 [2001:888:2000:d::a6]:59058
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44551

Show key headers only | View raw


On Wed, May 1, 2013 at 1:52 AM, Tony Romeo <tromeo@mdlogix.com> wrote:
> Thank you for the response.
>
> Results after using 0666:
>
>
> Traceback (most recent call last):
>   File "dump_cdorked_config.py", line 15, in ?
>     from ctypes import *
> ImportError: No module named ctypes

You really need to offer a lot more information about your environment
:) What operating system, what Python version, etc, etc? The ctypes
module is listed in the docs as "new in 2.5", so my crystal ball is
saying you quite probably are on Red Hat.

http://docs.python.org/2/library/ctypes.html

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. tromeo@mdlogix.com - 2013-04-30 08:27 -0700
  Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Joel Goldstick <joel.goldstick@gmail.com> - 2013-04-30 11:36 -0400
  Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 01:37 +1000
    Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Tony Romeo <tromeo@mdlogix.com> - 2013-04-30 08:52 -0700
      Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 01:58 +1000
  Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Dave Angel <davea@davea.name> - 2013-04-30 11:43 -0400
  Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 01:49 +1000
  Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Dave Angel <davea@davea.name> - 2013-04-30 11:58 -0400
  Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 02:06 +1000
    Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Tony Romeo <tromeo@mdlogix.com> - 2013-04-30 11:10 -0700
      Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 07:51 +1000

csiph-web