question construction python interface

I'm currently building the python interface for dbxml - 2.4.13 with Berkeley DB 4.7.25 and I get the following errors:

lFlags of berkeley-db = / home/friedel/dbxml/install python setup.py = "- Xlinker - rpath - Xlinker/home/friedel/dbxml/install/lib 'building
construction running
running build_py
running build_ext
"bsddb3._pybsddb" extension of construction
GCC - pthread - fno-strict-aliasing - DNDEBUG-O2-March = i586 - mtune = i686 - fmessage-length = 0-Wall - D_FORTIFY_SOURCE = 2 - fstack-protector - g - fwrapv - fpic-DPYBSDDB_STANDALONE = 1--i/Accueil/friedel/dbxml/install/include-I/usr/include/python2.5-c Modules/_bsddb.c o build/temp.linux-i686-2.5/Modules/_bsddb.o
Modules/_bsddb.c: In function 'DBEnv_lock_stat ':
Modules / _bsddb.c:4781: error: 'DB_LOCK_STAT' has no member named 'st_locks_wait '.
Modules / _bsddb.c:4782: error: 'DB_LOCK_STAT' has no member named 'st_locks_nowait '.
Modules/_bsddb.c: In function 'DBEnv_rep_get_nsites ':
Modules / _bsddb.c:5084: WARNING: target of pointer to the argument 2 of ' self-> db_env - > rep_get_nsites' differ in signedness
Modules/_bsddb.c: In function 'DBEnv_rep_get_priority ':
Modules / _bsddb.c:5118: WARNING: target of pointer passing the argument 2 of 'self-> db_env-> rep_get_priority' differ in signedness
Modules/_bsddb.c: In function 'init_bsddb ':
Modules / _bsddb.c:6735: error: 'DB_LOG_AUTOREMOVE' undeclared (first use in this function)
Modules / _bsddb.c:6735: error: (each undeclared identifier is reported only once
Modules / _bsddb.c:6735: error: for each function it appears in.)
Modules / _bsddb.c:6736: error: 'DB_DIRECT_LOG' undeclared (first use in this function)
Modules / _bsddb.c:6808: error: 'DB_DSYNC_LOG' undeclared (first use in this function)
Modules / _bsddb.c:6809: error: 'DB_LOG_INMEMORY' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1

In my view, that it is a similar as problem:

Python under db 4.3.29 module

but with a different version of Berkeley DB.

Any help would be appreciated.

Doug

Doug,

Try using the code 4.7 last pybsddb to http://www.jcea.es/programacion/pybsddb.htm project

It supports better 4.7.

Kind regards
George

Tags: Database

Similar Questions

  • Question tab User Interface control

    Heey everybody,

    I have disigned a program and user interface, on this user interface, there is a tab (see attachment) control in this tab control, you can select several measures. It is a school project and according to my professor is not clear enough what measure is selected.

    My question: is there a way to give the active tab a different color? If you know a way to create a nice user interface that has the same capabilities as the control tab (select measure and wire in measured values).

    Thank you

    Hi Grasman,

    It is possible to give different tabs of different colors, first of all, you must enable several colors - "just right-click on a tab on the control. "Select Advanced" allow multiple colors.

    To change only the color of the active tab, please see Steve birds VI, you can find it on the following forum post

    Color of the active tab

    Kind regards

    Tobias

  • General questions about FPGA Interface C API 2.0

    I developed an application in LabVIEW FPGA 2011 on a Board of the R-Series PXI and a host application LabVIEW 2011 Windows XP to communicate with him via DMA FIFO.  I'm trying to adapt the interface to CVI 8.1 (preferred) or CVI 2009 using the Interface of FPGA C API 2.0.  The example of FIFO that it stores in the directory C:\Documents and Settings\All Users\Documents\National Instruments\FPGA Interface C API\Examples\ gave me a few questions:

    1. The functions NiFpga_WriteFifoI16 and NiFpga_AcquireFifoWriteElementsI16 are two different ways to do the same thing? I wasn't clear where I do the extra copy if you use NiFpga_WriteFifoI16. I guess the combination of NiFpga_AcquireFifoWriteElementsI16 with NiFpga_ReleaseFifoElements is the way to go if I want to stay out of trouble.
    2. I intend to call NiFpga_Initialize and NiFpga_Open in an initialization function that gives the word initially, then keep the session handle in calls to other functions.  The session handle is always not null when it opens successfully?  Could I use it as a test to make sure that I have a session valid before calling any other functions-example:
      If (session) {NiFpga_WriteFifoI16 (...)}
    3. Interface of FPGA C API 2.0 is only announced work in CVI 2009 up on.  If I include NiFpga.c and .h in my project CVI 8.1, it seems to compile fine, but I did have the chance to integrate yet.  Is there something specific that would make CVI 8.1 not work?  Our deployment environment of difficult application CVI upgrades

    -Jim

    Jim,

    With regard to your questions:

    1. Yes, these two functions are the same, however there is a big difference between the two. NiFpga_AcquireFifoWriteElementsI16 acquires, prepares and publishes FIFO elements to avoid the need to write the first in a buffer allocated by the separate user, then copy the contents of the elements in the memeory host buffer. Considering that, in the NiFpga_WriteFifoI16 does not work. So the NiFpga_ReleaseFifoElements should always be used with the NiFpga_WriteFifoI16. The example is just showing how the code should be used, but is not necessarily displayed works should be used together. I understand perfectly why he was confusing.

    2. the best way to ensure you have a valid session is by using the NiFpga_IsNotError() function. I've attached a screenshot of the example code that illustrates how best to achieve this and inserted the image below.

    3 regarding using CVI 8.1, there is nothing in particular, which would make your code does not work in point 8.1, but we can guarantee that C API 2.0 will work correctly with 9.0.

    Kind regards

    Larry H.

  • Question about the interface inheritance & documentation

    If I Foo interface that extends the interface bar, I wonder if there is a way for Foo add more documentation to one of the methods of the Bar.

    For example, if I have:
    public interface Foo {
     /**
      * The "stuff" that gets done by this method should be more properly defined in the implementing class. 
      */
      void doStuff();
    
    }
    
    public interface Bar extends Foo {
    
    }
    Is it possible for me to clarify for Bar to replace the doc on the legacy of Foo doStuff() method (such that it could read something like ' all implementers of Bar doStuff() method should [behave in manner x] ')?

    I know that I am probably not articulating myself very clearly, so let me know if I need to shed light on what it is.

    Thank you!

    Edited by: Caryy on November 30, 2010 16:06

    I think that you are authorized to declare a method identical doStuff() Bar and give its own documentation. He will not just get concatenated to doc supertype, but the javadoc tool could generate a link to the parent method as it does when a class overrides or implements a method.

  • mode scan interface - 805 error

    Hello

    I am a beginner system Compact RIO. The on I have a few questions scan mode interface.

    The only plug-in hardware is

    The cRIO-9012 controller and chassis integrated cRIO-9101

    a map AI 9205

    a card DIO 9401

    I would like to use the scan interface mode to understand the functioning of the cards, the in FPGA interface mode, it takes time for the compilation.

    The chassis does not support the interface mode scan, so I set up 2 cards variables individually using the I/O. Then I create the VI United Nations simply to read the voltage level of the card HAVE. I get an error - 805: source of synchronization, synchronize with the scan engine.

    I also checked in MAX, scan of OR soft the engine is installed.

    Could someone tell me this problem?

    Thanks in advance.

    Lily


  • Interfaces (ASA 5520) cant ping

    Hello

    I recently implemented a configuration of active failover / standby with 2 secondary interfaces configured on my interface of g0/0 (g0/0.1 and g0/0.2) for some reason I can't an of these my ping test server (when the server is on the network and subnet to test the interface)? I'm not sure what continues... I've included a print out of my current configuration of the interface and failover. The test server is connected to a switch of 2724 Dell and the interfaces are in question.

    interface GigabitEthernet0/0

    No nameif

    security-level 0

    no ip address

    !

    interface GigabitEthernet0/0.1

    VLAN 10

    nameif Outside1

    security-level 0

    IP address 66.38.x.x 255.255.x.x Eve 66.38.x.x

    !

    interface GigabitEthernet0/0.2

    VLAN 20

    nameif Outside2

    security-level 0

    IP address 64.187.x.x 255.255.x.x Eve 64.187.x.x

    !

    interface GigabitEthernet0/1

    nameif DMZ

    security-level 100

    IP address 255.255.x.x 10.10.x.x ensures 10.10.x.x

    !

    interface GigabitEthernet0/2

    nameif private

    security-level 40

    IP address 255.255.x.x 192.168.x.x ensures 192.168.x.x

    !

    interface GigabitEthernet0/3

    STATE/LAN failover Interface Description

    !

    interface Management0/0

    STATE failover Interface Description

    No nameif

    security-level 100

    IP address 192.168.x.x 255.255.x.x

    !

    clock timezone IS - 5

    clock to summer time EDT recurring

    pager lines 24

    Enable logging

    monitor debug logging

    asdm of logging of information

    MTU 1500 Outside1

    MTU 1500 Outside2

    MTU 1500 DMZ

    MTU 1500 private

    failover

    primary failover lan unit

    local failover FoInt GigabitEthernet0/3 network interface

    failover replication http

    link failover FoInt GigabitEthernet0/3

    failover interface ip FoInt 192.168.x.x 255.255.x.x Eve 192.168.x.x

    the interface of the monitor Outside1

    the interface of the monitor Outside2

    Thank you

    Chris

    Hi Chris,

    Your config subinterface is fine, except that you will probably need to affect the level of safety that is different between them unless you have already planned for this.

    Normally, it is on the side of the switch that must be configured accordingly. The link of the trunk between the firewall and the switch use the encapsulation DOT1Q (IEEE). I don't know if he Dell support. Make sure that the trunk permits some Vlan you assigned to the firewall secondary interfaces.

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_guide_chapter09186a008054c515.html#wp1051819

    To be able to ping to the interface, make sure that you allow the firewall to allow/permit icmp to hit the interface using the command "icmp", for example "icmp allow any Outside2."

    BTW, what is the gateway for your server? Is it subinterface ASA (function vlan) or IP VLAN on the switch?

    http://www.Cisco.com/en/us/partner/products/ps6120/products_command_reference_chapter09186a00805fba52.html#wp1615091

    Other, you must apply normal static ACL, NAT firewall and so on.

    Rgds,

    AK

  • iMovie 10.1.2 do not again open project?

    Hi, last week when I used iMovie worked perfectly well. I edited a video with ease and save my external hard drive and has been done. The next day, trying to get ahead on some changes, I tried to open a new movie and we don't respond. Of course I did the obvious thing and delete the app and it redownloaded, still have the occurrence of the matter. I can import videos without problem, but I can't change or get a calendar appears for me. I tried to use a previous edited video that I had, but it wouldn't let me add a clip, once I deleted the video editing. I then looked up this and apparently a lot of other people have this problem and have found a 'solution', but none of them does not work for me. This thread is fairly recent, I think that it was dated May 16, 2016 or a few days earlier. The message stated things like going in your library and deleting some files with removal of iMovie, but I could not find this file. I vaguely remember the post and all I can say to help is it says something in the sense of 'com.apple.imovie '. in any case, can someone give me solutions for this problem? iMovie is my action only plausible for editing the videos because I don't have the coins for Final Cut Pro X (which I want so badly but now do not have the money for investment).

    If none of the solutions, a new video editing software, preferably free, because I'm only more eager to spend money on Final Cut.

    side note: I have my OS was updated to the latest version of El Capitan (10.11.5) and iMovie is updated to the latest version.

    Try to remove the file from iMovie preferences.

    To do this in iMovie 10.1.2 leaving iMovie runs, then hold them both options and the key firmly, while double clicking the iMovie icon to launch iMovie.  Keep you hold down the two keys ⌥⌘ until you see this sign:

    Click on the button "delete preferences".

    Dleting preferences will remove all the entries that you set in the Preferences dialog box, also the location of your library. But he usually fxed questions wher euser interface elements are bad.

  • PCI cards with USB 3.0 or eSATA for a Mac Pro 2006 (1,1)

    Hello, Apple people!

    I got my hands on a Mac Pro 2006 earlier from a friend. I used it as a BESTIAL Server (seriously, this thing is not so much as breaking a sweat even when I throw it the more difficult task.) I love this machine) since I got it, and I think I want to do the updates. My plan so far is to get multiple mounting OWC to pick up the second drive Bay currently vacant DVD and install two 120 GB Samsung 850 EVO drives in RAID 0, while using the real HARD disk bays for a RAID 10 array (nested RAID: two RAID 1 arrays brought together in a RAID 0 array) of four 2 TB red WD drives and use two 250 GB hard drives currently in the machine in an external case in a matrix RAID 1 for backup. I'm pretty happy on this issue.

    My question concerns what interface to use for external drives of 250 GB. I can use:

    • USB 2.0 currently on the machine
    • FireWire 800 currently on the machine
    • a PCIe USB 3.0 card
    • a PCIe card with eSATA

    That we will get the faster speeds? I know that, theoretically, eSATA would get faster speeds (6 Gbps eSATA vs 5 Gbit/s USB 3.0 vs 800 Mbps, Firewire 800 vs 480 Mbps USB 2.0), however I know also (maybe?) that the Mac Pro I have only has grooves in v PCIe 1.1, with a (supposed) 250 MB/s maximum data transfer rate. would this bottleneck a PCIe USB 3.0 or eSATA card not worth?

    Note: don't worry all "Mac compatibility" with PCIe cards (or the table RAID scheme I mentioned). I am running Ubuntu Server (64 bit) on the machine, and given that the Linux kernel supports much more conductive than Mac OS X, I probably don't need to look at all the other drivers. This issue is specific to the hardware capabilities of the Mac Pro.

    Probably the most simple installation, you can do is to install the eSATA extender cable adapter.

  • External backup drive is de-energized regularly

    Hello

    I use a network and wifi Time Capsule backup 4 separate computers. Some connect to the drive internal TC, some on a 4 TB external drive connected by USB to the TB. Once records have been chosen through the Time Machine preferences panel, everything works fine. I have exactly the same configuration for our office machines.

    Here's the problem: after some time, Time Machine stops to find the external drive. You can always climb through the Finder, but just TM will not be able to access them, as if she had been disassembled. Previous discussions with Apple revealed that the side of the power of the time Capsule may be a little light to drive an external drive at all times. As a result, I replaced the external drives by power units 3.5 inches. The result is much more stability, but I still have the question every two weeks, the problem reoccur. The only cure is to physically pull on the on the TC power cord and restart. After that, you are sure for a while...

    Measures of prevention/bugs/suggestions?

    PS: the TC is an older model (model square 1 TB), but works well. Same thing in the office.

    Tell me the exact model of your TC for 1 TB could be GEN 1, 2 or 3. The number of A1xxx down is what I need.

    Your problem may be also problems with Mac OS with DNS... what operating system running your Mac...?? They are all the same? Is the problem in all Macs exactly at the same time?

    IMHO, the TC is a lot a host device... and is not reliable enough for the office... leaving that aside... 2 weeks is actually not bad for routers these days apple... the last firmware was not as reliable as some previous ones... especially on old hardware.

    What you are experiencing is reported fairly widely... There is nothing that I can suggest to solve this... The question is drive interface USB is just not as reliable as the internal SATA interface.

    This drive USB/s are you running... I'm actually test Touro deskpro now to see how long he stays standing... So far the test has not been well, but I play a lot with network to answer questions. So I'll restart the test now... I would be happy if he stayed a few days to be honest.

    What I would say is

    1. with the help of a USB hub... I know that you use a hard drive powered... but we've seen the best reliability through a hub.

    2. If you have not get out of the car is not recognized... disconnect and reconnect using the player? Or have you restart the TC?

    3. try with 7.6.1 firmware instead of later.

    4. my last suggestion is to open the TC and the swap disk for a larger... 4 TB although you probably should also replace the power supply that is not profitable.

    5 buy a Synology NAS very superior to the joint installation of TC and USB use.

  • EqualLogic management through SCVMM

    Hello

    now that the question on physical interfaces is solved, I try to add the volume management in SCVMM.

    So far, we have used chap usernames and passwords to access iSCSI volume.

    As far as I understand (and tried) the white paper of TR1094, when I use VMM to assign the "logical units" to the guests the SMP creates an ACL entry on the volume with the nominitiateur.

    Is there a way to avoid this and still uses chap username/password combinations?

    Anyone of you going with names of initiator iSCSI only as an entry?

    I don't have that many hosts, so my way would be to do the old way in the iSCSI initiator iSCSI connection.

    Hello...

    In your scenario, I think that SCVMM will default using IQN for access to volumes.  I'm not aware of a way rather use CHAP at this point.  You can, of course, later use the Dell EqualLogic management tools to modify the list of volume access control to use IQN, IP or CHAP - although it is not necessary.

  • ideas table schema

    Hello, I have a project that I created for me and I will implement in making use of java and MySQL. However, I would like some advice on database tables.

    Of what I tried to conceive, my paintings will be structured in this way:

    Table conference: Lecture_Name, Lecture_ID (PK), Lecture_Password, File_Question.

    Student table: Std_Name, Std_Number (PK), File_Question (FK), Std_Marks.

    This is the correct table, or am I missing something crucial?

    any help will be gladly appreciated.

    Course load requires a program that manages multiple choice tests.

    The speaker would prepare for the Bank of Test questions to a text file. The format is: category (one of the 4. Networking for example) the four alternative answers to Question (one or more lines) (label a., b., c., d. One or more lines, each.) Blank line the correct option (a., b., c. or d. That one option would be correct) two interline

    A user logs on the system loaded of course or as a student. The user must enter a user name and a password.

    If the user is responsible for courses, he or she will ask you to enter the name of the text file containing the new questions

    The program would be: read data from the text file.

    If the user is a student, he or she would perform a self-test of: defining categories (one, some or all 4 categories).

    The program would be: choose the required number of questions in the category (s) chosen randomly. Present issues, as well as their alternative answers, one at a time. To allow the student to select only one answer. Tell the student if he has answered correctly or not. Present the following question. Give the student the results of the trial, expressed as a percentage of correct answers, once the student has answered all the questions.

    Your minimum functional units are: i. teacher should be able to download a file ii. student must be able to select and view questions from his iii interface. student must be able to select and answer questions from its interface

    > I have a project that I created for me and I will implement in making use of java and MySQL

    Then why you send messages in this forum to Oracle database; has NOTHING to do with MYSQL?  You must find a MYSQL forum.

  • VCenter is require to use APIs?

    Hello world

    I'm starting a new project where I have to write python calls to the WMVare API to create, duplicate, delete usual VMs.


    What would be the most cost-effective solution for the test environment?

    My idea was to get a server and install ESXi on it, my paid license VMWare Workstation allows to monitor and create the application that uses the API to create clone to destroy machines.

    Is this a good solution or VCenter is require read access to a server ESXi via API?

    Thank you

    Devys

    To clone a virtual machine, you need VC API. I'm not aware of cloning a virtual machine by connecting directly to ESXi (vmkfstools-i will work, but it is only a clone of the disc and not a clone to the virtual machine)

    You must explore "pyvmomi. There are a few good blogs, code examples on pyvmomi gitbug. This is python interface to access the API VC

  • See my case

    I have a MAC OSX 10.9.4 I can't open an image in PS Elements Editor to edit, to my iPHoto.  I have PS Elements selected in iPhoto as my external editor preferences. When I select the image in iPhoto and then select "Edit in external editor" opens the page of the editor of PES, but is empty, that is the image I have chosen to be published in PSE, only opens in the editor of PES.  In the past, I used PS and had no problems with this question in my interface with iPhoto.  I have iPhoto 9.5.1

    Julie

    Check your iPhoto preferences. Yoi may have selected a shortcut and not the application.

    You must select the application in the folder of media files.

    Click on the image below for the Finder window. The example is for PSE11 but the path of the file is the same for the PSE12.

  • Apple bias against editing simple DPS?

    My application was rejected for the fourth time. Here is basically the same rejection each time:

    We found that the following questions with the interface your application is only a PDF file. Should be added features additional native iOS to the application in order to improve the user experience. Specifically, features that allow the user to interact with the application rather than just consume information are recommended.

    Yes, the app is in pdf format so that the player can zoom and looks good on retaina screens. But the application has almost all features available in the unique edition of DPS. It uses videos, hyperlinks to web pages and e-mail, several sequences of images in 360 degrees, pan and zoom photos, scrolling images and slideshows.

    I appealed to references apps with similar material that are reassigned to only feature e-mail PDF files and or research. However, they seem to have been created with something other than the DPS, eventually Xcode.

    Which allows to conclude that Apple has a prejudice against the average DPS simple edition. Maybe this isn't a problem for large publishers who have subscriptions and multiple editions. But I think for a small publisher to make a publication free unique edition in DPS, the chances of getting approved by Apple are not good.

    You can appeal to the Board of review app: https://developer.apple.com/appstore/contact/appreviewboard/index.html in the case where you think your application has enough interactivity. Sometimes, I have seen releases without basis for Apple and they finally approve these apps after call. Send technical details and all the fuctinalities your application provides when sending attractive.

  • workspaces not appearing is not in team collaboration screens

    Hello
    I am planning to migrate workspaces iprojects on line workspaces. As this is a long running project and great I really need multiple workspaces. The client also accesses these workspaces, I got has a counselor earlier and opted for the hive online.

    I created multiple workspaces several weeks, added only 2 members to prepare and entered data transfer make it available to a large community. I feel however after the question:

    * All the groups appear in the form of management (https://beehiveonline-apex.oracle.com or https://beehiveonline.oracle.com/UserAdmin.html). Participants have the status active + participants have also received an email.
    * Only a limited number of groups appear in the forms of collaborative team (https://beehiveonline.oracle.com/teamcollab/workspaces or https://beehiveonline.oracle.com/content/dav/)

    An example of a workspace with the question: "Magellan - training interfaces.

    Can someone tell me pls in the sense of a solution? I don't really know where to look or who I can contact myselve to find a solution.

    TX,
    Kris Van Cleuvenbergen

    Kris,

    The system shows that the option NOT to have a default workspace is chosen - all your groups have the Workspace_Required flag set to False.

    This is normally used when you want to set up a group, but they do not have a dedicated workspace, but are added to a repository workspace like spectators adding the group.

    You will be able to see the people in the group - as long as you are in each group - to allow to create workspaces as required. If you add new members to the groups that they will not automatically be added to the workspace you create and every time that you add a user, you will need to add them to the workspace.

    Phil

Maybe you are looking for

  • No option to update firefox under the preferences window

    HelloI wanted to update my firefox but there is no option under Preferences FIREFOX updates > updates.Screenshot attached.Impossible to update firefox to 34 t 36

  • NB100 Bios password reset

    I have a Netbook NB100 and you want to reset the supervisor password. I know two possible solutions for Toshiba systems in general; reorganize one using a floppy disk and the other using a parallel device, however as the NB100 has none of these they

  • White screen when open Skype. Don't have icons on the desktop

    My toshiba had been delayed and I tried to open Skype and then, said, "no answer" and it went blank (as he usually does whenever these things happen), but then it got stuck. like, it is now my "wallpaper", and I don't see my icons unless I click on t

  • Transfer all content

    I replaced my 4 gb SD with a 64 GB card we. I'm trying to move all the contents of the internal memory memory card, but I'm notified that I can't move some content. How can I go about it. I would like music, videos and applications. When I select the

  • Machine access restrictions in ACS 3.3

    Can someone tell me how to implement on a device ACS 3.3 Machine access restrictions? Machine must be a member of the domain / company before access to the wireless local area network is permitted... DRM Remco