Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Such File or Directory #18

Open
picree opened this issue Jul 11, 2015 · 6 comments
Open

No Such File or Directory #18

picree opened this issue Jul 11, 2015 · 6 comments

Comments

@picree
Copy link

picree commented Jul 11, 2015

The widget is throwing this error:

/Volumes/Macintosh : No such file or directory

My Hard Drive is called "Macintosh SSD". It appears like /Volumes/Macintosh is hard-coded somewhere. Any way to modify?

@felixhageloh
Copy link
Owner

It's not hardcoded, but I think I know what the issue might be. If you go to the widget and open the index.coffee file and search for the line (141)

command: "#{process.argv[0]} weather.widget/get-weather \

If you replace that by

command: "'#{process.argv[0]}' weather.widget/get-weather \

i.e. add quotes around #{process.argv[0]}, does that fix the issue?

@picree
Copy link
Author

picree commented Jul 14, 2015

Sorry- no. That results in a notification error of

Unexpected \

Curt

But it did clear the path error on the desktop…fwiw

On Jul 14, 2015, at 3:22 AM, Felix [email protected] wrote:

It's not hardcoded, but I think I know what the issue might be. If you go to the widget and open the index.coffee file and search for the line (141)

command: "#{process.argv[0]} weather.widget/get-weather
If you replace that by

command: "'#{process.argv[0]}' weather.widget/get-weather
i.e. add quotes around #{process.argv[0]}, does that fix the issue?


Reply to this email directly or view it on GitHub #18 (comment).

@picree
Copy link
Author

picree commented Jul 14, 2015

Found this in the Web Inspector:

/Users/curtcaveney/Library/Application Support/Übersicht/widgets/weather.widget/index.coffee:142:29: error: unexpected
"#{options.city}"
^

On Jul 14, 2015, at 3:22 AM, Felix [email protected] wrote:

It's not hardcoded, but I think I know what the issue might be. If you go to the widget and open the index.coffee file and search for the line (141)

command: "#{process.argv[0]} weather.widget/get-weather
If you replace that by

command: "'#{process.argv[0]}' weather.widget/get-weather
i.e. add quotes around #{process.argv[0]}, does that fix the issue?


Reply to this email directly or view it on GitHub #18 (comment).

@felixhageloh
Copy link
Owner

hmm, make sure they are single quotes, just like in the example (you can also just copy paste the example)

@picree
Copy link
Author

picree commented Jul 15, 2015

It was indeed single quotes. I checked several times to ensure it was right.

Maybe it has something to do with the way I am editing, and copying the folder. I tried starting all over by unzipping a fresh folder. Then, without editing the coffee file or anything I copied that folder to Ubersicht and…it worked! It even detected my location correctly.

Previously I have been trying to change some default settings in coffee but the widget then fails. What is the correct way to copy/move/edit? I have been unzipping the file in my Downloads, editing coffee with TextEdit then copying the folder to widgets. For editing I have been using TextEdit. Even if I do something very simply like trying to change C to F the widget fails. I have edited in my Downloads folder…fail. I have edited in the widgets folder…fail.

????

Curt

On Jul 15, 2015, at 3:00 AM, Felix [email protected] wrote:

hmm, make sure they are single quotes, just like in the example (you can also just copy paste the example)


Reply to this email directly or view it on GitHub #18 (comment).

@picree
Copy link
Author

picree commented Jul 15, 2015

Felix-I tried editing the coffee file with Xcode and that worked fine. It must be that the file can not be edited with TextEdit.

On Jul 15, 2015, at 3:00 AM, Felix [email protected] wrote:

hmm, make sure they are single quotes, just like in the example (you can also just copy paste the example)


Reply to this email directly or view it on GitHub #18 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants