Follow these directions to download and compile.ĭue to not-so-popular request but still request, I am also making some old builds available. The code should compile under Mavercks, Mountain Lion, Lion and Snow Leopard. You can also download the code, in the form of a Xcode 5 project, by using Svn (which is installed by default if you have Xcode). Make sure you read the doc for the new features (mainly contained in the Docs & Tips section) and check the scripts exemplifying them (mostly contained in the Other Stuff section). You can go directly to download, but you can also indicate whether you want to be kept informed about further developments of our project, whether you volunteer for beta testing further versions, or, if you feel inclined and able to do so, whether you want to contribute with some programming time to the project. You can download the program by clicking here. It should work on Lion and Snow Leopard as well. This version has been compiled with Xcode 5 and tested mostly on OS 10.9 (Mavericks). (April 2013) PsyScope X Build 77 is available. You can download the latest public version here. There is also a user list, to which you can subscribe, or where you can consult an archive for problems or issues. Psyscope X can allow you to have a control on several kinds of stimuli (movies, sounds) in a way that satisfies many needs of experimental scientists, at a comparable or better level than several commercial programs (my opinion).ĭocumentation is available on this page, if you have the patience to look for it (sorry, I am not strong in html, nor in organizing things). It will only work under systems up to 10.14.x (Mojave). PsyScope X runs natively on Intel processors. Psyscope X can allow you to have a control on several kinds of stimuli (movies, sounds) in a way that satisfies many needs of experimental scientists, at a comparable or better level than several commercial programs (my opinion). The current version of PsyScope X is an universal program. Its development has been funded by the Regione Friuli-Venezia-Giulia. ![]() It is now being developed by the SISSA Language, Cognition and Development Lab at Sissa, the RICO group at the Universitat Pompeu Fabra, and many volunteers. It has been ported to OS X thanks to a collective effort to which several labs kindly contributed. Thanks to its creators, its code has been made public, under the GNU GPL license. ![]() It has been developed at Carnegie Mellon by Jonathan Cohen, Matthew Flatt, Brian MacWhinney and Jefferson Provost for Mac OS 9 in the '90s. Is there a simple, catch-all method to catch whatever error message psql generates when a connection fails, or do I need to write except blocks for multiple psycopg2 exceptions?Įxtract from my script: import sys, getopt, os, time, csv, psycopg2Ĭonn_string = "host=" + dbhost + " dbname=" + database + " user=" + dbuser + " password=" + dbpassĬur.PsyScope is a program to design and run psychological experiments, used by many experimental labs. user chooses a database that doesn't exist), Python will give me the following: I am unable to connect to the databaseįile "./duplicate_finder.py", line 163, in įile "./duplicate_finder.py", line 142, in mainĪttributeError: 'OperationalError' object has no attribute 'diag' I've tested the code below will work if all the variables are set correctly, however whenever an error condition occurs (e.g. ![]() ![]() I'm trying to find a way to extract the psql error message for whenever a connection attempt fails. This is my first project using psycopg2 extensively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |