Coder Social home page Coder Social logo

Doesn't save projects. about atom-project-plus HOT 15 OPEN

mehcode avatar mehcode commented on September 28, 2024
Doesn't save projects.

from atom-project-plus.

Comments (15)

gtozzi avatar gtozzi commented on September 28, 2024 6

Hi, I also can't save projects anymore. I get this:

Uncaught (in promise) TypeError: _atomProjectUtil2.default.save is not a function
    at SessionProvider.save (~/.atom/packages/project-plus/lib/provider/session.js:131:28)
    at ~/.atom/packages/project-plus/lib/provider-manager.js:33:26
    at Array.map (native)
    at ~/.atom/packages/project-plus/lib/provider-manager.js:32:39
    at ProviderManager.invoke (~/.atom/packages/project-plus/lib/provider-manager.js:31:12)
    at ProviderManager.save (~/.atom/packages/project-plus/lib/provider-manager.js:63:17)
    at atom-workspace.projectPlusSave (~/.atom/packages/project-plus/lib/project-plus.js:40:25)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
    at /usr/share/atom/resources/app/src/command-registry.js:3:65
    at Object.didConfirmSelection (/usr/share/atom/resources/app/node_modules/command-palette/lib/command-palette-view.js:106:35)
    at SelectListView.confirmSelection (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:313:26)
    at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:81:20)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
    at /usr/share/atom/resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)

from atom-project-plus.

erbridge avatar erbridge commented on September 28, 2024 2

Running Project Plus: Save had no effect for me, too, but deleting the projects.cson and trying again fixed the issue. Possibly an issue updating the default file?

from atom-project-plus.

trusktr avatar trusktr commented on September 28, 2024

If I remove the setting, it works. Where is it saving the projects by default? The UI doesn't show the default value:

screen shot 2016-06-12 at 3 04 51 am

from atom-project-plus.

mehcode avatar mehcode commented on September 28, 2024

@trusktr Hmm.. Perhaps the setting is badly worded. It's older and Project Plus: Save was added much later.

Project Home is strictly a filter for the project finder. Normal/default operation of project-plus uses auto-discovery and the setting is intended to reign in the auto-discovery to a single folder (and all its children).

Projects saved via Project Plus: Save are found in ~/.atom/projects.cson -- there should be a command Project Plus: Edit Projects to open that file. That save command is intended for use if auto-discovery is disabled.

from atom-project-plus.

trusktr avatar trusktr commented on September 28, 2024

For sure. So with the default Project Home option, where does the state get saved (open tabs, panes, cursor location, etc)?

from atom-project-plus.

nanohard avatar nanohard commented on September 28, 2024

I'm having this issue as well. Could you upload an example projects.cson? That would solve my problem.

Okay, so I didn't know what the Command Palette was, so what?

from atom-project-plus.

mehcode avatar mehcode commented on September 28, 2024

For sure. So with the default Project Home option, where does the state get saved (open tabs, panes, cursor location, etc)?

@trusktr This package actually doesn't save your state. Atom does. You can find it by opening up developer tools, and going to resources. It's under IndexedDB.


@nanohard Did you figure out what you were trying to figure out?

from atom-project-plus.

nanohard avatar nanohard commented on September 28, 2024

@mehcode Yeah, I thought the command palette was the same as what pops up when you press the keyboard shortcut for this plugin. Works great for me. Thanks for this.

from atom-project-plus.

nomoth avatar nomoth commented on September 28, 2024

I have the same issue but even with Project Home unset.
When I save the project, I got the green notification but the projects.cson file is not modified.
As a workaround I used project-manager to save the project.

from atom-project-plus.

pt8o avatar pt8o commented on September 28, 2024

Same issue. I'm running project-plus completely vanilla. When I save I get the green checkmark, but when I go looking for them it says that no projects are saved.

from atom-project-plus.

willdawsonme avatar willdawsonme commented on September 28, 2024

@nomoth @suprko Any console errors in Atom's inspector (View > Developer > Toggle Developer Tools)?

from atom-project-plus.

nomoth avatar nomoth commented on September 28, 2024

@willdawsonme one error for me but not sure it concerns project-plus:

helpers.js:92 [Package-Deps] Unable to get loaded package 'usr'
getDependencies @ helpers.js:92

from atom-project-plus.

willdawsonme avatar willdawsonme commented on September 28, 2024

@nomoth Yeah unlikely to be from this package! Just to clarify, no matter what project you try to save, you get the green success notification but ~/.atom/projects.cson isn't updated and you don't see the new project in the list within atom?

A few things to check:

  • What OS are using?
  • What version of atom?
  • Are there any pending updates for project plus?

Also, just to rule out another conclusion, could you rename projects.cson to projects.cson.backup and try saving again? A new file should be created with the saved project.

from atom-project-plus.

poomv2 avatar poomv2 commented on September 28, 2024

Hi there, when you saying run Project Plus: Save, is that the actual command? If so, where do I run this?

Thanks Steve

from atom-project-plus.

billdami avatar billdami commented on September 28, 2024

@gtozzi I'm getting the same exact error as you. Running latest version of project-plus and [email protected] x64 (macOS Sierra)

from atom-project-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.