question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

global name 'ds_name' is not defined

See original GitHub issue

Hi i first install msaf and catch error

NameError                                 Traceback (most recent call last)
<ipython-input-13-1b3d08e88056> in <module>()
      2 # Set plot = True to plot the results
      3 boundaries, labels = msaf.process(audio_file, boundaries_id="foote", 
----> 4                                   labels_id="fmc2d", plot=True)

/home/rustam/anaconda2/lib/python2.7/site-packages/msaf/run.pyc in process(in_path, annot_beats, feature, framesync, boundaries_id, labels_id, hier, sonify_bounds, plot, n_jobs, annotator_id, config, out_bounds, out_sr)
    345         if plot:
    346             plotting.plot_one_track(file_struct, est_times, est_labels,
--> 347                                     boundaries_id, labels_id, ds_name)
    348 
    349         # Save estimations

NameError: global name 'ds_name' is not defined

conda python (2.7) ubuntu 16 msaf install with pip (msaf-0.1.0-py2-none-any.whl) run this example https://github.com/urinieto/msaf/blob/master/examples/compute_features.py

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
urinietocommented, Jul 29, 2016

awesome, thanks!

0reactions
urinietocommented, Jul 29, 2016

Thanks for reporting this! Will probably upload this 0.1.1 version to PyPi next week 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

global name 'NAME' is not defined - python - Stack Overflow
I am solving this simple question, I'm using recursive DFS to find the minimum path sum. I wrote a global min_sum to allow...
Read more >
Global name not defined, is this a syntax error?
It is a basic problem of creation of a Class. vector = QgsVectorLayer("ROUTE","Municipios","ogr") is a class variable defined inside the ...
Read more >
Global Name Not Defined - General Discussion
I have a table that I am trying to run using a 'CLICK' event. When I substitue the :lookLoc with an acutal location...
Read more >
IGW messages - IBM
HFS WRITE-PROTECT ERROR DETECTED DATA SET:dsname HAS BEEN MOUNTED R/W ON ANOTHER ... THIS DATA SET COMPONENT IS NOT CONNECTED: (DATA-SET COMPONENT NAME) ......
Read more >
What is a DSN (Data Source Name)? - Microsoft Support
It is the name that applications use to request a connection to an ODBC Data Source. In other words, it is ... DSN...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found