Kara-Moon Forum
May 15, 2024, 02:03:18 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: You can go back to the main site here:
Kara-Moon site
Home
Help
Search
Login
Register
Kara-Moon Forum
>
Developers & Technology
>
Musical MIDI Accompaniment (MMA)
(Moderator:
kara
) >
Windows bug
Pages: [
1
]
« previous
next »
Print
Author
Topic: Windows bug (Read 1617 times)
bvdp
Kara-Moon Master
Posts: 1438
Windows bug
«
on:
July 12, 2019, 04:30:47 PM »
If you are running MMA on a windows OS you will have a minor problem in that the module fcntl doesn't exist on it. To fix, just do the following:
1. In the file common.py delete line 34: import fcntl
2. Replace line 63 in common.py with:
try: # Windows doesn't know about fcntl and doesn't need it.
import fcntl
fcntl.flock(opath, fcntl.LOCK_EX) # make sure we print in one batch
except:
pass
For the curious: the fcntl.flock() sets up a lock so that only one process can write to the output file. This is the file used for reporting warnings, etc. if the environment variable MMA_LOGFILE is set. By wrapping it all in a try/except it all works ... just no file lock on windows.
The next developer release will include this patch.
Logged
My online life:
http://www.mellowood.ca
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
The Kara-Moon monthly contest
-----------------------------
=> Sex, Drugs and Rock and Roll
===> WInter 2009 - Lost
===> Autumn 2008 - Colors
===> Winter 2008 - Cold
===> Spring 2009 - Time
===> Summer 2009 - Africa
===> Autumn 2010
===> Winter 2011
===> Spring 2011
===> Autumn 2011
===> Winter 2011/2012 - Under the Snow
===> Spring 2012 - Changes
===> Summer 2012 ...look Ma, no click track!
===> Autumn 2012 ...Harvest...
===> Winter 2012/2013 ...Circles...
===> Spring 2013 - Digital Relationship
===> Summer 2013 - Genetic Modification
===> Autumn 2013 - Writing on the Wall
===> Winter 2013 - My First Muse
===> Spring 2014 - Ethnic Flavour
===> Summer 2014 - Holidays
===> - Autumn 2014 - Ultima Thule
===> Winter 2014 - "Toys"
===> Spring 2015: "Old Friends"
===> Summer 2015 - "Metronome"
-----------------------------
Music Auditorium
-----------------------------
=> Pop,Jazz,Rock,Easy Listening
=> Ambient,Trance
=> From the Shadows...
=> Classical
=> General
=> PG musicians
-----------------------------
General & News
-----------------------------
=> News & General Chat
=> Hello/Intro Area
=> Artist Releases
-----------------------------
Kara-Moon Projects
-----------------------------
=> Project - 10
=> Kara Tribute Project
=> Collaboration Songs
=> The KM 2010 live gig
=> Older projects
===> The KM 2009 Live gig
=====> Rehearsal tracks
===> Kara Moon Live Gig 2008
===> Our 2008 CD Project
===> Our first CD release: Best of Kara-Moon 2007 !
-----------------------------
Developers & Technology
-----------------------------
=> Developers at Kara-Moon
=> The open source alternative
=> Musical MIDI Accompaniment (MMA)
=> Studio Tips
=> Hardware
===> DAW
===> Studio Speakers
===> Synthesizers
===> Mics
===> Mixers
===> Miscellanious Studio gear
=> Software
=> Commercial products
-----------------------------
The Sample Section
-----------------------------
=> Equinox Sounds
=> LesProductionsZvon
=> Yinox-Samples
=> Public samples
=> Commercial Samples
-----------------------------
Graphics
-----------------------------
=> Artwork
-----------------------------
Old & closed boards
-----------------------------
=> RESPECT !
-----------------------------
The KM-zine
-----------------------------
=> The actual KM-zine
Loading...