This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Import Gnome Planner to Calligra Plan

Tags: None
(comma "," separated)
satonaka
Registered Member
Posts
4
Karma
0
Hello. I like Calligra Plan very much, but I can't import Gnome Planner files. I tried following this:
http://lists.kde.org/?l=calligra-devel& ... 322943&w=2
but it didn't work.

I'm running Trisquel 6 (64 bits). I built from source like this (following http://community.kde.org/Calligra/Building):

# Download source
Code: Select all
curl -LO "http://download.kde.org/stable/calligra-2.7.5/calligra-2.7.5.tar.xz"

# Build dependencies
Code: Select all
sudo aptitude build-dep -R calligra
sudo aptitude install -R libxi-dev phonon-backend-gstreamer

# Create building tree
Code: Select all
mkdir -p ~/kde4/inst/calligra; mkdir -p ~/kde4/build/calligra; mkdir -p ~/kde4/src/calligra

# Build and install
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_{krita,active,braindump,kexi,karbon,active,stage,words}=OFF
make
make install

# Prepare environment to run
Code: Select all
export KDEDIRS=$HOME/kde4/inst:$KDEDIRS
export PATH=$HOME/kde4/inst/bin:$PATH
export KDEHOME=$HOME/kde4/.kde
kbuildsycoca4
echo "[Directories]" >> ~/.kde/share/config/kdeglobals
echo "prefixes=$HOME/kde4/inst" >> ~/.kde/share/config/kdeglobals


Then, I donwnloaded MPXJ
# Download
Code: Select all
cd /tmp
curl -L http://sourceforge.net/projects/mpxj/files/mpxj/Version%204.4.0/mpxj-4.4.0.zip/download -o mpxj-4.4.0.zip
cp mpxj/mpxj.jar $HOME/kde4/inst/lib/
cp mpxj/lib/poi-3.7-20101029.jar $HOME/kde4/inst/lib/


And run the program like this:
PLAN_CLASSPATH=/home/user/kde4/inst/lib/mpxj.jar:/home/user/kde4/inst/lib/poi-3.7-20101029.jar calligraplan

The program runs well, but I can't import my Planner file. Help??


This is the trace:

Legacy integer arithmetics implementation
plan(32043) KPlato::Config::Config: Leader: ""
plan(32043) KPlato::MainDocument::addSchedulerPlugin: KPlato::BuiltinSchedulerPlugin(0x1437730)
plan(32043) KPlato::SchedulerPluginLoader::loadAllPlugins: Load all plugins
plan(32043) KPlato::SchedulerPluginLoader::loadAllPlugins: Load plugin: "TJ Scheduler" , "The TaskJuggler scheduler"
plan(32043) KPlato::MainDocument::addSchedulerPlugin: PlanTJPlugin(0x1436330)
plan(32043) KPlatoRCPSPlugin::KPlatoRCPSPlugin: 0.3
plan(32043) KPlato::SchedulerPluginLoader::loadAllPlugins: Load plugin: "RCPS Scheduler" , "Genetics based Resource Constrained Project Scheduler"
plan(32043) KPlato::MainDocument::addSchedulerPlugin: KPlatoRCPSPlugin(0x142b030)
plan(32043) KPlato::Project::setSchedulerPlugins: QMap(("Built-in", KPlato::BuiltinSchedulerPlugin(0x1437730) ) ( "kplatorcpsscheduler" , KPlatoRCPSPlugin(0x142b030) ) ( "plantjscheduler" , PlanTJPlugin(0x1436330) ) )
plan(32043) KSambaSharePrivate::testparmParamValue: Running testparm ("-d0", "-s", "--parameter-name", "usershare path")
plan(32043)/plan(MPXJ import) MpxjImport::convert: "application/x-planner" "application/x-vnd.kde.plan"
plan(32043)/plan(MPXJ import) MpxjImport::convert: Import from: "/home/user/Planning.planner"
plan(32043)/plan(MPXJ import) MpxjImport::convert: Temp file: "/tmp/kde-user/plankgOgZn/maindoc.xml"
plan(32043)/plan(MPXJ import) MpxjImport::doImport: "/home/user/Planning.planner" "/tmp/kde-user/plankgOgZn/maindoc.xml"
PlanConvert
PlanConvert args: 2
Reading input file started: /home/user/Planning.planner
Got reader utility
Reading input file completed in 1109ms.
Writing Plan output file started: /tmp/kde-user/plankgOgZn/maindoc.xml
Exception in thread "main" java.lang.NoSuchMethodError: net.sf.mpxj.ProjectFile.getBaseCalendars()Ljava/util/List;
at plan.PlanWriter.writeCalendars(Unknown Source)
at plan.PlanWriter.writePlan(Unknown Source)
at plan.PlanWriter.write(Unknown Source)
at net.sf.mpxj.writer.AbstractProjectWriter.write(AbstractProjectWriter.java:44)
at plan.PlanConvert.main(Unknown Source)
plan(32043)/plan(MPXJ import) MpxjImport::doImport: 1
plan(32043)/plan(MPXJ import) MpxjImport::convert: doImport returned: false
User avatar
google01103
Manager
Posts
6668
Karma
25
I would suggest posting to the mailing list thread referenced or to the Calligra irc channel (#calligra) as I would think you need guidance from the dev of that feature


OpenSuse Leap 42.1 x64, Plasma 5.x

satonaka
Registered Member
Posts
4
Karma
0
But this is supposed to be a feature of Calligra Plan, right? I think that this should be the forum for support. I don't want to use the mailing list, because I don't want to leave my e-mail for the world to see. Also, I don't like freenode, because it is not really compatible with Tor (although you may use Tor, you need to register first). I would like to help to solve this issue, but not at the expense of my privacy. I hope that the Calligra Plan developers see this message.
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS
Hi,
Thanks for contacting the forum.
It's up to one who requests (free) support to make sure the way of contacting is convenient for the project members (who sacrificed their privacy by the way, by sometimes meeting in real world too :)).

This is at least a minimum of what I do.

There's a webchat interface: http://webchat.freenode.net that may be useful for you.
And any bugs or wishes can be reported at http://bugs.kde.org.

Thanks!


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
satonaka
Registered Member
Posts
4
Karma
0
I appreciate the time that developers take to develop applications. I know how difficult it is to do so, especially in one's own free time. When I make this kind of reports, I am not only thinking in getting help. In fact, I know that I am getting in more trouble, because I will also use some of my time in the process. I am willing to do it, and I don't want to start a discussion on privacy. I think that it is also good for developers to know that something is not working correctly. I was just trying to help a little, but as I said, I can't use freenode, because it won't let me connect.

In all good vibe, man, do you think that I should stop doing this? I mean, I don't like making developers' life more difficult than it is already. I know that, at the end, it is possible that I get a working application for my needs, but I also thought that reporting this kind of things was a way to help the community (everyone gets a better application).

Thank you for pointing me to bugs.kde.org. We'll see how it goes.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell